billing_meters
Creates, updates, deletes, gets or lists a billing_meters resource.
Overview
| Name | billing_meters |
| Type | Resource |
| Id | azure.web.billing_meters |
Fields
The following fields are returned by SELECT queries:
- list_billing_meters
| Name | Datatype | Description |
|---|---|---|
id | string | Resource Id. |
name | string | Resource Name. |
billingLocation | string | Azure Location of billable resource. |
friendlyName | string | Friendly name of the meter. |
kind | string | Kind of resource. |
meterId | string | Meter GUID onboarded in Commerce. |
multiplier | number | Meter Multiplier. |
osType | string | App Service OS type meter used for. |
resourceType | string | App Service ResourceType meter used for. |
shortName | string | Short Name from App Service Azure pricing Page. |
type | string | Resource type. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_billing_meters | select | subscription_id | billingLocation, osType | Gets 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.
| Name | Datatype | Description |
|---|---|---|
subscription_id | string | |
billingLocation | string | Azure Location of billable resource. Default value is None. |
osType | string | App Service OS type meters used for. Default value is None. |
SELECT examples
- list_billing_meters
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 }}'
;