Class PrimaryAggregationType

java.lang.Object
com.azure.core.util.ExpandableStringEnum<PrimaryAggregationType>
com.azure.resourcemanager.cosmos.models.PrimaryAggregationType

public final class PrimaryAggregationType extends com.azure.core.util.ExpandableStringEnum<PrimaryAggregationType>
The primary aggregation type of the metric.
  • Field Details

  • Constructor Details

    • PrimaryAggregationType

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

    • fromString

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

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