huaweicloudsdkelb 3.1.147__py2.py3-none-any.whl → 3.1.149__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 (72) hide show
  1. huaweicloudsdkelb/v3/__init__.py +34 -0
  2. huaweicloudsdkelb/v3/elb_async_client.py +631 -3
  3. huaweicloudsdkelb/v3/elb_client.py +631 -3
  4. huaweicloudsdkelb/v3/model/__init__.py +34 -0
  5. huaweicloudsdkelb/v3/model/az_affinity.py +201 -0
  6. huaweicloudsdkelb/v3/model/batch_create_load_balancer_option.py +3 -3
  7. huaweicloudsdkelb/v3/model/batch_create_members_option.py +30 -1
  8. huaweicloudsdkelb/v3/model/batch_update_member.py +32 -3
  9. huaweicloudsdkelb/v3/model/batch_update_members_option.py +30 -1
  10. huaweicloudsdkelb/v3/model/certificate_info.py +90 -3
  11. huaweicloudsdkelb/v3/model/create_certificate_option.py +90 -3
  12. huaweicloudsdkelb/v3/model/create_health_monitor_option.py +3 -3
  13. huaweicloudsdkelb/v3/model/create_master_slave_health_monitor_option.py +3 -3
  14. huaweicloudsdkelb/v3/model/create_member_health_check_job_option.py +142 -0
  15. huaweicloudsdkelb/v3/model/create_member_health_check_job_request.py +139 -0
  16. huaweicloudsdkelb/v3/model/create_member_health_check_job_request_body.py +111 -0
  17. huaweicloudsdkelb/v3/model/create_member_health_check_job_response.py +141 -0
  18. huaweicloudsdkelb/v3/model/create_member_option.py +32 -3
  19. huaweicloudsdkelb/v3/model/create_pool_option.py +26 -1
  20. huaweicloudsdkelb/v3/model/create_redirect_pools_extend_config.py +28 -3
  21. huaweicloudsdkelb/v3/model/create_traffic_mirror_config.py +144 -0
  22. huaweicloudsdkelb/v3/model/delete_recycle_load_balancer_request.py +114 -0
  23. huaweicloudsdkelb/v3/model/delete_recycle_load_balancer_response.py +85 -0
  24. huaweicloudsdkelb/v3/model/health_monitor.py +3 -3
  25. huaweicloudsdkelb/v3/model/list_certificates_request.py +90 -3
  26. huaweicloudsdkelb/v3/model/list_health_monitors_request.py +3 -3
  27. huaweicloudsdkelb/v3/model/list_listeners_request.py +30 -1
  28. huaweicloudsdkelb/v3/model/list_load_balancers_request.py +30 -1
  29. huaweicloudsdkelb/v3/model/list_members_request.py +32 -3
  30. huaweicloudsdkelb/v3/model/list_pools_request.py +32 -3
  31. huaweicloudsdkelb/v3/model/list_recycle_bin_load_balancers_request.py +1043 -0
  32. huaweicloudsdkelb/v3/model/list_recycle_bin_load_balancers_response.py +170 -0
  33. huaweicloudsdkelb/v3/model/master_slave_health_monitor.py +3 -3
  34. huaweicloudsdkelb/v3/model/member.py +29 -1
  35. huaweicloudsdkelb/v3/model/member_check_job.py +115 -0
  36. huaweicloudsdkelb/v3/model/member_check_job_info.py +343 -0
  37. huaweicloudsdkelb/v3/model/member_check_job_result.py +161 -0
  38. huaweicloudsdkelb/v3/model/member_check_job_result_group.py +173 -0
  39. huaweicloudsdkelb/v3/model/member_check_job_result_item.py +289 -0
  40. huaweicloudsdkelb/v3/model/member_info.py +29 -1
  41. huaweicloudsdkelb/v3/model/pool.py +29 -4
  42. huaweicloudsdkelb/v3/model/prepaid_change_charge_mode_option.py +30 -1
  43. huaweicloudsdkelb/v3/model/recycle_bin_policy.py +144 -0
  44. huaweicloudsdkelb/v3/model/recycle_bin_policy_request_body.py +111 -0
  45. huaweicloudsdkelb/v3/model/recycle_bin_request_body.py +115 -0
  46. huaweicloudsdkelb/v3/model/recycle_bin_response_body.py +169 -0
  47. huaweicloudsdkelb/v3/model/recycle_load_balancer.py +1412 -0
  48. huaweicloudsdkelb/v3/model/redirect_pools_extend_config.py +28 -3
  49. huaweicloudsdkelb/v3/model/restore_loadbalancer_request.py +114 -0
  50. huaweicloudsdkelb/v3/model/restore_loadbalancer_response.py +174 -0
  51. huaweicloudsdkelb/v3/model/show_member_health_check_job_request.py +114 -0
  52. huaweicloudsdkelb/v3/model/show_member_health_check_job_response.py +141 -0
  53. huaweicloudsdkelb/v3/model/show_recycle_bin_request.py +84 -0
  54. huaweicloudsdkelb/v3/model/show_recycle_bin_response.py +112 -0
  55. huaweicloudsdkelb/v3/model/traffic_mirror_config.py +144 -0
  56. huaweicloudsdkelb/v3/model/update_az_affinity.py +202 -0
  57. huaweicloudsdkelb/v3/model/update_certificate_option.py +90 -3
  58. huaweicloudsdkelb/v3/model/update_health_monitor_option.py +3 -3
  59. huaweicloudsdkelb/v3/model/update_member_option.py +30 -1
  60. huaweicloudsdkelb/v3/model/update_pool_option.py +28 -3
  61. huaweicloudsdkelb/v3/model/update_recycle_bin_enable_request.py +111 -0
  62. huaweicloudsdkelb/v3/model/update_recycle_bin_enable_request_body.py +111 -0
  63. huaweicloudsdkelb/v3/model/update_recycle_bin_enable_response.py +112 -0
  64. huaweicloudsdkelb/v3/model/update_recycle_bin_policy_request.py +111 -0
  65. huaweicloudsdkelb/v3/model/update_recycle_bin_policy_request_body.py +111 -0
  66. huaweicloudsdkelb/v3/model/update_recycle_bin_policy_response.py +112 -0
  67. huaweicloudsdkelb/v3/model/update_redirect_pools_extend_config.py +28 -3
  68. {huaweicloudsdkelb-3.1.147.dist-info → huaweicloudsdkelb-3.1.149.dist-info}/METADATA +2 -2
  69. {huaweicloudsdkelb-3.1.147.dist-info → huaweicloudsdkelb-3.1.149.dist-info}/RECORD +72 -38
  70. {huaweicloudsdkelb-3.1.147.dist-info → huaweicloudsdkelb-3.1.149.dist-info}/LICENSE +0 -0
  71. {huaweicloudsdkelb-3.1.147.dist-info → huaweicloudsdkelb-3.1.149.dist-info}/WHEEL +0 -0
  72. {huaweicloudsdkelb-3.1.147.dist-info → huaweicloudsdkelb-3.1.149.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,114 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class DeleteRecycleLoadBalancerRequest:
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
+ 'loadbalancer_id': 'str'
21
+ }
22
+
23
+ attribute_map = {
24
+ 'loadbalancer_id': 'loadbalancer_id'
25
+ }
26
+
27
+ def __init__(self, loadbalancer_id=None):
28
+ r"""DeleteRecycleLoadBalancerRequest
29
+
30
+ The model defined in huaweicloud sdk
31
+
32
+ :param loadbalancer_id: 负载均衡器ID。
33
+ :type loadbalancer_id: str
34
+ """
35
+
36
+
37
+
38
+ self._loadbalancer_id = None
39
+ self.discriminator = None
40
+
41
+ self.loadbalancer_id = loadbalancer_id
42
+
43
+ @property
44
+ def loadbalancer_id(self):
45
+ r"""Gets the loadbalancer_id of this DeleteRecycleLoadBalancerRequest.
46
+
47
+ 负载均衡器ID。
48
+
49
+ :return: The loadbalancer_id of this DeleteRecycleLoadBalancerRequest.
50
+ :rtype: str
51
+ """
52
+ return self._loadbalancer_id
53
+
54
+ @loadbalancer_id.setter
55
+ def loadbalancer_id(self, loadbalancer_id):
56
+ r"""Sets the loadbalancer_id of this DeleteRecycleLoadBalancerRequest.
57
+
58
+ 负载均衡器ID。
59
+
60
+ :param loadbalancer_id: The loadbalancer_id of this DeleteRecycleLoadBalancerRequest.
61
+ :type loadbalancer_id: str
62
+ """
63
+ self._loadbalancer_id = loadbalancer_id
64
+
65
+ def to_dict(self):
66
+ """Returns the model properties as a dict"""
67
+ result = {}
68
+
69
+ for attr, _ in six.iteritems(self.openapi_types):
70
+ value = getattr(self, attr)
71
+ if isinstance(value, list):
72
+ result[attr] = list(map(
73
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
74
+ value
75
+ ))
76
+ elif hasattr(value, "to_dict"):
77
+ result[attr] = value.to_dict()
78
+ elif isinstance(value, dict):
79
+ result[attr] = dict(map(
80
+ lambda item: (item[0], item[1].to_dict())
81
+ if hasattr(item[1], "to_dict") else item,
82
+ value.items()
83
+ ))
84
+ else:
85
+ if attr in self.sensitive_list:
86
+ result[attr] = "****"
87
+ else:
88
+ result[attr] = value
89
+
90
+ return result
91
+
92
+ def to_str(self):
93
+ """Returns the string representation of the model"""
94
+ import simplejson as json
95
+ if six.PY2:
96
+ import sys
97
+ reload(sys)
98
+ sys.setdefaultencoding("utf-8")
99
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
100
+
101
+ def __repr__(self):
102
+ """For `print`"""
103
+ return self.to_str()
104
+
105
+ def __eq__(self, other):
106
+ """Returns true if both objects are equal"""
107
+ if not isinstance(other, DeleteRecycleLoadBalancerRequest):
108
+ return False
109
+
110
+ return self.__dict__ == other.__dict__
111
+
112
+ def __ne__(self, other):
113
+ """Returns true if both objects are not equal"""
114
+ return not self == other
@@ -0,0 +1,85 @@
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 DeleteRecycleLoadBalancerResponse(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
+ }
22
+
23
+ attribute_map = {
24
+ }
25
+
26
+ def __init__(self):
27
+ r"""DeleteRecycleLoadBalancerResponse
28
+
29
+ The model defined in huaweicloud sdk
30
+
31
+ """
32
+
33
+ super(DeleteRecycleLoadBalancerResponse, self).__init__()
34
+ self.discriminator = None
35
+
36
+ def to_dict(self):
37
+ """Returns the model properties as a dict"""
38
+ result = {}
39
+
40
+ for attr, _ in six.iteritems(self.openapi_types):
41
+ value = getattr(self, attr)
42
+ if isinstance(value, list):
43
+ result[attr] = list(map(
44
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
45
+ value
46
+ ))
47
+ elif hasattr(value, "to_dict"):
48
+ result[attr] = value.to_dict()
49
+ elif isinstance(value, dict):
50
+ result[attr] = dict(map(
51
+ lambda item: (item[0], item[1].to_dict())
52
+ if hasattr(item[1], "to_dict") else item,
53
+ value.items()
54
+ ))
55
+ else:
56
+ if attr in self.sensitive_list:
57
+ result[attr] = "****"
58
+ else:
59
+ result[attr] = value
60
+
61
+ return result
62
+
63
+ def to_str(self):
64
+ """Returns the string representation of the model"""
65
+ import simplejson as json
66
+ if six.PY2:
67
+ import sys
68
+ reload(sys)
69
+ sys.setdefaultencoding("utf-8")
70
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
71
+
72
+ def __repr__(self):
73
+ """For `print`"""
74
+ return self.to_str()
75
+
76
+ def __eq__(self, other):
77
+ """Returns true if both objects are equal"""
78
+ if not isinstance(other, DeleteRecycleLoadBalancerResponse):
79
+ return False
80
+
81
+ return self.__dict__ == other.__dict__
82
+
83
+ def __ne__(self, other):
84
+ """Returns true if both objects are not equal"""
85
+ return not self == other
@@ -67,7 +67,7 @@ class HealthMonitor:
67
67
  :type delay: int
