ResourceSkuCosts Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. ResourceSkuCosts
- com.
Implements
public final class ResourceSkuCosts
implements JsonSerializable<ResourceSkuCosts>
Describes metadata for retrieving price info.
Constructor Summary
Constructor | Description |
---|---|
ResourceSkuCosts() |
Creates an instance of Resource |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
extendedUnit()
Get the extended |
static
Resource |
fromJson(JsonReader jsonReader)
Reads an instance of Resource |
String |
meterId()
Get the meter |
Long |
quantity()
Get the quantity property: The multiplier is needed to extend the base metered cost. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
ResourceSkuCosts
public ResourceSkuCosts()
Creates an instance of ResourceSkuCosts class.
Method Details
extendedUnit
public String extendedUnit()
Get the extendedUnit property: An invariant to show the extended unit.
Returns:
fromJson
public static ResourceSkuCosts fromJson(JsonReader jsonReader)
Reads an instance of ResourceSkuCosts from the JsonReader.
Parameters:
Returns:
Throws:
meterId
public String meterId()
Get the meterId property: Used for querying price from commerce.
Returns:
quantity
public Long quantity()
Get the quantity property: The multiplier is needed to extend the base metered cost.
Returns:
toJson
validate
public void validate()
Validates the instance.