RoleAssignmentCreateParameters Class
Role assignment create parameters.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
azure.mgmt.authorization._serialization.ModelRoleAssignmentCreateParameters
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. |
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. |
Azure SDK for Python