RoleAssignmentCreateParameters Class
Role assignment create parameters.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
RoleAssignmentCreateParameters
Constructor
RoleAssignmentCreateParameters(*, role_definition_id: str, principal_id: str, principal_type: Optional[Union[str, azure.mgmt.authorization.v2020_10_01_preview.models._authorization_management_client_enums.PrincipalType]] = None, description: Optional[str] = None, condition: Optional[str] = None, condition_version: Optional[str] = None, delegated_managed_identity_resource_id: Optional[str] = None, **kwargs)
Parameters
- principal_type
- str or PrincipalType
The principal type of the assigned principal ID. Possible values include: "User", "Group", "ServicePrincipal", "ForeignGroup", "Device".
- condition
- str
The conditions on the role assignment. This limits the resources it can be assigned to. e.g.: @Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName] StringEqualsIgnoreCase 'foo_storage_container'.
Variables
- scope
- str
The role assignment scope.
- created_on
- datetime
Time it was created.
- updated_on
- datetime
Time it was updated.
- created_by
- str
Id of the user who created the assignment.
- updated_by
- str
Id of the user who updated the assignment.
Feedback
Submit and view feedback for