huaweicloudsdkelb 3.1.131__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.
Files changed (112) hide show
  1. huaweicloudsdkelb/v3/__init__.py +39 -0
  2. huaweicloudsdkelb/v3/elb_async_client.py +742 -22
  3. huaweicloudsdkelb/v3/elb_client.py +742 -22
  4. huaweicloudsdkelb/v3/model/__init__.py +39 -0
  5. huaweicloudsdkelb/v3/model/availability_zone.py +6 -6
  6. huaweicloudsdkelb/v3/model/base_job.py +347 -0
  7. huaweicloudsdkelb/v3/model/batch_add_available_zones_response.py +6 -6
  8. huaweicloudsdkelb/v3/model/batch_create_load_balancer_option.py +1022 -0
  9. huaweicloudsdkelb/v3/model/batch_create_load_balancers_request.py +111 -0
  10. huaweicloudsdkelb/v3/model/batch_create_load_balancers_request_body.py +110 -0
  11. huaweicloudsdkelb/v3/model/batch_create_load_balancers_response.py +203 -0
  12. huaweicloudsdkelb/v3/model/batch_member.py +38 -13
  13. huaweicloudsdkelb/v3/model/batch_update_member.py +32 -7
  14. huaweicloudsdkelb/v3/model/batch_update_priority_request_body.py +3 -3
  15. huaweicloudsdkelb/v3/model/certificate_info.py +39 -10
  16. huaweicloudsdkelb/v3/model/clone_loadbalancer_request.py +139 -0
  17. huaweicloudsdkelb/v3/model/clone_loadbalancer_request_body.py +139 -0
  18. huaweicloudsdkelb/v3/model/clone_loadbalancer_response.py +174 -0
  19. huaweicloudsdkelb/v3/model/clone_loadbalancer_response_body_loadbalancer_list.py +115 -0
  20. huaweicloudsdkelb/v3/model/cors_config.py +260 -0
  21. huaweicloudsdkelb/v3/model/count_preoccupy_ip_num_request.py +73 -15
  22. huaweicloudsdkelb/v3/model/create_certificate_option.py +35 -6
  23. huaweicloudsdkelb/v3/model/create_cors_config.py +260 -0
  24. huaweicloudsdkelb/v3/model/create_health_monitor_option.py +3 -3
  25. huaweicloudsdkelb/v3/model/create_l7_policy_option.py +6 -6
  26. huaweicloudsdkelb/v3/model/create_listener_option.py +126 -39
  27. huaweicloudsdkelb/v3/model/create_load_balancer_bandwidth_option.py +3 -3
  28. huaweicloudsdkelb/v3/model/create_load_balancer_option.py +36 -36
  29. huaweicloudsdkelb/v3/model/create_load_balancer_public_ip_option.py +3 -3
  30. huaweicloudsdkelb/v3/model/create_load_balancer_response.py +6 -6
  31. huaweicloudsdkelb/v3/model/create_master_slave_member_option.py +2 -1
  32. huaweicloudsdkelb/v3/model/create_master_slave_pool_option.py +31 -6
  33. huaweicloudsdkelb/v3/model/create_member_option.py +3 -3
  34. huaweicloudsdkelb/v3/model/create_pool_option.py +46 -21
  35. huaweicloudsdkelb/v3/model/create_pool_session_persistence_option.py +6 -6
  36. huaweicloudsdkelb/v3/model/create_redirect_pools_extend_config.py +28 -3
  37. huaweicloudsdkelb/v3/model/create_redirect_url_config.py +3 -3
  38. huaweicloudsdkelb/v3/model/delete_load_balancer_cascade_option.py +144 -0
  39. huaweicloudsdkelb/v3/model/delete_load_balancer_cascade_request.py +139 -0
  40. huaweicloudsdkelb/v3/model/delete_load_balancer_cascade_request_body.py +110 -0
  41. huaweicloudsdkelb/v3/model/delete_load_balancer_cascade_response.py +85 -0
  42. huaweicloudsdkelb/v3/model/delete_pool_cascade_request.py +114 -0
  43. huaweicloudsdkelb/v3/model/delete_pool_cascade_response.py +85 -0
  44. huaweicloudsdkelb/v3/model/feature_config.py +394 -0
  45. huaweicloudsdkelb/v3/model/flavor.py +9 -9
  46. huaweicloudsdkelb/v3/model/global_eip_info.py +3 -3
  47. huaweicloudsdkelb/v3/model/health_monitor.py +9 -9
  48. huaweicloudsdkelb/v3/model/job_entities.py +144 -0
  49. huaweicloudsdkelb/v3/model/l7_policy.py +44 -15
  50. huaweicloudsdkelb/v3/model/l7_rule.py +9 -9
  51. huaweicloudsdkelb/v3/model/list_all_members_request.py +3 -3
  52. huaweicloudsdkelb/v3/model/list_availability_zones_request.py +35 -6
  53. huaweicloudsdkelb/v3/model/list_certificates_request.py +30 -1
  54. huaweicloudsdkelb/v3/model/list_feature_configs_request.py +115 -0
  55. huaweicloudsdkelb/v3/model/list_feature_configs_response.py +170 -0
  56. huaweicloudsdkelb/v3/model/list_flavors_request.py +119 -3
  57. huaweicloudsdkelb/v3/model/list_health_monitors_request.py +3 -3
  58. huaweicloudsdkelb/v3/model/list_ip_groups_request.py +3 -3
  59. huaweicloudsdkelb/v3/model/list_jobs_request.py +260 -0
  60. huaweicloudsdkelb/v3/model/list_jobs_response.py +145 -0
  61. huaweicloudsdkelb/v3/model/list_l7_policies_request.py +3 -3
  62. huaweicloudsdkelb/v3/model/list_l7_rules_request.py +3 -3
  63. huaweicloudsdkelb/v3/model/list_listeners_request.py +79 -21
  64. huaweicloudsdkelb/v3/model/list_load_balancers_request.py +15 -15
  65. huaweicloudsdkelb/v3/model/list_loadbalancer_feature_request.py +114 -0
  66. huaweicloudsdkelb/v3/model/list_loadbalancer_feature_response.py +145 -0
  67. huaweicloudsdkelb/v3/model/list_logtanks_request.py +3 -3
  68. huaweicloudsdkelb/v3/model/list_master_slave_pools_request.py +3 -3
  69. huaweicloudsdkelb/v3/model/list_members_request.py +3 -3
  70. huaweicloudsdkelb/v3/model/list_pools_request.py +67 -9
  71. huaweicloudsdkelb/v3/model/list_quota_details_request.py +3 -3
  72. huaweicloudsdkelb/v3/model/listener.py +154 -39
  73. huaweicloudsdkelb/v3/model/load_balancer.py +21 -21
  74. huaweicloudsdkelb/v3/model/load_balancer_status_policy.py +3 -3
  75. huaweicloudsdkelb/v3/model/loadbalancer_feature.py +170 -0
  76. huaweicloudsdkelb/v3/model/main_job.py +376 -0
  77. huaweicloudsdkelb/v3/model/master_slave_member.py +26 -1
  78. huaweicloudsdkelb/v3/model/master_slave_pool.py +37 -12
  79. huaweicloudsdkelb/v3/model/member.py +32 -7
  80. huaweicloudsdkelb/v3/model/member_health_check_failed_reason.py +170 -0
  81. huaweicloudsdkelb/v3/model/member_info.py +34 -9
  82. huaweicloudsdkelb/v3/model/member_status.py +28 -3
  83. huaweicloudsdkelb/v3/model/pool.py +43 -18
  84. huaweicloudsdkelb/v3/model/quic_cid_hash_strategy.py +142 -0
  85. huaweicloudsdkelb/v3/model/quota.py +87 -3
  86. huaweicloudsdkelb/v3/model/quota_info.py +3 -3
  87. huaweicloudsdkelb/v3/model/redirect_pools_extend_config.py +28 -3
  88. huaweicloudsdkelb/v3/model/session_persistence.py +6 -6
  89. huaweicloudsdkelb/v3/model/show_ip_group_related_listeners_request.py +114 -0
  90. huaweicloudsdkelb/v3/model/show_ip_group_related_listeners_response.py +116 -0
  91. huaweicloudsdkelb/v3/model/show_job_request.py +114 -0
  92. huaweicloudsdkelb/v3/model/show_job_response.py +141 -0
  93. huaweicloudsdkelb/v3/model/sub_job.py +376 -0
  94. huaweicloudsdkelb/v3/model/target_loadbalancer_param.py +434 -0
  95. huaweicloudsdkelb/v3/model/update_certificate_option.py +35 -6
  96. huaweicloudsdkelb/v3/model/update_health_monitor_option.py +3 -3
  97. huaweicloudsdkelb/v3/model/update_l7_policy_option.py +3 -3
  98. huaweicloudsdkelb/v3/model/update_listener_option.py +120 -33
  99. huaweicloudsdkelb/v3/model/update_load_balancer_option.py +15 -15
  100. huaweicloudsdkelb/v3/model/update_load_balancer_response.py +6 -6
  101. huaweicloudsdkelb/v3/model/update_pool_option.py +31 -6
  102. huaweicloudsdkelb/v3/model/update_pool_session_persistence_option.py +6 -6
  103. huaweicloudsdkelb/v3/model/update_redirect_pools_extend_config.py +28 -3
  104. huaweicloudsdkelb/v3/model/upgrade_loadbalancer_request.py +139 -0
  105. huaweicloudsdkelb/v3/model/upgrade_loadbalancer_response.py +145 -0
  106. huaweicloudsdkelb/v3/model/upgrade_prepaid_option.py +200 -0
  107. huaweicloudsdkelb/v3/model/upgrade_v3_request_body.py +313 -0
  108. {huaweicloudsdkelb-3.1.131.dist-info → huaweicloudsdkelb-3.1.133.dist-info}/METADATA +2 -2
  109. {huaweicloudsdkelb-3.1.131.dist-info → huaweicloudsdkelb-3.1.133.dist-info}/RECORD +112 -73
  110. {huaweicloudsdkelb-3.1.131.dist-info → huaweicloudsdkelb-3.1.133.dist-info}/LICENSE +0 -0
  111. {huaweicloudsdkelb-3.1.131.dist-info → huaweicloudsdkelb-3.1.133.dist-info}/WHEEL +0 -0
  112. {huaweicloudsdkelb-3.1.131.dist-info → huaweicloudsdkelb-3.1.133.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,376 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class MainJob:
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
+ 'status': 'str',
21
+ 'begin_time': 'str',
22
+ 'end_time': 'str',
23
+ 'job_id': 'str',
24
+ 'job_type': 'str',
25
+ 'error_code': 'str',
26
+ 'error_msg': 'str',
27
+ 'project_id': 'str',
28
+ 'resource_id': 'str',
29
+ 'sub_jobs': 'list[SubJob]'
30
+ }
31
+
32
+ attribute_map = {
33
+ 'status': 'status',
34
+ 'begin_time': 'begin_time',
35
+ 'end_time': 'end_time',
36
+ 'job_id': 'job_id',
37
+ 'job_type': 'job_type',
38
+ 'error_code': 'error_code',
39
+ 'error_msg': 'error_msg',
40
+ 'project_id': 'project_id',
41
+ 'resource_id': 'resource_id',
42
+ 'sub_jobs': 'sub_jobs'
43
+ }
44
+
45
+ def __init__(self, status=None, begin_time=None, end_time=None, job_id=None, job_type=None, error_code=None, error_msg=None, project_id=None, resource_id=None, sub_jobs=None):
46
+ """MainJob
47
+
48
+ The model defined in huaweicloud sdk
49
+
50
+ :param status: 任务状态
51
+ :type status: str
52
+ :param begin_time: 任务开始时间
53
+ :type begin_time: str
54
+ :param end_time: 任务结束时间
55
+ :type end_time: str
56
+ :param job_id: 任务ID
57
+ :type job_id: str
58
+ :param job_type: 任务类型
59
+ :type job_type: str
60
+ :param error_code: 任务的错误码
61
+ :type error_code: str
62
+ :param error_msg: 任务的错误信息
63
+ :type error_msg: str
64
+ :param project_id: 项目ID
65
+ :type project_id: str
66
+ :param resource_id: 参数解释:资源ID。
67
+ :type resource_id: str
68
+ :param sub_jobs: 子任务列表
69
+ :type sub_jobs: list[:class:`huaweicloudsdkelb.v3.SubJob`]
70
+ """
71
+
72
+
73
+
74
+ self._status = None
75
+ self._begin_time = None
76
+ self._end_time = None
77
+ self._job_id = None
78
+ self._job_type = None
79
+ self._error_code = None
80
+ self._error_msg = None
81
+ self._project_id = None
82
+ self._resource_id = None
83
+ self._sub_jobs = None
84
+ self.discriminator = None
85
+
86
+ if status is not None:
87
+ self.status = status
88
+ if begin_time is not None:
89
+ self.begin_time = begin_time
90
+ if end_time is not None:
91
+ self.end_time = end_time
92
+ if job_id is not None:
93
+ self.job_id = job_id
94
+ if job_type is not None:
95
+ self.job_type = job_type
96
+ if error_code is not None:
97
+ self.error_code = error_code
98
+ if error_msg is not None:
99
+ self.error_msg = error_msg
100
+ if project_id is not None:
101
+ self.project_id = project_id
102
+ if resource_id is not None:
103
+ self.resource_id = resource_id
104
+ if sub_jobs is not None:
105
+ self.sub_jobs = sub_jobs
106
+
107
+ @property
108
+ def status(self):
109
+ """Gets the status of this MainJob.
110
+
111
+ 任务状态
112
+
113
+ :return: The status of this MainJob.
114
+ :rtype: str
115
+ """
116
+ return self._status
117
+
118
+ @status.setter
119
+ def status(self, status):
120
+ """Sets the status of this MainJob.
121
+
122
+ 任务状态
123
+
124
+ :param status: The status of this MainJob.
125
+ :type status: str
126
+ """
127
+ self._status = status
128
+
129
+ @property
130
+ def begin_time(self):
131
+ """Gets the begin_time of this MainJob.
132
+
133
+ 任务开始时间
134
+
135
+ :return: The begin_time of this MainJob.
136
+ :rtype: str
137
+ """
138
+ return self._begin_time
139
+
140
+ @begin_time.setter
141
+ def begin_time(self, begin_time):
142
+ """Sets the begin_time of this MainJob.
143
+
144
+ 任务开始时间
145
+
146
+ :param begin_time: The begin_time of this MainJob.
147
+ :type begin_time: str
148
+ """
149
+ self._begin_time = begin_time
150
+
151
+ @property
152
+ def end_time(self):
153
+ """Gets the end_time of this MainJob.
154
+
155
+ 任务结束时间
156
+
157
+ :return: The end_time of this MainJob.
158
+ :rtype: str
159
+ """
160
+ return self._end_time
161
+
162
+ @end_time.setter
163
+ def end_time(self, end_time):
164
+ """Sets the end_time of this MainJob.
165
+
166
+ 任务结束时间
167
+
168
+ :param end_time: The end_time of this MainJob.
169
+ :type end_time: str
170
+ """
171
+ self._end_time = end_time
172
+
173
+ @property
174
+ def job_id(self):
175
+ """Gets the job_id of this MainJob.
176
+
177
+ 任务ID
178
+
179
+ :return: The job_id of this MainJob.
180
+ :rtype: str
181
+ """
182
+ return self._job_id
183
+
184
+ @job_id.setter
185
+ def job_id(self, job_id):
186
+ """Sets the job_id of this MainJob.
187
+
188
+ 任务ID
189
+
190
+ :param job_id: The job_id of this MainJob.
191
+ :type job_id: str
192
+ """
193
+ self._job_id = job_id
194
+
195
+ @property
196
+ def job_type(self):
197
+ """Gets the job_type of this MainJob.
198
+
199
+ 任务类型
200
+
201
+ :return: The job_type of this MainJob.
202
+ :rtype: str
203
+ """
204
+ return self._job_type
205
+
206
+ @job_type.setter
207
+ def job_type(self, job_type):
208
+ """Sets the job_type of this MainJob.
209
+
210
+ 任务类型
211
+
212
+ :param job_type: The job_type of this MainJob.
213
+ :type job_type: str
214
+ """
215
+ self._job_type = job_type
216
+
217
+ @property
218
+ def error_code(self):
219
+ """Gets the error_code of this MainJob.
220
+
221
+ 任务的错误码
222
+
223
+ :return: The error_code of this MainJob.
224
+ :rtype: str
225
+ """
226
+ return self._error_code
227
+
228
+ @error_code.setter
229
+ def error_code(self, error_code):
230
+ """Sets the error_code of this MainJob.
231
+
232
+ 任务的错误码
233
+
234
+ :param error_code: The error_code of this MainJob.
235
+ :type error_code: str
236
+ """
237
+ self._error_code = error_code
238
+
239
+ @property
240
+ def error_msg(self):
241
+ """Gets the error_msg of this MainJob.
242
+
243
+ 任务的错误信息
244
+
245
+ :return: The error_msg of this MainJob.
246
+ :rtype: str
247
+ """
248
+ return self._error_msg
249
+
250
+ @error_msg.setter
251
+ def error_msg(self, error_msg):
252
+ """Sets the error_msg of this MainJob.
253
+
254
+ 任务的错误信息
255
+
256
+ :param error_msg: The error_msg of this MainJob.
257
+ :type error_msg: str
258
+ """
259
+ self._error_msg = error_msg
260
+
261
+ @property
262
+ def project_id(self):
263
+ """Gets the project_id of this MainJob.
264
+
265
+ 项目ID
266
+
267
+ :return: The project_id of this MainJob.
268
+ :rtype: str
269
+ """
270
+ return self._project_id
271
+
272
+ @project_id.setter
273
+ def project_id(self, project_id):
274
+ """Sets the project_id of this MainJob.
275
+
276
+ 项目ID
277
+
278
+ :param project_id: The project_id of this MainJob.
279
+ :type project_id: str
280
+ """
281
+ self._project_id = project_id
282
+
283
+ @property
284
+ def resource_id(self):
285
+ """Gets the resource_id of this MainJob.
286
+
287
+ 参数解释:资源ID。
288
+
289
+ :return: The resource_id of this MainJob.
290
+ :rtype: str
291
+ """
292
+ return self._resource_id
293
+
294
+ @resource_id.setter
295
+ def resource_id(self, resource_id):
296
+ """Sets the resource_id of this MainJob.
297
+
298
+ 参数解释:资源ID。
299
+
300
+ :param resource_id: The resource_id of this MainJob.
301
+ :type resource_id: str
302
+ """
303
+ self._resource_id = resource_id
304
+
305
+ @property
306
+ def sub_jobs(self):
307
+ """Gets the sub_jobs of this MainJob.
308
+
309
+ 子任务列表
310
+
311
+ :return: The sub_jobs of this MainJob.
312
+ :rtype: list[:class:`huaweicloudsdkelb.v3.SubJob`]
313
+ """
314
+ return self._sub_jobs
315
+
316
+ @sub_jobs.setter
317
+ def sub_jobs(self, sub_jobs):
318
+ """Sets the sub_jobs of this MainJob.
319
+
320
+ 子任务列表
321
+
322
+ :param sub_jobs: The sub_jobs of this MainJob.
323
+ :type sub_jobs: list[:class:`huaweicloudsdkelb.v3.SubJob`]
324
+ """
325
+ self._sub_jobs = sub_jobs
326
+
327
+ def to_dict(self):
328
+ """Returns the model properties as a dict"""
329
+ result = {}
330
+
331
+ for attr, _ in six.iteritems(self.openapi_types):
332
+ value = getattr(self, attr)
333
+ if isinstance(value, list):
334
+ result[attr] = list(map(
335
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
336
+ value
337
+ ))
338
+ elif hasattr(value, "to_dict"):
339
+ result[attr] = value.to_dict()
340
+ elif isinstance(value, dict):
341
+ result[attr] = dict(map(
342
+ lambda item: (item[0], item[1].to_dict())
343
+ if hasattr(item[1], "to_dict") else item,
344
+ value.items()
345
+ ))
346
+ else:
347
+ if attr in self.sensitive_list:
348
+ result[attr] = "****"
349
+ else:
350
+ result[attr] = value
351
+
352
+ return result
353
+
354
+ def to_str(self):
355
+ """Returns the string representation of the model"""
356
+ import simplejson as json
357
+ if six.PY2:
358
+ import sys
359
+ reload(sys)
360
+ sys.setdefaultencoding("utf-8")
361
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
362
+
363
+ def __repr__(self):
364
+ """For `print`"""
365
+ return self.to_str()
366
+
367
+ def __eq__(self, other):
368
+ """Returns true if both objects are equal"""
369
+ if not isinstance(other, MainJob):
370
+ return False
371
+
372
+ return self.__dict__ == other.__dict__
373
+
374
+ def __ne__(self, other):
375
+ """Returns true if both objects are not equal"""
376
+ return not self == other
@@ -27,6 +27,7 @@ class MasterSlaveMember:
27
27
  'device_owner': 'str',
