BillingMeterInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. appservice. models. ProxyOnlyResource - com.
azure. resourcemanager. appservice. fluent. models. BillingMeterInner
- com.
- com.
- com.
public final class BillingMeterInner
extends ProxyOnlyResource
App Service billing entity that contains information about meter which the Azure billing system utilizes to charge users for services.
Constructor Summary
Constructor | Description |
---|---|
BillingMeterInner() |
Creates an instance of Billing |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
billingLocation()
Get the billing |
String |
friendlyName()
Get the friendly |
static
Billing |
fromJson(JsonReader jsonReader)
Reads an instance of Billing |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
meterId()
Get the meter |
Double |
multiplier()
Get the multiplier property: Meter Multiplier. |
String |
name()
Get the name property: The name of the resource. |
String |
osType()
Get the os |
String |
resourceType()
Get the resource |
String |
shortName()
Get the short |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Billing |
withBillingLocation(String billingLocation)
Set the billing |
Billing |
withFriendlyName(String friendlyName)
Set the friendly |
Billing |
withKind(String kind)
Set the kind property: Kind of resource. |
Billing |
withMeterId(String meterId)
Set the meter |
Billing |
withMultiplier(Double multiplier)
Set the multiplier property: Meter Multiplier. |
Billing |
withOsType(String osType)
Set the os |
Billing |
withResourceType(String resourceType)
Set the resource |
Billing |
withShortName(String shortName)
Set the short |
Methods inherited from ProxyOnlyResource
Methods inherited from java.lang.Object
Constructor Details
BillingMeterInner
public BillingMeterInner()
Creates an instance of BillingMeterInner class.
Method Details
billingLocation
public String billingLocation()
Get the billingLocation property: Azure Location of billable resource.
Returns:
friendlyName
public String friendlyName()
Get the friendlyName property: Friendly name of the meter.
Returns:
fromJson
public static BillingMeterInner fromJson(JsonReader jsonReader)
Reads an instance of BillingMeterInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
BillingMeterInner.id()Returns:
meterId
public String meterId()
Get the meterId property: Meter GUID onboarded in Commerce.
Returns:
multiplier
public Double multiplier()
Get the multiplier property: Meter Multiplier.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
BillingMeterInner.name()Returns:
osType
public String osType()
Get the osType property: App Service OS type meter used for.
Returns:
resourceType
public String resourceType()
Get the resourceType property: App Service ResourceType meter used for.
Returns:
shortName
public String shortName()
Get the shortName property: Short Name from App Service Azure pricing Page.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
BillingMeterInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
BillingMeterInner.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
BillingMeterInner.validate()withBillingLocation
public BillingMeterInner withBillingLocation(String billingLocation)
Set the billingLocation property: Azure Location of billable resource.
Parameters:
Returns:
withFriendlyName
public BillingMeterInner withFriendlyName(String friendlyName)
Set the friendlyName property: Friendly name of the meter.
Parameters:
Returns:
withKind
public BillingMeterInner withKind(String kind)
Set the kind property: Kind of resource.
Overrides:
BillingMeterInner.withKind(String kind)Parameters:
withMeterId
public BillingMeterInner withMeterId(String meterId)
Set the meterId property: Meter GUID onboarded in Commerce.
Parameters:
Returns:
withMultiplier
public BillingMeterInner withMultiplier(Double multiplier)
Set the multiplier property: Meter Multiplier.
Parameters:
Returns:
withOsType
public BillingMeterInner withOsType(String osType)
Set the osType property: App Service OS type meter used for.
Parameters:
Returns:
withResourceType
public BillingMeterInner withResourceType(String resourceType)
Set the resourceType property: App Service ResourceType meter used for.
Parameters:
Returns:
withShortName
public BillingMeterInner withShortName(String shortName)
Set the shortName property: Short Name from App Service Azure pricing Page.
Parameters:
Returns:
Applies to
Azure SDK for Java