MeterInfo Class
- java.
lang. Object - com.
azure. resourcemanager. commerce. models. MeterInfo
- com.
Implements
public final class MeterInfo
implements JsonSerializable<MeterInfo>
Detailed information about the meter.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Offset |
effectiveDate()
Get the effective |
|
static
Meter |
fromJson(JsonReader jsonReader)
Reads an instance of Meter |
| Double |
includedQuantity()
Get the included |
| String |
meterCategory()
Get the meter |
| String |
meterId()
Get the meter |
| String |
meterName()
Get the meter |
| Map<String,Double> |
meterRates()
Get the meter |
| String |
meterRegion()
Get the meter |
| String |
meterSubCategory()
Get the meter |
| List<String> |
meterTags()
Get the meter |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
unit()
Get the unit property: The unit in which the meter consumption is charged, e. |
Methods inherited from java.lang.Object
Method Details
effectiveDate
public OffsetDateTime effectiveDate()
Get the effectiveDate property: Indicates the date from which the meter rate is effective.
Returns:
fromJson
public static MeterInfo fromJson(JsonReader jsonReader)
Reads an instance of MeterInfo from the JsonReader.
Parameters:
Returns:
Throws:
includedQuantity
public Double includedQuantity()
Get the includedQuantity property: The resource quantity that is included in the offer at no cost. Consumption beyond this quantity will be charged.
Returns:
meterCategory
public String meterCategory()
Get the meterCategory property: The category of the meter, e.g., 'Cloud services', 'Networking', etc..
Returns:
meterId
public String meterId()
Get the meterId property: The unique identifier of the resource.
Returns:
meterName
public String meterName()
Get the meterName property: The name of the meter, within the given meter category.
Returns:
meterRates
public Map<String,Double> meterRates()
Get the meterRates property: The list of key/value pairs for the meter rates, in the format 'key':'value' where key = the meter quantity, and value = the corresponding price.
Returns:
meterRegion
public String meterRegion()
Get the meterRegion property: The region in which the Azure service is available.
Returns:
meterSubCategory
public String meterSubCategory()
Get the meterSubCategory property: The subcategory of the meter, e.g., 'A6 Cloud services', 'ExpressRoute (IXP)', etc..
Returns:
meterTags
public List<String> meterTags()
Get the meterTags property: Provides additional meter data. 'Third Party' indicates a meter with no discount. Blanks indicate First Party.
Returns:
toJson
unit
public String unit()
Get the unit property: The unit in which the meter consumption is charged, e.g., 'Hours', 'GB', etc.
Returns: