Class TcpScaleRule
java.lang.Object
com.azure.resourcemanager.appcontainers.models.TcpScaleRule
Container App container Tcp scaling rule.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionauth()
Get the auth property: Authentication secrets for the tcp scale rule.metadata()
Get the metadata property: Metadata properties to describe tcp scale rule.void
validate()
Validates the instance.withAuth
(List<ScaleRuleAuth> auth) Set the auth property: Authentication secrets for the tcp scale rule.withMetadata
(Map<String, String> metadata) Set the metadata property: Metadata properties to describe tcp scale rule.
-
Constructor Details
-
TcpScaleRule
public TcpScaleRule()Creates an instance of TcpScaleRule class.
-
-
Method Details
-
metadata
Get the metadata property: Metadata properties to describe tcp scale rule.- Returns:
- the metadata value.
-
withMetadata
Set the metadata property: Metadata properties to describe tcp scale rule.- Parameters:
metadata
- the metadata value to set.- Returns:
- the TcpScaleRule object itself.
-
auth
Get the auth property: Authentication secrets for the tcp scale rule.- Returns:
- the auth value.
-
withAuth
Set the auth property: Authentication secrets for the tcp scale rule.- Parameters:
auth
- the auth value to set.- Returns:
- the TcpScaleRule object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-