Class PricingModelType
- java.lang.Object
-
- com.azure.core.util.ExpandableStringEnum<PricingModelType>
-
- com.azure.resourcemanager.consumption.models.PricingModelType
-
public final class PricingModelType extends com.azure.core.util.ExpandableStringEnum<PricingModelType>
Defines values for PricingModelType.
-
-
Field Summary
Fields Modifier and Type Field Description static PricingModelType
ON_DEMAND
Static value On Demand for PricingModelType.static PricingModelType
RESERVATION
Static value Reservation for PricingModelType.static PricingModelType
SPOT
Static value Spot for PricingModelType.
-
Constructor Summary
Constructors Constructor Description PricingModelType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PricingModelType
fromString(String name)
Creates or finds a PricingModelType from its string representation.static Collection<PricingModelType>
values()
-
-
-
Field Detail
-
ON_DEMAND
public static final PricingModelType ON_DEMAND
Static value On Demand for PricingModelType.
-
RESERVATION
public static final PricingModelType RESERVATION
Static value Reservation for PricingModelType.
-
SPOT
public static final PricingModelType SPOT
Static value Spot for PricingModelType.
-
-
Method Detail
-
fromString
public static PricingModelType fromString(String name)
Creates or finds a PricingModelType from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding PricingModelType.
-
values
public static Collection<PricingModelType> values()
- Returns:
- known PricingModelType values.
-
-