alibabacloud-eiam20211201 2.9.0__py3-none-any.whl → 2.11.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- alibabacloud_eiam20211201/__init__.py +1 -1
- alibabacloud_eiam20211201/client.py +7052 -3382
- alibabacloud_eiam20211201/models/__init__.py +374 -0
- alibabacloud_eiam20211201/models/_add_application_to_authorization_rule_request.py +129 -0
- alibabacloud_eiam20211201/models/_add_application_to_authorization_rule_response.py +54 -0
- alibabacloud_eiam20211201/models/_add_application_to_authorization_rule_response_body.py +33 -0
- alibabacloud_eiam20211201/models/_add_group_to_authorization_rule_request.py +127 -0
- alibabacloud_eiam20211201/models/_add_group_to_authorization_rule_response.py +54 -0
- alibabacloud_eiam20211201/models/_add_group_to_authorization_rule_response_body.py +33 -0
- alibabacloud_eiam20211201/models/_add_user_to_authorization_rule_request.py +127 -0
- alibabacloud_eiam20211201/models/_add_user_to_authorization_rule_response.py +54 -0
- alibabacloud_eiam20211201/models/_add_user_to_authorization_rule_response_body.py +33 -0
- alibabacloud_eiam20211201/models/_check_application_provisioning_user_primary_organizational_unit_request.py +58 -0
- alibabacloud_eiam20211201/models/_check_application_provisioning_user_primary_organizational_unit_response.py +54 -0
- alibabacloud_eiam20211201/models/_check_application_provisioning_user_primary_organizational_unit_response_body.py +90 -0
- alibabacloud_eiam20211201/models/_check_instance_for_delete_request.py +36 -0
- alibabacloud_eiam20211201/models/_check_instance_for_delete_response.py +54 -0
- alibabacloud_eiam20211201/models/_check_instance_for_delete_response_body.py +137 -0
- alibabacloud_eiam20211201/models/_check_instance_module_status_request.py +64 -0
- alibabacloud_eiam20211201/models/_check_instance_module_status_response.py +54 -0
- alibabacloud_eiam20211201/models/_check_instance_module_status_response_body.py +72 -0
- alibabacloud_eiam20211201/models/_create_application_client_secret_response_body.py +0 -2
- alibabacloud_eiam20211201/models/_create_authorization_resource_request.py +78 -0
- alibabacloud_eiam20211201/models/_create_authorization_resource_response.py +54 -0
- alibabacloud_eiam20211201/models/_create_authorization_resource_response_body.py +41 -0
- alibabacloud_eiam20211201/models/_create_authorization_rule_request.py +85 -0
- alibabacloud_eiam20211201/models/_create_authorization_rule_response.py +54 -0
- alibabacloud_eiam20211201/models/_create_authorization_rule_response_body.py +41 -0
- alibabacloud_eiam20211201/models/_create_custom_field_request.py +241 -0
- alibabacloud_eiam20211201/models/_create_custom_field_response.py +54 -0
- alibabacloud_eiam20211201/models/_create_custom_field_response_body.py +41 -0
- alibabacloud_eiam20211201/models/_create_instance_trial_license_request.py +36 -0
- alibabacloud_eiam20211201/models/_create_instance_trial_license_response.py +54 -0
- alibabacloud_eiam20211201/models/_create_instance_trial_license_response_body.py +41 -0
- alibabacloud_eiam20211201/models/_delete_authorization_resource_request.py +58 -0
- alibabacloud_eiam20211201/models/_delete_authorization_resource_response.py +54 -0
- alibabacloud_eiam20211201/models/_delete_authorization_resource_response_body.py +33 -0
- alibabacloud_eiam20211201/models/_delete_authorization_rule_request.py +47 -0
- alibabacloud_eiam20211201/models/_delete_authorization_rule_response.py +54 -0
- alibabacloud_eiam20211201/models/_delete_authorization_rule_response_body.py +33 -0
- alibabacloud_eiam20211201/models/_delete_custom_field_request.py +47 -0
- alibabacloud_eiam20211201/models/_delete_custom_field_response.py +54 -0
- alibabacloud_eiam20211201/models/_delete_custom_field_response_body.py +33 -0
- alibabacloud_eiam20211201/models/_disable_authorization_rule_request.py +56 -0
- alibabacloud_eiam20211201/models/_disable_authorization_rule_response.py +54 -0
- alibabacloud_eiam20211201/models/_disable_authorization_rule_response_body.py +33 -0
- alibabacloud_eiam20211201/models/_disable_custom_field_request.py +47 -0
- alibabacloud_eiam20211201/models/_disable_custom_field_response.py +54 -0
- alibabacloud_eiam20211201/models/_disable_custom_field_response_body.py +33 -0
- alibabacloud_eiam20211201/models/_enable_authorization_rule_request.py +56 -0
- alibabacloud_eiam20211201/models/_enable_authorization_rule_response.py +54 -0
- alibabacloud_eiam20211201/models/_enable_authorization_rule_response_body.py +33 -0
- alibabacloud_eiam20211201/models/_enable_custom_field_request.py +47 -0
- alibabacloud_eiam20211201/models/_enable_custom_field_response.py +54 -0
- alibabacloud_eiam20211201/models/_enable_custom_field_response_body.py +33 -0
- alibabacloud_eiam20211201/models/_get_application_provisioning_user_primary_organizational_unit_request.py +47 -0
- alibabacloud_eiam20211201/models/_get_application_provisioning_user_primary_organizational_unit_response.py +54 -0
- alibabacloud_eiam20211201/models/_get_application_provisioning_user_primary_organizational_unit_response_body.py +41 -0
- alibabacloud_eiam20211201/models/_get_authorization_resource_request.py +58 -0
- alibabacloud_eiam20211201/models/_get_authorization_resource_response.py +54 -0
- alibabacloud_eiam20211201/models/_get_authorization_resource_response_body.py +117 -0
- alibabacloud_eiam20211201/models/_get_authorization_rule_request.py +47 -0
- alibabacloud_eiam20211201/models/_get_authorization_rule_response.py +54 -0
- alibabacloud_eiam20211201/models/_get_authorization_rule_response_body.py +153 -0
- alibabacloud_eiam20211201/models/_get_custom_field_request.py +47 -0
- alibabacloud_eiam20211201/models/_get_custom_field_response.py +54 -0
- alibabacloud_eiam20211201/models/_get_custom_field_response_body.py +302 -0
- alibabacloud_eiam20211201/models/_get_identity_provider_advanced_configuration_request.py +47 -0
- alibabacloud_eiam20211201/models/_get_identity_provider_advanced_configuration_response.py +54 -0
- alibabacloud_eiam20211201/models/_get_identity_provider_advanced_configuration_response_body.py +129 -0
- alibabacloud_eiam20211201/models/_get_identity_provider_status_check_job_request.py +58 -0
- alibabacloud_eiam20211201/models/_get_identity_provider_status_check_job_response.py +54 -0
- alibabacloud_eiam20211201/models/_get_identity_provider_status_check_job_response_body.py +248 -0
- alibabacloud_eiam20211201/models/_get_identity_provider_ud_push_configuration_request.py +47 -0
- alibabacloud_eiam20211201/models/_get_identity_provider_ud_push_configuration_response.py +54 -0
- alibabacloud_eiam20211201/models/_get_identity_provider_ud_push_configuration_response_body.py +278 -0
- alibabacloud_eiam20211201/models/_get_instance_control_configuration_request.py +36 -0
- alibabacloud_eiam20211201/models/_get_instance_control_configuration_response.py +54 -0
- alibabacloud_eiam20211201/models/_get_instance_control_configuration_response_body.py +156 -0
- alibabacloud_eiam20211201/models/_get_instance_globalization_config_request.py +36 -0
- alibabacloud_eiam20211201/models/_get_instance_globalization_config_response.py +54 -0
- alibabacloud_eiam20211201/models/_get_instance_globalization_config_response_body.py +81 -0
- alibabacloud_eiam20211201/models/_get_instance_module_info_request.py +47 -0
- alibabacloud_eiam20211201/models/_get_instance_module_info_response.py +54 -0
- alibabacloud_eiam20211201/models/_get_instance_module_info_response_body.py +137 -0
- alibabacloud_eiam20211201/models/_get_instance_quota_request.py +47 -0
- alibabacloud_eiam20211201/models/_get_instance_quota_response.py +54 -0
- alibabacloud_eiam20211201/models/_get_instance_quota_response_body.py +81 -0
- alibabacloud_eiam20211201/models/_get_instance_trial_status_request.py +36 -0
- alibabacloud_eiam20211201/models/_get_instance_trial_status_response.py +54 -0
- alibabacloud_eiam20211201/models/_get_instance_trial_status_response_body.py +41 -0
- alibabacloud_eiam20211201/models/_list_applications_for_authorization_rule_request.py +122 -0
- alibabacloud_eiam20211201/models/_list_applications_for_authorization_rule_response.py +54 -0
- alibabacloud_eiam20211201/models/_list_applications_for_authorization_rule_response_body.py +172 -0
- alibabacloud_eiam20211201/models/_list_authorization_resources_request.py +122 -0
- alibabacloud_eiam20211201/models/_list_authorization_resources_response.py +54 -0
- alibabacloud_eiam20211201/models/_list_authorization_resources_response_body.py +151 -0
- alibabacloud_eiam20211201/models/_list_authorization_rules_for_application_request.py +65 -0
- alibabacloud_eiam20211201/models/_list_authorization_rules_for_application_response.py +54 -0
- alibabacloud_eiam20211201/models/_list_authorization_rules_for_application_response_body.py +172 -0
- alibabacloud_eiam20211201/models/_list_authorization_rules_for_group_request.py +65 -0
- alibabacloud_eiam20211201/models/_list_authorization_rules_for_group_response.py +54 -0
- alibabacloud_eiam20211201/models/_list_authorization_rules_for_group_response_body.py +172 -0
- alibabacloud_eiam20211201/models/_list_authorization_rules_for_user_request.py +65 -0
- alibabacloud_eiam20211201/models/_list_authorization_rules_for_user_response.py +54 -0
- alibabacloud_eiam20211201/models/_list_authorization_rules_for_user_response_body.py +172 -0
- alibabacloud_eiam20211201/models/_list_authorization_rules_request.py +111 -0
- alibabacloud_eiam20211201/models/_list_authorization_rules_response.py +54 -0
- alibabacloud_eiam20211201/models/_list_authorization_rules_response_body.py +187 -0
- alibabacloud_eiam20211201/models/_list_groups_for_authorization_rule_request.py +122 -0
- alibabacloud_eiam20211201/models/_list_groups_for_authorization_rule_response.py +54 -0
- alibabacloud_eiam20211201/models/_list_groups_for_authorization_rule_response_body.py +172 -0
- alibabacloud_eiam20211201/models/_list_users_for_authorization_rule_request.py +122 -0
- alibabacloud_eiam20211201/models/_list_users_for_authorization_rule_response.py +54 -0
- alibabacloud_eiam20211201/models/_list_users_for_authorization_rule_response_body.py +172 -0
- alibabacloud_eiam20211201/models/_remove_application_from_authorization_rule_request.py +58 -0
- alibabacloud_eiam20211201/models/_remove_application_from_authorization_rule_response.py +54 -0
- alibabacloud_eiam20211201/models/_remove_application_from_authorization_rule_response_body.py +33 -0
- alibabacloud_eiam20211201/models/_remove_group_from_authorization_rule_request.py +58 -0
- alibabacloud_eiam20211201/models/_remove_group_from_authorization_rule_response.py +54 -0
- alibabacloud_eiam20211201/models/_remove_group_from_authorization_rule_response_body.py +33 -0
- alibabacloud_eiam20211201/models/_remove_user_from_authorization_rule_request.py +58 -0
- alibabacloud_eiam20211201/models/_remove_user_from_authorization_rule_response.py +54 -0
- alibabacloud_eiam20211201/models/_remove_user_from_authorization_rule_response_body.py +33 -0
- alibabacloud_eiam20211201/models/_update_authorization_rule_application_attachment_request.py +127 -0
- alibabacloud_eiam20211201/models/_update_authorization_rule_application_attachment_response.py +54 -0
- alibabacloud_eiam20211201/models/_update_authorization_rule_application_attachment_response_body.py +33 -0
- alibabacloud_eiam20211201/models/_update_authorization_rule_description_request.py +65 -0
- alibabacloud_eiam20211201/models/_update_authorization_rule_description_response.py +54 -0
- alibabacloud_eiam20211201/models/_update_authorization_rule_description_response_body.py +33 -0
- alibabacloud_eiam20211201/models/_update_authorization_rule_group_attachment_request.py +127 -0
- alibabacloud_eiam20211201/models/_update_authorization_rule_group_attachment_response.py +54 -0
- alibabacloud_eiam20211201/models/_update_authorization_rule_group_attachment_response_body.py +33 -0
- alibabacloud_eiam20211201/models/_update_authorization_rule_request.py +74 -0
- alibabacloud_eiam20211201/models/_update_authorization_rule_response.py +54 -0
- alibabacloud_eiam20211201/models/_update_authorization_rule_response_body.py +33 -0
- alibabacloud_eiam20211201/models/_update_authorization_rule_user_attachment_request.py +127 -0
- alibabacloud_eiam20211201/models/_update_authorization_rule_user_attachment_response.py +54 -0
- alibabacloud_eiam20211201/models/_update_authorization_rule_user_attachment_response_body.py +33 -0
- {alibabacloud_eiam20211201-2.9.0.dist-info → alibabacloud_eiam20211201-2.11.0.dist-info}/METADATA +1 -1
- {alibabacloud_eiam20211201-2.9.0.dist-info → alibabacloud_eiam20211201-2.11.0.dist-info}/RECORD +144 -9
- {alibabacloud_eiam20211201-2.9.0.dist-info → alibabacloud_eiam20211201-2.11.0.dist-info}/LICENSE +0 -0
- {alibabacloud_eiam20211201-2.9.0.dist-info → alibabacloud_eiam20211201-2.11.0.dist-info}/WHEEL +0 -0
- {alibabacloud_eiam20211201-2.9.0.dist-info → alibabacloud_eiam20211201-2.11.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import List
|
|
6
|
+
|
|
7
|
+
from alibabacloud_eiam20211201 import models as main_models
|
|
8
|
+
from darabonba.model import DaraModel
|
|
9
|
+
|
|
10
|
+
class GetIdentityProviderStatusCheckJobResponseBody(DaraModel):
|
|
11
|
+
def __init__(
|
|
12
|
+
self,
|
|
13
|
+
identity_provider_status_check_job: main_models.GetIdentityProviderStatusCheckJobResponseBodyIdentityProviderStatusCheckJob = None,
|
|
14
|
+
request_id: str = None,
|
|
15
|
+
):
|
|
16
|
+
self.identity_provider_status_check_job = identity_provider_status_check_job
|
|
17
|
+
self.request_id = request_id
|
|
18
|
+
|
|
19
|
+
def validate(self):
|
|
20
|
+
if self.identity_provider_status_check_job:
|
|
21
|
+
self.identity_provider_status_check_job.validate()
|
|
22
|
+
|
|
23
|
+
def to_map(self):
|
|
24
|
+
result = dict()
|
|
25
|
+
_map = super().to_map()
|
|
26
|
+
if _map is not None:
|
|
27
|
+
result = _map
|
|
28
|
+
if self.identity_provider_status_check_job is not None:
|
|
29
|
+
result['IdentityProviderStatusCheckJob'] = self.identity_provider_status_check_job.to_map()
|
|
30
|
+
|
|
31
|
+
if self.request_id is not None:
|
|
32
|
+
result['RequestId'] = self.request_id
|
|
33
|
+
|
|
34
|
+
return result
|
|
35
|
+
|
|
36
|
+
def from_map(self, m: dict = None):
|
|
37
|
+
m = m or dict()
|
|
38
|
+
if m.get('IdentityProviderStatusCheckJob') is not None:
|
|
39
|
+
temp_model = main_models.GetIdentityProviderStatusCheckJobResponseBodyIdentityProviderStatusCheckJob()
|
|
40
|
+
self.identity_provider_status_check_job = temp_model.from_map(m.get('IdentityProviderStatusCheckJob'))
|
|
41
|
+
|
|
42
|
+
if m.get('RequestId') is not None:
|
|
43
|
+
self.request_id = m.get('RequestId')
|
|
44
|
+
|
|
45
|
+
return self
|
|
46
|
+
|
|
47
|
+
class GetIdentityProviderStatusCheckJobResponseBodyIdentityProviderStatusCheckJob(DaraModel):
|
|
48
|
+
def __init__(
|
|
49
|
+
self,
|
|
50
|
+
check_result: str = None,
|
|
51
|
+
end_time: int = None,
|
|
52
|
+
identity_provider_id: str = None,
|
|
53
|
+
identity_provider_status_check_job_id: str = None,
|
|
54
|
+
instance_id: str = None,
|
|
55
|
+
job_check_items: List[main_models.GetIdentityProviderStatusCheckJobResponseBodyIdentityProviderStatusCheckJobJobCheckItems] = None,
|
|
56
|
+
start_time: int = None,
|
|
57
|
+
status: str = None,
|
|
58
|
+
):
|
|
59
|
+
# 任务检查结果
|
|
60
|
+
self.check_result = check_result
|
|
61
|
+
# 结束时间
|
|
62
|
+
self.end_time = end_time
|
|
63
|
+
# IdP身份提供方
|
|
64
|
+
self.identity_provider_id = identity_provider_id
|
|
65
|
+
# IdP状态检查任务Id
|
|
66
|
+
self.identity_provider_status_check_job_id = identity_provider_status_check_job_id
|
|
67
|
+
# IDaaS EIAM 实例Id
|
|
68
|
+
self.instance_id = instance_id
|
|
69
|
+
# 状态检查子项任务结果信息
|
|
70
|
+
self.job_check_items = job_check_items
|
|
71
|
+
# 开始时间
|
|
72
|
+
self.start_time = start_time
|
|
73
|
+
# 任务检查状态
|
|
74
|
+
self.status = status
|
|
75
|
+
|
|
76
|
+
def validate(self):
|
|
77
|
+
if self.job_check_items:
|
|
78
|
+
for v1 in self.job_check_items:
|
|
79
|
+
if v1:
|
|
80
|
+
v1.validate()
|
|
81
|
+
|
|
82
|
+
def to_map(self):
|
|
83
|
+
result = dict()
|
|
84
|
+
_map = super().to_map()
|
|
85
|
+
if _map is not None:
|
|
86
|
+
result = _map
|
|
87
|
+
if self.check_result is not None:
|
|
88
|
+
result['CheckResult'] = self.check_result
|
|
89
|
+
|
|
90
|
+
if self.end_time is not None:
|
|
91
|
+
result['EndTime'] = self.end_time
|
|
92
|
+
|
|
93
|
+
if self.identity_provider_id is not None:
|
|
94
|
+
result['IdentityProviderId'] = self.identity_provider_id
|
|
95
|
+
|
|
96
|
+
if self.identity_provider_status_check_job_id is not None:
|
|
97
|
+
result['IdentityProviderStatusCheckJobId'] = self.identity_provider_status_check_job_id
|
|
98
|
+
|
|
99
|
+
if self.instance_id is not None:
|
|
100
|
+
result['InstanceId'] = self.instance_id
|
|
101
|
+
|
|
102
|
+
result['JobCheckItems'] = []
|
|
103
|
+
if self.job_check_items is not None:
|
|
104
|
+
for k1 in self.job_check_items:
|
|
105
|
+
result['JobCheckItems'].append(k1.to_map() if k1 else None)
|
|
106
|
+
|
|
107
|
+
if self.start_time is not None:
|
|
108
|
+
result['StartTime'] = self.start_time
|
|
109
|
+
|
|
110
|
+
if self.status is not None:
|
|
111
|
+
result['Status'] = self.status
|
|
112
|
+
|
|
113
|
+
return result
|
|
114
|
+
|
|
115
|
+
def from_map(self, m: dict = None):
|
|
116
|
+
m = m or dict()
|
|
117
|
+
if m.get('CheckResult') is not None:
|
|
118
|
+
self.check_result = m.get('CheckResult')
|
|
119
|
+
|
|
120
|
+
if m.get('EndTime') is not None:
|
|
121
|
+
self.end_time = m.get('EndTime')
|
|
122
|
+
|
|
123
|
+
if m.get('IdentityProviderId') is not None:
|
|
124
|
+
self.identity_provider_id = m.get('IdentityProviderId')
|
|
125
|
+
|
|
126
|
+
if m.get('IdentityProviderStatusCheckJobId') is not None:
|
|
127
|
+
self.identity_provider_status_check_job_id = m.get('IdentityProviderStatusCheckJobId')
|
|
128
|
+
|
|
129
|
+
if m.get('InstanceId') is not None:
|
|
130
|
+
self.instance_id = m.get('InstanceId')
|
|
131
|
+
|
|
132
|
+
self.job_check_items = []
|
|
133
|
+
if m.get('JobCheckItems') is not None:
|
|
134
|
+
for k1 in m.get('JobCheckItems'):
|
|
135
|
+
temp_model = main_models.GetIdentityProviderStatusCheckJobResponseBodyIdentityProviderStatusCheckJobJobCheckItems()
|
|
136
|
+
self.job_check_items.append(temp_model.from_map(k1))
|
|
137
|
+
|
|
138
|
+
if m.get('StartTime') is not None:
|
|
139
|
+
self.start_time = m.get('StartTime')
|
|
140
|
+
|
|
141
|
+
if m.get('Status') is not None:
|
|
142
|
+
self.status = m.get('Status')
|
|
143
|
+
|
|
144
|
+
return self
|
|
145
|
+
|
|
146
|
+
class GetIdentityProviderStatusCheckJobResponseBodyIdentityProviderStatusCheckJobJobCheckItems(DaraModel):
|
|
147
|
+
def __init__(
|
|
148
|
+
self,
|
|
149
|
+
error_reason: main_models.GetIdentityProviderStatusCheckJobResponseBodyIdentityProviderStatusCheckJobJobCheckItemsErrorReason = None,
|
|
150
|
+
major_check_item: str = None,
|
|
151
|
+
minor_check_item: str = None,
|
|
152
|
+
result: str = None,
|
|
153
|
+
):
|
|
154
|
+
# 错误原因
|
|
155
|
+
self.error_reason = error_reason
|
|
156
|
+
# 主要检查项
|
|
157
|
+
self.major_check_item = major_check_item
|
|
158
|
+
# 次要检查项
|
|
159
|
+
self.minor_check_item = minor_check_item
|
|
160
|
+
# 结果
|
|
161
|
+
self.result = result
|
|
162
|
+
|
|
163
|
+
def validate(self):
|
|
164
|
+
if self.error_reason:
|
|
165
|
+
self.error_reason.validate()
|
|
166
|
+
|
|
167
|
+
def to_map(self):
|
|
168
|
+
result = dict()
|
|
169
|
+
_map = super().to_map()
|
|
170
|
+
if _map is not None:
|
|
171
|
+
result = _map
|
|
172
|
+
if self.error_reason is not None:
|
|
173
|
+
result['ErrorReason'] = self.error_reason.to_map()
|
|
174
|
+
|
|
175
|
+
if self.major_check_item is not None:
|
|
176
|
+
result['MajorCheckItem'] = self.major_check_item
|
|
177
|
+
|
|
178
|
+
if self.minor_check_item is not None:
|
|
179
|
+
result['MinorCheckItem'] = self.minor_check_item
|
|
180
|
+
|
|
181
|
+
if self.result is not None:
|
|
182
|
+
result['Result'] = self.result
|
|
183
|
+
|
|
184
|
+
return result
|
|
185
|
+
|
|
186
|
+
def from_map(self, m: dict = None):
|
|
187
|
+
m = m or dict()
|
|
188
|
+
if m.get('ErrorReason') is not None:
|
|
189
|
+
temp_model = main_models.GetIdentityProviderStatusCheckJobResponseBodyIdentityProviderStatusCheckJobJobCheckItemsErrorReason()
|
|
190
|
+
self.error_reason = temp_model.from_map(m.get('ErrorReason'))
|
|
191
|
+
|
|
192
|
+
if m.get('MajorCheckItem') is not None:
|
|
193
|
+
self.major_check_item = m.get('MajorCheckItem')
|
|
194
|
+
|
|
195
|
+
if m.get('MinorCheckItem') is not None:
|
|
196
|
+
self.minor_check_item = m.get('MinorCheckItem')
|
|
197
|
+
|
|
198
|
+
if m.get('Result') is not None:
|
|
199
|
+
self.result = m.get('Result')
|
|
200
|
+
|
|
201
|
+
return self
|
|
202
|
+
|
|
203
|
+
class GetIdentityProviderStatusCheckJobResponseBodyIdentityProviderStatusCheckJobJobCheckItemsErrorReason(DaraModel):
|
|
204
|
+
def __init__(
|
|
205
|
+
self,
|
|
206
|
+
error_code: str = None,
|
|
207
|
+
error_level: str = None,
|
|
208
|
+
error_message: str = None,
|
|
209
|
+
):
|
|
210
|
+
# 错误码
|
|
211
|
+
self.error_code = error_code
|
|
212
|
+
# 错误级别
|
|
213
|
+
self.error_level = error_level
|
|
214
|
+
# 错误信息
|
|
215
|
+
self.error_message = error_message
|
|
216
|
+
|
|
217
|
+
def validate(self):
|
|
218
|
+
pass
|
|
219
|
+
|
|
220
|
+
def to_map(self):
|
|
221
|
+
result = dict()
|
|
222
|
+
_map = super().to_map()
|
|
223
|
+
if _map is not None:
|
|
224
|
+
result = _map
|
|
225
|
+
if self.error_code is not None:
|
|
226
|
+
result['ErrorCode'] = self.error_code
|
|
227
|
+
|
|
228
|
+
if self.error_level is not None:
|
|
229
|
+
result['ErrorLevel'] = self.error_level
|
|
230
|
+
|
|
231
|
+
if self.error_message is not None:
|
|
232
|
+
result['ErrorMessage'] = self.error_message
|
|
233
|
+
|
|
234
|
+
return result
|
|
235
|
+
|
|
236
|
+
def from_map(self, m: dict = None):
|
|
237
|
+
m = m or dict()
|
|
238
|
+
if m.get('ErrorCode') is not None:
|
|
239
|
+
self.error_code = m.get('ErrorCode')
|
|
240
|
+
|
|
241
|
+
if m.get('ErrorLevel') is not None:
|
|
242
|
+
self.error_level = m.get('ErrorLevel')
|
|
243
|
+
|
|
244
|
+
if m.get('ErrorMessage') is not None:
|
|
245
|
+
self.error_message = m.get('ErrorMessage')
|
|
246
|
+
|
|
247
|
+
return self
|
|
248
|
+
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from darabonba.model import DaraModel
|
|
6
|
+
|
|
7
|
+
class GetIdentityProviderUdPushConfigurationRequest(DaraModel):
|
|
8
|
+
def __init__(
|
|
9
|
+
self,
|
|
10
|
+
identity_provider_id: str = None,
|
|
11
|
+
instance_id: str = None,
|
|
12
|
+
):
|
|
13
|
+
# IDaaS的身份提供方主键id
|
|
14
|
+
#
|
|
15
|
+
# This parameter is required.
|
|
16
|
+
self.identity_provider_id = identity_provider_id
|
|
17
|
+
# IDaaS EIAM的实例id
|
|
18
|
+
#
|
|
19
|
+
# This parameter is required.
|
|
20
|
+
self.instance_id = instance_id
|
|
21
|
+
|
|
22
|
+
def validate(self):
|
|
23
|
+
pass
|
|
24
|
+
|
|
25
|
+
def to_map(self):
|
|
26
|
+
result = dict()
|
|
27
|
+
_map = super().to_map()
|
|
28
|
+
if _map is not None:
|
|
29
|
+
result = _map
|
|
30
|
+
if self.identity_provider_id is not None:
|
|
31
|
+
result['IdentityProviderId'] = self.identity_provider_id
|
|
32
|
+
|
|
33
|
+
if self.instance_id is not None:
|
|
34
|
+
result['InstanceId'] = self.instance_id
|
|
35
|
+
|
|
36
|
+
return result
|
|
37
|
+
|
|
38
|
+
def from_map(self, m: dict = None):
|
|
39
|
+
m = m or dict()
|
|
40
|
+
if m.get('IdentityProviderId') is not None:
|
|
41
|
+
self.identity_provider_id = m.get('IdentityProviderId')
|
|
42
|
+
|
|
43
|
+
if m.get('InstanceId') is not None:
|
|
44
|
+
self.instance_id = m.get('InstanceId')
|
|
45
|
+
|
|
46
|
+
return self
|
|
47
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import Dict
|
|
6
|
+
|
|
7
|
+
from alibabacloud_eiam20211201 import models as main_models
|
|
8
|
+
from darabonba.model import DaraModel
|
|
9
|
+
|
|
10
|
+
class GetIdentityProviderUdPushConfigurationResponse(DaraModel):
|
|
11
|
+
def __init__(
|
|
12
|
+
self,
|
|
13
|
+
headers: Dict[str, str] = None,
|
|
14
|
+
status_code: int = None,
|
|
15
|
+
body: main_models.GetIdentityProviderUdPushConfigurationResponseBody = None,
|
|
16
|
+
):
|
|
17
|
+
self.headers = headers
|
|
18
|
+
self.status_code = status_code
|
|
19
|
+
self.body = body
|
|
20
|
+
|
|
21
|
+
def validate(self):
|
|
22
|
+
if self.body:
|
|
23
|
+
self.body.validate()
|
|
24
|
+
|
|
25
|
+
def to_map(self):
|
|
26
|
+
result = dict()
|
|
27
|
+
_map = super().to_map()
|
|
28
|
+
if _map is not None:
|
|
29
|
+
result = _map
|
|
30
|
+
if self.headers is not None:
|
|
31
|
+
result['headers'] = self.headers
|
|
32
|
+
|
|
33
|
+
if self.status_code is not None:
|
|
34
|
+
result['statusCode'] = self.status_code
|
|
35
|
+
|
|
36
|
+
if self.body is not None:
|
|
37
|
+
result['body'] = self.body.to_map()
|
|
38
|
+
|
|
39
|
+
return result
|
|
40
|
+
|
|
41
|
+
def from_map(self, m: dict = None):
|
|
42
|
+
m = m or dict()
|
|
43
|
+
if m.get('headers') is not None:
|
|
44
|
+
self.headers = m.get('headers')
|
|
45
|
+
|
|
46
|
+
if m.get('statusCode') is not None:
|
|
47
|
+
self.status_code = m.get('statusCode')
|
|
48
|
+
|
|
49
|
+
if m.get('body') is not None:
|
|
50
|
+
temp_model = main_models.GetIdentityProviderUdPushConfigurationResponseBody()
|
|
51
|
+
self.body = temp_model.from_map(m.get('body'))
|
|
52
|
+
|
|
53
|
+
return self
|
|
54
|
+
|
alibabacloud_eiam20211201/models/_get_identity_provider_ud_push_configuration_response_body.py
ADDED
|
@@ -0,0 +1,278 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import List
|
|
6
|
+
|
|
7
|
+
from alibabacloud_eiam20211201 import models as main_models
|
|
8
|
+
from darabonba.model import DaraModel
|
|
9
|
+
|
|
10
|
+
class GetIdentityProviderUdPushConfigurationResponseBody(DaraModel):
|
|
11
|
+
def __init__(
|
|
12
|
+
self,
|
|
13
|
+
request_id: str = None,
|
|
14
|
+
ud_push_configuration: main_models.GetIdentityProviderUdPushConfigurationResponseBodyUdPushConfiguration = None,
|
|
15
|
+
):
|
|
16
|
+
self.request_id = request_id
|
|
17
|
+
self.ud_push_configuration = ud_push_configuration
|
|
18
|
+
|
|
19
|
+
def validate(self):
|
|
20
|
+
if self.ud_push_configuration:
|
|
21
|
+
self.ud_push_configuration.validate()
|
|
22
|
+
|
|
23
|
+
def to_map(self):
|
|
24
|
+
result = dict()
|
|
25
|
+
_map = super().to_map()
|
|
26
|
+
if _map is not None:
|
|
27
|
+
result = _map
|
|
28
|
+
if self.request_id is not None:
|
|
29
|
+
result['RequestId'] = self.request_id
|
|
30
|
+
|
|
31
|
+
if self.ud_push_configuration is not None:
|
|
32
|
+
result['UdPushConfiguration'] = self.ud_push_configuration.to_map()
|
|
33
|
+
|
|
34
|
+
return result
|
|
35
|
+
|
|
36
|
+
def from_map(self, m: dict = None):
|
|
37
|
+
m = m or dict()
|
|
38
|
+
if m.get('RequestId') is not None:
|
|
39
|
+
self.request_id = m.get('RequestId')
|
|
40
|
+
|
|
41
|
+
if m.get('UdPushConfiguration') is not None:
|
|
42
|
+
temp_model = main_models.GetIdentityProviderUdPushConfigurationResponseBodyUdPushConfiguration()
|
|
43
|
+
self.ud_push_configuration = temp_model.from_map(m.get('UdPushConfiguration'))
|
|
44
|
+
|
|
45
|
+
return self
|
|
46
|
+
|
|
47
|
+
class GetIdentityProviderUdPushConfigurationResponseBodyUdPushConfiguration(DaraModel):
|
|
48
|
+
def __init__(
|
|
49
|
+
self,
|
|
50
|
+
identity_provider_id: str = None,
|
|
51
|
+
incremental_callback_status: str = None,
|
|
52
|
+
instance_id: str = None,
|
|
53
|
+
ldap_ud_push_config: main_models.GetIdentityProviderUdPushConfigurationResponseBodyUdPushConfigurationLdapUdPushConfig = None,
|
|
54
|
+
periodic_sync_config: main_models.GetIdentityProviderUdPushConfigurationResponseBodyUdPushConfigurationPeriodicSyncConfig = None,
|
|
55
|
+
periodic_sync_status: str = None,
|
|
56
|
+
ud_sync_scope_configs: List[main_models.GetIdentityProviderUdPushConfigurationResponseBodyUdPushConfigurationUdSyncScopeConfigs] = None,
|
|
57
|
+
):
|
|
58
|
+
# IDaaS EIAM 身份提供方ID
|
|
59
|
+
self.identity_provider_id = identity_provider_id
|
|
60
|
+
# 增量回调状态,是否处理来自IdP的增量回调数据
|
|
61
|
+
self.incremental_callback_status = incremental_callback_status
|
|
62
|
+
# IDaaS EIAM 实例Id
|
|
63
|
+
self.instance_id = instance_id
|
|
64
|
+
self.ldap_ud_push_config = ldap_ud_push_config
|
|
65
|
+
self.periodic_sync_config = periodic_sync_config
|
|
66
|
+
self.periodic_sync_status = periodic_sync_status
|
|
67
|
+
# 同步出配置信息
|
|
68
|
+
self.ud_sync_scope_configs = ud_sync_scope_configs
|
|
69
|
+
|
|
70
|
+
def validate(self):
|
|
71
|
+
if self.ldap_ud_push_config:
|
|
72
|
+
self.ldap_ud_push_config.validate()
|
|
73
|
+
if self.periodic_sync_config:
|
|
74
|
+
self.periodic_sync_config.validate()
|
|
75
|
+
if self.ud_sync_scope_configs:
|
|
76
|
+
for v1 in self.ud_sync_scope_configs:
|
|
77
|
+
if v1:
|
|
78
|
+
v1.validate()
|
|
79
|
+
|
|
80
|
+
def to_map(self):
|
|
81
|
+
result = dict()
|
|
82
|
+
_map = super().to_map()
|
|
83
|
+
if _map is not None:
|
|
84
|
+
result = _map
|
|
85
|
+
if self.identity_provider_id is not None:
|
|
86
|
+
result['IdentityProviderId'] = self.identity_provider_id
|
|
87
|
+
|
|
88
|
+
if self.incremental_callback_status is not None:
|
|
89
|
+
result['IncrementalCallbackStatus'] = self.incremental_callback_status
|
|
90
|
+
|
|
91
|
+
if self.instance_id is not None:
|
|
92
|
+
result['InstanceId'] = self.instance_id
|
|
93
|
+
|
|
94
|
+
if self.ldap_ud_push_config is not None:
|
|
95
|
+
result['LdapUdPushConfig'] = self.ldap_ud_push_config.to_map()
|
|
96
|
+
|
|
97
|
+
if self.periodic_sync_config is not None:
|
|
98
|
+
result['PeriodicSyncConfig'] = self.periodic_sync_config.to_map()
|
|
99
|
+
|
|
100
|
+
if self.periodic_sync_status is not None:
|
|
101
|
+
result['PeriodicSyncStatus'] = self.periodic_sync_status
|
|
102
|
+
|
|
103
|
+
result['UdSyncScopeConfigs'] = []
|
|
104
|
+
if self.ud_sync_scope_configs is not None:
|
|
105
|
+
for k1 in self.ud_sync_scope_configs:
|
|
106
|
+
result['UdSyncScopeConfigs'].append(k1.to_map() if k1 else None)
|
|
107
|
+
|
|
108
|
+
return result
|
|
109
|
+
|
|
110
|
+
def from_map(self, m: dict = None):
|
|
111
|
+
m = m or dict()
|
|
112
|
+
if m.get('IdentityProviderId') is not None:
|
|
113
|
+
self.identity_provider_id = m.get('IdentityProviderId')
|
|
114
|
+
|
|
115
|
+
if m.get('IncrementalCallbackStatus') is not None:
|
|
116
|
+
self.incremental_callback_status = m.get('IncrementalCallbackStatus')
|
|
117
|
+
|
|
118
|
+
if m.get('InstanceId') is not None:
|
|
119
|
+
self.instance_id = m.get('InstanceId')
|
|
120
|
+
|
|
121
|
+
if m.get('LdapUdPushConfig') is not None:
|
|
122
|
+
temp_model = main_models.GetIdentityProviderUdPushConfigurationResponseBodyUdPushConfigurationLdapUdPushConfig()
|
|
123
|
+
self.ldap_ud_push_config = temp_model.from_map(m.get('LdapUdPushConfig'))
|
|
124
|
+
|
|
125
|
+
if m.get('PeriodicSyncConfig') is not None:
|
|
126
|
+
temp_model = main_models.GetIdentityProviderUdPushConfigurationResponseBodyUdPushConfigurationPeriodicSyncConfig()
|
|
127
|
+
self.periodic_sync_config = temp_model.from_map(m.get('PeriodicSyncConfig'))
|
|
128
|
+
|
|
129
|
+
if m.get('PeriodicSyncStatus') is not None:
|
|
130
|
+
self.periodic_sync_status = m.get('PeriodicSyncStatus')
|
|
131
|
+
|
|
132
|
+
self.ud_sync_scope_configs = []
|
|
133
|
+
if m.get('UdSyncScopeConfigs') is not None:
|
|
134
|
+
for k1 in m.get('UdSyncScopeConfigs'):
|
|
135
|
+
temp_model = main_models.GetIdentityProviderUdPushConfigurationResponseBodyUdPushConfigurationUdSyncScopeConfigs()
|
|
136
|
+
self.ud_sync_scope_configs.append(temp_model.from_map(k1))
|
|
137
|
+
|
|
138
|
+
return self
|
|
139
|
+
|
|
140
|
+
class GetIdentityProviderUdPushConfigurationResponseBodyUdPushConfigurationUdSyncScopeConfigs(DaraModel):
|
|
141
|
+
def __init__(
|
|
142
|
+
self,
|
|
143
|
+
source_scopes: List[str] = None,
|
|
144
|
+
target_scope: str = None,
|
|
145
|
+
):
|
|
146
|
+
# 同步来源节点
|
|
147
|
+
self.source_scopes = source_scopes
|
|
148
|
+
# 同步目标节点
|
|
149
|
+
self.target_scope = target_scope
|
|
150
|
+
|
|
151
|
+
def validate(self):
|
|
152
|
+
pass
|
|
153
|
+
|
|
154
|
+
def to_map(self):
|
|
155
|
+
result = dict()
|
|
156
|
+
_map = super().to_map()
|
|
157
|
+
if _map is not None:
|
|
158
|
+
result = _map
|
|
159
|
+
if self.source_scopes is not None:
|
|
160
|
+
result['SourceScopes'] = self.source_scopes
|
|
161
|
+
|
|
162
|
+
if self.target_scope is not None:
|
|
163
|
+
result['TargetScope'] = self.target_scope
|
|
164
|
+
|
|
165
|
+
return result
|
|
166
|
+
|
|
167
|
+
def from_map(self, m: dict = None):
|
|
168
|
+
m = m or dict()
|
|
169
|
+
if m.get('SourceScopes') is not None:
|
|
170
|
+
self.source_scopes = m.get('SourceScopes')
|
|
171
|
+
|
|
172
|
+
if m.get('TargetScope') is not None:
|
|
173
|
+
self.target_scope = m.get('TargetScope')
|
|
174
|
+
|
|
175
|
+
return self
|
|
176
|
+
|
|
177
|
+
class GetIdentityProviderUdPushConfigurationResponseBodyUdPushConfigurationPeriodicSyncConfig(DaraModel):
|
|
178
|
+
def __init__(
|
|
179
|
+
self,
|
|
180
|
+
periodic_sync_cron: str = None,
|
|
181
|
+
periodic_sync_times: List[str] = None,
|
|
182
|
+
periodic_sync_type: str = None,
|
|
183
|
+
):
|
|
184
|
+
self.periodic_sync_cron = periodic_sync_cron
|
|
185
|
+
self.periodic_sync_times = periodic_sync_times
|
|
186
|
+
self.periodic_sync_type = periodic_sync_type
|
|
187
|
+
|
|
188
|
+
def validate(self):
|
|
189
|
+
pass
|
|
190
|
+
|
|
191
|
+
def to_map(self):
|
|
192
|
+
result = dict()
|
|
193
|
+
_map = super().to_map()
|
|
194
|
+
if _map is not None:
|
|
195
|
+
result = _map
|
|
196
|
+
if self.periodic_sync_cron is not None:
|
|
197
|
+
result['PeriodicSyncCron'] = self.periodic_sync_cron
|
|
198
|
+
|
|
199
|
+
if self.periodic_sync_times is not None:
|
|
200
|
+
result['PeriodicSyncTimes'] = self.periodic_sync_times
|
|
201
|
+
|
|
202
|
+
if self.periodic_sync_type is not None:
|
|
203
|
+
result['PeriodicSyncType'] = self.periodic_sync_type
|
|
204
|
+
|
|
205
|
+
return result
|
|
206
|
+
|
|
207
|
+
def from_map(self, m: dict = None):
|
|
208
|
+
m = m or dict()
|
|
209
|
+
if m.get('PeriodicSyncCron') is not None:
|
|
210
|
+
self.periodic_sync_cron = m.get('PeriodicSyncCron')
|
|
211
|
+
|
|
212
|
+
if m.get('PeriodicSyncTimes') is not None:
|
|
213
|
+
self.periodic_sync_times = m.get('PeriodicSyncTimes')
|
|
214
|
+
|
|
215
|
+
if m.get('PeriodicSyncType') is not None:
|
|
216
|
+
self.periodic_sync_type = m.get('PeriodicSyncType')
|
|
217
|
+
|
|
218
|
+
return self
|
|
219
|
+
|
|
220
|
+
class GetIdentityProviderUdPushConfigurationResponseBodyUdPushConfigurationLdapUdPushConfig(DaraModel):
|
|
221
|
+
def __init__(
|
|
222
|
+
self,
|
|
223
|
+
organization_unit_object_class: str = None,
|
|
224
|
+
organizational_unit_rdn: str = None,
|
|
225
|
+
password_sync_status: str = None,
|
|
226
|
+
user_object_class: str = None,
|
|
227
|
+
user_rdn: str = None,
|
|
228
|
+
):
|
|
229
|
+
self.organization_unit_object_class = organization_unit_object_class
|
|
230
|
+
self.organizational_unit_rdn = organizational_unit_rdn
|
|
231
|
+
self.password_sync_status = password_sync_status
|
|
232
|
+
self.user_object_class = user_object_class
|
|
233
|
+
self.user_rdn = user_rdn
|
|
234
|
+
|
|
235
|
+
def validate(self):
|
|
236
|
+
pass
|
|
237
|
+
|
|
238
|
+
def to_map(self):
|
|
239
|
+
result = dict()
|
|
240
|
+
_map = super().to_map()
|
|
241
|
+
if _map is not None:
|
|
242
|
+
result = _map
|
|
243
|
+
if self.organization_unit_object_class is not None:
|
|
244
|
+
result['OrganizationUnitObjectClass'] = self.organization_unit_object_class
|
|
245
|
+
|
|
246
|
+
if self.organizational_unit_rdn is not None:
|
|
247
|
+
result['OrganizationalUnitRdn'] = self.organizational_unit_rdn
|
|
248
|
+
|
|
249
|
+
if self.password_sync_status is not None:
|
|
250
|
+
result['PasswordSyncStatus'] = self.password_sync_status
|
|
251
|
+
|
|
252
|
+
if self.user_object_class is not None:
|
|
253
|
+
result['UserObjectClass'] = self.user_object_class
|
|
254
|
+
|
|
255
|
+
if self.user_rdn is not None:
|
|
256
|
+
result['UserRdn'] = self.user_rdn
|
|
257
|
+
|
|
258
|
+
return result
|
|
259
|
+
|
|
260
|
+
def from_map(self, m: dict = None):
|
|
261
|
+
m = m or dict()
|
|
262
|
+
if m.get('OrganizationUnitObjectClass') is not None:
|
|
263
|
+
self.organization_unit_object_class = m.get('OrganizationUnitObjectClass')
|
|
264
|
+
|
|
265
|
+
if m.get('OrganizationalUnitRdn') is not None:
|
|
266
|
+
self.organizational_unit_rdn = m.get('OrganizationalUnitRdn')
|
|
267
|
+
|
|
268
|
+
if m.get('PasswordSyncStatus') is not None:
|
|
269
|
+
self.password_sync_status = m.get('PasswordSyncStatus')
|
|
270
|
+
|
|
271
|
+
if m.get('UserObjectClass') is not None:
|
|
272
|
+
self.user_object_class = m.get('UserObjectClass')
|
|
273
|
+
|
|
274
|
+
if m.get('UserRdn') is not None:
|
|
275
|
+
self.user_rdn = m.get('UserRdn')
|
|
276
|
+
|
|
277
|
+
return self
|
|
278
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from darabonba.model import DaraModel
|
|
6
|
+
|
|
7
|
+
class GetInstanceControlConfigurationRequest(DaraModel):
|
|
8
|
+
def __init__(
|
|
9
|
+
self,
|
|
10
|
+
instance_id: str = None,
|
|
11
|
+
):
|
|
12
|
+
# IDaaS EIAM实例的ID。
|
|
13
|
+
#
|
|
14
|
+
# This parameter is required.
|
|
15
|
+
self.instance_id = instance_id
|
|
16
|
+
|
|
17
|
+
def validate(self):
|
|
18
|
+
pass
|
|
19
|
+
|
|
20
|
+
def to_map(self):
|
|
21
|
+
result = dict()
|
|
22
|
+
_map = super().to_map()
|
|
23
|
+
if _map is not None:
|
|
24
|
+
result = _map
|
|
25
|
+
if self.instance_id is not None:
|
|
26
|
+
result['InstanceId'] = self.instance_id
|
|
27
|
+
|
|
28
|
+
return result
|
|
29
|
+
|
|
30
|
+
def from_map(self, m: dict = None):
|
|
31
|
+
m = m or dict()
|
|
32
|
+
if m.get('InstanceId') is not None:
|
|
33
|
+
self.instance_id = m.get('InstanceId')
|
|
34
|
+
|
|
35
|
+
return self
|
|
36
|
+
|