Interface ApplicationGateway.DefinitionStages.WithInstanceCount
-
- All Known Subinterfaces:
ApplicationGateway.Definition,ApplicationGateway.DefinitionStages.WithCreate,ApplicationGateway.DefinitionStages.WithRequestRoutingRuleOrCreate
- Enclosing interface:
- ApplicationGateway.DefinitionStages
public static interface ApplicationGateway.DefinitionStages.WithInstanceCountThe stage of an application gateway definition allowing to specify the capacity (number of instances) of the application gateway.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ApplicationGateway.DefinitionStages.WithCreatewithAutoScale(int minCapacity, int maxCapacity)Specifies the min and max auto scale bound.ApplicationGateway.DefinitionStages.WithCreatewithInstanceCount(int instanceCount)Specifies the capacity (number of instances) for the application gateway.
-
-
-
Method Detail
-
withInstanceCount
ApplicationGateway.DefinitionStages.WithCreate withInstanceCount(int instanceCount)
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
ApplicationGateway.DefinitionStages.WithCreate withAutoScale(int minCapacity, int maxCapacity)
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
-
-