PricingModelType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. consumption. models. PricingModelType
- com.
- com.
public final class PricingModelType
extends ExpandableStringEnum<PricingModelType>
Identifier that indicates how the meter is priced.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Pricing |
ON_DEMAND
Static value On Demand for Pricing |
|
static final
Pricing |
RESERVATION
Static value Reservation for Pricing |
|
static final
Pricing |
SPOT
Static value Spot for Pricing |
Constructor Summary
| Constructor | Description |
|---|---|
| PricingModelType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Pricing |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Pricing |
fromString(String name)
Creates or finds a Pricing |
|
static
Collection<Pricing |
values()
Gets known Pricing |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
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.
Constructor Details
PricingModelType
@Deprecated
public PricingModelType()
Deprecated
Creates a new instance of PricingModelType value.
Method Details
fromString
public static PricingModelType fromString(String name)
Creates or finds a PricingModelType from its string representation.
Parameters:
Returns:
values
public static Collection<PricingModelType> values()
Gets known PricingModelType values.
Returns: