Interface MetricAlertCondition.UpdateDefinitionStages.WithCriteriaOperator<ParentT>

Type Parameters:
ParentT - the stage of the parent Metric Alert definition to return to after attaching this definition
Enclosing interface:
MetricAlertCondition.UpdateDefinitionStages

public static interface MetricAlertCondition.UpdateDefinitionStages.WithCriteriaOperator<ParentT>
The stage of the definition which specifies metric alert condition.
  • Method Details

    • withCondition

      Sets the condition to monitor for the current metric alert.
      Parameters:
      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.
      Returns:
      the next stage of metric alert condition definition.