ScaleRule.Update |
AutoscaleProfile.Update.updateScaleRule(int ruleIndex) |
Starts the update of the scale rule for the current autoscale profile.
|
ScaleRule.Update |
ScaleRule.Update.withCondition(TimeAggregationType timeAggregation,
ComparisonOperationType condition,
double threshold) |
Updates the condition to monitor for the current metric alert.
|
ScaleRule.Update |
ScaleRule.Update.withMetricName(String metricName) |
the name of the metric that defines what the rule monitors.
|
ScaleRule.Update |
ScaleRule.Update.withMetricSource(String metricSourceResourceId) |
Updates the resource identifier of the resource the rule monitors.
|
ScaleRule.Update |
ScaleRule.Update.withScaleAction(ScaleDirection direction,
ScaleType type,
int instanceCountChange,
Duration cooldown) |
Updates the action to be performed when the scale rule will be active.
|
ScaleRule.Update |
ScaleRule.Update.withStatistic() |
Sets statistics for autoscale trigger action with default values of 10 minutes for duration, 1 minute for
frequency(time grain) and 'Average' for statistic type.
|
ScaleRule.Update |
ScaleRule.Update.withStatistic(Duration duration) |
Sets statistics for autoscale trigger action with default values of 1 minute for frequency(time grain) and
'Average' for statistic type.
|
ScaleRule.Update |
ScaleRule.Update.withStatistic(Duration duration,
MetricStatisticType statisticType) |
Sets statistics for autoscale trigger action with default values of 1 minute for frequency(time grain).
|
ScaleRule.Update |
ScaleRule.Update.withStatistic(Duration duration,
Duration frequency,
MetricStatisticType statisticType) |
Updates the statistics for autoscale trigger action.
|