alibabacloud-eiam20211201 2.10.0__py3-none-any.whl → 2.12.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 +5295 -2967
- alibabacloud_eiam20211201/models/__init__.py +264 -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_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_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_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_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/_exec_identity_provider_metadata_url_resolution_request.py +63 -0
- alibabacloud_eiam20211201/models/_exec_identity_provider_metadata_url_resolution_response.py +54 -0
- alibabacloud_eiam20211201/models/_exec_identity_provider_metadata_url_resolution_response_body.py +138 -0
- alibabacloud_eiam20211201/models/_generate_oauth_token_request.py +63 -0
- alibabacloud_eiam20211201/models/_generate_oauth_token_response.py +54 -0
- alibabacloud_eiam20211201/models/_generate_oauth_token_response_body.py +96 -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_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/_get_service_quota_request.py +36 -0
- alibabacloud_eiam20211201/models/_get_service_quota_response.py +54 -0
- alibabacloud_eiam20211201/models/_get_service_quota_response_body.py +90 -0
- alibabacloud_eiam20211201/models/_list_action_track_event_types_request.py +63 -0
- alibabacloud_eiam20211201/models/_list_action_track_event_types_response.py +54 -0
- alibabacloud_eiam20211201/models/_list_action_track_event_types_response_body.py +114 -0
- alibabacloud_eiam20211201/models/_list_event_types_request.py +43 -0
- alibabacloud_eiam20211201/models/_list_event_types_response.py +54 -0
- alibabacloud_eiam20211201/models/_list_event_types_response_body.py +87 -0
- alibabacloud_eiam20211201/models/_renew_free_license_end_time_request.py +36 -0
- alibabacloud_eiam20211201/models/_renew_free_license_end_time_response.py +54 -0
- alibabacloud_eiam20211201/models/_renew_free_license_end_time_response_body.py +33 -0
- alibabacloud_eiam20211201/models/_set_identity_provider_authn_configuration_request.py +320 -0
- alibabacloud_eiam20211201/models/_set_identity_provider_authn_configuration_response.py +54 -0
- alibabacloud_eiam20211201/models/_set_identity_provider_authn_configuration_response_body.py +33 -0
- alibabacloud_eiam20211201/models/_set_identity_provider_ud_push_configuration_request.py +247 -0
- alibabacloud_eiam20211201/models/_set_identity_provider_ud_push_configuration_response.py +54 -0
- alibabacloud_eiam20211201/models/_set_identity_provider_ud_push_configuration_response_body.py +33 -0
- alibabacloud_eiam20211201/models/_set_instance_control_configuration_request.py +130 -0
- alibabacloud_eiam20211201/models/_set_instance_control_configuration_response.py +54 -0
- alibabacloud_eiam20211201/models/_set_instance_control_configuration_response_body.py +33 -0
- alibabacloud_eiam20211201/models/_set_instance_globalization_config_request.py +58 -0
- alibabacloud_eiam20211201/models/_set_instance_globalization_config_response.py +54 -0
- alibabacloud_eiam20211201/models/_set_instance_globalization_config_response_body.py +33 -0
- alibabacloud_eiam20211201/models/_set_web_authn_configuration_request.py +122 -0
- alibabacloud_eiam20211201/models/_set_web_authn_configuration_response.py +54 -0
- alibabacloud_eiam20211201/models/_set_web_authn_configuration_response_body.py +33 -0
- alibabacloud_eiam20211201/models/_unbind_totp_authenticator_request.py +47 -0
- alibabacloud_eiam20211201/models/_unbind_totp_authenticator_response.py +54 -0
- alibabacloud_eiam20211201/models/_unbind_totp_authenticator_response_body.py +33 -0
- {alibabacloud_eiam20211201-2.10.0.dist-info → alibabacloud_eiam20211201-2.12.0.dist-info}/METADATA +1 -1
- {alibabacloud_eiam20211201-2.10.0.dist-info → alibabacloud_eiam20211201-2.12.0.dist-info}/RECORD +98 -8
- {alibabacloud_eiam20211201-2.10.0.dist-info → alibabacloud_eiam20211201-2.12.0.dist-info}/LICENSE +0 -0
- {alibabacloud_eiam20211201-2.10.0.dist-info → alibabacloud_eiam20211201-2.12.0.dist-info}/WHEEL +0 -0
- {alibabacloud_eiam20211201-2.10.0.dist-info → alibabacloud_eiam20211201-2.12.0.dist-info}/top_level.txt +0 -0
|
@@ -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 GetInstanceModuleInfoRequest(DaraModel):
|
|
8
|
+
def __init__(
|
|
9
|
+
self,
|
|
10
|
+
instance_id: str = None,
|
|
11
|
+
module_key: str = None,
|
|
12
|
+
):
|
|
13
|
+
# IDaaS EIAM实例的ID。
|
|
14
|
+
#
|
|
15
|
+
# This parameter is required.
|
|
16
|
+
self.instance_id = instance_id
|
|
17
|
+
# 一级模块标识,必填
|
|
18
|
+
#
|
|
19
|
+
# This parameter is required.
|
|
20
|
+
self.module_key = module_key
|
|
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.instance_id is not None:
|
|
31
|
+
result['InstanceId'] = self.instance_id
|
|
32
|
+
|
|
33
|
+
if self.module_key is not None:
|
|
34
|
+
result['ModuleKey'] = self.module_key
|
|
35
|
+
|
|
36
|
+
return result
|
|
37
|
+
|
|
38
|
+
def from_map(self, m: dict = None):
|
|
39
|
+
m = m or dict()
|
|
40
|
+
if m.get('InstanceId') is not None:
|
|
41
|
+
self.instance_id = m.get('InstanceId')
|
|
42
|
+
|
|
43
|
+
if m.get('ModuleKey') is not None:
|
|
44
|
+
self.module_key = m.get('ModuleKey')
|
|
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 GetInstanceModuleInfoResponse(DaraModel):
|
|
11
|
+
def __init__(
|
|
12
|
+
self,
|
|
13
|
+
headers: Dict[str, str] = None,
|
|
14
|
+
status_code: int = None,
|
|
15
|
+
body: main_models.GetInstanceModuleInfoResponseBody = 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.GetInstanceModuleInfoResponseBody()
|
|
51
|
+
self.body = temp_model.from_map(m.get('body'))
|
|
52
|
+
|
|
53
|
+
return self
|
|
54
|
+
|
|
@@ -0,0 +1,137 @@
|
|
|
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 GetInstanceModuleInfoResponseBody(DaraModel):
|
|
11
|
+
def __init__(
|
|
12
|
+
self,
|
|
13
|
+
module: main_models.GetInstanceModuleInfoResponseBodyModule = None,
|
|
14
|
+
request_id: str = None,
|
|
15
|
+
):
|
|
16
|
+
self.module = module
|
|
17
|
+
self.request_id = request_id
|
|
18
|
+
|
|
19
|
+
def validate(self):
|
|
20
|
+
if self.module:
|
|
21
|
+
self.module.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.module is not None:
|
|
29
|
+
result['Module'] = self.module.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('Module') is not None:
|
|
39
|
+
temp_model = main_models.GetInstanceModuleInfoResponseBodyModule()
|
|
40
|
+
self.module = temp_model.from_map(m.get('Module'))
|
|
41
|
+
|
|
42
|
+
if m.get('RequestId') is not None:
|
|
43
|
+
self.request_id = m.get('RequestId')
|
|
44
|
+
|
|
45
|
+
return self
|
|
46
|
+
|
|
47
|
+
class GetInstanceModuleInfoResponseBodyModule(DaraModel):
|
|
48
|
+
def __init__(
|
|
49
|
+
self,
|
|
50
|
+
features: List[main_models.GetInstanceModuleInfoResponseBodyModuleFeatures] = None,
|
|
51
|
+
module_key: str = None,
|
|
52
|
+
module_status: str = None,
|
|
53
|
+
):
|
|
54
|
+
# 二级模块信息
|
|
55
|
+
self.features = features
|
|
56
|
+
# 模块状态
|
|
57
|
+
self.module_key = module_key
|
|
58
|
+
# 一级模块状态
|
|
59
|
+
self.module_status = module_status
|
|
60
|
+
|
|
61
|
+
def validate(self):
|
|
62
|
+
if self.features:
|
|
63
|
+
for v1 in self.features:
|
|
64
|
+
if v1:
|
|
65
|
+
v1.validate()
|
|
66
|
+
|
|
67
|
+
def to_map(self):
|
|
68
|
+
result = dict()
|
|
69
|
+
_map = super().to_map()
|
|
70
|
+
if _map is not None:
|
|
71
|
+
result = _map
|
|
72
|
+
result['Features'] = []
|
|
73
|
+
if self.features is not None:
|
|
74
|
+
for k1 in self.features:
|
|
75
|
+
result['Features'].append(k1.to_map() if k1 else None)
|
|
76
|
+
|
|
77
|
+
if self.module_key is not None:
|
|
78
|
+
result['ModuleKey'] = self.module_key
|
|
79
|
+
|
|
80
|
+
if self.module_status is not None:
|
|
81
|
+
result['ModuleStatus'] = self.module_status
|
|
82
|
+
|
|
83
|
+
return result
|
|
84
|
+
|
|
85
|
+
def from_map(self, m: dict = None):
|
|
86
|
+
m = m or dict()
|
|
87
|
+
self.features = []
|
|
88
|
+
if m.get('Features') is not None:
|
|
89
|
+
for k1 in m.get('Features'):
|
|
90
|
+
temp_model = main_models.GetInstanceModuleInfoResponseBodyModuleFeatures()
|
|
91
|
+
self.features.append(temp_model.from_map(k1))
|
|
92
|
+
|
|
93
|
+
if m.get('ModuleKey') is not None:
|
|
94
|
+
self.module_key = m.get('ModuleKey')
|
|
95
|
+
|
|
96
|
+
if m.get('ModuleStatus') is not None:
|
|
97
|
+
self.module_status = m.get('ModuleStatus')
|
|
98
|
+
|
|
99
|
+
return self
|
|
100
|
+
|
|
101
|
+
class GetInstanceModuleInfoResponseBodyModuleFeatures(DaraModel):
|
|
102
|
+
def __init__(
|
|
103
|
+
self,
|
|
104
|
+
feature_key: str = None,
|
|
105
|
+
feature_status: str = None,
|
|
106
|
+
):
|
|
107
|
+
# 二级模块标识
|
|
108
|
+
self.feature_key = feature_key
|
|
109
|
+
# 二级模块状态
|
|
110
|
+
self.feature_status = feature_status
|
|
111
|
+
|
|
112
|
+
def validate(self):
|
|
113
|
+
pass
|
|
114
|
+
|
|
115
|
+
def to_map(self):
|
|
116
|
+
result = dict()
|
|
117
|
+
_map = super().to_map()
|
|
118
|
+
if _map is not None:
|
|
119
|
+
result = _map
|
|
120
|
+
if self.feature_key is not None:
|
|
121
|
+
result['FeatureKey'] = self.feature_key
|
|
122
|
+
|
|
123
|
+
if self.feature_status is not None:
|
|
124
|
+
result['FeatureStatus'] = self.feature_status
|
|
125
|
+
|
|
126
|
+
return result
|
|
127
|
+
|
|
128
|
+
def from_map(self, m: dict = None):
|
|
129
|
+
m = m or dict()
|
|
130
|
+
if m.get('FeatureKey') is not None:
|
|
131
|
+
self.feature_key = m.get('FeatureKey')
|
|
132
|
+
|
|
133
|
+
if m.get('FeatureStatus') is not None:
|
|
134
|
+
self.feature_status = m.get('FeatureStatus')
|
|
135
|
+
|
|
136
|
+
return self
|
|
137
|
+
|
|
@@ -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 GetInstanceQuotaRequest(DaraModel):
|
|
8
|
+
def __init__(
|
|
9
|
+
self,
|
|
10
|
+
instance_id: str = None,
|
|
11
|
+
quota_key: str = None,
|
|
12
|
+
):
|
|
13
|
+
# IDaaS EIAM实例的ID。
|
|
14
|
+
#
|
|
15
|
+
# This parameter is required.
|
|
16
|
+
self.instance_id = instance_id
|
|
17
|
+
# 配额类型,QuotaEnum
|
|
18
|
+
#
|
|
19
|
+
# This parameter is required.
|
|
20
|
+
self.quota_key = quota_key
|
|
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.instance_id is not None:
|
|
31
|
+
result['InstanceId'] = self.instance_id
|
|
32
|
+
|
|
33
|
+
if self.quota_key is not None:
|
|
34
|
+
result['QuotaKey'] = self.quota_key
|
|
35
|
+
|
|
36
|
+
return result
|
|
37
|
+
|
|
38
|
+
def from_map(self, m: dict = None):
|
|
39
|
+
m = m or dict()
|
|
40
|
+
if m.get('InstanceId') is not None:
|
|
41
|
+
self.instance_id = m.get('InstanceId')
|
|
42
|
+
|
|
43
|
+
if m.get('QuotaKey') is not None:
|
|
44
|
+
self.quota_key = m.get('QuotaKey')
|
|
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 GetInstanceQuotaResponse(DaraModel):
|
|
11
|
+
def __init__(
|
|
12
|
+
self,
|
|
13
|
+
headers: Dict[str, str] = None,
|
|
14
|
+
status_code: int = None,
|
|
15
|
+
body: main_models.GetInstanceQuotaResponseBody = 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.GetInstanceQuotaResponseBody()
|
|
51
|
+
self.body = temp_model.from_map(m.get('body'))
|
|
52
|
+
|
|
53
|
+
return self
|
|
54
|
+
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from alibabacloud_eiam20211201 import models as main_models
|
|
6
|
+
from darabonba.model import DaraModel
|
|
7
|
+
|
|
8
|
+
class GetInstanceQuotaResponseBody(DaraModel):
|
|
9
|
+
def __init__(
|
|
10
|
+
self,
|
|
11
|
+
quota: main_models.GetInstanceQuotaResponseBodyQuota = None,
|
|
12
|
+
request_id: str = None,
|
|
13
|
+
):
|
|
14
|
+
self.quota = quota
|
|
15
|
+
self.request_id = request_id
|
|
16
|
+
|
|
17
|
+
def validate(self):
|
|
18
|
+
if self.quota:
|
|
19
|
+
self.quota.validate()
|
|
20
|
+
|
|
21
|
+
def to_map(self):
|
|
22
|
+
result = dict()
|
|
23
|
+
_map = super().to_map()
|
|
24
|
+
if _map is not None:
|
|
25
|
+
result = _map
|
|
26
|
+
if self.quota is not None:
|
|
27
|
+
result['Quota'] = self.quota.to_map()
|
|
28
|
+
|
|
29
|
+
if self.request_id is not None:
|
|
30
|
+
result['RequestId'] = self.request_id
|
|
31
|
+
|
|
32
|
+
return result
|
|
33
|
+
|
|
34
|
+
def from_map(self, m: dict = None):
|
|
35
|
+
m = m or dict()
|
|
36
|
+
if m.get('Quota') is not None:
|
|
37
|
+
temp_model = main_models.GetInstanceQuotaResponseBodyQuota()
|
|
38
|
+
self.quota = temp_model.from_map(m.get('Quota'))
|
|
39
|
+
|
|
40
|
+
if m.get('RequestId') is not None:
|
|
41
|
+
self.request_id = m.get('RequestId')
|
|
42
|
+
|
|
43
|
+
return self
|
|
44
|
+
|
|
45
|
+
class GetInstanceQuotaResponseBodyQuota(DaraModel):
|
|
46
|
+
def __init__(
|
|
47
|
+
self,
|
|
48
|
+
quota_key: str = None,
|
|
49
|
+
quota_value: int = None,
|
|
50
|
+
):
|
|
51
|
+
# Quota 配额的Key,同请求参数
|
|
52
|
+
self.quota_key = quota_key
|
|
53
|
+
# Quota 配额的值。
|
|
54
|
+
self.quota_value = quota_value
|
|
55
|
+
|
|
56
|
+
def validate(self):
|
|
57
|
+
pass
|
|
58
|
+
|
|
59
|
+
def to_map(self):
|
|
60
|
+
result = dict()
|
|
61
|
+
_map = super().to_map()
|
|
62
|
+
if _map is not None:
|
|
63
|
+
result = _map
|
|
64
|
+
if self.quota_key is not None:
|
|
65
|
+
result['QuotaKey'] = self.quota_key
|
|
66
|
+
|
|
67
|
+
if self.quota_value is not None:
|
|
68
|
+
result['QuotaValue'] = self.quota_value
|
|
69
|
+
|
|
70
|
+
return result
|
|
71
|
+
|
|
72
|
+
def from_map(self, m: dict = None):
|
|
73
|
+
m = m or dict()
|
|
74
|
+
if m.get('QuotaKey') is not None:
|
|
75
|
+
self.quota_key = m.get('QuotaKey')
|
|
76
|
+
|
|
77
|
+
if m.get('QuotaValue') is not None:
|
|
78
|
+
self.quota_value = m.get('QuotaValue')
|
|
79
|
+
|
|
80
|
+
return self
|
|
81
|
+
|
|
@@ -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 GetInstanceTrialStatusRequest(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
|
+
|
|
@@ -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 GetInstanceTrialStatusResponse(DaraModel):
|
|
11
|
+
def __init__(
|
|
12
|
+
self,
|
|
13
|
+
headers: Dict[str, str] = None,
|
|
14
|
+
status_code: int = None,
|
|
15
|
+
body: main_models.GetInstanceTrialStatusResponseBody = 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.GetInstanceTrialStatusResponseBody()
|
|
51
|
+
self.body = temp_model.from_map(m.get('body'))
|
|
52
|
+
|
|
53
|
+
return self
|
|
54
|
+
|
|
@@ -0,0 +1,41 @@
|
|
|
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 GetInstanceTrialStatusResponseBody(DaraModel):
|
|
8
|
+
def __init__(
|
|
9
|
+
self,
|
|
10
|
+
request_id: str = None,
|
|
11
|
+
trial_status: bool = None,
|
|
12
|
+
):
|
|
13
|
+
self.request_id = request_id
|
|
14
|
+
self.trial_status = trial_status
|
|
15
|
+
|
|
16
|
+
def validate(self):
|
|
17
|
+
pass
|
|
18
|
+
|
|
19
|
+
def to_map(self):
|
|
20
|
+
result = dict()
|
|
21
|
+
_map = super().to_map()
|
|
22
|
+
if _map is not None:
|
|
23
|
+
result = _map
|
|
24
|
+
if self.request_id is not None:
|
|
25
|
+
result['RequestId'] = self.request_id
|
|
26
|
+
|
|
27
|
+
if self.trial_status is not None:
|
|
28
|
+
result['TrialStatus'] = self.trial_status
|
|
29
|
+
|
|
30
|
+
return result
|
|
31
|
+
|
|
32
|
+
def from_map(self, m: dict = None):
|
|
33
|
+
m = m or dict()
|
|
34
|
+
if m.get('RequestId') is not None:
|
|
35
|
+
self.request_id = m.get('RequestId')
|
|
36
|
+
|
|
37
|
+
if m.get('TrialStatus') is not None:
|
|
38
|
+
self.trial_status = m.get('TrialStatus')
|
|
39
|
+
|
|
40
|
+
return self
|
|
41
|
+
|
|
@@ -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 GetServiceQuotaRequest(DaraModel):
|
|
8
|
+
def __init__(
|
|
9
|
+
self,
|
|
10
|
+
quota_type: str = None,
|
|
11
|
+
):
|
|
12
|
+
# Quota 配额的唯一标识。
|
|
13
|
+
#
|
|
14
|
+
# This parameter is required.
|
|
15
|
+
self.quota_type = quota_type
|
|
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.quota_type is not None:
|
|
26
|
+
result['QuotaType'] = self.quota_type
|
|
27
|
+
|
|
28
|
+
return result
|
|
29
|
+
|
|
30
|
+
def from_map(self, m: dict = None):
|
|
31
|
+
m = m or dict()
|
|
32
|
+
if m.get('QuotaType') is not None:
|
|
33
|
+
self.quota_type = m.get('QuotaType')
|
|
34
|
+
|
|
35
|
+
return self
|
|
36
|
+
|
|
@@ -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 GetServiceQuotaResponse(DaraModel):
|
|
11
|
+
def __init__(
|
|
12
|
+
self,
|
|
13
|
+
headers: Dict[str, str] = None,
|
|
14
|
+
status_code: int = None,
|
|
15
|
+
body: main_models.GetServiceQuotaResponseBody = 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.GetServiceQuotaResponseBody()
|
|
51
|
+
self.body = temp_model.from_map(m.get('body'))
|
|
52
|
+
|
|
53
|
+
return self
|
|
54
|
+
|