68
68
  :param domain_name: 发送健康检查请求的域名。 取值:以数字或字母开头,只能包含数字、字母、’-’、’.’。 默认为空,表示使用负载均衡器的vip作为http请求的目的地址。 使用说明:当type为HTTP/HTTPS时生效。
69
69
  :type domain_name: str
70
- :param expected_codes: 期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 默认值:若健康检查type为GRPC,则默认值为0,;其他为200。 仅支持HTTP/HTTPS/GRPC设置该字段,其他协议设置不会生效。
70
+ :param expected_codes: 期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 默认值:若健康检查type为GRPC,则默认值为0,;其他为200。 该字段仅在HTTP/HTTPS/GRPC协议下有效,其他协议可以设置但不会生效。
71
71
  :type expected_codes: str
72
72
  :param http_method: HTTP请求方法。 取值:GET、HEAD、POST,默认GET。 使用说明:当type为HTTP/HTTPS时生效。
73
73
  :type http_method: str
@@ -208,7 +208,7 @@ class HealthMonitor:
208
208
  def expected_codes(self):
209
209
  r"""Gets the expected_codes of this HealthMonitor.
210
210
 
211
- 期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 默认值:若健康检查type为GRPC,则默认值为0,;其他为200。 仅支持HTTP/HTTPS/GRPC设置该字段,其他协议设置不会生效。
211
+ 期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 默认值:若健康检查type为GRPC,则默认值为0,;其他为200。 该字段仅在HTTP/HTTPS/GRPC协议下有效,其他协议可以设置但不会生效。
212
212
 
213
213
  :return: The expected_codes of this HealthMonitor.
214
214
  :rtype: str
@@ -219,7 +219,7 @@ class HealthMonitor:
219
219
  def expected_codes(self, expected_codes):
220
220
  r"""Sets the expected_codes of this HealthMonitor.