28
28
  'device_id': 'str',
29
29
  'operating_status': 'str',
30
+ 'reason': 'MemberHealthCheckFailedReason',
30
31
  'member_type': 'str',
31
32
  'instance_id': 'str',
32
33
  'role': 'str',
@@ -44,13 +45,14 @@ class MasterSlaveMember:
44
45
  'device_owner': 'device_owner',
45
46
  'device_id': 'device_id',
46
47
  'operating_status': 'operating_status',
48
+ 'reason': 'reason',
47
49
  'member_type': 'member_type',
48
50
  'instance_id': 'instance_id',
49
51
  'role': 'role',
50
52
  'status': 'status'
51
53
  }
52
54
 
53
- def __init__(self, id=None, name=None, admin_state_up=None, subnet_cidr_id=None, protocol_port=None, address=None, ip_version=None, device_owner=None, device_id=None, operating_status=None, member_type=None, instance_id=None, role=None, status=None):
55
+ def __init__(self, id=None, name=None, admin_state_up=None, subnet_cidr_id=None, protocol_port=None, address=None, ip_version=None, device_owner=None, device_id=None, operating_status=None, reason=None, member_type=None, instance_id=None, role=None, status=None):
54
56
  """MasterSlaveMember
55
57
 
56
58
  The model defined in huaweicloud sdk
@@ -75,6 +77,8 @@ class MasterSlaveMember:
75
77
  :type device_id: str
76
78
  :param operating_status: 后端服务器的健康状态。 取值: - ONLINE:后端服务器正常。 - NO_MONITOR:后端服务器所在的服务器组没有健康检查器。 - OFFLINE:后端服务器关联的ECS服务器不存在或已关机。
77
79
  :type operating_status: str
80
+ :param reason:
81
+ :type reason: :class:`huaweicloudsdkelb.v3.MemberHealthCheckFailedReason`
78
82
  :param member_type: 后端服务器的类型。 取值: - ip:跨VPC的member。 - instance:关联到ECS的member。
79
83
  :type member_type: str
80
84
  :param instance_id: member关联的实例ID。空表示member关联的实例为非真实设备 (如:跨VPC场景)
@@ -97,6 +101,7 @@ class MasterSlaveMember:
97
101
  self._device_owner = None
98
102
  self._device_id = None
99
103
  self._operating_status = None
104
+ self._reason = None
100
105
  self._member_type = None
101
106
  self._instance_id = None
102
107
  self._role = None
@@ -113,6 +118,8 @@ class MasterSlaveMember:
113
118
  self.device_owner = device_owner
114
119
  self.device_id = device_id
115
120
  self.operating_status = operating_status
121
+ if reason is not None:
122
+ self.reason = reason
116
123
  self.member_type = member_type
117
124
  self.instance_id = instance_id
118
125
  self.role = role
@@ -338,6 +345,24 @@ class MasterSlaveMember:
338
345
  """
