Interface MetricAlertCondition

All Superinterfaces:
HasInner<MetricCriteria>, HasParent<MetricAlert>

public interface MetricAlertCondition extends HasInner<MetricCriteria>, HasParent<MetricAlert>
An immutable client-side representation of an Azure metric dynamic alert criteria.
  • Method Details

    • name

      String name()
      Get name of the criteria.
      Returns:
      the name value
    • metricName

      String metricName()
      Get name of the metric signal.
      Returns:
      the metricName value
    • metricNamespace

      String metricNamespace()
      Get namespace of the metric.
      Returns:
      the metricNamespace value
    • condition

      Get the criteria operator. Possible values include: 'Equals', 'NotEquals', 'GreaterThan', 'GreaterThanOrEqual', 'LessThan', 'LessThanOrEqual'.
      Returns:
      the operator value
    • timeAggregation

      Get the criteria time aggregation types. Possible values include: 'Average', 'Minimum', 'Maximum', 'Total'.
      Returns:
      the timeAggregation value
    • threshold

      double threshold()
      Get the criteria threshold value that activates the alert.
      Returns:
      the threshold value
    • dimensions

      Get list of dimension conditions.
      Returns:
      the dimensions value