221
221
 
222
- 期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 默认值:若健康检查type为GRPC,则默认值为0,;其他为200。 仅支持HTTP/HTTPS/GRPC设置该字段,其他协议设置不会生效。
222
+ 期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 默认值:若健康检查type为GRPC,则默认值为0,;其他为200。 该字段仅在HTTP/HTTPS/GRPC协议下有效,其他协议可以设置但不会生效。
223
223
 
224
224
  :param expected_codes: The expected_codes of this HealthMonitor.
225
225
  :type expected_codes: str
@@ -28,7 +28,10 @@ class ListCertificatesRequest:
28
28
  'type': 'list[str]',
29
29
  'scm_certificate_id': 'list[str]',
30
30
  'common_name': 'list[str]',
31
- 'fingerprint': 'list[str]'
31
+ 'fingerprint': 'list[str]',
32
+ 'source': 'list[str]',
33
+ 'protection_status': 'list[str]',
34
+ 'protection_reason': 'list[str]'
32
35
  }
33
36
 
34
37
  attribute_map = {
@@ -43,10 +46,13 @@ class ListCertificatesRequest:
43
46
  'type': 'type',
44
47
  'scm_certificate_id': 'scm_certificate_id',
45
48
  'common_name': 'common_name',
46
- 'fingerprint': 'fingerprint'
49
+ 'fingerprint': 'fingerprint',
50
+ 'source': 'source',
51
+ 'protection_status': 'protection_status',
52
+ 'protection_reason': 'protection_reason'
47
53
  }
