AzureRMR (version 2.1.1)

az_role_definition: Azure role definition class

Description

Azure role definition class

Usage

az_role_definition

Arguments

Format

An R6 object of class az_role_definition.

Fields

  • id: The full resource ID for this role definition.

  • type: The resource type for a role definition. Always Microsoft.Authorization/roleDefinitions.

  • name: A GUID that identifies this role definition.

  • properties: Properties for the role definition.

Methods

This class has no methods.

Initialization

The recommended way to create new instances of this class is via the get_role_definition method 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. In particular, role definitions are read-only: you can retrieve a definition, but not modify it, nor create new definitions.

See Also

get_role_definition, get_role_assignment, az_role_assignment

Overview of role-based access control