Class ApplicationGatewayAutoscaleConfiguration
java.lang.Object
com.azure.resourcemanager.network.models.ApplicationGatewayAutoscaleConfiguration
Application Gateway autoscale configuration.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ApplicationGatewayAutoscaleConfiguration class. -
Method Summary
Modifier and TypeMethodDescriptionGet the maxCapacity property: Upper bound on number of Application Gateway capacity.intGet the minCapacity property: Lower bound on number of Application Gateway capacity.voidvalidate()Validates the instance.withMaxCapacity(Integer maxCapacity) Set the maxCapacity property: Upper bound on number of Application Gateway capacity.withMinCapacity(int minCapacity) Set the minCapacity property: Lower bound on number of Application Gateway capacity.
-
Constructor Details
-
ApplicationGatewayAutoscaleConfiguration
public ApplicationGatewayAutoscaleConfiguration()Creates an instance of ApplicationGatewayAutoscaleConfiguration class.
-
-
Method Details
-
minCapacity
public int minCapacity()Get the minCapacity property: Lower bound on number of Application Gateway capacity.- Returns:
- the minCapacity value.
-
withMinCapacity
Set the minCapacity property: Lower bound on number of Application Gateway capacity.- Parameters:
minCapacity- the minCapacity value to set.- Returns:
- the ApplicationGatewayAutoscaleConfiguration object itself.
-
maxCapacity
Get the maxCapacity property: Upper bound on number of Application Gateway capacity.- Returns:
- the maxCapacity value.
-
withMaxCapacity
Set the maxCapacity property: Upper bound on number of Application Gateway capacity.- Parameters:
maxCapacity- the maxCapacity value to set.- Returns:
- the ApplicationGatewayAutoscaleConfiguration object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-