huaweicloudsdkelb 3.1.104__py2.py3-none-any.whl → 3.1.106__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 (142) hide show
  1. huaweicloudsdkelb/v3/__init__.py +29 -0
  2. huaweicloudsdkelb/v3/elb_async_client.py +171 -34
  3. huaweicloudsdkelb/v3/elb_client.py +171 -34
  4. huaweicloudsdkelb/v3/model/__init__.py +29 -0
  5. huaweicloudsdkelb/v3/model/availability_zone.py +3 -3
  6. huaweicloudsdkelb/v3/model/batch_add_available_zones_response.py +6 -6
  7. huaweicloudsdkelb/v3/model/batch_create_members_option.py +3 -3
  8. huaweicloudsdkelb/v3/model/batch_delete_ip_list_option.py +3 -3
  9. huaweicloudsdkelb/v3/model/batch_delete_ip_list_request.py +3 -3
  10. huaweicloudsdkelb/v3/model/batch_delete_ip_list_response.py +3 -3
  11. huaweicloudsdkelb/v3/model/batch_member.py +67 -9
  12. huaweicloudsdkelb/v3/model/batch_update_member.py +67 -9
  13. huaweicloudsdkelb/v3/model/batch_update_priority_request_body.py +3 -3
  14. huaweicloudsdkelb/v3/model/certificate_info.py +93 -6
  15. huaweicloudsdkelb/v3/model/change_loadbalancer_charge_mode_request_body.py +3 -3
  16. huaweicloudsdkelb/v3/model/connection_drain.py +3 -3
  17. huaweicloudsdkelb/v3/model/count_preoccupy_ip_num_request.py +6 -6
  18. huaweicloudsdkelb/v3/model/create_certificate_option.py +5 -4
  19. huaweicloudsdkelb/v3/model/create_certificate_private_key_echo_request.py +111 -0
  20. huaweicloudsdkelb/v3/model/create_certificate_private_key_echo_request_body.py +114 -0
  21. huaweicloudsdkelb/v3/model/create_certificate_private_key_echo_response.py +145 -0
  22. huaweicloudsdkelb/v3/model/create_fixted_response_config.py +78 -3
  23. huaweicloudsdkelb/v3/model/create_health_monitor_option.py +9 -9
  24. huaweicloudsdkelb/v3/model/create_insert_header_config.py +170 -0
  25. huaweicloudsdkelb/v3/model/create_insert_headers_config.py +114 -0
  26. huaweicloudsdkelb/v3/model/create_ip_group_ip_option.py +6 -6
  27. huaweicloudsdkelb/v3/model/create_ip_group_option.py +15 -15
  28. huaweicloudsdkelb/v3/model/create_ip_group_response.py +3 -3
  29. huaweicloudsdkelb/v3/model/create_l7_policy_option.py +61 -7
  30. huaweicloudsdkelb/v3/model/create_l7_policy_rule_option.py +6 -6
  31. huaweicloudsdkelb/v3/model/create_listener_ip_group_option.py +3 -3
  32. huaweicloudsdkelb/v3/model/create_listener_option.py +33 -33
  33. huaweicloudsdkelb/v3/model/create_load_balancer_bandwidth_option.py +18 -18
  34. huaweicloudsdkelb/v3/model/create_load_balancer_option.py +76 -105
  35. huaweicloudsdkelb/v3/model/create_load_balancer_public_ip_option.py +12 -12
  36. huaweicloudsdkelb/v3/model/create_load_balancer_response.py +6 -6
  37. huaweicloudsdkelb/v3/model/create_loadbalancer_autoscaling_option.py +6 -6
  38. huaweicloudsdkelb/v3/model/create_master_slave_health_monitor_option.py +6 -6
  39. huaweicloudsdkelb/v3/model/create_master_slave_member_option.py +3 -3
  40. huaweicloudsdkelb/v3/model/create_master_slave_pool_option.py +6 -6
  41. huaweicloudsdkelb/v3/model/create_member_option.py +6 -6
  42. huaweicloudsdkelb/v3/model/create_pool_option.py +84 -30
  43. huaweicloudsdkelb/v3/model/create_redirect_pools_config.py +143 -0
  44. huaweicloudsdkelb/v3/model/create_redirect_pools_extend_config.py +81 -6
  45. huaweicloudsdkelb/v3/model/create_redirect_pools_sticky_session_config.py +144 -0
  46. huaweicloudsdkelb/v3/model/create_redirect_url_config.py +53 -3
  47. huaweicloudsdkelb/v3/model/create_remove_header_config.py +114 -0
  48. huaweicloudsdkelb/v3/model/create_remove_headers_config.py +114 -0
  49. huaweicloudsdkelb/v3/model/create_rewrite_url_config.py +9 -9
  50. huaweicloudsdkelb/v3/model/create_rule_option.py +6 -6
  51. huaweicloudsdkelb/v3/model/create_traffic_limit_config.py +173 -0
  52. huaweicloudsdkelb/v3/model/delete_ip_group_request.py +3 -3
  53. huaweicloudsdkelb/v3/model/fixted_response_config.py +78 -3
  54. huaweicloudsdkelb/v3/model/flavor.py +79 -21
  55. huaweicloudsdkelb/v3/model/health_monitor.py +9 -9
  56. huaweicloudsdkelb/v3/model/insert_header_config.py +170 -0
  57. huaweicloudsdkelb/v3/model/insert_headers_config.py +114 -0
  58. huaweicloudsdkelb/v3/model/ip_group.py +119 -90
  59. huaweicloudsdkelb/v3/model/ip_group_ip.py +3 -3
  60. huaweicloudsdkelb/v3/model/ip_info.py +6 -6
  61. huaweicloudsdkelb/v3/model/l7_policy.py +67 -13
  62. huaweicloudsdkelb/v3/model/l7_rule.py +15 -15
  63. huaweicloudsdkelb/v3/model/list_all_members_request.py +3 -3
  64. huaweicloudsdkelb/v3/model/list_all_members_response.py +4 -4
  65. huaweicloudsdkelb/v3/model/list_certificates_request.py +64 -6
  66. huaweicloudsdkelb/v3/model/list_flavors_request.py +21 -21
  67. huaweicloudsdkelb/v3/model/list_flavors_response.py +6 -6
  68. huaweicloudsdkelb/v3/model/list_health_monitors_request.py +12 -12
  69. huaweicloudsdkelb/v3/model/list_ip_groups_request.py +53 -24
  70. huaweicloudsdkelb/v3/model/list_ip_groups_response.py +6 -6
  71. huaweicloudsdkelb/v3/model/list_l7_policies_request.py +3 -3
  72. huaweicloudsdkelb/v3/model/list_l7_rules_request.py +3 -3
  73. huaweicloudsdkelb/v3/model/list_listeners_request.py +24 -24
  74. huaweicloudsdkelb/v3/model/list_load_balancers_request.py +30 -30
  75. huaweicloudsdkelb/v3/model/list_logtanks_request.py +3 -3
  76. huaweicloudsdkelb/v3/model/list_master_slave_pools_request.py +6 -6
  77. huaweicloudsdkelb/v3/model/list_members_request.py +3 -3
  78. huaweicloudsdkelb/v3/model/list_pools_request.py +105 -18
  79. huaweicloudsdkelb/v3/model/list_security_policies_request.py +3 -3
  80. huaweicloudsdkelb/v3/model/listener.py +27 -27
  81. huaweicloudsdkelb/v3/model/listener_ref.py +3 -3
  82. huaweicloudsdkelb/v3/model/load_balancer.py +27 -27
  83. huaweicloudsdkelb/v3/model/load_balancer_status_policy.py +3 -3
  84. huaweicloudsdkelb/v3/model/master_slave_health_monitor.py +6 -6
  85. huaweicloudsdkelb/v3/model/master_slave_member.py +3 -3
  86. huaweicloudsdkelb/v3/model/master_slave_pool.py +15 -15
  87. huaweicloudsdkelb/v3/model/member.py +13 -158
  88. huaweicloudsdkelb/v3/model/member_info.py +656 -0
  89. huaweicloudsdkelb/v3/model/page_info.py +9 -9
  90. huaweicloudsdkelb/v3/model/pool.py +110 -27
  91. huaweicloudsdkelb/v3/model/pool_health.py +115 -0
  92. huaweicloudsdkelb/v3/model/prepaid_create_option.py +12 -12
  93. huaweicloudsdkelb/v3/model/quota.py +12 -12
  94. huaweicloudsdkelb/v3/model/quota_info.py +3 -3
  95. huaweicloudsdkelb/v3/model/redirect_pools_config.py +144 -0
  96. huaweicloudsdkelb/v3/model/redirect_pools_extend_config.py +81 -6
  97. huaweicloudsdkelb/v3/model/redirect_pools_sticky_session_config.py +144 -0
  98. huaweicloudsdkelb/v3/model/redirect_url_config.py +65 -9
  99. huaweicloudsdkelb/v3/model/remove_header_config.py +114 -0
  100. huaweicloudsdkelb/v3/model/remove_headers_config.py +114 -0
  101. huaweicloudsdkelb/v3/model/rewrite_url_config.py +9 -9
  102. huaweicloudsdkelb/v3/model/session_persistence.py +6 -6
  103. huaweicloudsdkelb/v3/model/show_certificate_private_key_echo_request.py +84 -0
  104. huaweicloudsdkelb/v3/model/show_certificate_private_key_echo_response.py +145 -0
  105. huaweicloudsdkelb/v3/model/show_flavor_request.py +3 -3
  106. huaweicloudsdkelb/v3/model/show_flavor_response.py +3 -3
  107. huaweicloudsdkelb/v3/model/show_ip_group_request.py +3 -3
  108. huaweicloudsdkelb/v3/model/show_ip_group_response.py +3 -3
  109. huaweicloudsdkelb/v3/model/traffic_limit_config.py +173 -0
  110. huaweicloudsdkelb/v3/model/upadate_ip_group_ip_option.py +6 -6
  111. huaweicloudsdkelb/v3/model/update_certificate_option.py +3 -3
  112. huaweicloudsdkelb/v3/model/update_fixted_response_config.py +78 -3
  113. huaweicloudsdkelb/v3/model/update_health_monitor_option.py +9 -9
  114. huaweicloudsdkelb/v3/model/update_insert_header_config.py +170 -0
  115. huaweicloudsdkelb/v3/model/update_insert_headers_config.py +114 -0
  116. huaweicloudsdkelb/v3/model/update_ip_group_option.py +9 -9
  117. huaweicloudsdkelb/v3/model/update_ip_group_request.py +3 -3
  118. huaweicloudsdkelb/v3/model/update_ip_group_response.py +3 -3
  119. huaweicloudsdkelb/v3/model/update_ip_list_option.py +9 -9
  120. huaweicloudsdkelb/v3/model/update_ip_list_request.py +3 -3
  121. huaweicloudsdkelb/v3/model/update_ip_list_response.py +3 -3
  122. huaweicloudsdkelb/v3/model/update_l7_policy_option.py +58 -4
  123. huaweicloudsdkelb/v3/model/update_l7_rule_option.py +3 -3
  124. huaweicloudsdkelb/v3/model/update_listener_ip_group_option.py +6 -6
  125. huaweicloudsdkelb/v3/model/update_listener_option.py +24 -24
  126. huaweicloudsdkelb/v3/model/update_load_balancer_option.py +24 -24
  127. huaweicloudsdkelb/v3/model/update_load_balancer_response.py +6 -6
  128. huaweicloudsdkelb/v3/model/update_pool_option.py +37 -12
  129. huaweicloudsdkelb/v3/model/update_pool_session_persistence_option.py +6 -6
  130. huaweicloudsdkelb/v3/model/update_redirect_pools_config.py +143 -0
  131. huaweicloudsdkelb/v3/model/update_redirect_pools_extend_config.py +81 -6
  132. huaweicloudsdkelb/v3/model/update_redirect_pools_sticky_session_config.py +144 -0
  133. huaweicloudsdkelb/v3/model/update_redirect_url_config.py +53 -3
  134. huaweicloudsdkelb/v3/model/update_remove_header_config.py +114 -0
  135. huaweicloudsdkelb/v3/model/update_remove_headers_config.py +114 -0
  136. huaweicloudsdkelb/v3/model/update_rewrite_url_config.py +173 -0
  137. huaweicloudsdkelb/v3/model/update_traffic_limit_config.py +173 -0
  138. {huaweicloudsdkelb-3.1.104.dist-info → huaweicloudsdkelb-3.1.106.dist-info}/METADATA +2 -2
  139. {huaweicloudsdkelb-3.1.104.dist-info → huaweicloudsdkelb-3.1.106.dist-info}/RECORD +142 -113
  140. {huaweicloudsdkelb-3.1.104.dist-info → huaweicloudsdkelb-3.1.106.dist-info}/LICENSE +0 -0
  141. {huaweicloudsdkelb-3.1.104.dist-info → huaweicloudsdkelb-3.1.106.dist-info}/WHEEL +0 -0
  142. {huaweicloudsdkelb-3.1.104.dist-info → huaweicloudsdkelb-3.1.106.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,173 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class CreateTrafficLimitConfig:
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
+ 'qps': 'int',
21
+ 'per_source_ip_qps': 'int',
22
+ 'burst': 'int'
23
+ }
24
+
25
+ attribute_map = {
26
+ 'qps': 'qps',
27
+ 'per_source_ip_qps': 'per_source_ip_qps',
28
+ 'burst': 'burst'
29
+ }
30
+
31
+ def __init__(self, qps=None, per_source_ip_qps=None, burst=None):
32
+ """CreateTrafficLimitConfig
33
+
34
+ The model defined in huaweicloud sdk
35
+
36
+ :param qps: 转发策略整体限速。取值: 0-100000s。0表示不限速
37
+ :type qps: int
38
+ :param per_source_ip_qps: 对转发策略单源进行限速。 quic监听器下转发策略不支持配置单源限速。指定该字段时,赋值可以为0或者为null。 取值: 0-100000s。0表示不限速,如果qps不为0,per_source_ip_qps需要小于qps。
39
+ :type per_source_ip_qps: int
40
+ :param burst: 对转发策略单源进行限速。取值: 0-100000s。当qps超限的时候,不返回503,支持允许局部突增burst大小的请求。
41
+ :type burst: int
42
+ """
43
+
44
+
45
+
46
+ self._qps = None
47
+ self._per_source_ip_qps = None
48
+ self._burst = None
49
+ self.discriminator = None
50
+
51
+ if qps is not None:
52
+ self.qps = qps
53
+ if per_source_ip_qps is not None:
54
+ self.per_source_ip_qps = per_source_ip_qps
55
+ if burst is not None:
56
+ self.burst = burst
57
+
58
+ @property
59
+ def qps(self):
60
+ """Gets the qps of this CreateTrafficLimitConfig.
61
+
62
+ 转发策略整体限速。取值: 0-100000s。0表示不限速
63
+
64
+ :return: The qps of this CreateTrafficLimitConfig.
65
+ :rtype: int
66
+ """
67
+ return self._qps
68
+
69
+ @qps.setter
70
+ def qps(self, qps):
71
+ """Sets the qps of this CreateTrafficLimitConfig.
72
+
73
+ 转发策略整体限速。取值: 0-100000s。0表示不限速
74
+
75
+ :param qps: The qps of this CreateTrafficLimitConfig.
76
+ :type qps: int
77
+ """
78
+ self._qps = qps
79
+
80
+ @property
81
+ def per_source_ip_qps(self):
82
+ """Gets the per_source_ip_qps of this CreateTrafficLimitConfig.
83
+
84
+ 对转发策略单源进行限速。 quic监听器下转发策略不支持配置单源限速。指定该字段时,赋值可以为0或者为null。 取值: 0-100000s。0表示不限速,如果qps不为0,per_source_ip_qps需要小于qps。
85
+
86
+ :return: The per_source_ip_qps of this CreateTrafficLimitConfig.
87
+ :rtype: int
88
+ """
89
+ return self._per_source_ip_qps
90
+
91
+ @per_source_ip_qps.setter
92
+ def per_source_ip_qps(self, per_source_ip_qps):
93
+ """Sets the per_source_ip_qps of this CreateTrafficLimitConfig.
94
+
95
+ 对转发策略单源进行限速。 quic监听器下转发策略不支持配置单源限速。指定该字段时,赋值可以为0或者为null。 取值: 0-100000s。0表示不限速,如果qps不为0,per_source_ip_qps需要小于qps。
96
+
97
+ :param per_source_ip_qps: The per_source_ip_qps of this CreateTrafficLimitConfig.
98
+ :type per_source_ip_qps: int
99
+ """
100
+ self._per_source_ip_qps = per_source_ip_qps
101
+
102
+ @property
103
+ def burst(self):
104
+ """Gets the burst of this CreateTrafficLimitConfig.
105
+
106
+ 对转发策略单源进行限速。取值: 0-100000s。当qps超限的时候,不返回503,支持允许局部突增burst大小的请求。
107
+
108
+ :return: The burst of this CreateTrafficLimitConfig.
109
+ :rtype: int
110
+ """
111
+ return self._burst
112
+
113
+ @burst.setter
114
+ def burst(self, burst):
115
+ """Sets the burst of this CreateTrafficLimitConfig.
116
+
117
+ 对转发策略单源进行限速。取值: 0-100000s。当qps超限的时候,不返回503,支持允许局部突增burst大小的请求。
118
+
119
+ :param burst: The burst of this CreateTrafficLimitConfig.
120
+ :type burst: int
121
+ """
122
+ self._burst = burst
123
+
124
+ def to_dict(self):
125
+ """Returns the model properties as a dict"""
126
+ result = {}
127
+
128
+ for attr, _ in six.iteritems(self.openapi_types):
129
+ value = getattr(self, attr)
130
+ if isinstance(value, list):
131
+ result[attr] = list(map(
132
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
133
+ value
134
+ ))
135
+ elif hasattr(value, "to_dict"):
136
+ result[attr] = value.to_dict()
137
+ elif isinstance(value, dict):
138
+ result[attr] = dict(map(
139
+ lambda item: (item[0], item[1].to_dict())
140
+ if hasattr(item[1], "to_dict") else item,
141
+ value.items()
142
+ ))
143
+ else:
144
+ if attr in self.sensitive_list:
145
+ result[attr] = "****"
146
+ else:
147
+ result[attr] = value
148
+
149
+ return result
150
+
151
+ def to_str(self):
152
+ """Returns the string representation of the model"""
153
+ import simplejson as json
154
+ if six.PY2:
155
+ import sys
156
+ reload(sys)
157
+ sys.setdefaultencoding("utf-8")
158
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
159
+
160
+ def __repr__(self):
161
+ """For `print`"""
162
+ return self.to_str()
163
+
164
+ def __eq__(self, other):
165
+ """Returns true if both objects are equal"""
166
+ if not isinstance(other, CreateTrafficLimitConfig):
167
+ return False
168
+
169
+ return self.__dict__ == other.__dict__
170
+
171
+ def __ne__(self, other):
172
+ """Returns true if both objects are not equal"""
173
+ return not self == other
@@ -29,7 +29,7 @@ class DeleteIpGroupRequest:
29
29
 
