Share via


az consumption pricesheet

Command group 'consumption' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Inspect the price sheet of an Azure subscription within a billing period.

Commands

Name Description Type Status
az consumption pricesheet show

Show the price sheet for an Azure subscription within a billing period.

Core Preview

az consumption pricesheet show

Preview

Command group 'consumption' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Show the price sheet for an Azure subscription within a billing period.

az consumption pricesheet show [--billing-period-name]
                               [--ids]
                               [--include-meter-details]
                               [--subscription]

Optional Parameters

--billing-period-name -p

Name of the billing period to get the price sheet.

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--include-meter-details

Include meter details in the price sheet.

--subscription

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

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

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

--verbose

Increase logging verbosity. Use --debug for full debug logs.