az consumption usage

Inspect the usage of Azure resources.

Commands

az consumption usage list List the details of Azure resource consumption, either as an invoice or within a billing period.

az consumption usage list

List the details of Azure resource consumption, either as an invoice or within a billing period.

az consumption usage list [--billing-period-name]
[--end-date]
[--include-additional-properties]
[--include-meter-details]
[--start-date]
[--subscription]
[--top]

Optional Parameters

--billing-period-name -p

Name of the billing period to get the usage details that associate with.

--end-date -e

End date (YYYY-MM-DD in UTC). If specified, also requires --start-date.

--include-additional-properties -a

Include additional properties in the usages.

--include-meter-details -m

Include meter details in the usages.

--start-date -s

Start date (YYYY-MM-DD in UTC). If specified, also requires --end-date.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--top -t

Maximum number of items to return. Value range: 1-1000.