| Modifier and Type | Method and Description |
|---|---|
ComparisonOperationType |
ScaleRule.condition()
Get the operator that is used to compare the metric data and the threshold.
|
static ComparisonOperationType |
ComparisonOperationType.fromString(String value)
Parses a serialized value to a ComparisonOperationType instance.
|
ComparisonOperationType |
MetricTrigger.operator()
Get the operator that is used to compare the metric data and the threshold.
|
static ComparisonOperationType |
ComparisonOperationType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ComparisonOperationType[] |
ComparisonOperationType.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.withOperator(ComparisonOperationType operator)
Set the operator that is used to compare the metric data and the threshold.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/