Class HttpScaleRule
- java.lang.Object
-
- com.azure.resourcemanager.appcontainers.models.HttpScaleRule
-
public final class HttpScaleRule extends Object
Container App container Custom scaling rule.
-
-
Constructor Summary
Constructors Constructor Description HttpScaleRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ScaleRuleAuth>
auth()
Get the auth property: Authentication secrets for the custom scale rule.Map<String,String>
metadata()
Get the metadata property: Metadata properties to describe http scale rule.void
validate()
Validates the instance.HttpScaleRule
withAuth(List<ScaleRuleAuth> auth)
Set the auth property: Authentication secrets for the custom scale rule.HttpScaleRule
withMetadata(Map<String,String> metadata)
Set the metadata property: Metadata properties to describe http scale rule.
-
-
-
Method Detail
-
metadata
public Map<String,String> metadata()
Get the metadata property: Metadata properties to describe http scale rule.- Returns:
- the metadata value.
-
withMetadata
public HttpScaleRule withMetadata(Map<String,String> metadata)
Set the metadata property: Metadata properties to describe http scale rule.- Parameters:
metadata
- the metadata value to set.- Returns:
- the HttpScaleRule object itself.
-
auth
public List<ScaleRuleAuth> auth()
Get the auth property: Authentication secrets for the custom scale rule.- Returns:
- the auth value.
-
withAuth
public HttpScaleRule withAuth(List<ScaleRuleAuth> auth)
Set the auth property: Authentication secrets for the custom scale rule.- Parameters:
auth
- the auth value to set.- Returns:
- the HttpScaleRule object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-