Class MetricAnomalyAlertScopeType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<MetricAnomalyAlertScopeType>
com.azure.ai.metricsadvisor.administration.models.MetricAnomalyAlertScopeType
public final class MetricAnomalyAlertScopeType
extends ExpandableStringEnum<MetricAnomalyAlertScopeType>
Defines the supported alert scopes.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final MetricAnomalyAlertScopeType
Indicate that alert is scoped to a specific time series group of a metric.static final MetricAnomalyAlertScopeType
Indicate that alert is scoped to TopN time series.static final MetricAnomalyAlertScopeType
Indicate that alert is scoped to the whole time series of a metric. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic MetricAnomalyAlertScopeType
fromString
(String name) Creates or finds a MetricAnomalyAlertScopeType from its string representation.values()
Gets the collections of all MetricAnomalyAlertScopeType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
WHOLE_SERIES
Indicate that alert is scoped to the whole time series of a metric. -
SERIES_GROUP
Indicate that alert is scoped to a specific time series group of a metric. -
TOP_N
Indicate that alert is scoped to TopN time series.
-
-
Constructor Details
-
MetricAnomalyAlertScopeType
public MetricAnomalyAlertScopeType()
-
-
Method Details
-
fromString
Creates or finds a MetricAnomalyAlertScopeType from its string representation.- Parameters:
name
- The string name to look for.- Returns:
- The corresponding MetricAnomalyAlertScopeType.
-
values
Gets the collections of all MetricAnomalyAlertScopeType values.- Returns:
- The collections of all MetricAnomalyAlertScopeType values.
-