Skip to main content

billing_meters

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

Overview

Namebilling_meters
TypeResource
Idazure.app_service.billing_meters

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringResource Id.
namestringResource Name.
kindstringKind of resource.
propertiesobjectBillingMeter resource specific properties
typestringResource type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscriptionIdbillingLocation, osTypeDescription 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
subscriptionIdstringYour Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
billingLocationstringAzure Location of billable resource
osTypestringApp Service OS type meters used for

SELECT examples

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

SELECT
id,
name,
kind,
properties,
type
FROM azure.app_service.billing_meters
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND billingLocation = '{{ billingLocation }}'
AND osType = '{{ osType }}'
;