Class BillingMeterProperties
java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.BillingMeterProperties
BillingMeter resource specific properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of BillingMeterProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the billingLocation property: Azure Location of billable resource.Get the friendlyName property: Friendly name of the meter.meterId()Get the meterId property: Meter GUID onboarded in Commerce.Get the multiplier property: Meter Multiplier.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.voidvalidate()Validates the instance.withBillingLocation(String billingLocation) Set the billingLocation property: Azure Location of billable resource.withFriendlyName(String friendlyName) Set the friendlyName property: Friendly name of the meter.withMeterId(String meterId) Set the meterId property: Meter GUID onboarded in Commerce.withMultiplier(Double multiplier) Set the multiplier property: Meter Multiplier.withOsType(String osType) Set the osType property: App Service OS type meter used for.withResourceType(String resourceType) Set the resourceType property: App Service ResourceType meter used for.withShortName(String shortName) Set the shortName property: Short Name from App Service Azure pricing Page.
-
Constructor Details
-
BillingMeterProperties
public BillingMeterProperties()Creates an instance of BillingMeterProperties class.
-
-
Method Details
-
meterId
Get the meterId property: Meter GUID onboarded in Commerce.- Returns:
- the meterId value.
-
withMeterId
Set the meterId property: Meter GUID onboarded in Commerce.- Parameters:
meterId- the meterId value to set.- Returns:
- the BillingMeterProperties object itself.
-
billingLocation
Get the billingLocation property: Azure Location of billable resource.- Returns:
- the billingLocation value.
-
withBillingLocation
Set the billingLocation property: Azure Location of billable resource.- Parameters:
billingLocation- the billingLocation value to set.- Returns:
- the BillingMeterProperties object itself.
-
shortName
Get the shortName property: Short Name from App Service Azure pricing Page.- Returns:
- the shortName value.
-
withShortName
Set the shortName property: Short Name from App Service Azure pricing Page.- Parameters:
shortName- the shortName value to set.- Returns:
- the BillingMeterProperties object itself.
-
friendlyName
Get the friendlyName property: Friendly name of the meter.- Returns:
- the friendlyName value.
-
withFriendlyName
Set the friendlyName property: Friendly name of the meter.- Parameters:
friendlyName- the friendlyName value to set.- Returns:
- the BillingMeterProperties object itself.
-
resourceType
Get the resourceType property: App Service ResourceType meter used for.- Returns:
- the resourceType value.
-
withResourceType
Set the resourceType property: App Service ResourceType meter used for.- Parameters:
resourceType- the resourceType value to set.- Returns:
- the BillingMeterProperties object itself.
-
osType
Get the osType property: App Service OS type meter used for.- Returns:
- the osType value.
-
withOsType
Set the osType property: App Service OS type meter used for.- Parameters:
osType- the osType value to set.- Returns:
- the BillingMeterProperties object itself.
-
multiplier
Get the multiplier property: Meter Multiplier.- Returns:
- the multiplier value.
-
withMultiplier
Set the multiplier property: Meter Multiplier.- Parameters:
multiplier- the multiplier value to set.- Returns:
- the BillingMeterProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-