RoleAssignmentScheduleRequest Class
Role Assignment schedule request.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.authorization._serialization.ModelRoleAssignmentScheduleRequest
Constructor
RoleAssignmentScheduleRequest(*, role_definition_id: str | None = None, principal_id: str | None = None, request_type: str | _models.RequestType | None = None, target_role_assignment_schedule_id: str | None = None, target_role_assignment_schedule_instance_id: str | None = None, schedule_info: _models.RoleAssignmentScheduleRequestPropertiesScheduleInfo | None = None, linked_role_eligibility_schedule_id: str | None = None, justification: str | None = None, ticket_info: _models.RoleAssignmentScheduleRequestPropertiesTicketInfo | None = None, condition: str | None = None, condition_version: str | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
role_definition_id
|
The role definition ID. |
principal_id
|
The principal ID. |
request_type
|
str or
RequestType
The type of the role assignment schedule request. Eg: SelfActivate, AdminAssign etc. Known values are: "AdminAssign", "AdminRemove", "AdminUpdate", "AdminExtend", "AdminRenew", "SelfActivate", "SelfDeactivate", "SelfExtend", and "SelfRenew". |
target_role_assignment_schedule_id
|
The resultant role assignment schedule id or the role assignment schedule id being updated. |
target_role_assignment_schedule_instance_id
|
The role assignment schedule instance id being updated. |
schedule_info
|
Schedule info of the role assignment schedule. |
linked_role_eligibility_schedule_id
|
The linked role eligibility schedule id - to activate an eligibility. |
justification
|
Justification for the role assignment. |
ticket_info
|
Ticket Info of the role assignment. |
condition
|
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'. |
condition_version
|
Version of the condition. Currently accepted value is '2.0'. |
Variables
Name | Description |
---|---|
id
|
The role assignment schedule request ID. |
name
|
The role assignment schedule request name. |
type
|
The role assignment schedule request type. |
scope
|
The role assignment schedule request scope. |
role_definition_id
|
The role definition ID. |
principal_id
|
The principal ID. |
principal_type
|
str or
PrincipalType
The principal type of the assigned principal ID. Known values are: "User", "Group", "ServicePrincipal", "ForeignGroup", and "Device". |
request_type
|
str or
RequestType
The type of the role assignment schedule request. Eg: SelfActivate, AdminAssign etc. Known values are: "AdminAssign", "AdminRemove", "AdminUpdate", "AdminExtend", "AdminRenew", "SelfActivate", "SelfDeactivate", "SelfExtend", and "SelfRenew". |
status
|
The status of the role assignment schedule request. Known values are: "Accepted", "PendingEvaluation", "Granted", "Denied", "PendingProvisioning", "Provisioned", "PendingRevocation", "Revoked", "Canceled", "Failed", "PendingApprovalProvisioning", "PendingApproval", "FailedAsResourceIsLocked", "PendingAdminDecision", "AdminApproved", "AdminDenied", "TimedOut", "ProvisioningStarted", "Invalid", "PendingScheduleCreation", "ScheduleCreated", and "PendingExternalProvisioning". |
approval_id
|
The approvalId of the role assignment schedule request. |
target_role_assignment_schedule_id
|
The resultant role assignment schedule id or the role assignment schedule id being updated. |
target_role_assignment_schedule_instance_id
|
The role assignment schedule instance id being updated. |
schedule_info
|
Schedule info of the role assignment schedule. |
linked_role_eligibility_schedule_id
|
The linked role eligibility schedule id - to activate an eligibility. |
justification
|
Justification for the role assignment. |
ticket_info
|
Ticket Info of the role assignment. |
condition
|
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'. |
condition_version
|
Version of the condition. Currently accepted value is '2.0'. |
created_on
|
DateTime when role assignment schedule request was created. |
requestor_id
|
Id of the user who created this request. |
expanded_properties
|
Additional properties of principal, scope and role definition. |
Azure SDK for Python