48
54
 
49
- def __init__(self, marker=None, limit=None, page_reverse=None, id=None, name=None, description=None, admin_state_up=None, domain=None, type=None, scm_certificate_id=None, common_name=None, fingerprint=None):
55
+ def __init__(self, marker=None, limit=None, page_reverse=None, id=None, name=None, description=None, admin_state_up=None, domain=None, type=None, scm_certificate_id=None, common_name=None, fingerprint=None, source=None, protection_status=None, protection_reason=None):
50
56
  r"""ListCertificatesRequest
51
57
 
52
58
  The model defined in huaweicloud sdk
@@ -75,6 +81,12 @@ class ListCertificatesRequest:
75
81
  :type common_name: list[str]
76
82
  :param fingerprint: 证书的指纹。 支持多值查询,查询条件格式:fingerprint=xxx&fingerprint=xxx。
77
83
  :type fingerprint: list[str]
84
+ :param source: 证书来源。 支持多值查询,查询条件格式:source=xxx&source=xxx。
85
+ :type source: list[str]
86
+ :param protection_status: 修改保护状态。 支持多值查询,查询条件格式:protection_status=xxx&protection_status=xxx。
87
+ :type protection_status: list[str]
88
+ :param protection_reason: 设置修改保护的原因。 支持多值查询,查询条件格式:protection_reason=xxx&protection_reason=xxx。
89
+ :type protection_reason: list[str]
78
90
  """
79
91
 
80
92
 
@@ -91,6 +103,9 @@ class ListCertificatesRequest:
91
103
  self._scm_certificate_id = None
92
104
  self._common_name = None
93
105
  self._fingerprint = None
106
+ self._source = None
107
+ self._protection_status = None
108
+ self._protection_reason = None
94
109
  self.discriminator = None
95
110
 
96
111
  if marker is not None:
@@ -117,6 +132,12 @@ class ListCertificatesRequest:
117
132
  self.common_name = common_name
118
133
  if fingerprint is not None:
119
134
  self.fingerprint = fingerprint
135
+ if source is not None:
136
+ self.source = source
137
+ if protection_status is not None:
138
+ self.protection_status = protection_status
139
+ if protection_reason is not None:
140
+ self.protection_reason = protection_reason
120
141
 
121
142
  @property
122
143
  def marker(self):
