CmdID

CmdID / az / az billing / az billing role-assignment

az billing role-assignment show

Show the role assignment detail for the caller within different scopes. Azure CLI reference

3 examples Its page in the Azure CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

Show a role assignment for the caller on a billing account

az billing role-assignment show --account-name "{billingAccountName}" --name "{billingRoleAssignmentName}"Identify
--account-nameThe ID that uniquely identifies a billing account.
--nameThe ID that uniquely identifies a role assignment.

Show a role assignment for the caller on a billing profile

az billing role-assignment show --account-name "{billingAccountName}" --profile-name "{billingProfileName}" --name "{billingRoleAssignmentName}"Identify
--account-nameThe ID that uniquely identifies a billing account.
--profile-nameThe ID that uniquely identifies a billing profile.
--nameThe ID that uniquely identifies a role assignment.

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}"Identify
--account-nameThe ID that uniquely identifies a billing account.
--profile-nameThe ID that uniquely identifies a billing profile.
--nameThe ID that uniquely identifies a role assignment.
--invoice-section-nameThe ID that uniquely identifies an invoice section.