30
30
  The model defined in huaweicloud sdk
31
31
 
32
- :param ipgroup_id: IP地址组的ID。
32
+ :param ipgroup_id: 参数解释:IP地址组的ID。
33
33
  :type ipgroup_id: str
34
34
  """
35
35
 
@@ -44,7 +44,7 @@ class DeleteIpGroupRequest:
44
44
  def ipgroup_id(self):
45
45
  """Gets the ipgroup_id of this DeleteIpGroupRequest.
46
46
 
47
- IP地址组的ID。
47
+ 参数解释:IP地址组的ID。
48
48
 
49
49
  :return: The ipgroup_id of this DeleteIpGroupRequest.
50
50
  :rtype: str
@@ -55,7 +55,7 @@ class DeleteIpGroupRequest:
55
55
  def ipgroup_id(self, ipgroup_id):
56
56
  """Sets the ipgroup_id of this DeleteIpGroupRequest.
57
57
 
58
- IP地址组的ID。
58
+ 参数解释:IP地址组的ID。
59
59
 
60
60
  :param ipgroup_id: The ipgroup_id of this DeleteIpGroupRequest.
61
61
  :type ipgroup_id: str
@@ -19,16 +19,22 @@ class FixtedResponseConfig:
19
19
  openapi_types = {
20
20
  'status_code': 'str',
21
21
  'content_type': 'str',
22
- 'message_body': 'str'
22
+ 'message_body': 'str',
23
+ 'insert_headers_config': 'InsertHeadersConfig',
24
+ 'remove_headers_config': 'RemoveHeadersConfig',
25
+ 'traffic_limit_config': 'TrafficLimitConfig'
23
26
  }
24
27
 
25
28
  attribute_map = {
26
29
  'status_code': 'status_code',
27
30
  'content_type': 'content_type',
28
- 'message_body': 'message_body'
31
+ 'message_body': 'message_body',
32
+ 'insert_headers_config': 'insert_headers_config',
33
+ 'remove_headers_config': 'remove_headers_config',
34
+ 'traffic_limit_config': 'traffic_limit_config'
29
35
  }
30
36
 
31
- def __init__(self, status_code=None, content_type=None, message_body=None):
37
+ def __init__(self, status_code=None, content_type=None, message_body=None, insert_headers_config=None, remove_headers_config=None, traffic_limit_config=None):
32
38
  """FixtedResponseConfig
