events
Creates, updates, deletes, gets or lists a events
resource.
Overview
Name | events |
Type | Resource |
Id | azure.consumption.events |
Fields
Name | Datatype | Description |
---|---|---|
id | string | Resource Id. |
name | string | Resource name. |
eTag | string | eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not. |
properties | object | The event properties. |
type | string | Resource type. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list_by_billing_account | SELECT | billingAccountId | Lists the events that decrements Azure credits or Microsoft Azure consumption commitment for a billing account or a billing profile for a given start and end date. |
list_by_billing_profile | SELECT | billingAccountId, billingProfileId, endDate, startDate | Lists the events that decrements Azure credits or Microsoft Azure consumption commitment for a billing account or a billing profile for a given start and end date. |
SELECT
examples
Lists the events that decrements Azure credits or Microsoft Azure consumption commitment for a billing account or a billing profile for a given start and end date.
SELECT
id,
name,
eTag,
properties,
type
FROM azure.consumption.events
WHERE billingAccountId = '{{ billingAccountId }}';