ParentT
- the stage of the parent Metric Alert definition to return to after attaching this definitionpublic static interface MetricAlertCondition.UpdateDefinitionStages.WithCriteriaOperator<ParentT>
Modifier and Type | Method and Description |
---|---|
MetricAlertCondition.UpdateDefinitionStages.WithConditionAttach<ParentT> |
withCondition(MetricAlertRuleTimeAggregation timeAggregation,
MetricAlertRuleCondition condition,
double threshold)
Sets the condition to monitor for the current metric alert.
|
MetricAlertCondition.UpdateDefinitionStages.WithConditionAttach<ParentT> 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.Copyright © 2019. All rights reserved.