33
39
 
34
40
  The model defined in huaweicloud sdk
@@ -39,6 +45,12 @@ class FixtedResponseConfig:
39
45
  :type content_type: str
40
46
  :param message_body: 返回消息内容。
41
47
  :type message_body: str
48
+ :param insert_headers_config:
49
+ :type insert_headers_config: :class:`huaweicloudsdkelb.v3.InsertHeadersConfig`
50
+ :param remove_headers_config:
51
+ :type remove_headers_config: :class:`huaweicloudsdkelb.v3.RemoveHeadersConfig`
52
+ :param traffic_limit_config:
53
+ :type traffic_limit_config: :class:`huaweicloudsdkelb.v3.TrafficLimitConfig`
42
54
  """
43
55
 
44
56
 
@@ -46,11 +58,20 @@ class FixtedResponseConfig:
46
58
  self._status_code = None
47
59
  self._content_type = None
48
60
  self._message_body = None
61
+ self._insert_headers_config = None
62
+ self._remove_headers_config = None
63
+ self._traffic_limit_config = None
49
64
  self.discriminator = None
50
65
 
51
66
  self.status_code = status_code
52
67
  self.content_type = content_type
53
68
  self.message_body = message_body
69
+ if insert_headers_config is not None:
70
+ self.insert_headers_config = insert_headers_config
71
+ if remove_headers_config is not None:
72
+ self.remove_headers_config = remove_headers_config
73
+ if traffic_limit_config is not None:
74
+ self.traffic_limit_config = traffic_limit_config
54
75
 
55
76
  @property
56
77
  def status_code(self):
@@ -118,6 +139,60 @@ class FixtedResponseConfig:
118
139
  """
