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
Examples
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.