Compartilhar via


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.Model
RoleAssignmentScheduleRequest

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
str

The role definition ID.

principal_id
str

The principal ID.

request_type

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
str

The resultant role assignment schedule id or the role assignment schedule id being updated.

target_role_assignment_schedule_instance_id
str

The role assignment schedule instance id being updated.

schedule_info

Schedule info of the role assignment schedule.

linked_role_eligibility_schedule_id
str

The linked role eligibility schedule id - to activate an eligibility.

justification
str

Justification for the role assignment.

ticket_info

Ticket Info of the role assignment.

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'.

condition_version
str

Version of the condition. Currently accepted value is '2.0'.

Variables

Name Description
id
str

The role assignment schedule request ID.

name
str

The role assignment schedule request name.

type
str

The role assignment schedule request type.

scope
str

The role assignment schedule request scope.

role_definition_id
str

The role definition ID.

principal_id
str

The principal ID.

principal_type

The principal type of the assigned principal ID. Known values are: "User", "Group", "ServicePrincipal", "ForeignGroup", and "Device".

request_type

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
str or 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
str

The approvalId of the role assignment schedule request.

target_role_assignment_schedule_id
str

The resultant role assignment schedule id or the role assignment schedule id being updated.

target_role_assignment_schedule_instance_id
str

The role assignment schedule instance id being updated.

schedule_info

Schedule info of the role assignment schedule.

linked_role_eligibility_schedule_id
str

The linked role eligibility schedule id - to activate an eligibility.

justification
str

Justification for the role assignment.

ticket_info

Ticket Info of the role assignment.

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'.

condition_version
str

Version of the condition. Currently accepted value is '2.0'.

created_on

DateTime when role assignment schedule request was created.

requestor_id
str

Id of the user who created this request.

expanded_properties

Additional properties of principal, scope and role definition.