| Modifier and Type | Method and Description |
|---|---|
MetricStatisticType |
ScaleRule.frequencyStatistic()
Get the metric statistic type.
|
static MetricStatisticType |
MetricStatisticType.fromString(String value)
Parses a serialized value to a MetricStatisticType instance.
|
MetricStatisticType |
MetricTrigger.statistic()
Get the metric statistic type.
|
static MetricStatisticType |
MetricStatisticType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetricStatisticType[] |
MetricStatisticType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
MetricTrigger |
MetricTrigger.withStatistic(MetricStatisticType statistic)
Set the metric statistic type.
|
ScaleRule.DefinitionStages.WithCondition |
ScaleRule.DefinitionStages.WithStatistic.withStatistic(org.joda.time.Period duration,
MetricStatisticType statisticType)
Sets statistics for autoscale trigger action with default values of 1 minute for frequency(time grain).
|
ScaleRule.ParentUpdateDefinitionStages.WithCondition |
ScaleRule.ParentUpdateDefinitionStages.WithStatistic.withStatistic(org.joda.time.Period duration,
MetricStatisticType statisticType)
Sets statistics for autoscale trigger action with default values of 1 minute for frequency(time grain).
|
ScaleRule.UpdateDefinitionStages.WithCondition |
ScaleRule.UpdateDefinitionStages.WithStatistic.withStatistic(org.joda.time.Period duration,
MetricStatisticType statisticType)
Sets statistics for autoscale trigger action with default values of 1 minute for frequency(time grain).
|
ScaleRule.Update |
ScaleRule.Update.withStatistic(org.joda.time.Period duration,
MetricStatisticType statisticType)
Sets statistics for autoscale trigger action with default values of 1 minute for frequency(time grain).
|
ScaleRule.DefinitionStages.WithCondition |
ScaleRule.DefinitionStages.WithStatistic.withStatistic(org.joda.time.Period duration,
org.joda.time.Period frequency,
MetricStatisticType statisticType)
Sets statistics for autoscale trigger action.
|
ScaleRule.ParentUpdateDefinitionStages.WithCondition |
ScaleRule.ParentUpdateDefinitionStages.WithStatistic.withStatistic(org.joda.time.Period duration,
org.joda.time.Period frequency,
MetricStatisticType statisticType)
Sets statistics for autoscale trigger action.
|
ScaleRule.UpdateDefinitionStages.WithCondition |
ScaleRule.UpdateDefinitionStages.WithStatistic.withStatistic(org.joda.time.Period duration,
org.joda.time.Period frequency,
MetricStatisticType statisticType)
Sets statistics for autoscale trigger action.
|
ScaleRule.Update |
ScaleRule.Update.withStatistic(org.joda.time.Period duration,
org.joda.time.Period frequency,
MetricStatisticType statisticType)
Updates the statistics for autoscale trigger action.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/