Skip to main content

billing_meters

Creates, updates, deletes, gets or lists a billing_meters resource.

Overview

Namebilling_meters
TypeResource
Idazure.web.billing_meters

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringResource Id.
namestringResource Name.
billingLocationstringAzure Location of billable resource.
friendlyNamestringFriendly name of the meter.
kindstringKind of resource.
meterIdstringMeter GUID onboarded in Commerce.
multipliernumberMeter Multiplier.
osTypestringApp Service OS type meter used for.
resourceTypestringApp Service ResourceType meter used for.
shortNamestringShort Name from App Service Azure pricing Page.
typestringResource type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_billing_metersselectsubscription_idbillingLocation, osTypeGets a list of meters for a given location. Description for Gets a list of meters for a given location.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
subscription_idstring
billingLocationstringAzure Location of billable resource. Default value is None.
osTypestringApp Service OS type meters used for. Default value is None.

SELECT examples

Gets a list of meters for a given location. Description for Gets a list of meters for a given location.

SELECT
id,
name,
billingLocation,
friendlyName,
kind,
meterId,
multiplier,
osType,
resourceType,
shortName,
type
FROM azure.web.billing_meters
WHERE subscription_id = '{{ subscription_id }}' -- required
AND billingLocation = '{{ billingLocation }}'
AND osType = '{{ osType }}'
;