AutoscaleProfile.UpdateDefinitionStages.Blank Interface

public static interface AutoscaleProfile.UpdateDefinitionStages.Blank

The first stage of autoscale profile definition.

Method Summary

Modifier and Type Method and Description
abstract WithScaleRule withMetricBasedScale(int minimumInstanceCount, int maximumInstanceCount, int defaultInstanceCount)

Selects metric based autoscale profile.

abstract WithScaleSchedule withScheduleBasedScale(int instanceCount)

Selects schedule based autoscale profile.

Method Details

withMetricBasedScale

public abstract AutoscaleProfile.UpdateDefinitionStages.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

public abstract AutoscaleProfile.UpdateDefinitionStages.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.

Applies to