339
346
  self._operating_status = operating_status
340
347
 
348
+ @property
349
+ def reason(self):
350
+ """Gets the reason of this MasterSlaveMember.
351
+
352
+ :return: The reason of this MasterSlaveMember.
353
+ :rtype: :class:`huaweicloudsdkelb.v3.MemberHealthCheckFailedReason`
354
+ """
355
+ return self._reason
356
+
357
+ @reason.setter
358
+ def reason(self, reason):
359
+ """Sets the reason of this MasterSlaveMember.
360
+
361
+ :param reason: The reason of this MasterSlaveMember.
362
+ :type reason: :class:`huaweicloudsdkelb.v3.MemberHealthCheckFailedReason`
363
+ """
364
+ self._reason = reason
365
+
341
366
  @property
342
367
  def member_type(self):
343
368
  """Gets the member_type of this MasterSlaveMember.
@@ -35,7 +35,8 @@ class MasterSlavePool:
35
35
  'enterprise_project_id': 'str',
36
36
  'healthmonitor': 'MasterSlaveHealthMonitor',
37
37
  'any_port_enable': 'bool',
38
- 'connection_drain': 'ConnectionDrain'
38
+ 'connection_drain': 'ConnectionDrain',
39
+ 'quic_cid_hash_strategy': 'QuicCidHashStrategy'
39
40
  }
40
41
 
41
42
  attribute_map = {
@@ -57,10 +58,11 @@ class MasterSlavePool:
57
58
  'enterprise_project_id': 'enterprise_project_id',
58
59
  'healthmonitor': 'healthmonitor',
59
60
  'any_port_enable': 'any_port_enable',
60
- 'connection_drain': 'connection_drain'
61
+ 'connection_drain': 'connection_drain',
62
+ 'quic_cid_hash_strategy': 'quic_cid_hash_strategy'
61
63
  }
62
64
 
63
- def __init__(self, description=None, id=None, lb_algorithm=None, listeners=None, loadbalancers=None, members=None, name=None, project_id=None, protocol=None, session_persistence=None, ip_version=None, created_at=None, updated_at=None, vpc_id=None, type=None, enterprise_project_id=None, healthmonitor=None, any_port_enable=None, connection_drain=None):
65
+ def __init__(self, description=None, id=None, lb_algorithm=None, listeners=None, loadbalancers=None, members=None, name=None, project_id=None, protocol=None, session_persistence=None, ip_version=None, created_at=None, updated_at=None, vpc_id=None, type=None, enterprise_project_id=None, healthmonitor=None, any_port_enable=None, connection_drain=None, quic_cid_hash_strategy=None):
64
66
  """MasterSlavePool
