huaweicloudsdkelb 3.1.132__py2.py3-none-any.whl → 3.1.133__py2.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.
- huaweicloudsdkelb/v3/__init__.py +39 -0
- huaweicloudsdkelb/v3/elb_async_client.py +742 -22
- huaweicloudsdkelb/v3/elb_client.py +742 -22
- huaweicloudsdkelb/v3/model/__init__.py +39 -0
- huaweicloudsdkelb/v3/model/availability_zone.py +6 -6
- huaweicloudsdkelb/v3/model/base_job.py +347 -0
- huaweicloudsdkelb/v3/model/batch_add_available_zones_response.py +6 -6
- huaweicloudsdkelb/v3/model/batch_create_load_balancer_option.py +1022 -0
- huaweicloudsdkelb/v3/model/batch_create_load_balancers_request.py +111 -0
- huaweicloudsdkelb/v3/model/batch_create_load_balancers_request_body.py +110 -0
- huaweicloudsdkelb/v3/model/batch_create_load_balancers_response.py +203 -0
- huaweicloudsdkelb/v3/model/batch_member.py +38 -13
- huaweicloudsdkelb/v3/model/batch_update_member.py +32 -7
- huaweicloudsdkelb/v3/model/batch_update_priority_request_body.py +3 -3
- huaweicloudsdkelb/v3/model/certificate_info.py +39 -10
- huaweicloudsdkelb/v3/model/clone_loadbalancer_request.py +139 -0
- huaweicloudsdkelb/v3/model/clone_loadbalancer_request_body.py +139 -0
- huaweicloudsdkelb/v3/model/clone_loadbalancer_response.py +174 -0
- huaweicloudsdkelb/v3/model/clone_loadbalancer_response_body_loadbalancer_list.py +115 -0
- huaweicloudsdkelb/v3/model/cors_config.py +260 -0
- huaweicloudsdkelb/v3/model/count_preoccupy_ip_num_request.py +73 -15
- huaweicloudsdkelb/v3/model/create_certificate_option.py +35 -6
- huaweicloudsdkelb/v3/model/create_cors_config.py +260 -0
- huaweicloudsdkelb/v3/model/create_health_monitor_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_l7_policy_option.py +6 -6
- huaweicloudsdkelb/v3/model/create_listener_option.py +126 -39
- huaweicloudsdkelb/v3/model/create_load_balancer_bandwidth_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_load_balancer_option.py +36 -36
- huaweicloudsdkelb/v3/model/create_load_balancer_public_ip_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_load_balancer_response.py +6 -6
- huaweicloudsdkelb/v3/model/create_master_slave_member_option.py +2 -1
- huaweicloudsdkelb/v3/model/create_master_slave_pool_option.py +31 -6
- huaweicloudsdkelb/v3/model/create_member_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_pool_option.py +46 -21
- huaweicloudsdkelb/v3/model/create_pool_session_persistence_option.py +6 -6
- huaweicloudsdkelb/v3/model/create_redirect_pools_extend_config.py +28 -3
- huaweicloudsdkelb/v3/model/create_redirect_url_config.py +3 -3
- huaweicloudsdkelb/v3/model/delete_load_balancer_cascade_option.py +144 -0
- huaweicloudsdkelb/v3/model/delete_load_balancer_cascade_request.py +139 -0
- huaweicloudsdkelb/v3/model/delete_load_balancer_cascade_request_body.py +110 -0
- huaweicloudsdkelb/v3/model/delete_load_balancer_cascade_response.py +85 -0
- huaweicloudsdkelb/v3/model/delete_pool_cascade_request.py +114 -0
- huaweicloudsdkelb/v3/model/delete_pool_cascade_response.py +85 -0
- huaweicloudsdkelb/v3/model/feature_config.py +394 -0
- huaweicloudsdkelb/v3/model/flavor.py +9 -9
- huaweicloudsdkelb/v3/model/global_eip_info.py +3 -3
- huaweicloudsdkelb/v3/model/health_monitor.py +9 -9
- huaweicloudsdkelb/v3/model/job_entities.py +144 -0
- huaweicloudsdkelb/v3/model/l7_policy.py +44 -15
- huaweicloudsdkelb/v3/model/l7_rule.py +9 -9
- huaweicloudsdkelb/v3/model/list_all_members_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_availability_zones_request.py +35 -6
- huaweicloudsdkelb/v3/model/list_certificates_request.py +30 -1
- huaweicloudsdkelb/v3/model/list_feature_configs_request.py +115 -0
- huaweicloudsdkelb/v3/model/list_feature_configs_response.py +170 -0
- huaweicloudsdkelb/v3/model/list_flavors_request.py +119 -3
- huaweicloudsdkelb/v3/model/list_health_monitors_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_ip_groups_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_jobs_request.py +260 -0
- huaweicloudsdkelb/v3/model/list_jobs_response.py +145 -0
- huaweicloudsdkelb/v3/model/list_l7_policies_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_l7_rules_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_listeners_request.py +79 -21
- huaweicloudsdkelb/v3/model/list_load_balancers_request.py +15 -15
- huaweicloudsdkelb/v3/model/list_loadbalancer_feature_request.py +114 -0
- huaweicloudsdkelb/v3/model/list_loadbalancer_feature_response.py +145 -0
- huaweicloudsdkelb/v3/model/list_logtanks_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_master_slave_pools_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_members_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_pools_request.py +67 -9
- huaweicloudsdkelb/v3/model/list_quota_details_request.py +3 -3
- huaweicloudsdkelb/v3/model/listener.py +154 -39
- huaweicloudsdkelb/v3/model/load_balancer.py +21 -21
- huaweicloudsdkelb/v3/model/load_balancer_status_policy.py +3 -3
- huaweicloudsdkelb/v3/model/loadbalancer_feature.py +170 -0
- huaweicloudsdkelb/v3/model/main_job.py +376 -0
- huaweicloudsdkelb/v3/model/master_slave_member.py +26 -1
- huaweicloudsdkelb/v3/model/master_slave_pool.py +37 -12
- huaweicloudsdkelb/v3/model/member.py +32 -7
- huaweicloudsdkelb/v3/model/member_health_check_failed_reason.py +170 -0
- huaweicloudsdkelb/v3/model/member_info.py +34 -9
- huaweicloudsdkelb/v3/model/member_status.py +28 -3
- huaweicloudsdkelb/v3/model/pool.py +43 -18
- huaweicloudsdkelb/v3/model/quic_cid_hash_strategy.py +142 -0
- huaweicloudsdkelb/v3/model/quota.py +87 -3
- huaweicloudsdkelb/v3/model/quota_info.py +3 -3
- huaweicloudsdkelb/v3/model/redirect_pools_extend_config.py +28 -3
- huaweicloudsdkelb/v3/model/session_persistence.py +6 -6
- huaweicloudsdkelb/v3/model/show_ip_group_related_listeners_request.py +114 -0
- huaweicloudsdkelb/v3/model/show_ip_group_related_listeners_response.py +116 -0
- huaweicloudsdkelb/v3/model/show_job_request.py +114 -0
- huaweicloudsdkelb/v3/model/show_job_response.py +141 -0
- huaweicloudsdkelb/v3/model/sub_job.py +376 -0
- huaweicloudsdkelb/v3/model/target_loadbalancer_param.py +434 -0
- huaweicloudsdkelb/v3/model/update_certificate_option.py +35 -6
- huaweicloudsdkelb/v3/model/update_health_monitor_option.py +3 -3
- huaweicloudsdkelb/v3/model/update_l7_policy_option.py +3 -3
- huaweicloudsdkelb/v3/model/update_listener_option.py +120 -33
- huaweicloudsdkelb/v3/model/update_load_balancer_option.py +15 -15
- huaweicloudsdkelb/v3/model/update_load_balancer_response.py +6 -6
- huaweicloudsdkelb/v3/model/update_pool_option.py +31 -6
- huaweicloudsdkelb/v3/model/update_pool_session_persistence_option.py +6 -6
- huaweicloudsdkelb/v3/model/update_redirect_pools_extend_config.py +28 -3
- huaweicloudsdkelb/v3/model/upgrade_loadbalancer_request.py +139 -0
- huaweicloudsdkelb/v3/model/upgrade_loadbalancer_response.py +145 -0
- huaweicloudsdkelb/v3/model/upgrade_prepaid_option.py +200 -0
- huaweicloudsdkelb/v3/model/upgrade_v3_request_body.py +313 -0
- {huaweicloudsdkelb-3.1.132.dist-info → huaweicloudsdkelb-3.1.133.dist-info}/METADATA +2 -2
- {huaweicloudsdkelb-3.1.132.dist-info → huaweicloudsdkelb-3.1.133.dist-info}/RECORD +112 -73
- {huaweicloudsdkelb-3.1.132.dist-info → huaweicloudsdkelb-3.1.133.dist-info}/LICENSE +0 -0
- {huaweicloudsdkelb-3.1.132.dist-info → huaweicloudsdkelb-3.1.133.dist-info}/WHEEL +0 -0
- {huaweicloudsdkelb-3.1.132.dist-info → huaweicloudsdkelb-3.1.133.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,260 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class ListJobsRequest:
|
9
|
+
|
10
|
+
"""
|
11
|
+
Attributes:
|
12
|
+
openapi_types (dict): The key is attribute name
|
13
|
+
and the value is attribute type.
|
14
|
+
attribute_map (dict): The key is attribute name
|
15
|
+
and the value is json key in definition.
|
16
|
+
"""
|
17
|
+
sensitive_list = []
|
18
|
+
|
19
|
+
openapi_types = {
|
20
|
+
'job_id': 'str',
|
21
|
+
'job_type': 'str',
|
22
|
+
'status': 'str',
|
23
|
+
'error_code': 'str',
|
24
|
+
'resource_id': 'str',
|
25
|
+
'begin_time': 'str'
|
26
|
+
}
|
27
|
+
|
28
|
+
attribute_map = {
|
29
|
+
'job_id': 'job_id',
|
30
|
+
'job_type': 'job_type',
|
31
|
+
'status': 'status',
|
32
|
+
'error_code': 'error_code',
|
33
|
+
'resource_id': 'resource_id',
|
34
|
+
'begin_time': 'begin_time'
|
35
|
+
}
|
36
|
+
|
37
|
+
def __init__(self, job_id=None, job_type=None, status=None, error_code=None, resource_id=None, begin_time=None):
|
38
|
+
"""ListJobsRequest
|
39
|
+
|
40
|
+
The model defined in huaweicloud sdk
|
41
|
+
|
42
|
+
:param job_id: 参数解释:任务ID。
|
43
|
+
:type job_id: str
|
44
|
+
:param job_type: 参数解释:任务类型。
|
45
|
+
:type job_type: str
|
46
|
+
:param status: 参数解释:任务状态。 取值范围:INIT,RUNNING,FAIL,SUCCESS,ROLLBACKING,COMPLETE,ROLLBACK_FAIL,CANCEL
|
47
|
+
:type status: str
|
48
|
+
:param error_code: 参数解释: 任务的错误码。
|
49
|
+
:type error_code: str
|
50
|
+
:param resource_id: 参数解释:资源ID。
|
51
|
+
:type resource_id: str
|
52
|
+
:param begin_time: 参数解释:查询任务的开始时间大于等于传入时间的任务。格式:yyyy-MM-dd'T'HH:mm:ss
|
53
|
+
:type begin_time: str
|
54
|
+
"""
|
55
|
+
|
56
|
+
|
57
|
+
|
58
|
+
self._job_id = None
|
59
|
+
self._job_type = None
|
60
|
+
self._status = None
|
61
|
+
self._error_code = None
|
62
|
+
self._resource_id = None
|
63
|
+
self._begin_time = None
|
64
|
+
self.discriminator = None
|
65
|
+
|
66
|
+
if job_id is not None:
|
67
|
+
self.job_id = job_id
|
68
|
+
if job_type is not None:
|
69
|
+
self.job_type = job_type
|
70
|
+
if status is not None:
|
71
|
+
self.status = status
|
72
|
+
if error_code is not None:
|
73
|
+
self.error_code = error_code
|
74
|
+
if resource_id is not None:
|
75
|
+
self.resource_id = resource_id
|
76
|
+
if begin_time is not None:
|
77
|
+
self.begin_time = begin_time
|
78
|
+
|
79
|
+
@property
|
80
|
+
def job_id(self):
|
81
|
+
"""Gets the job_id of this ListJobsRequest.
|
82
|
+
|
83
|
+
参数解释:任务ID。
|
84
|
+
|
85
|
+
:return: The job_id of this ListJobsRequest.
|
86
|
+
:rtype: str
|
87
|
+
"""
|
88
|
+
return self._job_id
|
89
|
+
|
90
|
+
@job_id.setter
|
91
|
+
def job_id(self, job_id):
|
92
|
+
"""Sets the job_id of this ListJobsRequest.
|
93
|
+
|
94
|
+
参数解释:任务ID。
|
95
|
+
|
96
|
+
:param job_id: The job_id of this ListJobsRequest.
|
97
|
+
:type job_id: str
|
98
|
+
"""
|
99
|
+
self._job_id = job_id
|
100
|
+
|
101
|
+
@property
|
102
|
+
def job_type(self):
|
103
|
+
"""Gets the job_type of this ListJobsRequest.
|
104
|
+
|
105
|
+
参数解释:任务类型。
|
106
|
+
|
107
|
+
:return: The job_type of this ListJobsRequest.
|
108
|
+
:rtype: str
|
109
|
+
"""
|
110
|
+
return self._job_type
|
111
|
+
|
112
|
+
@job_type.setter
|
113
|
+
def job_type(self, job_type):
|
114
|
+
"""Sets the job_type of this ListJobsRequest.
|
115
|
+
|
116
|
+
参数解释:任务类型。
|
117
|
+
|
118
|
+
:param job_type: The job_type of this ListJobsRequest.
|
119
|
+
:type job_type: str
|
120
|
+
"""
|
121
|
+
self._job_type = job_type
|
122
|
+
|
123
|
+
@property
|
124
|
+
def status(self):
|
125
|
+
"""Gets the status of this ListJobsRequest.
|
126
|
+
|
127
|
+
参数解释:任务状态。 取值范围:INIT,RUNNING,FAIL,SUCCESS,ROLLBACKING,COMPLETE,ROLLBACK_FAIL,CANCEL
|
128
|
+
|
129
|
+
:return: The status of this ListJobsRequest.
|
130
|
+
:rtype: str
|
131
|
+
"""
|
132
|
+
return self._status
|
133
|
+
|
134
|
+
@status.setter
|
135
|
+
def status(self, status):
|
136
|
+
"""Sets the status of this ListJobsRequest.
|
137
|
+
|
138
|
+
参数解释:任务状态。 取值范围:INIT,RUNNING,FAIL,SUCCESS,ROLLBACKING,COMPLETE,ROLLBACK_FAIL,CANCEL
|
139
|
+
|
140
|
+
:param status: The status of this ListJobsRequest.
|
141
|
+
:type status: str
|
142
|
+
"""
|
143
|
+
self._status = status
|
144
|
+
|
145
|
+
@property
|
146
|
+
def error_code(self):
|
147
|
+
"""Gets the error_code of this ListJobsRequest.
|
148
|
+
|
149
|
+
参数解释: 任务的错误码。
|
150
|
+
|
151
|
+
:return: The error_code of this ListJobsRequest.
|
152
|
+
:rtype: str
|
153
|
+
"""
|
154
|
+
return self._error_code
|
155
|
+
|
156
|
+
@error_code.setter
|
157
|
+
def error_code(self, error_code):
|
158
|
+
"""Sets the error_code of this ListJobsRequest.
|
159
|
+
|
160
|
+
参数解释: 任务的错误码。
|
161
|
+
|
162
|
+
:param error_code: The error_code of this ListJobsRequest.
|
163
|
+
:type error_code: str
|
164
|
+
"""
|
165
|
+
self._error_code = error_code
|
166
|
+
|
167
|
+
@property
|
168
|
+
def resource_id(self):
|
169
|
+
"""Gets the resource_id of this ListJobsRequest.
|
170
|
+
|
171
|
+
参数解释:资源ID。
|
172
|
+
|
173
|
+
:return: The resource_id of this ListJobsRequest.
|
174
|
+
:rtype: str
|
175
|
+
"""
|
176
|
+
return self._resource_id
|
177
|
+
|
178
|
+
@resource_id.setter
|
179
|
+
def resource_id(self, resource_id):
|
180
|
+
"""Sets the resource_id of this ListJobsRequest.
|
181
|
+
|
182
|
+
参数解释:资源ID。
|
183
|
+
|
184
|
+
:param resource_id: The resource_id of this ListJobsRequest.
|
185
|
+
:type resource_id: str
|
186
|
+
"""
|
187
|
+
self._resource_id = resource_id
|
188
|
+
|
189
|
+
@property
|
190
|
+
def begin_time(self):
|
191
|
+
"""Gets the begin_time of this ListJobsRequest.
|
192
|
+
|
193
|
+
参数解释:查询任务的开始时间大于等于传入时间的任务。格式:yyyy-MM-dd'T'HH:mm:ss
|
194
|
+
|
195
|
+
:return: The begin_time of this ListJobsRequest.
|
196
|
+
:rtype: str
|
197
|
+
"""
|
198
|
+
return self._begin_time
|
199
|
+
|
200
|
+
@begin_time.setter
|
201
|
+
def begin_time(self, begin_time):
|
202
|
+
"""Sets the begin_time of this ListJobsRequest.
|
203
|
+
|
204
|
+
参数解释:查询任务的开始时间大于等于传入时间的任务。格式:yyyy-MM-dd'T'HH:mm:ss
|
205
|
+
|
206
|
+
:param begin_time: The begin_time of this ListJobsRequest.
|
207
|
+
:type begin_time: str
|
208
|
+
"""
|
209
|
+
self._begin_time = begin_time
|
210
|
+
|
211
|
+
def to_dict(self):
|
212
|
+
"""Returns the model properties as a dict"""
|
213
|
+
result = {}
|
214
|
+
|
215
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
216
|
+
value = getattr(self, attr)
|
217
|
+
if isinstance(value, list):
|
218
|
+
result[attr] = list(map(
|
219
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
220
|
+
value
|
221
|
+
))
|
222
|
+
elif hasattr(value, "to_dict"):
|
223
|
+
result[attr] = value.to_dict()
|
224
|
+
elif isinstance(value, dict):
|
225
|
+
result[attr] = dict(map(
|
226
|
+
lambda item: (item[0], item[1].to_dict())
|
227
|
+
if hasattr(item[1], "to_dict") else item,
|
228
|
+
value.items()
|
229
|
+
))
|
230
|
+
else:
|
231
|
+
if attr in self.sensitive_list:
|
232
|
+
result[attr] = "****"
|
233
|
+
else:
|
234
|
+
result[attr] = value
|
235
|
+
|
236
|
+
return result
|
237
|
+
|
238
|
+
def to_str(self):
|
239
|
+
"""Returns the string representation of the model"""
|
240
|
+
import simplejson as json
|
241
|
+
if six.PY2:
|
242
|
+
import sys
|
243
|
+
reload(sys)
|
244
|
+
sys.setdefaultencoding("utf-8")
|
245
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
246
|
+
|
247
|
+
def __repr__(self):
|
248
|
+
"""For `print`"""
|
249
|
+
return self.to_str()
|
250
|
+
|
251
|
+
def __eq__(self, other):
|
252
|
+
"""Returns true if both objects are equal"""
|
253
|
+
if not isinstance(other, ListJobsRequest):
|
254
|
+
return False
|
255
|
+
|
256
|
+
return self.__dict__ == other.__dict__
|
257
|
+
|
258
|
+
def __ne__(self, other):
|
259
|
+
"""Returns true if both objects are not equal"""
|
260
|
+
return not self == other
|
@@ -0,0 +1,145 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.sdk_response import SdkResponse
|
6
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
7
|
+
|
8
|
+
|
9
|
+
class ListJobsResponse(SdkResponse):
|
10
|
+
|
11
|
+
"""
|
12
|
+
Attributes:
|
13
|
+
openapi_types (dict): The key is attribute name
|
14
|
+
and the value is attribute type.
|
15
|
+
attribute_map (dict): The key is attribute name
|
16
|
+
and the value is json key in definition.
|
17
|
+
"""
|
18
|
+
sensitive_list = []
|
19
|
+
|
20
|
+
openapi_types = {
|
21
|
+
'jobs': 'list[MainJob]',
|
22
|
+
'request_id': 'str'
|
23
|
+
}
|
24
|
+
|
25
|
+
attribute_map = {
|
26
|
+
'jobs': 'jobs',
|
27
|
+
'request_id': 'request_id'
|
28
|
+
}
|
29
|
+
|
30
|
+
def __init__(self, jobs=None, request_id=None):
|
31
|
+
"""ListJobsResponse
|
32
|
+
|
33
|
+
The model defined in huaweicloud sdk
|
34
|
+
|
35
|
+
:param jobs: 任务列表
|
36
|
+
:type jobs: list[:class:`huaweicloudsdkelb.v3.MainJob`]
|
37
|
+
:param request_id: 请求ID。 注:自动生成 。
|
38
|
+
:type request_id: str
|
39
|
+
"""
|
40
|
+
|
41
|
+
super(ListJobsResponse, self).__init__()
|
42
|
+
|
43
|
+
self._jobs = None
|
44
|
+
self._request_id = None
|
45
|
+
self.discriminator = None
|
46
|
+
|
47
|
+
if jobs is not None:
|
48
|
+
self.jobs = jobs
|
49
|
+
if request_id is not None:
|
50
|
+
self.request_id = request_id
|
51
|
+
|
52
|
+
@property
|
53
|
+
def jobs(self):
|
54
|
+
"""Gets the jobs of this ListJobsResponse.
|
55
|
+
|
56
|
+
任务列表
|
57
|
+
|
58
|
+
:return: The jobs of this ListJobsResponse.
|
59
|
+
:rtype: list[:class:`huaweicloudsdkelb.v3.MainJob`]
|
60
|
+
"""
|
61
|
+
return self._jobs
|
62
|
+
|
63
|
+
@jobs.setter
|
64
|
+
def jobs(self, jobs):
|
65
|
+
"""Sets the jobs of this ListJobsResponse.
|
66
|
+
|
67
|
+
任务列表
|
68
|
+
|
69
|
+
:param jobs: The jobs of this ListJobsResponse.
|
70
|
+
:type jobs: list[:class:`huaweicloudsdkelb.v3.MainJob`]
|
71
|
+
"""
|
72
|
+
self._jobs = jobs
|
73
|
+
|
74
|
+
@property
|
75
|
+
def request_id(self):
|
76
|
+
"""Gets the request_id of this ListJobsResponse.
|
77
|
+
|
78
|
+
请求ID。 注:自动生成 。
|
79
|
+
|
80
|
+
:return: The request_id of this ListJobsResponse.
|
81
|
+
:rtype: str
|
82
|
+
"""
|
83
|
+
return self._request_id
|
84
|
+
|
85
|
+
@request_id.setter
|
86
|
+
def request_id(self, request_id):
|
87
|
+
"""Sets the request_id of this ListJobsResponse.
|
88
|
+
|
89
|
+
请求ID。 注:自动生成 。
|
90
|
+
|
91
|
+
:param request_id: The request_id of this ListJobsResponse.
|
92
|
+
:type request_id: str
|
93
|
+
"""
|
94
|
+
self._request_id = request_id
|
95
|
+
|
96
|
+
def to_dict(self):
|
97
|
+
"""Returns the model properties as a dict"""
|
98
|
+
result = {}
|
99
|
+
|
100
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
101
|
+
value = getattr(self, attr)
|
102
|
+
if isinstance(value, list):
|
103
|
+
result[attr] = list(map(
|
104
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
105
|
+
value
|
106
|
+
))
|
107
|
+
elif hasattr(value, "to_dict"):
|
108
|
+
result[attr] = value.to_dict()
|
109
|
+
elif isinstance(value, dict):
|
110
|
+
result[attr] = dict(map(
|
111
|
+
lambda item: (item[0], item[1].to_dict())
|
112
|
+
if hasattr(item[1], "to_dict") else item,
|
113
|
+
value.items()
|
114
|
+
))
|
115
|
+
else:
|
116
|
+
if attr in self.sensitive_list:
|
117
|
+
result[attr] = "****"
|
118
|
+
else:
|
119
|
+
result[attr] = value
|
120
|
+
|
121
|
+
return result
|
122
|
+
|
123
|
+
def to_str(self):
|
124
|
+
"""Returns the string representation of the model"""
|
125
|
+
import simplejson as json
|
126
|
+
if six.PY2:
|
127
|
+
import sys
|
128
|
+
reload(sys)
|
129
|
+
sys.setdefaultencoding("utf-8")
|
130
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
131
|
+
|
132
|
+
def __repr__(self):
|
133
|
+
"""For `print`"""
|
134
|
+
return self.to_str()
|
135
|
+
|
136
|
+
def __eq__(self, other):
|
137
|
+
"""Returns true if both objects are equal"""
|
138
|
+
if not isinstance(other, ListJobsResponse):
|
139
|
+
return False
|
140
|
+
|
141
|
+
return self.__dict__ == other.__dict__
|
142
|
+
|
143
|
+
def __ne__(self, other):
|
144
|
+
"""Returns true if both objects are not equal"""
|
145
|
+
return not self == other
|
@@ -67,7 +67,7 @@ class ListL7PoliciesRequest:
|
|
67
67
|
:type limit: int
|
68
68
|
:param page_reverse: 参数解释:是否反向查询。 约束限制: - 必须与limit一起使用。 - 当page_reverse=true时,若要查询上一页,marker取值为当前页返回值的previous_marker。 取值范围: - true:查询上一页。 - false:查询下一页。 默认取值:false
|
69
69
|
:type page_reverse: bool
|
70
|
-
:param enterprise_project_id:
|
70
|
+
:param enterprise_project_id: 参数解释:所属的企业项目ID。 如果enterprise_project_id不传值,默认查询所有企业项目下的资源,鉴权按照细粒度权限鉴权,必须在用户组下分配elb:l7policies:list权限。 如果enterprise_project_id传值,鉴权按照企业项目权限鉴权,分为传入具体eps_id和all_granted_eps两种场景,前者查询指定eps_id的eps下的资源,后者查询的是所有有list权限的eps下的资源。 支持多值查询,查询条件格式: *enterprise_project_id=xxx&enterprise_project_id=xxx*。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
|
71
71
|
:type enterprise_project_id: list[str]
|
72
72
|
:param id: 参数解释:转发策略ID。 支持多值查询,查询条件格式:*id=xxx&id=xxx*。
|
73
73
|
:type id: list[str]
|
@@ -223,7 +223,7 @@ class ListL7PoliciesRequest:
|
|
223
223
|
def enterprise_project_id(self):
|
224
224
|
"""Gets the enterprise_project_id of this ListL7PoliciesRequest.
|
225
225
|
|
226
|
-
|
226
|
+
参数解释:所属的企业项目ID。 如果enterprise_project_id不传值,默认查询所有企业项目下的资源,鉴权按照细粒度权限鉴权,必须在用户组下分配elb:l7policies:list权限。 如果enterprise_project_id传值,鉴权按照企业项目权限鉴权,分为传入具体eps_id和all_granted_eps两种场景,前者查询指定eps_id的eps下的资源,后者查询的是所有有list权限的eps下的资源。 支持多值查询,查询条件格式: *enterprise_project_id=xxx&enterprise_project_id=xxx*。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
|
227
227
|
|
228
228
|
:return: The enterprise_project_id of this ListL7PoliciesRequest.
|
229
229
|
:rtype: list[str]
|
@@ -234,7 +234,7 @@ class ListL7PoliciesRequest:
|
|
234
234
|
def enterprise_project_id(self, enterprise_project_id):
|
235
235
|
"""Sets the enterprise_project_id of this ListL7PoliciesRequest.
|
236
236
|
|
237
|
-
|
237
|
+
参数解释:所属的企业项目ID。 如果enterprise_project_id不传值,默认查询所有企业项目下的资源,鉴权按照细粒度权限鉴权,必须在用户组下分配elb:l7policies:list权限。 如果enterprise_project_id传值,鉴权按照企业项目权限鉴权,分为传入具体eps_id和all_granted_eps两种场景,前者查询指定eps_id的eps下的资源,后者查询的是所有有list权限的eps下的资源。 支持多值查询,查询条件格式: *enterprise_project_id=xxx&enterprise_project_id=xxx*。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
|
238
238
|
|
239
239
|
:param enterprise_project_id: The enterprise_project_id of this ListL7PoliciesRequest.
|
240
240
|
:type enterprise_project_id: list[str]
|
@@ -77,7 +77,7 @@ class ListL7RulesRequest:
|
|
77
77
|
:type key: list[str]
|
78
78
|
:param type: 匹配类别,可以为HOST_NAME,PATH。 一个l7policy下创建的l7rule的type不能重复。 支持多值查询,查询条件格式:*type=xxx&type=xxx*。
|
79
79
|
:type type: list[str]
|
80
|
-
:param enterprise_project_id:
|
80
|
+
:param enterprise_project_id: 参数解释:所属的企业项目ID。 如果enterprise_project_id不传值,默认查询所有企业项目下的资源,鉴权按照细粒度权限鉴权,必须在用户组下分配elb:l7rules:list权限。 如果enterprise_project_id传值,鉴权按照企业项目权限鉴权,分为传入具体eps_id和all_granted_eps两种场景,前者查询指定eps_id的eps下的资源,后者查询的是所有有list权限的eps下的资源。 支持多值查询,查询条件格式: *enterprise_project_id=xxx&enterprise_project_id=xxx*。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
|
81
81
|
:type enterprise_project_id: list[str]
|
82
82
|
"""
|
83
83
|
|
@@ -392,7 +392,7 @@ class ListL7RulesRequest:
|
|
392
392
|
def enterprise_project_id(self):
|
393
393
|
"""Gets the enterprise_project_id of this ListL7RulesRequest.
|
394
394
|
|
395
|
-
|
395
|
+
参数解释:所属的企业项目ID。 如果enterprise_project_id不传值,默认查询所有企业项目下的资源,鉴权按照细粒度权限鉴权,必须在用户组下分配elb:l7rules:list权限。 如果enterprise_project_id传值,鉴权按照企业项目权限鉴权,分为传入具体eps_id和all_granted_eps两种场景,前者查询指定eps_id的eps下的资源,后者查询的是所有有list权限的eps下的资源。 支持多值查询,查询条件格式: *enterprise_project_id=xxx&enterprise_project_id=xxx*。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
|
396
396
|
|
397
397
|
:return: The enterprise_project_id of this ListL7RulesRequest.
|
398
398
|
:rtype: list[str]
|
@@ -403,7 +403,7 @@ class ListL7RulesRequest:
|
|
403
403
|
def enterprise_project_id(self, enterprise_project_id):
|
404
404
|
"""Sets the enterprise_project_id of this ListL7RulesRequest.
|
405
405
|
|
406
|
-
|
406
|
+
参数解释:所属的企业项目ID。 如果enterprise_project_id不传值,默认查询所有企业项目下的资源,鉴权按照细粒度权限鉴权,必须在用户组下分配elb:l7rules:list权限。 如果enterprise_project_id传值,鉴权按照企业项目权限鉴权,分为传入具体eps_id和all_granted_eps两种场景,前者查询指定eps_id的eps下的资源,后者查询的是所有有list权限的eps下的资源。 支持多值查询,查询条件格式: *enterprise_project_id=xxx&enterprise_project_id=xxx*。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
|
407
407
|
|
408
408
|
:param enterprise_project_id: The enterprise_project_id of this ListL7RulesRequest.
|
409
409
|
:type enterprise_project_id: list[str]
|