azure.mgmt.authorization.v2022_05_01_preview.models module¶
Bases:
azure.mgmt.authorization._serialization.ModelThe approval settings.
- Variables
is_approval_required (bool) – Determines whether approval is required or not.
is_approval_required_for_extension (bool) – Determines whether approval is required for assignment extension.
is_requestor_justification_required (bool) – Determine whether requestor justification is required.
approval_mode (str or ApprovalMode) – The type of rule. Known values are: “SingleStage”, “Serial”, “Parallel”, and “NoApproval”.
approval_stages (list[ApprovalStage]) – The approval stages of the request.
- Keyword Arguments
is_approval_required (bool) – Determines whether approval is required or not.
is_approval_required_for_extension (bool) – Determines whether approval is required for assignment extension.
is_requestor_justification_required (bool) – Determine whether requestor justification is required.
approval_mode (str or ApprovalMode) – The type of rule. Known values are: “SingleStage”, “Serial”, “Parallel”, and “NoApproval”.
approval_stages (list[ApprovalStage]) – The approval stages of the request.
Bases:
azure.mgmt.authorization._serialization.ModelThe approval stage.
- Variables
approval_stage_time_out_in_days (int) – The time in days when approval request would be timed out.
is_approver_justification_required (bool) – Determines whether approver need to provide justification for his decision.
escalation_time_in_minutes (int) – The time in minutes when the approval request would be escalated if the primary approver does not approve.
primary_approvers (list[UserSet]) – The primary approver of the request.
is_escalation_enabled (bool) – The value determine whether escalation feature is enabled.
escalation_approvers (list[UserSet]) – The escalation approver of the request.
- Keyword Arguments
approval_stage_time_out_in_days (int) – The time in days when approval request would be timed out.
is_approver_justification_required (bool) – Determines whether approver need to provide justification for his decision.
escalation_time_in_minutes (int) – The time in minutes when the approval request would be escalated if the primary approver does not approve.
primary_approvers (list[UserSet]) – The primary approver of the request.
is_escalation_enabled (bool) – The value determine whether escalation feature is enabled.
escalation_approvers (list[UserSet]) – The escalation approver of the request.
Bases:
azure.mgmt.authorization._serialization.ModelThe resource management error additional info.
Variables are only populated by the server, and will be ignored when sending a request.
Bases:
azure.mgmt.authorization._serialization.ModelThe error detail.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
message (str) – The error message.
target (str) – The error target.
details (list[ErrorDetail]) – The error details.
additional_info (list[ErrorAdditionalInfo]) – The error additional info.
Bases:
azure.mgmt.authorization._serialization.ModelCommon error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).
- Variables
error (ErrorDetail) – The error object.
- Keyword Arguments
error (ErrorDetail) – The error object.
Bases:
azure.mgmt.authorization._serialization.ModelRole definition permissions.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
condition (str) – The conditions on the role definition. 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 the only accepted value is ‘2.0’.
- Keyword Arguments
Bases:
azure.mgmt.authorization._serialization.ModelPermissions information.
- Variables
value (list[Permission]) – An array of permissions.
next_link (str) – The URL to use for getting the next set of results.
- Keyword Arguments
value (list[Permission]) – An array of permissions.
next_link (str) – The URL to use for getting the next set of results.
Bases:
azure.mgmt.authorization._serialization.ModelThe name of the entity last modified it.
- Variables
- Keyword Arguments
Bases:
azure.mgmt.authorization._serialization.ModelRole definition.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
name (str) – The role definition name.
role_name (str) – The role name.
description (str) – The role definition description.
role_type (str) – The role type.
permissions (list[Permission]) – Role definition permissions.
assignable_scopes (list[str]) – Role definition assignable scopes.
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.
- Keyword Arguments
Bases:
azure.mgmt.authorization._serialization.ModelRole Definitions filter.
Bases:
azure.mgmt.authorization._serialization.ModelRole definition list operation result.
- Variables
value (list[RoleDefinition]) – Role definition list.
next_link (str) – The URL to use for getting the next set of results.
- Keyword Arguments
value (list[RoleDefinition]) – Role definition list.
next_link (str) – The URL to use for getting the next set of results.
Bases:
azure.mgmt.authorization.v2022_05_01_preview.models._models_py3.RoleManagementPolicyRuleThe role management policy approval rule.
All required parameters must be populated in order to send to Azure.
- Variables
rule_type (str or RoleManagementPolicyRuleType) – The type of rule. Required. Known values are: “RoleManagementPolicyApprovalRule”, “RoleManagementPolicyAuthenticationContextRule”, “RoleManagementPolicyEnablementRule”, “RoleManagementPolicyExpirationRule”, and “RoleManagementPolicyNotificationRule”.
target (RoleManagementPolicyRuleTarget) – The target of the current rule.
setting (ApprovalSettings) – The approval setting.
- Keyword Arguments
id (str) – The id of the rule.
target (RoleManagementPolicyRuleTarget) – The target of the current rule.
setting (ApprovalSettings) – The approval setting.
Bases:
azure.mgmt.authorization.v2022_05_01_preview.models._models_py3.RoleManagementPolicyRuleThe role management policy authentication context rule.
All required parameters must be populated in order to send to Azure.
- Variables
rule_type (str or RoleManagementPolicyRuleType) – The type of rule. Required. Known values are: “RoleManagementPolicyApprovalRule”, “RoleManagementPolicyAuthenticationContextRule”, “RoleManagementPolicyEnablementRule”, “RoleManagementPolicyExpirationRule”, and “RoleManagementPolicyNotificationRule”.
target (RoleManagementPolicyRuleTarget) – The target of the current rule.
is_enabled (bool) – The value indicating if rule is enabled.
claim_value (str) – The claim value.
- Keyword Arguments
id (str) – The id of the rule.
target (RoleManagementPolicyRuleTarget) – The target of the current rule.
is_enabled (bool) – The value indicating if rule is enabled.
claim_value (str) – The claim value.
Bases:
azure.mgmt.authorization.v2022_05_01_preview.models._models_py3.RoleManagementPolicyRuleThe role management policy enablement rule.
All required parameters must be populated in order to send to Azure.
- Variables
rule_type (str or RoleManagementPolicyRuleType) – The type of rule. Required. Known values are: “RoleManagementPolicyApprovalRule”, “RoleManagementPolicyAuthenticationContextRule”, “RoleManagementPolicyEnablementRule”, “RoleManagementPolicyExpirationRule”, and “RoleManagementPolicyNotificationRule”.
target (RoleManagementPolicyRuleTarget) – The target of the current rule.
enabled_rules (list[str or EnablementRules]) – The list of enabled rules.
- Keyword Arguments
id (str) – The id of the rule.
target (RoleManagementPolicyRuleTarget) – The target of the current rule.
enabled_rules (list[str or EnablementRules]) – The list of enabled rules.
Bases:
azure.mgmt.authorization.v2022_05_01_preview.models._models_py3.RoleManagementPolicyRuleThe role management policy expiration rule.
All required parameters must be populated in order to send to Azure.
- Variables
rule_type (str or RoleManagementPolicyRuleType) – The type of rule. Required. Known values are: “RoleManagementPolicyApprovalRule”, “RoleManagementPolicyAuthenticationContextRule”, “RoleManagementPolicyEnablementRule”, “RoleManagementPolicyExpirationRule”, and “RoleManagementPolicyNotificationRule”.
target (RoleManagementPolicyRuleTarget) – The target of the current rule.
is_expiration_required (bool) – The value indicating whether expiration is required.
maximum_duration (str) – The maximum duration of expiration in timespan.
- Keyword Arguments
id (str) – The id of the rule.
target (RoleManagementPolicyRuleTarget) – The target of the current rule.
is_expiration_required (bool) – The value indicating whether expiration is required.
maximum_duration (str) – The maximum duration of expiration in timespan.
Bases:
azure.mgmt.authorization.v2022_05_01_preview.models._models_py3.RoleManagementPolicyRuleThe role management policy notification rule.
All required parameters must be populated in order to send to Azure.
- Variables
rule_type (str or RoleManagementPolicyRuleType) – The type of rule. Required. Known values are: “RoleManagementPolicyApprovalRule”, “RoleManagementPolicyAuthenticationContextRule”, “RoleManagementPolicyEnablementRule”, “RoleManagementPolicyExpirationRule”, and “RoleManagementPolicyNotificationRule”.
target (RoleManagementPolicyRuleTarget) – The target of the current rule.
notification_type (str or NotificationDeliveryMechanism) – The type of notification. “Email”
notification_level (str or NotificationLevel) – The notification level. Known values are: “None”, “Critical”, and “All”.
recipient_type (str or RecipientType) – The recipient type. Known values are: “Requestor”, “Approver”, and “Admin”.
notification_recipients (list[str]) – The list of notification recipients.
is_default_recipients_enabled (bool) – Determines if the notification will be sent to the recipient type specified in the policy rule.
- Keyword Arguments
id (str) – The id of the rule.
target (RoleManagementPolicyRuleTarget) – The target of the current rule.
notification_type (str or NotificationDeliveryMechanism) – The type of notification. “Email”
notification_level (str or NotificationLevel) – The notification level. Known values are: “None”, “Critical”, and “All”.
recipient_type (str or RecipientType) – The recipient type. Known values are: “Requestor”, “Approver”, and “Admin”.
notification_recipients (list[str]) – The list of notification recipients.
is_default_recipients_enabled (bool) – Determines if the notification will be sent to the recipient type specified in the policy rule.
Bases:
azure.mgmt.authorization._serialization.ModelThe role management policy rule.
You probably want to use the sub-classes and not this class directly. Known sub-classes are: RoleManagementPolicyApprovalRule, RoleManagementPolicyAuthenticationContextRule, RoleManagementPolicyEnablementRule, RoleManagementPolicyExpirationRule, RoleManagementPolicyNotificationRule
All required parameters must be populated in order to send to Azure.
- Variables
rule_type (str or RoleManagementPolicyRuleType) – The type of rule. Required. Known values are: “RoleManagementPolicyApprovalRule”, “RoleManagementPolicyAuthenticationContextRule”, “RoleManagementPolicyEnablementRule”, “RoleManagementPolicyExpirationRule”, and “RoleManagementPolicyNotificationRule”.
target (RoleManagementPolicyRuleTarget) – The target of the current rule.
- Keyword Arguments
id (str) – The id of the rule.
target (RoleManagementPolicyRuleTarget) – The target of the current rule.
Bases:
azure.mgmt.authorization._serialization.ModelThe role management policy rule target.
- Variables
- Keyword Arguments
Bases:
azure.mgmt.authorization._serialization.ModelThe detail of a user.
- Variables
- Keyword Arguments