Share via


az billing agreement

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

Display billing agreement.

Commands

Name Description Type Status
az billing agreement list

List the agreements for a billing account.

Core Preview
az billing agreement show

Get an agreement by ID.

Core Preview

az billing agreement list

Preview

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

List the agreements for a billing account.

az billing agreement list --account-name
                          [--expand]

Examples

List agreements by billing account

az billing agreement list --account-name "{billingAccountName}"

Required Parameters

--account-name

The ID that uniquely identifies a billing account.

Optional Parameters

--expand

May be used to expand the participants.

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 agreement show

Preview

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

Get an agreement by ID.

az billing agreement show --account-name
                          --name
                          [--expand]

Examples

Show an agreement by billing account and its name

az billing agreement show --name "{agreementName}" --account-name "{billingAccountName}"

Required Parameters

--account-name

The ID that uniquely identifies a billing account.

--name -n

The ID that uniquely identifies an agreement.

Optional Parameters

--expand

May be used to expand the participants.

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.