Class BillingMeterInner
java.lang.Object
com.azure.resourcemanager.appservice.models.ProxyOnlyResource
com.azure.resourcemanager.appservice.fluent.models.BillingMeterInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ProxyOnlyResource>
App Service billing entity that contains information about meter which the Azure billing system utilizes to charge
users for services.
-
Method Summary
Modifier and TypeMethodDescriptionGet the billingLocation property: Azure Location of billable resource.Get the friendlyName property: Friendly name of the meter.static BillingMeterInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of BillingMeterInner from the JsonReader.id()Get the id property: Resource Id.meterId()Get the meterId property: Meter GUID onboarded in Commerce.Get the multiplier property: Meter Multiplier.name()Get the name property: Resource Name.osType()Get the osType property: App Service OS type meter used for.Get the resourceType property: App Service ResourceType meter used for.Get the shortName property: Short Name from App Service Azure pricing Page.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: Resource type.voidvalidate()Validates the instance.Methods inherited from class ProxyOnlyResource
kind, withKindMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
type
Get the type property: Resource type.- Overrides:
typein classProxyOnlyResource- Returns:
- the type value.
-
name
Get the name property: Resource Name.- Overrides:
namein classProxyOnlyResource- Returns:
- the name value.
-
id
Get the id property: Resource Id.- Overrides:
idin classProxyOnlyResource- Returns:
- the id value.
-
meterId
Get the meterId property: Meter GUID onboarded in Commerce.- Returns:
- the meterId value.
-
billingLocation
Get the billingLocation property: Azure Location of billable resource.- Returns:
- the billingLocation value.
-
shortName
Get the shortName property: Short Name from App Service Azure pricing Page.- Returns:
- the shortName value.
-
friendlyName
Get the friendlyName property: Friendly name of the meter.- Returns:
- the friendlyName value.
-
resourceType
Get the resourceType property: App Service ResourceType meter used for.- Returns:
- the resourceType value.
-
osType
Get the osType property: App Service OS type meter used for.- Returns:
- the osType value.
-
multiplier
Get the multiplier property: Meter Multiplier.- Returns:
- the multiplier value.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classProxyOnlyResource- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ProxyOnlyResource>- Overrides:
toJsonin classProxyOnlyResource- Throws:
IOException
-
fromJson
Reads an instance of BillingMeterInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of BillingMeterInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the BillingMeterInner.
-