65
67
 
66
68
  The model defined in huaweicloud sdk
@@ -85,11 +87,11 @@ class MasterSlavePool:
85
87
  :type protocol: str
86
88
  :param session_persistence:
87
89
  :type session_persistence: :class:`huaweicloudsdkelb.v3.SessionPersistence`
88
- :param ip_version: 后端服务器组支持的IP版本。 [取值: - 共享型:固定为v4; - 独享型:取值dualstack、v4、v6。当协议为TCP/UDP时,ip_version为dualstack,表示双栈。 当协议为HTTP时,ip_version为v4。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs) [取值:dualstack、v4、v6。当协议为TCP/UDP时,ip_version为dualstack,表示双栈。 当协议为HTTP时,ip_version为v4。](tag:hcso_dt) [不支持IPv6,只会返回v4。](tag:dt,dt_test)
90
+ :param ip_version: 后端服务器组支持的IP版本。 [取值: - 共享型:固定为v4; - 独享型:取值dualstack、v4、v6。当协议为TCP/UDP时,ip_version为dualstack,表示双栈。 当协议为HTTP时,ip_version为v4。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs) [取值:dualstack、v4、v6。当协议为TCP/UDP时,ip_version为dualstack,表示双栈。 当协议为HTTP时,ip_version为v4。](tag:hcso_dt) [不支持IPv6,只会返回v4。](tag:dt,dt_test)
89
91
  :type ip_version: str
