azure.mgmt.authorization.v2022_04_01_preview.models module¶
Bases:
azure.mgmt.authorization._serialization.ModelAn error response from the service.
- Variables
- Keyword Arguments
Bases:
azure.mgmt.authorization._serialization.ModelExpanded info of resource, role and principal.
- Variables
scope (ExpandedPropertiesScope) – Details of the resource scope.
role_definition (ExpandedPropertiesRoleDefinition) – Details of role definition.
principal (ExpandedPropertiesPrincipal) – Details of the principal.
- Keyword Arguments
scope (ExpandedPropertiesScope) – Details of the resource scope.
role_definition (ExpandedPropertiesRoleDefinition) – Details of role definition.
principal (ExpandedPropertiesPrincipal) – Details of the principal.
Bases:
azure.mgmt.authorization._serialization.ModelDetails of the principal.
- Variables
- Keyword Arguments
Bases:
azure.mgmt.authorization._serialization.ModelDetails of role definition.
- Variables
- Keyword Arguments
Bases:
azure.mgmt.authorization._serialization.ModelDetails of the resource scope.
-
The type of the role assignment schedule request. Eg: SelfActivate, AdminAssign etc.
Bases:
azure.mgmt.authorization._serialization.ModelRole Assignment schedule request.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
name (str) – The role assignment schedule request name.
scope (str) – The role assignment schedule request scope.
role_definition_id (str) – The role definition ID.
principal_id (str) – 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 (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 (RoleAssignmentScheduleRequestPropertiesScheduleInfo) – 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 (RoleAssignmentScheduleRequestPropertiesTicketInfo) – 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) – DateTime when role assignment schedule request was created.
requestor_id (str) – Id of the user who created this request.
expanded_properties (ExpandedProperties) – Additional properties of principal, scope and role definition.
- Keyword Arguments
role_definition_id (str) – The role definition ID.
principal_id (str) – 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 (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 (RoleAssignmentScheduleRequestPropertiesScheduleInfo) – 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 (RoleAssignmentScheduleRequestPropertiesTicketInfo) – 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’.
Bases:
azure.mgmt.authorization._serialization.ModelRole assignment schedule request filter.
- Variables
principal_id (str) – Returns role assignment requests of the specific principal.
role_definition_id (str) – Returns role assignment requests of the specific role definition.
requestor_id (str) – Returns role assignment requests created by specific principal.
status (str) – Returns role assignment requests of specific status.
- Keyword Arguments
principal_id (str) – Returns role assignment requests of the specific principal.
role_definition_id (str) – Returns role assignment requests of the specific role definition.
requestor_id (str) – Returns role assignment requests created by specific principal.
status (str) – Returns role assignment requests of specific status.
Bases:
azure.mgmt.authorization._serialization.ModelRole assignment schedule request list operation result.
- Variables
value (list[RoleAssignmentScheduleRequest]) – Role assignment schedule request list.
next_link (str) – The URL to use for getting the next set of results.
- Keyword Arguments
value (list[RoleAssignmentScheduleRequest]) – Role assignment schedule request list.
next_link (str) – The URL to use for getting the next set of results.
Bases:
azure.mgmt.authorization._serialization.ModelSchedule info of the role assignment schedule.
- Variables
start_date_time (datetime) – Start DateTime of the role assignment schedule.
expiration (RoleAssignmentScheduleRequestPropertiesScheduleInfoExpiration) – Expiration of the role assignment schedule.
- Keyword Arguments
start_date_time (datetime) – Start DateTime of the role assignment schedule.
expiration (RoleAssignmentScheduleRequestPropertiesScheduleInfoExpiration) – Expiration of the role assignment schedule.
Bases:
azure.mgmt.authorization._serialization.ModelExpiration of the role assignment schedule.
- Variables
- Keyword Arguments
Bases:
azure.mgmt.authorization._serialization.ModelTicket Info of the role assignment.
Bases:
azure.mgmt.authorization._serialization.ModelRole Eligibility schedule request.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
name (str) – The role eligibility schedule request name.
scope (str) – The role eligibility schedule request scope.
role_definition_id (str) – The role definition ID.
principal_id (str) – 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 (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 (RoleEligibilityScheduleRequestPropertiesScheduleInfo) – 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 (RoleEligibilityScheduleRequestPropertiesTicketInfo) – 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) – DateTime when role eligibility schedule request was created.
requestor_id (str) – Id of the user who created this request.
expanded_properties (ExpandedProperties) – Additional properties of principal, scope and role definition.
- Keyword Arguments
role_definition_id (str) – The role definition ID.
principal_id (str) – 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”.
schedule_info (RoleEligibilityScheduleRequestPropertiesScheduleInfo) – 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 (RoleEligibilityScheduleRequestPropertiesTicketInfo) – 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’.
Bases:
azure.mgmt.authorization._serialization.ModelRole eligibility schedule request filter.
- Variables
principal_id (str) – Returns role eligibility requests of the specific principal.
role_definition_id (str) – Returns role eligibility requests of the specific role definition.
requestor_id (str) – Returns role eligibility requests created by specific principal.
status (str) – Returns role eligibility requests of specific status.
- Keyword Arguments
principal_id (str) – Returns role eligibility requests of the specific principal.
role_definition_id (str) – Returns role eligibility requests of the specific role definition.
requestor_id (str) – Returns role eligibility requests created by specific principal.
status (str) – Returns role eligibility requests of specific status.
Bases:
azure.mgmt.authorization._serialization.ModelRole eligibility schedule request list operation result.
- Variables
value (list[RoleEligibilityScheduleRequest]) – Role eligibility schedule request list.
next_link (str) – The URL to use for getting the next set of results.
- Keyword Arguments
value (list[RoleEligibilityScheduleRequest]) – Role eligibility schedule request list.
next_link (str) – The URL to use for getting the next set of results.
Bases:
azure.mgmt.authorization._serialization.ModelSchedule info of the role eligibility schedule.
- Variables
start_date_time (datetime) – Start DateTime of the role eligibility schedule.
expiration (RoleEligibilityScheduleRequestPropertiesScheduleInfoExpiration) – Expiration of the role eligibility schedule.
- Keyword Arguments
start_date_time (datetime) – Start DateTime of the role eligibility schedule.
expiration (RoleEligibilityScheduleRequestPropertiesScheduleInfoExpiration) – Expiration of the role eligibility schedule.
Bases:
azure.mgmt.authorization._serialization.ModelExpiration of the role eligibility schedule.
- Variables
- Keyword Arguments
Bases:
azure.mgmt.authorization._serialization.ModelTicket Info of the role eligibility.