119
140
  self._message_body = message_body
120
141
 
142
+ @property
143
+ def insert_headers_config(self):
144
+ """Gets the insert_headers_config of this FixtedResponseConfig.
145
+
146
+ :return: The insert_headers_config of this FixtedResponseConfig.
147
+ :rtype: :class:`huaweicloudsdkelb.v3.InsertHeadersConfig`
148
+ """
149
+ return self._insert_headers_config
150
+
151
+ @insert_headers_config.setter
152
+ def insert_headers_config(self, insert_headers_config):
153
+ """Sets the insert_headers_config of this FixtedResponseConfig.
154
+
155
+ :param insert_headers_config: The insert_headers_config of this FixtedResponseConfig.
156
+ :type insert_headers_config: :class:`huaweicloudsdkelb.v3.InsertHeadersConfig`
157
+ """
158
+ self._insert_headers_config = insert_headers_config
159
+
160
+ @property
161
+ def remove_headers_config(self):
162
+ """Gets the remove_headers_config of this FixtedResponseConfig.
163
+
164
+ :return: The remove_headers_config of this FixtedResponseConfig.
165
+ :rtype: :class:`huaweicloudsdkelb.v3.RemoveHeadersConfig`
166
+ """
167
+ return self._remove_headers_config
168
+
169
+ @remove_headers_config.setter
170
+ def remove_headers_config(self, remove_headers_config):
171
+ """Sets the remove_headers_config of this FixtedResponseConfig.
172
+
173
+ :param remove_headers_config: The remove_headers_config of this FixtedResponseConfig.
174
+ :type remove_headers_config: :class:`huaweicloudsdkelb.v3.RemoveHeadersConfig`
175
+ """
176
+ self._remove_headers_config = remove_headers_config
177
+
178
+ @property
179
+ def traffic_limit_config(self):
180
+ """Gets the traffic_limit_config of this FixtedResponseConfig.
181
+
182
+ :return: The traffic_limit_config of this FixtedResponseConfig.
183
+ :rtype: :class:`huaweicloudsdkelb.v3.TrafficLimitConfig`
184
+ """
185
+ return self._traffic_limit_config
186
+
187
+ @traffic_limit_config.setter
188
+ def traffic_limit_config(self, traffic_limit_config):
189
+ """Sets the traffic_limit_config of this FixtedResponseConfig.
190
+
191
+ :param traffic_limit_config: The traffic_limit_config of this FixtedResponseConfig.
192
+ :type traffic_limit_config: :class:`huaweicloudsdkelb.v3.TrafficLimitConfig`
193
+ """
194
+ self._traffic_limit_config = traffic_limit_config
195
+
121
196
  def to_dict(self):
122
197
  """Returns the model properties as a dict"""
123
198
  result = {}
@@ -23,7 +23,9 @@ class Flavor:
23
23
  'shared': 'bool',
24
24
  'project_id': 'str',
25
25
  'type': 'str',
26
- 'flavor_sold_out': 'bool'
26
+ 'flavor_sold_out': 'bool',
27
+ 'public_border_group': 'str',
28
+ 'category': 'int'
27
29
  }
28
30
 
29
31
  attribute_map = {
@@ -33,28 +35,34 @@ class Flavor:
33
35
  'shared': 'shared',
34
36
  'project_id': 'project_id',
35
37
  'type': 'type',
36
- 'flavor_sold_out': 'flavor_sold_out'
38
+ 'flavor_sold_out': 'flavor_sold_out',
39
+ 'public_border_group': 'public_border_group',
40
+ 'category': 'category'
37
41
  }
38
42
 
