Class MetricAlertConfigurationsOperator
java.lang.Object
com.azure.core.util.ExpandableStringEnum<MetricAlertConfigurationsOperator>
com.azure.ai.metricsadvisor.administration.models.MetricAlertConfigurationsOperator
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class MetricAlertConfigurationsOperator
extends com.azure.core.util.ExpandableStringEnum<MetricAlertConfigurationsOperator>
The logical operator to apply across multiple
MetricAlertConfiguration.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MetricAlertConfigurationsOperatorIndicate that anomaly should be included in an alert when time series with the same dimension combination exist in everyMetricAlertConfigurationand the result based on anomaly detection is true.static final MetricAlertConfigurationsOperatorIndicate that any anomaly should trigger an alert.static final MetricAlertConfigurationsOperatorThis operator can be applied only if exactly twoMetricAlertConfigurationare specified. -
Constructor Summary
Constructors -
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, getValue, 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 everyMetricAlertConfigurationand 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 twoMetricAlertConfigurationare 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
Deprecated.Use thefromString(String)factory method.Constructs aMetricAlertConfigurationsOperatorobject.
-
-
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.
-
fromString(String)factory method.