| Modifier and Type | Method and Description |
|---|---|
static TimeAggregationType |
TimeAggregationType.fromString(String value)
Parses a serialized value to a TimeAggregationType instance.
|
TimeAggregationType |
ScaleRule.timeAggregation()
Get the time aggregation type.
|
TimeAggregationType |
MetricTrigger.timeAggregation()
Get time aggregation type.
|
static TimeAggregationType |
TimeAggregationType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TimeAggregationType[] |
TimeAggregationType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
ScaleRule.DefinitionStages.WithScaleAction |
ScaleRule.DefinitionStages.WithCondition.withCondition(TimeAggregationType timeAggregation,
ComparisonOperationType condition,
double threshold)
Sets the condition to monitor for the current metric alert.
|
ScaleRule.ParentUpdateDefinitionStages.WithScaleAction |
ScaleRule.ParentUpdateDefinitionStages.WithCondition.withCondition(TimeAggregationType timeAggregation,
ComparisonOperationType condition,
double threshold)
Sets the condition to monitor for the current metric alert.
|
ScaleRule.UpdateDefinitionStages.WithScaleAction |
ScaleRule.UpdateDefinitionStages.WithCondition.withCondition(TimeAggregationType timeAggregation,
ComparisonOperationType condition,
double threshold)
Sets the condition to monitor for the current metric alert.
|
ScaleRule.Update |
ScaleRule.Update.withCondition(TimeAggregationType timeAggregation,
ComparisonOperationType condition,
double threshold)
Updates the condition to monitor for the current metric alert.
|
MetricTrigger |
MetricTrigger.withTimeAggregation(TimeAggregationType timeAggregation)
Set time aggregation type.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/