39
- def __init__(self, id=None, info=None, name=None, shared=None, project_id=None, type=None, flavor_sold_out=None):
43
+ def __init__(self, id=None, info=None, name=None, shared=None, project_id=None, type=None, flavor_sold_out=None, public_border_group=None, category=None):
40
44
  """Flavor
41
45
 
42
46
  The model defined in huaweicloud sdk
43
47
 
44
- :param id: 规格ID。
48
+ :param id: 参数解释:规格ID。
45
49
  :type id: str
46
50
  :param info:
47
51
  :type info: :class:`huaweicloudsdkelb.v3.FlavorInfo`
48
- :param name: 规格名称。 规格名称与控制台展示的对应关系如下: 网络型有如下规格: - L4_flavor.elb.s1.small: 小型 I - L4_flavor.elb.s2.small: 小型 II - L4_flavor.elb.s1.medium: 中型 I - L4_flavor.elb.s2.medium: 中型 II - L4_flavor.elb.s1.large: 大型 I - L4_flavor.elb.s2.large: 大型 II 应用型有如下规格: - L7_flavor.elb.s1.small: 小型 I - L7_flavor.elb.s2.small: 小型 II - L7_flavor.elb.s1.medium: 中型 I - L7_flavor.elb.s2.medium: 中型 II - L7_flavor.elb.s1.large: 大型 I - L7_flavor.elb.s2.large: 大型 II - L7_flavor.elb.s1.extra-large: 超大型 I - L7_flavor.elb.s2.extra-large: 超大型 II
52
+ :param name: 参数解释:规格名称。 取值范围: 网络型有如下规格: - L4_flavor.elb.s1.small: 小型 I - L4_flavor.elb.s2.small: 小型 II - L4_flavor.elb.s1.medium: 中型 I - L4_flavor.elb.s2.medium: 中型 II - L4_flavor.elb.s1.large: 大型 I - L4_flavor.elb.s2.large: 大型 II - L4_flavor.elb.pro.max: 四层弹性规格 应用型有如下规格: - L7_flavor.elb.s1.small: 小型 I - L7_flavor.elb.s2.small: 小型 II - L7_flavor.elb.s1.medium: 中型 I - L7_flavor.elb.s2.medium: 中型 II - L7_flavor.elb.s1.large: 大型 I - L7_flavor.elb.s2.large: 大型 II - L7_flavor.elb.s1.extra-large: 超大型 I - L7_flavor.elb.s2.extra-large: 超大型 II - L7_flavor.elb.pro.max: 七层弹性规格
49
53
  :type name: str
50
- :param shared: 是否公共规格。 取值: - true表示公共规格,所有租户可见。 - false表示私有规格,为当前租户所有。
54
+ :param shared: 参数解释:是否公共规格。 取值范围: - true表示公共规格,所有租户可见。 - false表示私有规格,为当前租户所有。
51
55
  :type shared: bool
52
- :param project_id: 项目ID。
56
+ :param project_id: 参数解释:项目ID。
53
57
  :type project_id: str
54
- :param type: 规格类别。 取值: - L4和L7 表示四层网络型和七层应用型flavor。 - L4_elastic和L7_elastic 表示弹性扩缩容实例的下限规格。 - L4_elastic_max和L7_elastic_max 表示弹性扩缩容实例的上限规格。
58
+ :param type: 参数解释:规格类别。 取值: - L4和L7 表示四层网络型和七层应用型flavor。 [- gateway 表示网关型LB的flavor,目前只支持弹性计费类型。当前仅支持欧洲局点。](tag:hws_eu) - L4_elastic和L7_elastic 表示弹性扩缩容实例的下限规格。 - L4_elastic_max、L7_elastic_max[gateway_elastic_max](tag:hws_eu) 表示弹性扩缩容实例的上限规格。
55
59
  :type type: str
56
- :param flavor_sold_out: [是否售罄。](tag:hws,hk,hws_eu,otc,tlf,ctc,hcso,sbc,g42,cmcc,hk_g42,dt_test,hcso_dt,mix,hk_sbc,hws_ocb,fcs,fcs_dt,dt) [是否无法购买该规格的LB](tag:ocb,tm) 取值: - true:[已售罄,将](tag:hws,hk,hws_eu,otc,tlf,ctc,hcso,sbc,g42,cmcc,hk_g42,dt_test,hcso_dt,mix,hk_sbc,hws_ocb,fcs,fcs_dt,dt)无法购买该规格的LB。 - false:[未售罄,](tag:hws,hk,hws_eu,otc,tlf,ctc,hcso,sbc,g42,cmcc,hk_g42,dt_test,hcso_dt,mix,hk_sbc,hws_ocb,fcs,fcs_dt,dt)可购买该规格的LB。
60
+ :param flavor_sold_out: 参数解释: [是否售罄。](tag:hws,hk,hws_eu,otc,tlf,ctc,sbc,g42,cmcc,hk_g42,dt_test,mix,hk_sbc,hws_ocb,dt) [是否无法购买该规格的LB](tag:ocb,tm,fcs,fcs_dt,hcso,hcso_dt,hk_vdf) 取值范围: - true:[已售罄,将](tag:hws,hk,hws_eu,otc,tlf,ctc,sbc,g42,cmcc,hk_g42,dt_test,mix,hk_sbc,hws_ocb,dt)无法购买该规格的LB。 - false:[未售罄,](tag:hws,hk,hws_eu,otc,tlf,ctc,sbc,g42,cmcc,hk_g42,dt_test,mix,hk_sbc,hws_ocb,dt)可购买该规格的LB。
57
61
  :type flavor_sold_out: bool
62
+ :param public_border_group: 参数解释:可用区组,如:center
63
+ :type public_border_group: str
64
+ :param category: 参数解释:可用区组编码。 取值范围:0表示center,21表示homezone。
65
+ :type category: int
58
66
  """
59
67
 
60
68
 
@@ -66,6 +74,8 @@ class Flavor:
66
74
  self._project_id = None
67
75
  self._type = None
68
76
  self._flavor_sold_out = None
77
+ self._public_border_group = None
78
+ self._category = None
69
79
  self.discriminator = None
70
80
 
71
81
  self.id = id
@@ -75,12 +85,16 @@ class Flavor:
75
85
  self.project_id = project_id
76
86
  self.type = type
77
87
  self.flavor_sold_out = flavor_sold_out
88
+ if public_border_group is not None:
89
+ self.public_border_group = public_border_group
90
+ if category is not None:
91
+ self.category = category
78
92
 
79
93
  @property
80
94
  def id(self):
81
95
  """Gets the id of this Flavor.
82
96
 
83
- 规格ID。
97
+ 参数解释:规格ID。
84
98
 
85
99
  :return: The id of this Flavor.
86
100
  :rtype: str
@@ -91,7 +105,7 @@ class Flavor:
91
105
  def id(self, id):
92
106
  """Sets the id of this Flavor.
93
107
 
94
- 规格ID。
108
+ 参数解释:规格ID。
95
109
 
96
110
  :param id: The id of this Flavor.
97
111
  :type id: str
@@ -120,7 +134,7 @@ class Flavor:
120
134
  def name(self):
