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]
                          [--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.

default value: False
--include-meter-details -m

Include meter details in the usages.

default value: False
--start-date -s

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

--top -t

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