Class AlertQueryTimeMode

java.lang.Object
com.azure.core.util.ExpandableStringEnum<AlertQueryTimeMode>
com.azure.ai.metricsadvisor.models.AlertQueryTimeMode

public final class AlertQueryTimeMode extends ExpandableStringEnum<AlertQueryTimeMode>
Defines values for AlertQueryTimeMode.
  • Field Details

    • ANOMALY_TIME

      public static final AlertQueryTimeMode ANOMALY_TIME
      Static value AnomalyTime for AlertQueryTimeMode.
    • CREATED_TIME

      public static final AlertQueryTimeMode CREATED_TIME
      Static value CreatedTime for AlertQueryTimeMode.
    • MODIFIED_TIME

      public static final AlertQueryTimeMode MODIFIED_TIME
      Static value ModifiedTime for AlertQueryTimeMode.
  • Constructor Details

    • AlertQueryTimeMode

      public AlertQueryTimeMode()
  • Method Details

    • fromString

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

      public static Collection<AlertQueryTimeMode> values()
      Returns:
      known AlertQueryTimeMode values.