public static interface ScaleRule.DefinitionStages.WithStatistic
| Modifier and Type | Method and Description |
|---|---|
ScaleRule.DefinitionStages.WithCondition |
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.DefinitionStages.WithCondition |
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.DefinitionStages.WithCondition |
withStatistic(Duration duration,
Duration frequency,
MetricStatisticType statisticType)
Sets statistics for autoscale trigger action.
|
ScaleRule.DefinitionStages.WithCondition |
withStatistic(Duration duration,
MetricStatisticType statisticType)
Sets statistics for autoscale trigger action with default values of 1 minute for frequency(time grain).
|
ScaleRule.DefinitionStages.WithCondition withStatistic(Duration duration, Duration frequency, MetricStatisticType statisticType)
duration - the range of time in which instance data is collected. This value must be greater than
the delay in metric collection, which can vary from resource-to-resource. Must be between 12 hours
and 5 minutes.frequency - the granularity of metrics the rule monitors. Must be one of the predefined values
returned from metric definitions for the metric. Must be between 12 hours and 1 minute.statisticType - the metric statistic type. How the metrics from multiple instances are combined.
Possible values include: 'Average', 'Min', 'Max', 'Sum'.ScaleRule.DefinitionStages.WithCondition withStatistic()
ScaleRule.DefinitionStages.WithCondition withStatistic(Duration duration)
duration - the range of time in which instance data is collected. This value must be greater than
the delay in metric collection, which can vary from resource-to-resource. Must be between 12 hours
and 5 minutes.ScaleRule.DefinitionStages.WithCondition withStatistic(Duration duration, MetricStatisticType statisticType)
duration - the range of time in which instance data is collected. This value must be greater than
the delay in metric collection, which can vary from resource-to-resource. Must be between 12 hours
and 5 minutes.statisticType - the metric statistic type. How the metrics from multiple instances are combined.
Possible values include: 'Average', 'Min', 'Max', 'Sum'.Copyright © 2020 Microsoft Corporation. All rights reserved.