HttpScaleRule Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. HttpScaleRule
- com.
Implements
public final class HttpScaleRule
implements JsonSerializable<HttpScaleRule>
Container App container Custom scaling rule.
Constructor Summary
Constructor | Description |
---|---|
HttpScaleRule() |
Creates an instance of Http |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Scale |
auth()
Get the auth property: Authentication secrets for the custom scale rule. |
static
Http |
fromJson(JsonReader jsonReader)
Reads an instance of Http |
Map<String,String> |
metadata()
Get the metadata property: Metadata properties to describe http scale rule. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Http |
withAuth(List<ScaleRuleAuth> auth)
Set the auth property: Authentication secrets for the custom scale rule. |
Http |
withMetadata(Map<String,String> metadata)
Set the metadata property: Metadata properties to describe http scale rule. |
Methods inherited from java.lang.Object
Constructor Details
HttpScaleRule
public HttpScaleRule()
Creates an instance of HttpScaleRule class.
Method Details
auth
public List
Get the auth property: Authentication secrets for the custom scale rule.
Returns:
fromJson
public static HttpScaleRule fromJson(JsonReader jsonReader)
Reads an instance of HttpScaleRule from the JsonReader.
Parameters:
Returns:
Throws:
metadata
public Map
Get the metadata property: Metadata properties to describe http scale rule.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAuth
public HttpScaleRule withAuth(List
Set the auth property: Authentication secrets for the custom scale rule.
Parameters:
Returns:
withMetadata
public HttpScaleRule withMetadata(Map
Set the metadata property: Metadata properties to describe http scale rule.
Parameters:
Returns:
Applies to
Azure SDK for Java