90
- :param created_at: 创建时间。格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
92
+ :param created_at: 创建时间。格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt,hk_tm)
91
93
  :type created_at: str
92
- :param updated_at: 更新时间。格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
94
+ :param updated_at: 更新时间。格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt,hk_tm)
93
95
  :type updated_at: str
94
96
  :param vpc_id: 后端服务器组关联的虚拟私有云的ID。
95
97
  :type vpc_id: str
@@ -103,6 +105,8 @@ class MasterSlavePool:
103
105
  :type any_port_enable: bool
104
106
  :param connection_drain:
105
107
  :type connection_drain: :class:`huaweicloudsdkelb.v3.ConnectionDrain`
108
+ :param quic_cid_hash_strategy:
109
+ :type quic_cid_hash_strategy: :class:`huaweicloudsdkelb.v3.QuicCidHashStrategy`
106
110
  """
107
111
 
108
112
 
@@ -126,6 +130,7 @@ class MasterSlavePool:
126
130
  self._healthmonitor = None
127
131
  self._any_port_enable = None
128
132
  self._connection_drain = None
133
+ self._quic_cid_hash_strategy = None
129
134
  self.discriminator = None
130
135
 
131
136
  self.description = description
@@ -149,6 +154,8 @@ class MasterSlavePool:
149
154
  self.any_port_enable = any_port_enable
150
155
  if connection_drain is not None:
151
156
  self.connection_drain = connection_drain
157
+ if quic_cid_hash_strategy is not None:
158
+ self.quic_cid_hash_strategy = quic_cid_hash_strategy
152
159
 
153
160
  @property
154
161
  def description(self):
@@ -370,7 +377,7 @@ class MasterSlavePool:
370
377
  def ip_version(self):
371
378
  """Gets the ip_version of this MasterSlavePool.
