Class MetricTriggerType

java.lang.Object
com.azure.core.util.ExpandableStringEnum<MetricTriggerType>
com.azure.resourcemanager.monitor.models.MetricTriggerType

public final class MetricTriggerType extends com.azure.core.util.ExpandableStringEnum<MetricTriggerType>
Defines values for MetricTriggerType.
  • Field Details

    • CONSECUTIVE

      public static final MetricTriggerType CONSECUTIVE
      Static value Consecutive for MetricTriggerType.
    • TOTAL

      public static final MetricTriggerType TOTAL
      Static value Total for MetricTriggerType.
  • Constructor Details

    • MetricTriggerType

      public MetricTriggerType()
  • Method Details

    • fromString

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

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