public static interface MetricAlertCondition.UpdateStages
Modifier and Type | Method and Description |
---|---|
MetricAlert.Update |
parent()
Returns back to the metric alert update flow.
|
MetricAlertCondition.UpdateStages |
withCondition(MetricAlertRuleTimeAggregation timeAggregation,
MetricAlertRuleCondition condition,
double threshold)
Sets the condition to monitor for the current metric alert.
|
MetricAlertCondition.UpdateStages |
withDimension(String dimensionName,
String... values)
Adds a metric dimension filter.
|
MetricAlertCondition.UpdateStages |
withoutDimension(String dimensionName)
Removes the specified dimension filter.
|
MetricAlertCondition.UpdateStages withCondition(MetricAlertRuleTimeAggregation timeAggregation, MetricAlertRuleCondition condition, double threshold)
condition
- the criteria operator. Possible values include: 'Equals', 'NotEquals', 'GreaterThan', 'GreaterThanOrEqual', 'LessThan', 'LessThanOrEqual'.timeAggregation
- the criteria time aggregation types. Possible values include: 'Average', 'Minimum', 'Maximum', 'Total'.threshold
- the criteria threshold value that activates the alert.MetricAlertCondition.UpdateStages withDimension(String dimensionName, String... values)
dimensionName
- the name of the dimension.values
- list of dimension values to alert on.MetricAlertCondition.UpdateStages withoutDimension(String dimensionName)
dimensionName
- dimensionName the name of the dimension.MetricAlert.Update parent()
Copyright © 2019. All rights reserved.