121
135
  """Gets the name of this Flavor.
122
136
 
123
- 规格名称。 规格名称与控制台展示的对应关系如下: 网络型有如下规格: - L4_flavor.elb.s1.small: 小型 I - L4_flavor.elb.s2.small: 小型 II - L4_flavor.elb.s1.medium: 中型 I - L4_flavor.elb.s2.medium: 中型 II - L4_flavor.elb.s1.large: 大型 I - L4_flavor.elb.s2.large: 大型 II 应用型有如下规格: - L7_flavor.elb.s1.small: 小型 I - L7_flavor.elb.s2.small: 小型 II - L7_flavor.elb.s1.medium: 中型 I - L7_flavor.elb.s2.medium: 中型 II - L7_flavor.elb.s1.large: 大型 I - L7_flavor.elb.s2.large: 大型 II - L7_flavor.elb.s1.extra-large: 超大型 I - L7_flavor.elb.s2.extra-large: 超大型 II
137
+ 参数解释:规格名称。 取值范围: 网络型有如下规格: - L4_flavor.elb.s1.small: 小型 I - L4_flavor.elb.s2.small: 小型 II - L4_flavor.elb.s1.medium: 中型 I - L4_flavor.elb.s2.medium: 中型 II - L4_flavor.elb.s1.large: 大型 I - L4_flavor.elb.s2.large: 大型 II - L4_flavor.elb.pro.max: 四层弹性规格 应用型有如下规格: - L7_flavor.elb.s1.small: 小型 I - L7_flavor.elb.s2.small: 小型 II - L7_flavor.elb.s1.medium: 中型 I - L7_flavor.elb.s2.medium: 中型 II - L7_flavor.elb.s1.large: 大型 I - L7_flavor.elb.s2.large: 大型 II - L7_flavor.elb.s1.extra-large: 超大型 I - L7_flavor.elb.s2.extra-large: 超大型 II - L7_flavor.elb.pro.max: 七层弹性规格
124
138
 
125
139
  :return: The name of this Flavor.
126
140
  :rtype: str
@@ -131,7 +145,7 @@ class Flavor:
131
145
  def name(self, name):
132
146
  """Sets the name of this Flavor.
133
147
 
134
- 规格名称。 规格名称与控制台展示的对应关系如下: 网络型有如下规格: - L4_flavor.elb.s1.small: 小型 I - L4_flavor.elb.s2.small: 小型 II - L4_flavor.elb.s1.medium: 中型 I - L4_flavor.elb.s2.medium: 中型 II - L4_flavor.elb.s1.large: 大型 I - L4_flavor.elb.s2.large: 大型 II 应用型有如下规格: - L7_flavor.elb.s1.small: 小型 I - L7_flavor.elb.s2.small: 小型 II - L7_flavor.elb.s1.medium: 中型 I - L7_flavor.elb.s2.medium: 中型 II - L7_flavor.elb.s1.large: 大型 I - L7_flavor.elb.s2.large: 大型 II - L7_flavor.elb.s1.extra-large: 超大型 I - L7_flavor.elb.s2.extra-large: 超大型 II
148
+ 参数解释:规格名称。 取值范围: 网络型有如下规格: - L4_flavor.elb.s1.small: 小型 I - L4_flavor.elb.s2.small: 小型 II - L4_flavor.elb.s1.medium: 中型 I - L4_flavor.elb.s2.medium: 中型 II - L4_flavor.elb.s1.large: 大型 I - L4_flavor.elb.s2.large: 大型 II - L4_flavor.elb.pro.max: 四层弹性规格 应用型有如下规格: - L7_flavor.elb.s1.small: 小型 I - L7_flavor.elb.s2.small: 小型 II - L7_flavor.elb.s1.medium: 中型 I - L7_flavor.elb.s2.medium: 中型 II - L7_flavor.elb.s1.large: 大型 I - L7_flavor.elb.s2.large: 大型 II - L7_flavor.elb.s1.extra-large: 超大型 I - L7_flavor.elb.s2.extra-large: 超大型 II - L7_flavor.elb.pro.max: 七层弹性规格
135
149
 
136
150
  :param name: The name of this Flavor.
137
151
  :type name: str
@@ -142,7 +156,7 @@ class Flavor:
142
156
  def shared(self):
143
157
  """Gets the shared of this Flavor.
144
158
 
145
- 是否公共规格。 取值: - true表示公共规格,所有租户可见。 - false表示私有规格,为当前租户所有。
159
+ 参数解释:是否公共规格。 取值范围: - true表示公共规格,所有租户可见。 - false表示私有规格,为当前租户所有。
146
160
 
147
161
  :return: The shared of this Flavor.
148
162
  :rtype: bool
@@ -153,7 +167,7 @@ class Flavor:
153
167
  def shared(self, shared):
154
168
  """Sets the shared of this Flavor.
155
169
 
156
- 是否公共规格。 取值: - true表示公共规格,所有租户可见。 - false表示私有规格,为当前租户所有。
170
+ 参数解释:是否公共规格。 取值范围: - true表示公共规格,所有租户可见。 - false表示私有规格,为当前租户所有。
157
171
 
158
172
  :param shared: The shared of this Flavor.
159
173
  :type shared: bool
@@ -164,7 +178,7 @@ class Flavor:
164
178
  def project_id(self):
165
179
  """Gets the project_id of this Flavor.
166
180
 
167
- 项目ID。
181
+ 参数解释:项目ID。
168
182
 
169
183
  :return: The project_id of this Flavor.
170
184
  :rtype: str
@@ -175,7 +189,7 @@ class Flavor:
175
189
  def project_id(self, project_id):
176
190
  """Sets the project_id of this Flavor.
177
191
 
178
- 项目ID。
192
+ 参数解释:项目ID。
179
193
 
180
194
  :param project_id: The project_id of this Flavor.
181
195
  :type project_id: str
@@ -186,7 +200,7 @@ class Flavor:
186
200
  def type(self):
187
201
  """Gets the type of this Flavor.
188
202
 
189
- 规格类别。 取值: - L4和L7 表示四层网络型和七层应用型flavor。 - L4_elastic和L7_elastic 表示弹性扩缩容实例的下限规格。 - L4_elastic_max和L7_elastic_max 表示弹性扩缩容实例的上限规格。
203
+ 参数解释:规格类别。 取值: - L4和L7 表示四层网络型和七层应用型flavor。 [- gateway 表示网关型LB的flavor,目前只支持弹性计费类型。当前仅支持欧洲局点。](tag:hws_eu) - L4_elastic和L7_elastic 表示弹性扩缩容实例的下限规格。 - L4_elastic_max、L7_elastic_max[gateway_elastic_max](tag:hws_eu) 表示弹性扩缩容实例的上限规格。
190
204
 
191
205
  :return: The type of this Flavor.
192
206
  :rtype: str
@@ -197,7 +211,7 @@ class Flavor:
197
211
  def type(self, type):
198
212
  """Sets the type of this Flavor.
199
213
 
200
- 规格类别。 取值: - L4和L7 表示四层网络型和七层应用型flavor。 - L4_elastic和L7_elastic 表示弹性扩缩容实例的下限规格。 - L4_elastic_max和L7_elastic_max 表示弹性扩缩容实例的上限规格。
214
+ 参数解释:规格类别。 取值: - L4和L7 表示四层网络型和七层应用型flavor。 [- gateway 表示网关型LB的flavor,目前只支持弹性计费类型。当前仅支持欧洲局点。](tag:hws_eu) - L4_elastic和L7_elastic 表示弹性扩缩容实例的下限规格。 - L4_elastic_max、L7_elastic_max[gateway_elastic_max](tag:hws_eu) 表示弹性扩缩容实例的上限规格。
201
215
 
