az consumption usage
Command group 'consumption' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Inspect the usage of Azure resources.
Commands
Name | Description | Type | Status |
---|---|---|---|
az consumption usage list |
List the details of Azure resource consumption, either as an invoice or within a billing period. |
Core | Preview |
az consumption usage list
Command group 'consumption' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
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]
[--max-items]
[--next-token]
[--start-date]
[--top]
Optional Parameters
Name of the billing period to get the usage details that associate with.
End date (YYYY-MM-DD in UTC). If specified, also requires --start-date.
Include additional properties in the usages.
Include meter details in the usages.
Total number of items to return in the command's output. If the total number of items available is more than the value specified, a token is provided in the command's output. To resume pagination, provide the token value in --next-token
argument of a subsequent command.
Token to specify where to start paginating. This is the token value from a previously truncated response.
Start date (YYYY-MM-DD in UTC). If specified, also requires --end-date.
Maximum number of items to return. Value range: 1-1000.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.