HttpScaleRule Class
- java.
lang. Object - com.
azure. resourcemanager. appcontainers. models. HttpScaleRule
- com.
Implements
public final class HttpScaleRule
implements JsonSerializable<HttpScaleRule>
Container App container Http 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 |
| String |
identity()
Get the identity property: The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity. |
| 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 |
withIdentity(String identity)
Set the identity property: The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity. |
|
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<ScaleRuleAuth> auth()
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:
identity
public String identity()
Get the identity property: The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
Returns:
metadata
public Map<String,String> metadata()
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<ScaleRuleAuth> auth)
Set the auth property: Authentication secrets for the custom scale rule.
Parameters:
Returns:
withIdentity
public HttpScaleRule withIdentity(String identity)
Set the identity property: The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.
Parameters:
Returns:
withMetadata
public HttpScaleRule withMetadata(Map<String,String> metadata)
Set the metadata property: Metadata properties to describe http scale rule.
Parameters:
Returns: