public static interface AutoscaleProfile.UpdateDefinitionStages.Blank
Modifier and Type | Method and Description |
---|---|
AutoscaleProfile.UpdateDefinitionStages.WithScaleRule |
withMetricBasedScale(int minimumInstanceCount,
int maximumInstanceCount,
int defaultInstanceCount)
Selects metric based autoscale profile.
|
AutoscaleProfile.UpdateDefinitionStages.WithScaleSchedule |
withScheduleBasedScale(int instanceCount)
Selects schedule based autoscale profile.
|
AutoscaleProfile.UpdateDefinitionStages.WithScaleRule withMetricBasedScale(int minimumInstanceCount, int maximumInstanceCount, int defaultInstanceCount)
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.AutoscaleProfile.UpdateDefinitionStages.WithScaleSchedule withScheduleBasedScale(int instanceCount)
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.Copyright © 2019. All rights reserved.