Skip to main content

usage_details

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

Overview

Nameusage_details
TypeResource
Idazure.consumption.usage_details

Fields

NameDatatypeDescription
idstringThe full qualified ARM ID of an event.
namestringThe ID that uniquely identifies an event.
etagstringThe etag for the resource.
kindstringSpecifies the kind of usage details.
tagsobjectResource tags.
typestringResource type.

Methods

NameAccessible byRequired ParamsDescription
listSELECTscopeLists the usage details for the defined scope. Usage details are available via this API only for May 1, 2014 or later.

Note:Microsoft will be retiring the Consumption Usage Details API at some point in the future. We do not recommend that you take a new dependency on this API. Please use the Cost Details API instead. We will notify customers once a date for retirement has been determined.For Learn more,see Generate Cost Details Report - Create Operation |

SELECT examples

Lists the usage details for the defined scope. Usage details are available via this API only for May 1, 2014 or later.

Note:Microsoft will be retiring the Consumption Usage Details API at some point in the future. We do not recommend that you take a new dependency on this API. Please use the Cost Details API instead. We will notify customers once a date for retirement has been determined.For Learn more,see Generate Cost Details Report - Create Operation

SELECT
id,
name,
etag,
kind,
tags,
type
FROM azure.consumption.usage_details
WHERE scope = '{{ scope }}';