balances_for_billing_period_by_billing_accounts
Creates, updates, deletes, gets or lists a balances_for_billing_period_by_billing_accounts
resource.
Overview
Name | balances_for_billing_period_by_billing_accounts |
Type | Resource |
Id | azure.consumption.balances_for_billing_period_by_billing_accounts |
Fields
The following fields are returned by SELECT
queries:
- get
OK. The request has succeeded.
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 |
properties | object | The properties of the balance. (title: Balance properties) |
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 | billingAccountId , billingPeriodName | Gets the balances for a scope by billing period and billingAccountId. Balances are available via this API only for May 1, 2014 or later. |
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 |
---|---|---|
billingAccountId | string | BillingAccount ID |
billingPeriodName | string | Billing Period Name. |
SELECT
examples
- get
Gets the balances for a scope by billing period and billingAccountId. Balances are available via this API only for May 1, 2014 or later.
SELECT
id,
name,
properties,
type
FROM azure.consumption.balances_for_billing_period_by_billing_accounts
WHERE billingAccountId = '{{ billingAccountId }}' -- required
AND billingPeriodName = '{{ billingPeriodName }}' -- required
;