372
379
 
373
- 后端服务器组支持的IP版本。 [取值: - 共享型:固定为v4; - 独享型:取值dualstack、v4、v6。当协议为TCP/UDP时,ip_version为dualstack,表示双栈。 当协议为HTTP时,ip_version为v4。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs) [取值:dualstack、v4、v6。当协议为TCP/UDP时,ip_version为dualstack,表示双栈。 当协议为HTTP时,ip_version为v4。](tag:hcso_dt) [不支持IPv6,只会返回v4。](tag:dt,dt_test)
380
+ 后端服务器组支持的IP版本。 [取值: - 共享型:固定为v4; - 独享型:取值dualstack、v4、v6。当协议为TCP/UDP时,ip_version为dualstack,表示双栈。 当协议为HTTP时,ip_version为v4。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs) [取值:dualstack、v4、v6。当协议为TCP/UDP时,ip_version为dualstack,表示双栈。 当协议为HTTP时,ip_version为v4。](tag:hcso_dt) [不支持IPv6,只会返回v4。](tag:dt,dt_test)
374
381
 
375
382
  :return: The ip_version of this MasterSlavePool.
376
383
  :rtype: str
@@ -381,7 +388,7 @@ class MasterSlavePool:
381
388
  def ip_version(self, ip_version):
