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 Summary
FieldsModifier and TypeFieldDescriptionstatic final CostDetailsMetricTypeStatic value ActualCost for CostDetailsMetricType.static final CostDetailsMetricTypeStatic value AmortizedCost for CostDetailsMetricType. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CostDetailsMetricTypefromString(String name) Creates or finds a CostDetailsMetricType from its string representation.static Collection<CostDetailsMetricType>values()Gets known CostDetailsMetricType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
ACTUAL_COST
Static value ActualCost for CostDetailsMetricType. -
AMORTIZED_COST
Static value AmortizedCost for CostDetailsMetricType.
-
-
Constructor Details
-
CostDetailsMetricType
Deprecated.Use thefromString(String)factory method.Creates a new instance of CostDetailsMetricType value.
-
-
Method Details
-
fromString
Creates or finds a CostDetailsMetricType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding CostDetailsMetricType.
-
values
Gets known CostDetailsMetricType values.- Returns:
- known CostDetailsMetricType values.
-
fromString(String)factory method.