202
216
  :param type: The type of this Flavor.
203
217
  :type type: str
@@ -208,7 +222,7 @@ class Flavor:
208
222
  def flavor_sold_out(self):
209
223
  """Gets the flavor_sold_out of this Flavor.
210
224
 
211
- [是否售罄。](tag:hws,hk,hws_eu,otc,tlf,ctc,hcso,sbc,g42,cmcc,hk_g42,dt_test,hcso_dt,mix,hk_sbc,hws_ocb,fcs,fcs_dt,dt) [是否无法购买该规格的LB](tag:ocb,tm) 取值: - true:[已售罄,将](tag:hws,hk,hws_eu,otc,tlf,ctc,hcso,sbc,g42,cmcc,hk_g42,dt_test,hcso_dt,mix,hk_sbc,hws_ocb,fcs,fcs_dt,dt)无法购买该规格的LB。 - false:[未售罄,](tag:hws,hk,hws_eu,otc,tlf,ctc,hcso,sbc,g42,cmcc,hk_g42,dt_test,hcso_dt,mix,hk_sbc,hws_ocb,fcs,fcs_dt,dt)可购买该规格的LB。
225
+ 参数解释: [是否售罄。](tag:hws,hk,hws_eu,otc,tlf,ctc,sbc,g42,cmcc,hk_g42,dt_test,mix,hk_sbc,hws_ocb,dt) [是否无法购买该规格的LB](tag:ocb,tm,fcs,fcs_dt,hcso,hcso_dt,hk_vdf) 取值范围: - true:[已售罄,将](tag:hws,hk,hws_eu,otc,tlf,ctc,sbc,g42,cmcc,hk_g42,dt_test,mix,hk_sbc,hws_ocb,dt)无法购买该规格的LB。 - false:[未售罄,](tag:hws,hk,hws_eu,otc,tlf,ctc,sbc,g42,cmcc,hk_g42,dt_test,mix,hk_sbc,hws_ocb,dt)可购买该规格的LB。
212
226
 
213
227
  :return: The flavor_sold_out of this Flavor.
214
228
  :rtype: bool
@@ -219,13 +233,57 @@ class Flavor:
219
233
  def flavor_sold_out(self, flavor_sold_out):
220
234
  """Sets the flavor_sold_out of this Flavor.
221
235
 
222
- [是否售罄。](tag:hws,hk,hws_eu,otc,tlf,ctc,hcso,sbc,g42,cmcc,hk_g42,dt_test,hcso_dt,mix,hk_sbc,hws_ocb,fcs,fcs_dt,dt) [是否无法购买该规格的LB](tag:ocb,tm) 取值: - true:[已售罄,将](tag:hws,hk,hws_eu,otc,tlf,ctc,hcso,sbc,g42,cmcc,hk_g42,dt_test,hcso_dt,mix,hk_sbc,hws_ocb,fcs,fcs_dt,dt)无法购买该规格的LB。 - false:[未售罄,](tag:hws,hk,hws_eu,otc,tlf,ctc,hcso,sbc,g42,cmcc,hk_g42,dt_test,hcso_dt,mix,hk_sbc,hws_ocb,fcs,fcs_dt,dt)可购买该规格的LB。
236
+ 参数解释: [是否售罄。](tag:hws,hk,hws_eu,otc,tlf,ctc,sbc,g42,cmcc,hk_g42,dt_test,mix,hk_sbc,hws_ocb,dt) [是否无法购买该规格的LB](tag:ocb,tm,fcs,fcs_dt,hcso,hcso_dt,hk_vdf) 取值范围: - true:[已售罄,将](tag:hws,hk,hws_eu,otc,tlf,ctc,sbc,g42,cmcc,hk_g42,dt_test,mix,hk_sbc,hws_ocb,dt)无法购买该规格的LB。 - false:[未售罄,](tag:hws,hk,hws_eu,otc,tlf,ctc,sbc,g42,cmcc,hk_g42,dt_test,mix,hk_sbc,hws_ocb,dt)可购买该规格的LB。
223
237
 
224
238
  :param flavor_sold_out: The flavor_sold_out of this Flavor.
225
239
  :type flavor_sold_out: bool
226
240
  """
227
241
  self._flavor_sold_out = flavor_sold_out
228
242
 
243
+ @property
244
+ def public_border_group(self):
245
+ """Gets the public_border_group of this Flavor.
246
+
247
+ 参数解释:可用区组,如:center
248
+
249
+ :return: The public_border_group of this Flavor.
250
+ :rtype: str
251
+ """
252
+ return self._public_border_group
253
+
254
+ @public_border_group.setter
255
+ def public_border_group(self, public_border_group):
256
+ """Sets the public_border_group of this Flavor.
257
+
258
+ 参数解释:可用区组,如:center
259
+
260
+ :param public_border_group: The public_border_group of this Flavor.
261
+ :type public_border_group: str
262
+ """
263
+ self._public_border_group = public_border_group
264
+
265
+ @property
266
+ def category(self):
267
+ """Gets the category of this Flavor.
268
+
269
+ 参数解释:可用区组编码。 取值范围:0表示center,21表示homezone。
270
+
271
+ :return: The category of this Flavor.
272
+ :rtype: int
273
+ """
274
+ return self._category
275
+
276
+ @category.setter
277
+ def category(self, category):
278
+ """Sets the category of this Flavor.
279
+
280
+ 参数解释:可用区组编码。 取值范围:0表示center,21表示homezone。
281
+
282
+ :param category: The category of this Flavor.
283
+ :type category: int
284
+ """
285
+ self._category = category
286
+
229
287
  def to_dict(self):
230
288
  """Returns the model properties as a dict"""
231
289
  result = {}
@@ -67,9 +67,9 @@ 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。 默认值:200。 仅支持HTTP/HTTPS设置该字段,其他协议设置不会生效。
70
+ :param expected_codes: 期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 默认值:若健康检查type为gRPC,则默认值为0,;其他为200。 仅支持HTTP/HTTPS/GRPC设置该字段,其他协议设置不会生效。
71
71
  :type expected_codes: str
72
- :param http_method: HTTP请求方法。 取值:GET、HEAD、POST、PUT、DELETE、TRACE、OPTIONS、CONNECT、PATCH,默认GET。 使用说明:当type为HTTP/HTTPS时生效。 不支持该字段,请勿使用。
72
+ :param http_method: HTTP请求方法。 取值:GET、HEAD、POST,默认GET。 使用说明:当type为HTTP/HTTPS时生效。
73
73
  :type http_method: str
74
74
  :param id: 健康检查ID
75
75
  :type id: str
@@ -87,7 +87,7 @@ class HealthMonitor:
87
87
  :type project_id: str
88
88
  :param timeout: 一次健康检查请求的超时时间。 建议该值小于delay的值。
89
89
  :type timeout: int
90
- :param type: 健康检查请求协议。 取值:TCP、UDP_CONNECT、HTTP、HTTPS。 使用说明: - 若pool的protocol为QUIC,则type只能是UDP_CONNECT。 - 若pool的protocol为UDP,则type只能UDP_CONNECT。 - 若pool的protocol为TCP,则type可以是TCP、HTTP、HTTPS。 - 若pool的protocol为HTTP,则type可以是TCP、HTTP、HTTPS。 - 若pool的protocol为HTTPS,则type可以是TCP、HTTP、HTTPS。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC。](tag:dt,dt_test)
90
+ :param type: 健康检查请求协议。 取值:TCP、UDP_CONNECT、HTTP、HTTPS、TLS和GRPC。 使用说明: - 若pool的protocol为QUIC,则type只能是UDP_CONNECT。 - 若pool的protocol为UDP,则type只能UDP_CONNECT。 - 若pool的protocol为TCP,则type可以是TCP、HTTP、HTTPS。 - 若pool的protocol为HTTP,则type可以是TCP、HTTP、HTTPS、TLS、GRPC。 - 若pool的protocol为HTTPS,则type可以是TCP、HTTP、HTTPS、TLS、GRPC - 若pool的protocol为GRPC,则type可以是TCP、HTTP、HTTPS、TLS、GRPC。 - 若pool的protocol为TLS,则type可以是TCP、HTTP、HTTPS、TLS、GRPC。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC。](tag:dt,dt_test)
91
91
  :type type: str
92
92
  :param url_path: 健康检查请求的请求路径。以\"/\"开头,默认为\"/\"。 支持使用字母、数字和短划线(-)、正斜线(/)、半角句号(.)、百分号(%)、半角问号(?)、井号(#)和and(&)以及扩展字符集_;~!()*[]@$^:',+ 使用说明:当type为HTTP/HTTPS时生效。
93
93
  :type url_path: str
@@ -208,7 +208,7 @@ class HealthMonitor:
208
208
  def expected_codes(self):
209
209
  """Gets the expected_codes of this HealthMonitor.
