az billing role-definition

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

Display billing role-definition.

Commands

Name Description Type Status
az billing role-definition list

List the role definitions for a billing account. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

Core Preview
az billing role-definition show

Show the role definition details.

Core Preview

az billing role-definition list

Preview

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

List the role definitions for a billing account. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

az billing role-definition list --account-name
                                [--invoice-section-name]
                                [--profile-name]

Examples

Lists the role definitions for a billing account

az billing role-definition list --account-name "{billingAccountName}"

List the role definitions for a billing profile.

az billing role-definition list --account-name "{billingAccountName}" --profile-name "{billingProfileName}"

List the role definitions for an invoice section.

az billing role-definition list --account-name "{billingAccountName}" --profile-name "{billingProfileName}" --invoice-section-name "{invoiceSectionName}"

Required Parameters

--account-name

The ID that uniquely identifies a billing account.

Optional Parameters

--invoice-section-name

The ID that uniquely identifies an invoice section.

--profile-name

The ID that uniquely identifies a billing profile.

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 role-definition show

Preview

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

Show the role definition details.

az billing role-definition show --account-name
                                --name
                                [--invoice-section-name]
                                [--profile-name]

Examples

Show the definition for a role on a billing account. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

az billing role-definition show --account-name "{billingAccountName}" --name "{billingRoleDefinitionName}"

Show the definition for a role on a billing profile. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

az billing role-definition show --account-name "{billingAccountName}" --profile-name "{billingProfileName}" --name "{billingRoleDefinitionName}"

Show the definition for a role on an invoice section. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement

az billing role-definition show --account-name "{billingAccountName}" --invoice-section-name "{invoiceSectionName}" --name "{billingRoleDefinitionName}"

Required Parameters

--account-name

The ID that uniquely identifies a billing account.

--name -n

The name that uniquely identifies a role definition.

Optional Parameters

--invoice-section-name

The ID that uniquely identifies an invoice section.

--profile-name

The ID that uniquely identifies a billing profile.

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.