@@ -382,6 +403,72 @@ class ListCertificatesRequest:
382
403
  """
383
404
  self._fingerprint = fingerprint
384
405
 
406
+ @property
407
+ def source(self):
408
+ r"""Gets the source of this ListCertificatesRequest.
409
+
410
+ 证书来源。 支持多值查询,查询条件格式:source=xxx&source=xxx。
411
+
412
+ :return: The source of this ListCertificatesRequest.
413
+ :rtype: list[str]
414
+ """
415
+ return self._source
416
+
417
+ @source.setter
418
+ def source(self, source):
419
+ r"""Sets the source of this ListCertificatesRequest.
420
+
421
+ 证书来源。 支持多值查询,查询条件格式:source=xxx&source=xxx。
422
+
423
+ :param source: The source of this ListCertificatesRequest.
424
+ :type source: list[str]
425
+ """
426
+ self._source = source
427
+
428
+ @property
429
+ def protection_status(self):
430
+ r"""Gets the protection_status of this ListCertificatesRequest.
431
+
432
+ 修改保护状态。 支持多值查询,查询条件格式:protection_status=xxx&protection_status=xxx。
433
+
434
+ :return: The protection_status of this ListCertificatesRequest.
435
+ :rtype: list[str]
436
+ """
437
+ return self._protection_status
438
+
439
+ @protection_status.setter
440
+ def protection_status(self, protection_status):
441
+ r"""Sets the protection_status of this ListCertificatesRequest.
442
+
443
+ 修改保护状态。 支持多值查询,查询条件格式:protection_status=xxx&protection_status=xxx。
444
+
445
+ :param protection_status: The protection_status of this ListCertificatesRequest.
446
+ :type protection_status: list[str]
447
+ """
448
+ self._protection_status = protection_status
449
+
450
+ @property
451
+ def protection_reason(self):
452
+ r"""Gets the protection_reason of this ListCertificatesRequest.
453
+
454
+ 设置修改保护的原因。 支持多值查询,查询条件格式:protection_reason=xxx&protection_reason=xxx。
455
+
456
+ :return: The protection_reason of this ListCertificatesRequest.
457
+ :rtype: list[str]
458
+ """
459
+ return self._protection_reason
460
+
461
+ @protection_reason.setter
462
+ def protection_reason(self, protection_reason):
463
+ r"""Sets the protection_reason of this ListCertificatesRequest.
464
+
465
+ 设置修改保护的原因。 支持多值查询,查询条件格式:protection_reason=xxx&protection_reason=xxx。
466
+
467
+ :param protection_reason: The protection_reason of this ListCertificatesRequest.
468
+ :type protection_reason: list[str]
469
+ """
470
+ self._protection_reason = protection_reason
471
+
385
472
  def to_dict(self):
386
473
  """Returns the model properties as a dict"""
387
474
  result = {}
@@ -87,7 +87,7 @@ class ListHealthMonitorsRequest:
87
87
  :type timeout: int
88
88
  :param type: 健康检查请求协议。 取值:TCP、UDP_CONNECT、HTTP、HTTPS、TLS和GRPC。 支持多值查询,查询条件格式:*****type=xxx&type=xxx*****。
89
89
  :type type: list[str]
90
- :param expected_codes: 期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 默认值:200。 仅支持HTTP/HTTPS/GRPC设置该字段,其他协议设置不会生效。 支持多值查询,查询条件格式:****expected_codes=xxx&expected_codes=xxx****。
90
+ :param expected_codes: 期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 默认值:200。 该字段仅在HTTP/HTTPS/GRPC协议下有效,其他协议可以设置但不会生效。 支持多值查询,查询条件格式:****expected_codes=xxx&expected_codes=xxx****。
91
91
  :type expected_codes: list[str]
92
92
  :param url_path: 健康检查测试member健康时发送的http请求路径。默认为“/”。 使用说明:以“/”开头。当type为HTTP/HTTPS时生效。 支持多值查询,查询条件格式:***url_path=xxx&url_path=xxx***。
93
93
  :type url_path: list[str]
@@ -443,7 +443,7 @@ class ListHealthMonitorsRequest:
443
443
  def expected_codes(self):
444
444
  r"""Gets the expected_codes of this ListHealthMonitorsRequest.
445
445
 
446
- 期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 默认值:200。 仅支持HTTP/HTTPS/GRPC设置该字段,其他协议设置不会生效。 支持多值查询,查询条件格式:****expected_codes=xxx&expected_codes=xxx****。
446
+ 期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 默认值:200。 该字段仅在HTTP/HTTPS/GRPC协议下有效,其他协议可以设置但不会生效。 支持多值查询,查询条件格式:****expected_codes=xxx&expected_codes=xxx****。
447
447
 
448
448
  :return: The expected_codes of this ListHealthMonitorsRequest.
449
449
  :rtype: list[str]
@@ -454,7 +454,7 @@ class ListHealthMonitorsRequest:
454
454
  def expected_codes(self, expected_codes):
455
455
  r"""Sets the expected_codes of this ListHealthMonitorsRequest.
456
456
 
457
- 期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 默认值:200。 仅支持HTTP/HTTPS/GRPC设置该字段,其他协议设置不会生效。 支持多值查询,查询条件格式:****expected_codes=xxx&expected_codes=xxx****。
457
+ 期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 默认值:200。 该字段仅在HTTP/HTTPS/GRPC协议下有效,其他协议可以设置但不会生效。 支持多值查询,查询条件格式:****expected_codes=xxx&expected_codes=xxx****。
458
458
 
459
459
  :param expected_codes: The expected_codes of this ListHealthMonitorsRequest.
460
460
  :type expected_codes: list[str]
@@ -26,6 +26,7 @@ class ListListenersRequest:
26
26
  'default_tls_container_ref': 'list[str]',
27
27
  'client_ca_tls_container_ref': 'list[str]',
28
28
  'admin_state_up': 'bool',
29
+ 'include_recycle_bin': 'bool',
29
30
  'connection_limit': 'list[int]',
30
31
  'default_pool_id': 'list[str]',
31
32
  'id': 'list[str]',
@@ -59,6 +60,7 @@ class ListListenersRequest:
59
60
  'default_tls_container_ref': 'default_tls_container_ref',
60
61
  'client_ca_tls_container_ref': 'client_ca_tls_container_ref',
61
62
  'admin_state_up': 'admin_state_up',
63
+ 'include_recycle_bin': 'include_recycle_bin',
62
64
  'connection_limit': 'connection_limit',
63
65
  'default_pool_id': 'default_pool_id',
64
66
  'id': 'id',
@@ -82,7 +84,7 @@ class ListListenersRequest:
82
84
  'nat64_enable': 'nat64_enable'
83
85
  }
84
86
 
85
- def __init__(self, limit=None, marker=None, page_reverse=None, protocol_port=None, protocol=None, description=None, default_tls_container_ref=None, client_ca_tls_container_ref=None, admin_state_up=None, connection_limit=None, default_pool_id=None, id=None, name=None, http2_enable=None, loadbalancer_id=None, tls_ciphers_policy=None, member_address=None, member_device_id=None, enterprise_project_id=None, enable_member_retry=None, member_timeout=None, client_timeout=None, keepalive_timeout=None, transparent_client_ip_enable=None, proxy_protocol_enable=None, enhance_l7policy_enable=None, member_instance_id=None, protection_status=None, ssl_early_data_enable=None, nat64_enable=None):
87
+ def __init__(self, limit=None, marker=None, page_reverse=None, protocol_port=None, protocol=None, description=None, default_tls_container_ref=None, client_ca_tls_container_ref=None, admin_state_up=None, include_recycle_bin=None, connection_limit=None, default_pool_id=None, id=None, name=None, http2_enable=None, loadbalancer_id=None, tls_ciphers_policy=None, member_address=None, member_device_id=None, enterprise_project_id=None, enable_member_retry=None, member_timeout=None, client_timeout=None, keepalive_timeout=None, transparent_client_ip_enable=None, proxy_protocol_enable=None, enhance_l7policy_enable=None, member_instance_id=None, protection_status=None, ssl_early_data_enable=None, nat64_enable=None):
86
88
  r"""ListListenersRequest
