Share via


az billing property

This command group is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Billing property.

Commands

Name Description Type Status
az billing property show

Get the billing properties for a subscription. This operation is not supported for billing accounts with agreement type Enterprise Agreement.

Core Preview
az billing property update

Update the billing property of a subscription. Currently, cost center can be updated. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.

Core Preview

az billing property show

Preview

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

Get the billing properties for a subscription. This operation is not supported for billing accounts with agreement type Enterprise Agreement.

az billing property show

Examples

Show the properties of a billing account

az billing property show
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.

az billing property update

Preview

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

Update the billing property of a subscription. Currently, cost center can be updated. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.

az billing property update [--cost-center]

Examples

Update properties of a billing account

az billing property update --cost-center "1010"

Optional Parameters

--cost-center

The cost center applied to the subscription.

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.