Interface AutoscaleProfile.DefinitionStages.Blank
- All Known Subinterfaces:
AutoscaleProfile.Definition
- Enclosing interface:
AutoscaleProfile.DefinitionStages
public static interface AutoscaleProfile.DefinitionStages.Blank
The first stage of autoscale profile definition.
-
Method Summary
Modifier and TypeMethodDescriptionwithFixedInstanceCount(int instanceCount) Selects a specific instance count for the current Default profile.withMetricBasedScale(int minimumInstanceCount, int maximumInstanceCount, int defaultInstanceCount) Selects metric based autoscale profile.withScheduleBasedScale(int instanceCount) Selects schedule based autoscale profile.
-
Method Details
-
withMetricBasedScale
AutoscaleProfile.DefinitionStages.WithScaleRule withMetricBasedScale(int minimumInstanceCount, int maximumInstanceCount, int defaultInstanceCount) Selects metric based autoscale profile.- Parameters:
minimumInstanceCount- the minimum number of instances for the resource.maximumInstanceCount- the maximum number of instances for the resource. The actual maximum number of instances is limited by the cores that are available in the subscription.defaultInstanceCount- the number of instances that will be set if metrics are not available for evaluation. The default is only used if the current instance count is lower than the default.- Returns:
- the next stage of the definition.
-
withScheduleBasedScale
Selects schedule based autoscale profile.- Parameters:
instanceCount- the number of instances that will be set during specified schedule. The actual number of instances is limited by the cores that are available in the subscription.- Returns:
- the next stage of the definition.
-
withFixedInstanceCount
Selects a specific instance count for the current Default profile.- Parameters:
instanceCount- the number of instances that will be set during specified schedule. The actual number of instances is limited by the cores that are available in the subscription.- Returns:
- the next stage of the definition.
-