87
89
 
88
90
  The model defined in huaweicloud sdk
@@ -105,6 +107,8 @@ class ListListenersRequest:
105
107
  :type client_ca_tls_container_ref: list[str]
106
108
  :param admin_state_up: 监听器的管理状态。 [不支持该字段,请勿使用。](tag:dt,hcso_dt)
107
109
  :type admin_state_up: bool
110
+ :param include_recycle_bin: 参数解释:查询结果是否包含回收站负载均衡器的监听器 取值范围: - true :包含回收站elb的监听器。 - false:不包含回收站elb的监听器。
111
+ :type include_recycle_bin: bool
108
112
  :param connection_limit: ​监听器的最大连接数。 取值:-1表示不限制连接数。 支持多值查询,查询条件格式:*connection_limit=xxx&connection_limit=xxx*。 不支持该字段,请勿使用。
109
113
  :type connection_limit: list[int]
110
114
  :param default_pool_id: 监听器的默认后端服务器组ID。当请求没有匹配的转发策略时,转发到默认后端服务器上处理。 支持多值查询,查询条件格式:*default_pool_id=xxx&default_pool_id=xxx*。
@@ -160,6 +164,7 @@ class ListListenersRequest:
160
164
  self._default_tls_container_ref = None
161
165
  self._client_ca_tls_container_ref = None
162
166
  self._admin_state_up = None
167
+ self._include_recycle_bin = None
163
168
  self._connection_limit = None
164
169
  self._default_pool_id = None
165
170
  self._id = None
@@ -201,6 +206,8 @@ class ListListenersRequest:
201
206
  self.client_ca_tls_container_ref = client_ca_tls_container_ref
202
207
  if admin_state_up is not None:
203
208
  self.admin_state_up = admin_state_up
209
+ if include_recycle_bin is not None:
210
+ self.include_recycle_bin = include_recycle_bin
204
211
  if connection_limit is not None:
205
212
  self.connection_limit = connection_limit
206
213
  if default_pool_id is not None:
@@ -442,6 +449,28 @@ class ListListenersRequest:
442
449
  """
443
450
  self._admin_state_up = admin_state_up
444
451
 
452
+ @property
453
+ def include_recycle_bin(self):
454
+ r"""Gets the include_recycle_bin of this ListListenersRequest.
455
+
456
+ 参数解释:查询结果是否包含回收站负载均衡器的监听器 取值范围: - true :包含回收站elb的监听器。 - false:不包含回收站elb的监听器。
457
+
458
+ :return: The include_recycle_bin of this ListListenersRequest.
459
+ :rtype: bool
460
+ """
461
+ return self._include_recycle_bin
462
+
463
+ @include_recycle_bin.setter
464
+ def include_recycle_bin(self, include_recycle_bin):
465
+ r"""Sets the include_recycle_bin of this ListListenersRequest.
466
+
467
+ 参数解释:查询结果是否包含回收站负载均衡器的监听器 取值范围: - true :包含回收站elb的监听器。 - false:不包含回收站elb的监听器。
468
+
469
+ :param include_recycle_bin: The include_recycle_bin of this ListListenersRequest.
470
+ :type include_recycle_bin: bool
471
+ """
472
+ self._include_recycle_bin = include_recycle_bin
473
+
445
474
  @property
446
475
  def connection_limit(self):
447
476
  r"""Gets the connection_limit of this ListListenersRequest.
