Interface ApplicationGateway.DefinitionStages.WithInstanceCount
- All Known Subinterfaces:
ApplicationGateway.Definition, ApplicationGateway.DefinitionStages.WithCreate, ApplicationGateway.DefinitionStages.WithRequestRoutingRuleOrCreate
- Enclosing interface:
ApplicationGateway.DefinitionStages
public static interface ApplicationGateway.DefinitionStages.WithInstanceCount
The stage of an application gateway definition allowing to specify the capacity (number of instances) of the
application gateway.
-
Method Summary
Modifier and TypeMethodDescriptionwithAutoScale(int minCapacity, int maxCapacity) Specifies the min and max auto scale bound.withInstanceCount(int instanceCount) Specifies the capacity (number of instances) for the application gateway.
-
Method Details
-
withInstanceCount
Specifies the capacity (number of instances) for the application gateway. The API refers to this as "Capacity", but the portal and the docs refer to this as "instance count", so using that naming hereBy default, 1 instance is used.
- Parameters:
instanceCount- the capacity as a number between 1 and 10 but also based on the limits imposed by the selected application gateway size- Returns:
- the next stage of the definition
-
withAutoScale
Specifies the min and max auto scale bound.- Parameters:
minCapacity- Lower bound on number of Application Gateway capacity.maxCapacity- Upper bound on number of Application Gateway capacity.- Returns:
- the next stage of the definition
-