Interface MetricAlertCondition.DefinitionStages.WithCriteriaOperator<ParentT>
-
- Type Parameters:
ParentT- the stage of the parent Metric Alert definition to return to after attaching this definition
- Enclosing interface:
- MetricAlertCondition.DefinitionStages
public static interface MetricAlertCondition.DefinitionStages.WithCriteriaOperator<ParentT>The stage of the definition which specifies metric alert condition.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MetricAlertCondition.DefinitionStages.WithConditionAttach<ParentT>withCondition(MetricAlertRuleTimeAggregation timeAggregation, MetricAlertRuleCondition condition, double threshold)Sets the condition to monitor for the current metric alert.
-
-
-
Method Detail
-
withCondition
MetricAlertCondition.DefinitionStages.WithConditionAttach<ParentT> withCondition(MetricAlertRuleTimeAggregation timeAggregation, MetricAlertRuleCondition condition, double threshold)
Sets the condition to monitor for the current metric alert.- Parameters:
timeAggregation- the criteria time aggregation types. Possible values include: 'Average', 'Minimum', 'Maximum', 'Total'.condition- the criteria operator. Possible values include: 'Equals', 'NotEquals', 'GreaterThan', 'GreaterThanOrEqual', 'LessThan', 'LessThanOrEqual'.threshold- the criteria threshold value that activates the alert.- Returns:
- the next stage of metric alert condition definition.
-
-