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 Details

    • WHOLE_SERIES

      public static final MetricAnomalyAlertScopeType WHOLE_SERIES
      Indicate that alert is scoped to the whole time series of a metric.
    • SERIES_GROUP

      public static final MetricAnomalyAlertScopeType SERIES_GROUP
      Indicate that alert is scoped to a specific time series group of a metric.
    • TOP_N

      public static final MetricAnomalyAlertScopeType TOP_N
      Indicate that alert is scoped to TopN time series.
  • Constructor Details

    • MetricAnomalyAlertScopeType

      public MetricAnomalyAlertScopeType()
  • Method Details

    • fromString

      public static MetricAnomalyAlertScopeType fromString(String name)
      Creates or finds a MetricAnomalyAlertScopeType from its string representation.
      Parameters:
      name - The string name to look for.
      Returns:
      The corresponding MetricAnomalyAlertScopeType.
    • values

      public static Collection<MetricAnomalyAlertScopeType> values()
      Gets the collections of all MetricAnomalyAlertScopeType values.
      Returns:
      The collections of all MetricAnomalyAlertScopeType values.