credits
Creates, updates, deletes, gets or lists a credits resource.
Overview
| Name | credits |
| Type | Resource |
| Id | azure.consumption.credits |
Fields
The following fields are returned by SELECT queries:
- get
OK. The request has succeeded.
| Name | Datatype | Description |
|---|---|---|
properties | object | The properties of the credit summary. (title: Credit summary properties) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | billingAccountId, billingProfileId | The credit summary by billingAccountId and billingProfileId. |
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 |
billingProfileId | string | Azure Billing Profile ID. |
SELECT examples
- get
The credit summary by billingAccountId and billingProfileId.
SELECT
properties
FROM azure.consumption.credits
WHERE billingAccountId = '{{ billingAccountId }}' -- required
AND billingProfileId = '{{ billingProfileId }}' -- required
;