Skip to main content

billing_meters

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

Overview

Namebilling_meters
TypeResource
Idazure.app_containers.billing_meters

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
categorystringUsed to categorize billing meters.
displayNamestringThe everyday name of the billing meter.
locationstringRegion for the billing meter.
meterTypestringBilling meter type.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectlocation, subscription_idGet billing meters by location. Get all billingMeters for a 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
locationstringThe name of the Azure region. Required.
subscription_idstring

SELECT examples

Get billing meters by location. Get all billingMeters for a location.

SELECT
id,
name,
category,
displayName,
location,
meterType,
systemData,
type
FROM azure.app_containers.billing_meters
WHERE location = '{{ location }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;