Class CostDetailsMetricType

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

public final class CostDetailsMetricType extends com.azure.core.util.ExpandableStringEnum<CostDetailsMetricType>
The type of the detailed report. By default ActualCost is provided.
  • Field Details

    • ACTUAL_COST

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

      public static final CostDetailsMetricType AMORTIZED_COST
      Static value AmortizedCost for CostDetailsMetricType.
  • Constructor Details

    • CostDetailsMetricType

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

    • fromString

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

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