Skip to main content

billing_containers

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

Overview

Namebilling_containers
TypeResource
Idazure.device_registry.billing_containers

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.
etagstringResource ETag.
provisioningStatestringProvisioning state of the resource. Known values are: "Succeeded", "Failed", "Canceled", "Accepted", and "Deleting". (Succeeded, Failed, Canceled, Accepted, Deleting)
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
getselectbilling_container_name, subscription_idGet a BillingContainer.
list_by_subscriptionselectsubscription_idList BillingContainer resources by subscription ID.

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
billing_container_namestringName of the billing container. Required.
subscription_idstring

SELECT examples

Get a BillingContainer.

SELECT
id,
name,
etag,
provisioningState,
systemData,
type
FROM azure.device_registry.billing_containers
WHERE billing_container_name = '{{ billing_container_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;