382
389
  """Sets the ip_version of this MasterSlavePool.
383
390
 
384
- 后端服务器组支持的IP版本。 [取值: - 共享型:固定为v4; - 独享型:取值dualstack、v4、v6。当协议为TCP/UDP时,ip_version为dualstack,表示双栈。 当协议为HTTP时,ip_version为v4。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs) [取值:dualstack、v4、v6。当协议为TCP/UDP时,ip_version为dualstack,表示双栈。 当协议为HTTP时,ip_version为v4。](tag:hcso_dt) [不支持IPv6,只会返回v4。](tag:dt,dt_test)
391
+ 后端服务器组支持的IP版本。 [取值: - 共享型:固定为v4; - 独享型:取值dualstack、v4、v6。当协议为TCP/UDP时,ip_version为dualstack,表示双栈。 当协议为HTTP时,ip_version为v4。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs) [取值:dualstack、v4、v6。当协议为TCP/UDP时,ip_version为dualstack,表示双栈。 当协议为HTTP时,ip_version为v4。](tag:hcso_dt) [不支持IPv6,只会返回v4。](tag:dt,dt_test)
385
392
 
386
393
  :param ip_version: The ip_version of this MasterSlavePool.
387
394
  :type ip_version: str
@@ -392,7 +399,7 @@ class MasterSlavePool:
392
399
  def created_at(self):
393
400
  """Gets the created_at of this MasterSlavePool.