@@ -24,6 +24,7 @@ class ListLoadBalancersRequest:
24
24
  'name': 'list[str]',
25
25
  'description': 'list[str]',
26
26
  'admin_state_up': 'bool',
27
+ 'include_recycle_bin': 'bool',
27
28
  'provisioning_status': 'list[str]',
28
29
  'operating_status': 'list[str]',
29
30
  'guaranteed': 'bool',
@@ -63,6 +64,7 @@ class ListLoadBalancersRequest:
63
64
  'name': 'name',
64
65
  'description': 'description',
65
66
  'admin_state_up': 'admin_state_up',
67
+ 'include_recycle_bin': 'include_recycle_bin',
66
68
  'provisioning_status': 'provisioning_status',
67
69
  'operating_status': 'operating_status',
68
70
  'guaranteed': 'guaranteed',
@@ -94,7 +96,7 @@ class ListLoadBalancersRequest:
94
96
  'log_group_id': 'log_group_id'
95
97
  }
96
98
 
97
- def __init__(self, marker=None, limit=None, page_reverse=None, id=None, name=None, description=None, admin_state_up=None, provisioning_status=None, operating_status=None, guaranteed=None, vpc_id=None, vip_port_id=None, vip_address=None, vip_subnet_cidr_id=None, ipv6_vip_port_id=None, ipv6_vip_address=None, ipv6_vip_virsubnet_id=None, eips=None, publicips=None, availability_zone_list=None, l4_flavor_id=None, l4_scale_flavor_id=None, l7_flavor_id=None, l7_scale_flavor_id=None, billing_info=None, member_device_id=None, member_address=None, enterprise_project_id=None, ip_version=None, deletion_protection_enable=None, elb_virsubnet_type=None, autoscaling=None, protection_status=None, global_eips=None, log_topic_id=None, log_group_id=None):
99
+ def __init__(self, marker=None, limit=None, page_reverse=None, id=None, name=None, description=None, admin_state_up=None, include_recycle_bin=None, provisioning_status=None, operating_status=None, guaranteed=None, vpc_id=None, vip_port_id=None, vip_address=None, vip_subnet_cidr_id=None, ipv6_vip_port_id=None, ipv6_vip_address=None, ipv6_vip_virsubnet_id=None, eips=None, publicips=None, availability_zone_list=None, l4_flavor_id=None, l4_scale_flavor_id=None, l7_flavor_id=None, l7_scale_flavor_id=None, billing_info=None, member_device_id=None, member_address=None, enterprise_project_id=None, ip_version=None, deletion_protection_enable=None, elb_virsubnet_type=None, autoscaling=None, protection_status=None, global_eips=None, log_topic_id=None, log_group_id=None):
98
100
  r"""ListLoadBalancersRequest
99
101
 
100
102
  The model defined in huaweicloud sdk
@@ -113,6 +115,8 @@ class ListLoadBalancersRequest:
113
115
  :type description: list[str]
114
116
  :param admin_state_up: 参数解释:负载均衡器的启用状态。 取值范围: - true :启用。 - false:停用。 [不支持该字段,请勿使用。](tag:dt)
115
117
  :type admin_state_up: bool
118
+ :param include_recycle_bin: 参数解释:查询结果是否包含回收站负载均衡器 取值范围: - true :包含回收站elb。 - false:不包含回收站elb。
119
+ :type include_recycle_bin: bool
116
120
  :param provisioning_status: 负载均衡器的配置状态。 取值: - ACTIVE:使用中。 - PENDING_DELETE:删除中。 支持多值查询,查询条件格式:*provisioning_status=xxx&provisioning_status=xxx*。
117
121
  :type provisioning_status: list[str]
118
122
  :param operating_status: 负载均衡器的操作状态。 取值: - ONLINE:正常运行。 - FROZEN:已冻结。 支持多值查询,查询条件格式:*operating_status=xxx&operating_status=xxx*。
@@ -182,6 +186,7 @@ class ListLoadBalancersRequest:
182
186
  self._name = None
183
187
  self._description = None
184
188
  self._admin_state_up = None
189
+ self._include_recycle_bin = None
185
190
  self._provisioning_status = None
186
191
  self._operating_status = None
187
192
  self._guaranteed = None
@@ -227,6 +232,8 @@ class ListLoadBalancersRequest:
227
232
  self.description = description
228
233
  if admin_state_up is not None:
229
234
  self.admin_state_up = admin_state_up
235
+ if include_recycle_bin is not None:
236
+ self.include_recycle_bin = include_recycle_bin
230
237
  if provisioning_status is not None:
231
238
  self.provisioning_status = provisioning_status
232
239
  if operating_status is not None:
@@ -440,6 +447,28 @@ class ListLoadBalancersRequest:
440
447
  """
441
448
  self._admin_state_up = admin_state_up
442
449
 
