Interface AutoscaleProfile.DefinitionStages.Blank
-
- All Known Subinterfaces:
AutoscaleProfile.Definition
- Enclosing interface:
- AutoscaleProfile.DefinitionStages
public static interface AutoscaleProfile.DefinitionStages.BlankThe first stage of autoscale profile definition.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AutoscaleProfile.DefinitionStages.WithAttachwithFixedInstanceCount(int instanceCount)Selects a specific instance count for the current Default profile.AutoscaleProfile.DefinitionStages.WithScaleRulewithMetricBasedScale(int minimumInstanceCount, int maximumInstanceCount, int defaultInstanceCount)Selects metric based autoscale profile.AutoscaleProfile.DefinitionStages.WithScaleSchedulewithScheduleBasedScale(int instanceCount)Selects schedule based autoscale profile.
-
-
-
Method Detail
-
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
AutoscaleProfile.DefinitionStages.WithScaleSchedule withScheduleBasedScale(int instanceCount)
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
AutoscaleProfile.DefinitionStages.WithAttach withFixedInstanceCount(int instanceCount)
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.
-
-