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 Summary
Modifier and TypeFieldDescriptionstatic final MetricAlertConfigurationsOperator
Indicate that anomaly should be included in an alert when time series with the same dimension combination exist in everyMetricAlertConfiguration
and the result based on anomaly detection is true.static final MetricAlertConfigurationsOperator
Indicate that any anomaly should trigger an alert.static final MetricAlertConfigurationsOperator
This operator can be applied only if exactly twoMetricAlertConfiguration
are specified. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfromString
(String name) Creates MetricAnomalyAlertConfigurationsOperator from the given string name.values()
Gets the collections of all MetricAlertConfigurationsOperator values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
AND
Indicate that anomaly should be included in an alert when time series with the same dimension combination exist in everyMetricAlertConfiguration
and the result based on anomaly detection is true. -
OR
Indicate that any anomaly should trigger an alert. -
XOR
This operator can be applied only if exactly twoMetricAlertConfiguration
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
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.
-