450
+ @property
451
+ def include_recycle_bin(self):
452
+ r"""Gets the include_recycle_bin of this ListLoadBalancersRequest.
453
+
454
+ 参数解释:查询结果是否包含回收站负载均衡器 取值范围: - true :包含回收站elb。 - false:不包含回收站elb。
455
+
456
+ :return: The include_recycle_bin of this ListLoadBalancersRequest.
457
+ :rtype: bool
458
+ """
459
+ return self._include_recycle_bin
460
+
461
+ @include_recycle_bin.setter
462
+ def include_recycle_bin(self, include_recycle_bin):
463
+ r"""Sets the include_recycle_bin of this ListLoadBalancersRequest.
464
+
465
+ 参数解释:查询结果是否包含回收站负载均衡器 取值范围: - true :包含回收站elb。 - false:不包含回收站elb。
466
+
467
+ :param include_recycle_bin: The include_recycle_bin of this ListLoadBalancersRequest.
468
+ :type include_recycle_bin: bool
469
+ """
470
+ self._include_recycle_bin = include_recycle_bin
471
+
443
472
  @property
444
473
  def provisioning_status(self):
445
474
  r"""Gets the provisioning_status of this ListLoadBalancersRequest.
@@ -32,7 +32,8 @@ class ListMembersRequest:
32
32
  'enterprise_project_id': 'list[str]',
33
33
  'ip_version': 'list[str]',
34
34
  'member_type': 'list[str]',
35
- 'instance_id': 'list[str]'
35
+ 'instance_id': 'list[str]',
36
+ 'availability_zone': 'list[str]'
36
37
  }
37
38
 
38
39
  attribute_map = {
@@ -51,10 +52,11 @@ class ListMembersRequest:
51
52
  'enterprise_project_id': 'enterprise_project_id',
52
53
  'ip_version': 'ip_version',
53
54
  'member_type': 'member_type',
54
- 'instance_id': 'instance_id'
55
+ 'instance_id': 'instance_id',
56
+ 'availability_zone': 'availability_zone'
55
57
  }
56
58
 
57
- def __init__(self, pool_id=None, marker=None, limit=None, page_reverse=None, name=None, weight=None, admin_state_up=None, subnet_cidr_id=None, address=None, protocol_port=None, id=None, operating_status=None, enterprise_project_id=None, ip_version=None, member_type=None, instance_id=None):
59
+ def __init__(self, pool_id=None, marker=None, limit=None, page_reverse=None, name=None, weight=None, admin_state_up=None, subnet_cidr_id=None, address=None, protocol_port=None, id=None, operating_status=None, enterprise_project_id=None, ip_version=None, member_type=None, instance_id=None, availability_zone=None):
58
60
  r"""ListMembersRequest
59
61
 
60
62
  The model defined in huaweicloud sdk
@@ -91,6 +93,8 @@ class ListMembersRequest:
91
93
  :type member_type: list[str]
92
94
  :param instance_id: member关联的ECS实例ID,空表示跨VPC场景的member。 支持多值查询,查询条件格式:*instance_id=xxx&instance_id=xxx*。
93
95
  :type instance_id: list[str]
96
+ :param availability_zone: 后端服务器的可用区。 支持多值查询,查询条件格式:*availability_zone=xxx&availability_zone=xxx*。
97
+ :type availability_zone: list[str]
94
98
  """
95
99
 
96
100
 
@@ -111,6 +115,7 @@ class ListMembersRequest:
111
115
  self._ip_version = None
112
116
  self._member_type = None
113
117
  self._instance_id = None
118
+ self._availability_zone = None
114
119
  self.discriminator = None
115
120
 
116
121
  self.pool_id = pool_id
@@ -144,6 +149,8 @@ class ListMembersRequest:
144
149
  self.member_type = member_type
145
150
  if instance_id is not None:
146
151
  self.instance_id = instance_id
152
+ if availability_zone is not None:
153
+ self.availability_zone = availability_zone
147
154
 
148
155
  @property
149
156
  def pool_id(self):
@@ -497,6 +504,28 @@ class ListMembersRequest:
497
504
  """
498
505
  self._instance_id = instance_id
499
506
 
507
+ @property
508
+ def availability_zone(self):
509
+ r"""Gets the availability_zone of this ListMembersRequest.
510
+
511
+ 后端服务器的可用区。 支持多值查询,查询条件格式:*availability_zone=xxx&availability_zone=xxx*。
512
+
513
+ :return: The availability_zone of this ListMembersRequest.
514
+ :rtype: list[str]
515
+ """
516
+ return self._availability_zone
517
+
518
+ @availability_zone.setter
519
+ def availability_zone(self, availability_zone):
520
+ r"""Sets the availability_zone of this ListMembersRequest.
521
+
522
+ 后端服务器的可用区。 支持多值查询,查询条件格式:*availability_zone=xxx&availability_zone=xxx*。
523
+
524
+ :param availability_zone: The availability_zone of this ListMembersRequest.
525
+ :type availability_zone: list[str]
526
+ """
527
+ self._availability_zone = availability_zone
528
+
500
529
  def to_dict(self):
501
530
  """Returns the model properties as a dict"""
502
531
  result = {}