210
210
 
211
- 期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 默认值:200。 仅支持HTTP/HTTPS设置该字段,其他协议设置不会生效。
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
  """Sets the expected_codes of this HealthMonitor.
221
221
 
222
- 期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 默认值:200。 仅支持HTTP/HTTPS设置该字段,其他协议设置不会生效。
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
@@ -230,7 +230,7 @@ class HealthMonitor:
230
230
  def http_method(self):
231
231
  """Gets the http_method of this HealthMonitor.
232
232
 
233
- HTTP请求方法。 取值:GET、HEAD、POST、PUT、DELETE、TRACE、OPTIONS、CONNECT、PATCH,默认GET。 使用说明:当type为HTTP/HTTPS时生效。 不支持该字段,请勿使用。
233
+ HTTP请求方法。 取值:GET、HEAD、POST,默认GET。 使用说明:当type为HTTP/HTTPS时生效。
234
234
 
235
235
  :return: The http_method of this HealthMonitor.
236
236
  :rtype: str
@@ -241,7 +241,7 @@ class HealthMonitor:
241
241
  def http_method(self, http_method):
242
242
  """Sets the http_method of this HealthMonitor.
243
243
 
244
- HTTP请求方法。 取值:GET、HEAD、POST、PUT、DELETE、TRACE、OPTIONS、CONNECT、PATCH,默认GET。 使用说明:当type为HTTP/HTTPS时生效。 不支持该字段,请勿使用。
244
+ HTTP请求方法。 取值:GET、HEAD、POST,默认GET。 使用说明:当type为HTTP/HTTPS时生效。
245
245
 
246
246
  :param http_method: The http_method of this HealthMonitor.
247
247
  :type http_method: str
@@ -428,7 +428,7 @@ class HealthMonitor:
428
428
  def type(self):
429
429
  """Gets the type of this HealthMonitor.
430
430
 
431
- 健康检查请求协议。 取值:TCP、UDP_CONNECT、HTTP、HTTPS。 使用说明: - 若pool的protocol为QUIC,则type只能是UDP_CONNECT。 - 若pool的protocol为UDP,则type只能UDP_CONNECT。 - 若pool的protocol为TCP,则type可以是TCP、HTTP、HTTPS。 - 若pool的protocol为HTTP,则type可以是TCP、HTTP、HTTPS。 - 若pool的protocol为HTTPS,则type可以是TCP、HTTP、HTTPS。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC。](tag:dt,dt_test)
431
+ 健康检查请求协议。 取值:TCP、UDP_CONNECT、HTTP、HTTPS、TLS和GRPC。 使用说明: - 若pool的protocol为QUIC,则type只能是UDP_CONNECT。 - 若pool的protocol为UDP,则type只能UDP_CONNECT。 - 若pool的protocol为TCP,则type可以是TCP、HTTP、HTTPS。 - 若pool的protocol为HTTP,则type可以是TCP、HTTP、HTTPS、TLS、GRPC。 - 若pool的protocol为HTTPS,则type可以是TCP、HTTP、HTTPS、TLS、GRPC - 若pool的protocol为GRPC,则type可以是TCP、HTTP、HTTPS、TLS、GRPC。 - 若pool的protocol为TLS,则type可以是TCP、HTTP、HTTPS、TLS、GRPC。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC。](tag:dt,dt_test)
432
432
 
433
433
  :return: The type of this HealthMonitor.
434
434
  :rtype: str
@@ -439,7 +439,7 @@ class HealthMonitor:
439
439
  def type(self, type):
440
440
  """Sets the type of this HealthMonitor.
441
441
 
442
- 健康检查请求协议。 取值:TCP、UDP_CONNECT、HTTP、HTTPS。 使用说明: - 若pool的protocol为QUIC,则type只能是UDP_CONNECT。 - 若pool的protocol为UDP,则type只能UDP_CONNECT。 - 若pool的protocol为TCP,则type可以是TCP、HTTP、HTTPS。 - 若pool的protocol为HTTP,则type可以是TCP、HTTP、HTTPS。 - 若pool的protocol为HTTPS,则type可以是TCP、HTTP、HTTPS。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC。](tag:dt,dt_test)
442
+ 健康检查请求协议。 取值:TCP、UDP_CONNECT、HTTP、HTTPS、TLS和GRPC。 使用说明: - 若pool的protocol为QUIC,则type只能是UDP_CONNECT。 - 若pool的protocol为UDP,则type只能UDP_CONNECT。 - 若pool的protocol为TCP,则type可以是TCP、HTTP、HTTPS。 - 若pool的protocol为HTTP,则type可以是TCP、HTTP、HTTPS、TLS、GRPC。 - 若pool的protocol为HTTPS,则type可以是TCP、HTTP、HTTPS、TLS、GRPC - 若pool的protocol为GRPC,则type可以是TCP、HTTP、HTTPS、TLS、GRPC。 - 若pool的protocol为TLS,则type可以是TCP、HTTP、HTTPS、TLS、GRPC。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC。](tag:dt,dt_test)
443
443
 
444
444
  :param type: The type of this HealthMonitor.
445
445
  :type type: str