billing_meters
Creates, updates, deletes, gets or lists a billing_meters resource.
Overview
| Name | billing_meters |
| Type | Resource |
| Id | azure.app_containers.billing_meters |
Fields
The following fields are returned by SELECT queries:
- get
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
category | string | Used to categorize billing meters. |
displayName | string | The everyday name of the billing meter. |
location | string | Region for the billing meter. |
meterType | string | Billing meter type. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | location, subscription_id | Get 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.
| Name | Datatype | Description |
|---|---|---|
location | string | The name of the Azure region. Required. |
subscription_id | string |
SELECT examples
- get
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
;