az billing role-assignment

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

Billing role-assignment.

Commands

Name Description Type Status
az billing role-assignment delete

Delete a role assignment for the caller on 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-assignment list

List the role assignments for the caller on 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-assignment show

Show the role assignment detail for the caller within different scopes. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

Core Preview

az billing role-assignment delete

Preview

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

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

az billing role-assignment delete --account-name
                                  --name
                                  [--invoice-section-name]
                                  [--profile-name]
                                  [--yes]

Examples

InvoiceSectionRoleAssignmentDelete

az billing role-assignment delete --account-name "{billingAccountName}" --profile-name "{billingProfileName}" --name "{billingRoleAssignmentName}" --invoice-section-name "{invoiceSectionName}"

Required Parameters

--account-name

The ID that uniquely identifies a billing account.

--name -n

The ID that uniquely identifies a role assignment.

Optional Parameters

--invoice-section-name

The ID that uniquely identifies an invoice section.

--profile-name

The ID that uniquely identifies a billing profile.

--yes -y

Do not prompt for confirmation.

default value: False
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-assignment list

Preview

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

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

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

Examples

List role assignements by billing account scope

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

List role assignments by billing profile scope

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

List role assignments by invoice section scope

az billing role-assignment 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-assignment show

Preview

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

Show the role assignment detail for the caller within different scopes. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

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

Examples

Show a role assignment for the caller on a billing account

az billing role-assignment show --account-name "{billingAccountName}" --name "{billingRoleAssignmentName}"

Show a role assignment for the caller on a billing profile

az billing role-assignment show --account-name "{billingAccountName}" --profile-name "{billingProfileName}" --name "{billingRoleAssignmentName}"

Show a role assignment for the caller on an invoice section

az billing role-assignment show --account-name "{billingAccountName}" --profile-name "{billingProfileName}" --name "{billingRoleAssignmentName}" --invoice-section-name "{invoiceSectionName}"

Required Parameters

--account-name

The ID that uniquely identifies a billing account.

--name -n

The ID that uniquely identifies a role assignment.

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.