Skip to main content

credits

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

Overview

Namecredits
TypeResource
Idazure.consumption.credits

Fields

The following fields are returned by SELECT queries:

OK. The request has succeeded.

NameDatatypeDescription
propertiesobjectThe properties of the credit summary. (title: Credit summary properties)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectbillingAccountId, billingProfileIdThe 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.

NameDatatypeDescription
billingAccountIdstringBillingAccount ID
billingProfileIdstringAzure Billing Profile ID.

SELECT examples

The credit summary by billingAccountId and billingProfileId.

SELECT
properties
FROM azure.consumption.credits
WHERE billingAccountId = '{{ billingAccountId }}' -- required
AND billingProfileId = '{{ billingProfileId }}' -- required
;