Compartilhar via


RoleEligibilityScheduleRequest Class

Role Eligibility schedule request.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.authorization._serialization.Model
RoleEligibilityScheduleRequest

Constructor

RoleEligibilityScheduleRequest(*, role_definition_id: str | None = None, principal_id: str | None = None, request_type: str | _models.RequestType | None = None, schedule_info: _models.RoleEligibilityScheduleRequestPropertiesScheduleInfo | None = None, target_role_eligibility_schedule_id: str | None = None, target_role_eligibility_schedule_instance_id: str | None = None, justification: str | None = None, ticket_info: _models.RoleEligibilityScheduleRequestPropertiesTicketInfo | 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".

schedule_info

Schedule info of the role eligibility schedule.

target_role_eligibility_schedule_id
str

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

target_role_eligibility_schedule_instance_id
str

The role eligibility schedule instance id being updated.

justification
str

Justification for the role eligibility.

ticket_info

Ticket Info of the role eligibility.

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 eligibility schedule request ID.

name
str

The role eligibility schedule request name.

type
str

The role eligibility schedule request type.

scope
str

The role eligibility 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 eligibility 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 eligibility schedule request.

schedule_info

Schedule info of the role eligibility schedule.

target_role_eligibility_schedule_id
str

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

target_role_eligibility_schedule_instance_id
str

The role eligibility schedule instance id being updated.

justification
str

Justification for the role eligibility.

ticket_info

Ticket Info of the role eligibility.

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