Class MetricAlertRuleTimeAggregation

java.lang.Object
com.azure.core.util.ExpandableStringEnum<MetricAlertRuleTimeAggregation>
com.azure.resourcemanager.monitor.models.MetricAlertRuleTimeAggregation
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

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

  • Constructor Details

    • MetricAlertRuleTimeAggregation

      @Deprecated public MetricAlertRuleTimeAggregation()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of MetricAlertRuleTimeAggregation value.
  • Method Details

    • fromString

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

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