Class ResourceSkuCosts
- java.lang.Object
-
- com.azure.resourcemanager.compute.models.ResourceSkuCosts
-
public final class ResourceSkuCosts extends Object
Describes metadata for retrieving price info.
-
-
Constructor Summary
Constructors Constructor Description ResourceSkuCosts()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringextendedUnit()Get the extendedUnit property: An invariant to show the extended unit.StringmeterId()Get the meterId property: Used for querying price from commerce.Longquantity()Get the quantity property: The multiplier is needed to extend the base metered cost.voidvalidate()Validates the instance.
-
-
-
Method Detail
-
meterId
public String meterId()
Get the meterId property: Used for querying price from commerce.- Returns:
- the meterId value.
-
quantity
public Long quantity()
Get the quantity property: The multiplier is needed to extend the base metered cost.- Returns:
- the quantity value.
-
extendedUnit
public String extendedUnit()
Get the extendedUnit property: An invariant to show the extended unit.- Returns:
- the extendedUnit value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-