Class MetricAlertConfigurationsOperator

java.lang.Object
com.azure.core.util.ExpandableStringEnum<MetricAlertConfigurationsOperator>
com.azure.ai.metricsadvisor.administration.models.MetricAlertConfigurationsOperator

public final class MetricAlertConfigurationsOperator extends ExpandableStringEnum<MetricAlertConfigurationsOperator>
The logical operator to apply across multiple MetricAlertConfiguration.
  • Field Details

    • AND

      public static final MetricAlertConfigurationsOperator AND
      Indicate that anomaly should be included in an alert when time series with the same dimension combination exist in every MetricAlertConfiguration and the result based on anomaly detection is true.
    • OR

      public static final MetricAlertConfigurationsOperator OR
      Indicate that any anomaly should trigger an alert.
    • XOR

      public static final MetricAlertConfigurationsOperator XOR
      This operator can be applied only if exactly two MetricAlertConfiguration are specified. When the detection result on the series of one configuration is True then anomaly will be included in an alert only if the detection result on the series of another configuration is False, both series should have the same dimension combination.
  • Constructor Details

    • MetricAlertConfigurationsOperator

      public MetricAlertConfigurationsOperator()
  • Method Details

    • fromString

      public static MetricAlertConfigurationsOperator fromString(String name)
      Creates MetricAnomalyAlertConfigurationsOperator from the given string name.
      Parameters:
      name - The name.
      Returns:
      MetricAnomalyAlertConfigurationsOperator.
    • values

      Gets the collections of all MetricAlertConfigurationsOperator values.
      Returns:
      The collections of all MetricAlertConfigurationsOperator values.