394
401
 
395
- 创建时间。格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
402
+ 创建时间。格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt,hk_tm)
396
403
 
397
404
  :return: The created_at of this MasterSlavePool.
398
405
  :rtype: str
@@ -403,7 +410,7 @@ class MasterSlavePool:
403
410
  def created_at(self, created_at):
404
411
  """Sets the created_at of this MasterSlavePool.
405
412
 
406
- 创建时间。格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
413
+ 创建时间。格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt,hk_tm)
407
414
 
408
415
  :param created_at: The created_at of this MasterSlavePool.
409
416
  :type created_at: str
@@ -414,7 +421,7 @@ class MasterSlavePool:
414
421
  def updated_at(self):
415
422
  """Gets the updated_at of this MasterSlavePool.
416
423
 
417
- 更新时间。格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
424
+ 更新时间。格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt,hk_tm)
418
425
 
419
426
  :return: The updated_at of this MasterSlavePool.
420
427
  :rtype: str
@@ -425,7 +432,7 @@ class MasterSlavePool:
425
432
  def updated_at(self, updated_at):
426
433
  """Sets the updated_at of this MasterSlavePool.
427
434
 
428
- 更新时间。格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
435
+ 更新时间。格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt,hk_tm)
429
436
 
430
437
  :param updated_at: The updated_at of this MasterSlavePool.
431
438
  :type updated_at: str
@@ -556,6 +563,24 @@ class MasterSlavePool:
556
563
  """
557
564
  self._connection_drain = connection_drain
558
565
 
566
+ @property
567
+ def quic_cid_hash_strategy(self):
568
+ """Gets the quic_cid_hash_strategy of this MasterSlavePool.
569
+
570
+ :return: The quic_cid_hash_strategy of this MasterSlavePool.
571
+ :rtype: :class:`huaweicloudsdkelb.v3.QuicCidHashStrategy`
572
+ """
573
+ return self._quic_cid_hash_strategy
574
+
575
+ @quic_cid_hash_strategy.setter
576
+ def quic_cid_hash_strategy(self, quic_cid_hash_strategy):
577
+ """Sets the quic_cid_hash_strategy of this MasterSlavePool.
578
+
579
+ :param quic_cid_hash_strategy: The quic_cid_hash_strategy of this MasterSlavePool.
580
+ :type quic_cid_hash_strategy: :class:`huaweicloudsdkelb.v3.QuicCidHashStrategy`
581
+ """
582
+ self._quic_cid_hash_strategy = quic_cid_hash_strategy
583
+
559
584
  def to_dict(self):
560
585
  """Returns the model properties as a dict"""
561
586
  result = {}