Class Metrictype
- java.lang.Object
-
- com.azure.core.util.ExpandableStringEnum<Metrictype>
-
- com.azure.resourcemanager.consumption.models.Metrictype
-
public final class Metrictype extends com.azure.core.util.ExpandableStringEnum<Metrictype>
Defines values for Metrictype.
-
-
Field Summary
Fields Modifier and Type Field Description static Metrictype
ACTUALCOST
Static value actualcost for Metrictype.static Metrictype
AMORTIZEDCOST
Static value amortizedcost for Metrictype.static Metrictype
USAGE
Static value usage for Metrictype.
-
Constructor Summary
Constructors Constructor Description Metrictype()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Metrictype
fromString(String name)
Creates or finds a Metrictype from its string representation.static Collection<Metrictype>
values()
-
-
-
Field Detail
-
ACTUALCOST
public static final Metrictype ACTUALCOST
Static value actualcost for Metrictype.
-
AMORTIZEDCOST
public static final Metrictype AMORTIZEDCOST
Static value amortizedcost for Metrictype.
-
USAGE
public static final Metrictype USAGE
Static value usage for Metrictype.
-
-
Method Detail
-
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()
- Returns:
- known Metrictype values.
-
-