java.lang.Object
com.azure.core.util.ExpandableStringEnum<MetricType>
com.azure.resourcemanager.costmanagement.models.MetricType

public final class MetricType extends com.azure.core.util.ExpandableStringEnum<MetricType>
Metric to use when displaying costs.
  • Field Details

    • ACTUAL_COST

      public static final MetricType ACTUAL_COST
      Static value ActualCost for MetricType.
    • AMORTIZED_COST

      public static final MetricType AMORTIZED_COST
      Static value AmortizedCost for MetricType.
    • AHUB

      public static final MetricType AHUB
      Static value AHUB for MetricType.
  • Constructor Details

  • Method Details

    • fromString

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

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