RoleAssignment Class
Role Assignments.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
RoleAssignment
Constructor
RoleAssignment(*, scope: Optional[str] = None, role_definition_id: Optional[str] = None, principal_id: Optional[str] = None, principal_type: Optional[Union[str, azure.mgmt.authorization.v2018_09_01_preview.models._authorization_management_client_enums.PrincipalType]] = None, can_delegate: Optional[bool] = None, **kwargs)
Parameters
- principal_type
- str or PrincipalType
Required
The principal type of the assigned principal ID. Possible values include: "User", "Group", "ServicePrincipal", "ForeignGroup".
Variables
- id
- str
The role assignment ID.
- name
- str
The role assignment name.
- type
- str
The role assignment type.
Feedback
Submit and view feedback for