Class TimeAggregation

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

public final class TimeAggregation extends com.azure.core.util.ExpandableStringEnum<TimeAggregation>
Aggregation type. Relevant and required only for rules of the kind LogAlert.
  • Field Details

    • COUNT

      public static final TimeAggregation COUNT
      Static value Count for TimeAggregation.
    • AVERAGE

      public static final TimeAggregation AVERAGE
      Static value Average for TimeAggregation.
    • MINIMUM

      public static final TimeAggregation MINIMUM
      Static value Minimum for TimeAggregation.
    • MAXIMUM

      public static final TimeAggregation MAXIMUM
      Static value Maximum for TimeAggregation.
    • TOTAL

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

    • TimeAggregation

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

    • fromString

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

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