az_role_assignment | R Documentation |
Azure role assignment class
An R6 object of class az_role_assignment
.
id
: The full resource ID for this role assignment.
type
: The resource type for a role assignment. Always Microsoft.Authorization/roleAssignments
.
name
: A GUID that identifies this role assignment.
role_name
: The role definition name (in text), eg "Contributor".
properties
: Properties for the role definition.
token
: An OAuth token, obtained via get_azure_token.
remove(confirm=TRUE)
: Removes this role assignment.
The recommended way to create new instances of this class is via the add_role_assignment and get_role_assignment methods for subscription, resource group and resource objects.
Technically role assignments and role definitions are Azure resources, and could be implemented as subclasses of az_resource
. AzureRMR treats them as distinct, due to limited RBAC functionality currently supported.
add_role_assignment, get_role_assignment, get_role_definition, az_role_definition
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.