MetricAlertConfigurationsOperator Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. ai. metricsadvisor. administration. models. MetricAlertConfigurationsOperator
- com.
- com.
public final class MetricAlertConfigurationsOperator
extends ExpandableStringEnum<MetricAlertConfigurationsOperator>
The logical operator to apply across multiple MetricAlertConfiguration.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Metric |
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. |
static final
Metric |
OR
Indicate that any anomaly should trigger an alert. |
static final
Metric |
XOR
This operator can be applied only if exactly two MetricAlertConfiguration are specified. |
Constructor Summary
Constructor | Description |
---|---|
MetricAlertConfigurationsOperator() |
Deprecated
Use the fromString(String name) factory method.
Constructs a MetricAlertConfigurationsOperator object. |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Metric |
fromString(String name)
Creates Metric |
static
Collection<Metric |
values()
Gets the collections of all Metric |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
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
@Deprecated
public MetricAlertConfigurationsOperator()
Deprecated
Constructs a MetricAlertConfigurationsOperator object.
Method Details
fromString
public static MetricAlertConfigurationsOperator fromString(String name)
Creates MetricAnomalyAlertConfigurationsOperator from the given string name.
Parameters:
Returns:
values
public static Collection
Gets the collections of all MetricAlertConfigurationsOperator values.
Returns:
Applies to
Azure SDK for Java