RoleAssignmentCreateParameters Class
Role assignment create parameters.
All required parameters must be populated in order to send to Azure.
Constructor
RoleAssignmentCreateParameters(*, role_definition_id: str, principal_id: str, can_delegate: bool | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
role_definition_id
|
The role definition ID used in the role assignment. Required. |
principal_id
|
The principal ID assigned to the role. This maps to the ID inside the Active Directory. It can point to a user, service principal, or security group. Required. |
can_delegate
|
The delegation flag used for creating a role assignment. Default value: None
|
Variables
Name | Description |
---|---|
role_definition_id
|
The role definition ID used in the role assignment. Required. |
principal_id
|
The principal ID assigned to the role. This maps to the ID inside the Active Directory. It can point to a user, service principal, or security group. Required. |
can_delegate
|
The delegation flag used for creating a role assignment. |