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
@@ -38,7 +38,10 @@ class ListPoolsRequest:
38
38
  'vpc_id': 'list[str]',
39
39
  'type': 'list[str]',
40
40
  'protection_status': 'list[str]',
41
- 'connection_drain': 'bool'
41
+ 'connection_drain': 'bool',
42
+ 'pool_health': 'str',
43
+ 'any_port_enable': 'bool',
44
+ 'public_border_group': 'str'
42
45
  }
43
46
 
44
47
  attribute_map = {
@@ -63,23 +66,26 @@ class ListPoolsRequest:
63
66
  'vpc_id': 'vpc_id',
64
67
  'type': 'type',
65
68
  'protection_status': 'protection_status',
66
- 'connection_drain': 'connection_drain'
69
+ 'connection_drain': 'connection_drain',
70
+ 'pool_health': 'pool_health',
71
+ 'any_port_enable': 'any_port_enable',
72
+ 'public_border_group': 'public_border_group'
67
73
  }
68
74
 
69
- def __init__(self, marker=None, limit=None, page_reverse=None, description=None, admin_state_up=None, healthmonitor_id=None, id=None, name=None, loadbalancer_id=None, protocol=None, lb_algorithm=None, enterprise_project_id=None, ip_version=None, member_address=None, member_device_id=None, member_deletion_protection_enable=None, listener_id=None, member_instance_id=None, vpc_id=None, type=None, protection_status=None, connection_drain=None):
75
+ def __init__(self, marker=None, limit=None, page_reverse=None, description=None, admin_state_up=None, healthmonitor_id=None, id=None, name=None, loadbalancer_id=None, protocol=None, lb_algorithm=None, enterprise_project_id=None, ip_version=None, member_address=None, member_device_id=None, member_deletion_protection_enable=None, listener_id=None, member_instance_id=None, vpc_id=None, type=None, protection_status=None, connection_drain=None, pool_health=None, any_port_enable=None, public_border_group=None):
70
76
  """ListPoolsRequest
71
77
 
72
78
  The model defined in huaweicloud sdk
73
79
 
74
80
  :param marker: 上一页最后一条记录的ID。 使用说明: - 必须与limit一起使用。 - 不指定时表示查询第一页。 - 该字段不允许为空或无效的ID。
75
81
  :type marker: str
76
- :param limit: 每页返回的个数。
82
+ :param limit: 参数解释:每页返回的个数。 取值范围:0-2000 默认取值:2000
77
83
  :type limit: int
78
84
  :param page_reverse: 是否反向查询。 取值: - true:查询上一页。 - false:查询下一页,默认。 使用说明: - 必须与limit一起使用。 - 当page_reverse=true时,若要查询上一页,marker取值为当前页返回值的previous_marker。
79
85
  :type page_reverse: bool
80
86
  :param description: 后端云服务器组的描述信息。 支持多值查询,查询条件格式:*description=xxx&description=xxx*。
81
87
  :type description: list[str]
82
- :param admin_state_up: 后端云服务器组的管理状态。 不支持该字段,请勿使用。
88
+ :param admin_state_up: 后端云服务器组的管理状态。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
83
89
  :type admin_state_up: bool
84
90
  :param healthmonitor_id: 后端云服务器组关联的健康检查的ID。 支持多值查询,查询条件格式:*healthmonitor_id=xxx&healthmonitor_id=xxx*。
85
91
  :type healthmonitor_id: list[str]
@@ -89,9 +95,9 @@ class ListPoolsRequest:
89
95
  :type name: list[str]
90
96
  :param loadbalancer_id: 后端云服务器组绑定的负载均衡器ID。 支持多值查询,查询条件格式:*loadbalancer_id=xxx&loadbalancer_id=xxx*。
91
97
  :type loadbalancer_id: list[str]
92
- :param protocol: 后端云服务器组的后端协议。 取值:TCP、UDP、HTTP、HTTPS、QUIC和TCPSSL。 支持多值查询,查询条件格式:*protocol=xxx&protocol=xxx*。 [不支持QUIC协议。](tag:hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC。](tag:dt,dt_test)
98
+ :param protocol: 后端云服务器组的后端协议。 取值:TCP、UDP、[IP、](tag:hws_eu)TLS、HTTP、HTTPS、QUIC和GRPC。 支持多值查询,查询条件格式:*protocol=xxx&protocol=xxx*。 [不支持QUIC协议。](tag:hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC。](tag:dt,dt_test)
93
99
  :type protocol: list[str]
94
- :param lb_algorithm: 后端云服务器组的负载均衡算法。 取值: - ROUND_ROBIN:加权轮询算法。 - LEAST_CONNECTIONS:加权最少连接算法。 - SOURCE_IP:源IP算法。 - QUIC_CID:连接ID算法。 支持多值查询,查询条件格式:*lb_algorithm=xxx&lb_algorithm=xxx*。 [不支持QUIC_CID。](tag:hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC_CID。](tag:dt,dt_test)
100
+ :param lb_algorithm: 后端云服务器组的负载均衡算法。 取值: - ROUND_ROBIN:加权轮询算法。 - LEAST_CONNECTIONS:加权最少连接算法。 - SOURCE_IP:源IP算法。 - QUIC_CID:连接ID算法。 [- 2_TUPLE_HASH:二元组hash算法,仅IP类型的pool支持。 - 3_TUPLE_HASH:三元组hash算法,仅IP类型的pool支持。 - 4_TUPLE_HASH:五元组hash算法,仅IP类型的pool支持。](tag:hws_eu) 支持多值查询,查询条件格式:*lb_algorithm=xxx&lb_algorithm=xxx*。 [不支持QUIC_CID。](tag:hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC_CID。](tag:dt,dt_test)
95
101
  :type lb_algorithm: list[str]
96
102
  :param enterprise_project_id: 企业项目ID。不传时查询default企业项目\"0\"下的资源,鉴权按照default企业项目鉴权; 如果传值,则传已存在的企业项目ID或all_granted_eps(表示查询所有企业项目)进行查询。 支持多值查询,查询条件格式:*enterprise_project_id=xxx&enterprise_project_id=xxx*。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
97
103
  :type enterprise_project_id: list[str]
@@ -101,7 +107,7 @@ class ListPoolsRequest:
101
107
  :type member_address: list[str]
102
108
  :param member_device_id: 后端云服务器对应的弹性云服务器的ID。仅用于查询条件,不作为响应参数字段。 支持多值查询,查询条件格式:*member_device_id=xxx&member_device_id=xxx*。
103
109
  :type member_device_id: list[str]
104
- :param member_deletion_protection_enable: 是否开启删除保护,false不开启,true开启,不传查询全部。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42) [荷兰region不支持该字段,请勿使用。](tag:dt)
110
+ :param member_deletion_protection_enable: 是否开启删除保护,false不开启,true开启,不传查询全部。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42) [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
105
111
  :type member_deletion_protection_enable: bool
106
112
  :param listener_id: 关联的监听器ID,包括通过l7policy关联的。 支持多值查询,查询条件格式:*listener_id=xxx&listener_id=xxx*。
107
113
  :type listener_id: list[str]
@@ -115,6 +121,12 @@ class ListPoolsRequest:
115
121
  :type protection_status: list[str]
116
122
  :param connection_drain: 查询是否开启延迟注销的功能,查询条件格式:*connection_drain=true或者*connection_drain=false
117
123
  :type connection_drain: bool
124
+ :param pool_health: 查询是否开启后端全下线转发功能,查询条件格式:*pool_health=minimum_healthy_member_count=0或者*pool_health=minimum_healthy_member_count=1
125
+ :type pool_health: str
126
+ :param any_port_enable: 后端是否开启端口透传。开启后,后端服务器端口与前端监听器端口保持一致。取值:false不开启,true开启。
127
+ :type any_port_enable: bool
128
+ :param public_border_group: 可用区组
129
+ :type public_border_group: str
118
130
  """
119
131
 
120
132
 
@@ -141,6 +153,9 @@ class ListPoolsRequest:
141
153
  self._type = None
142
154
  self._protection_status = None
143
155
  self._connection_drain = None
156
+ self._pool_health = None
157
+ self._any_port_enable = None
158
+ self._public_border_group = None
144
159
  self.discriminator = None
145
160
 
146
161
  if marker is not None:
@@ -187,6 +202,12 @@ class ListPoolsRequest:
187
202
  self.protection_status = protection_status
188
203
  if connection_drain is not None:
189
204
  self.connection_drain = connection_drain
205
+ if pool_health is not None:
206
+ self.pool_health = pool_health
207
+ if any_port_enable is not None:
208
+ self.any_port_enable = any_port_enable
209
+ if public_border_group is not None:
210
+ self.public_border_group = public_border_group
190
211
 
191
212
  @property
192
213
  def marker(self):
@@ -214,7 +235,7 @@ class ListPoolsRequest:
214
235
  def limit(self):
215
236
  """Gets the limit of this ListPoolsRequest.
216
237
 
217
- 每页返回的个数。
238
+ 参数解释:每页返回的个数。 取值范围:0-2000 默认取值:2000
218
239
 
219
240
  :return: The limit of this ListPoolsRequest.
220
241
  :rtype: int
@@ -225,7 +246,7 @@ class ListPoolsRequest:
225
246
  def limit(self, limit):
226
247
  """Sets the limit of this ListPoolsRequest.
227
248
 
228
- 每页返回的个数。
249
+ 参数解释:每页返回的个数。 取值范围:0-2000 默认取值:2000
229
250
 
230
251
  :param limit: The limit of this ListPoolsRequest.
231
252
  :type limit: int
@@ -280,7 +301,7 @@ class ListPoolsRequest:
280
301
  def admin_state_up(self):
281
302
  """Gets the admin_state_up of this ListPoolsRequest.
282
303
 
283
- 后端云服务器组的管理状态。 不支持该字段,请勿使用。
304
+ 后端云服务器组的管理状态。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
284
305
 
285
306
  :return: The admin_state_up of this ListPoolsRequest.
286
307
  :rtype: bool
@@ -291,7 +312,7 @@ class ListPoolsRequest:
291
312
  def admin_state_up(self, admin_state_up):
292
313
  """Sets the admin_state_up of this ListPoolsRequest.
293
314
 
294
- 后端云服务器组的管理状态。 不支持该字段,请勿使用。
315
+ 后端云服务器组的管理状态。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
295
316
 
296
317
  :param admin_state_up: The admin_state_up of this ListPoolsRequest.
297
318
  :type admin_state_up: bool
@@ -390,7 +411,7 @@ class ListPoolsRequest:
390
411
  def protocol(self):
391
412
  """Gets the protocol of this ListPoolsRequest.
392
413
 
393
- 后端云服务器组的后端协议。 取值:TCP、UDP、HTTP、HTTPS、QUIC和TCPSSL。 支持多值查询,查询条件格式:*protocol=xxx&protocol=xxx*。 [不支持QUIC协议。](tag:hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC。](tag:dt,dt_test)
414
+ 后端云服务器组的后端协议。 取值:TCP、UDP、[IP、](tag:hws_eu)TLS、HTTP、HTTPS、QUIC和GRPC。 支持多值查询,查询条件格式:*protocol=xxx&protocol=xxx*。 [不支持QUIC协议。](tag:hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC。](tag:dt,dt_test)
394
415
 
395
416
  :return: The protocol of this ListPoolsRequest.
396
417
  :rtype: list[str]
@@ -401,7 +422,7 @@ class ListPoolsRequest:
401
422
  def protocol(self, protocol):
402
423
  """Sets the protocol of this ListPoolsRequest.
403
424
 
404
- 后端云服务器组的后端协议。 取值:TCP、UDP、HTTP、HTTPS、QUIC和TCPSSL。 支持多值查询,查询条件格式:*protocol=xxx&protocol=xxx*。 [不支持QUIC协议。](tag:hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC。](tag:dt,dt_test)
425
+ 后端云服务器组的后端协议。 取值:TCP、UDP、[IP、](tag:hws_eu)TLS、HTTP、HTTPS、QUIC和GRPC。 支持多值查询,查询条件格式:*protocol=xxx&protocol=xxx*。 [不支持QUIC协议。](tag:hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC。](tag:dt,dt_test)
405
426
 
406
427
  :param protocol: The protocol of this ListPoolsRequest.
407
428
  :type protocol: list[str]
@@ -412,7 +433,7 @@ class ListPoolsRequest:
412
433
  def lb_algorithm(self):
413
434
  """Gets the lb_algorithm of this ListPoolsRequest.
414
435
 
415
- 后端云服务器组的负载均衡算法。 取值: - ROUND_ROBIN:加权轮询算法。 - LEAST_CONNECTIONS:加权最少连接算法。 - SOURCE_IP:源IP算法。 - QUIC_CID:连接ID算法。 支持多值查询,查询条件格式:*lb_algorithm=xxx&lb_algorithm=xxx*。 [不支持QUIC_CID。](tag:hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC_CID。](tag:dt,dt_test)
436
+ 后端云服务器组的负载均衡算法。 取值: - ROUND_ROBIN:加权轮询算法。 - LEAST_CONNECTIONS:加权最少连接算法。 - SOURCE_IP:源IP算法。 - QUIC_CID:连接ID算法。 [- 2_TUPLE_HASH:二元组hash算法,仅IP类型的pool支持。 - 3_TUPLE_HASH:三元组hash算法,仅IP类型的pool支持。 - 4_TUPLE_HASH:五元组hash算法,仅IP类型的pool支持。](tag:hws_eu) 支持多值查询,查询条件格式:*lb_algorithm=xxx&lb_algorithm=xxx*。 [不支持QUIC_CID。](tag:hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC_CID。](tag:dt,dt_test)
416
437
 
417
438
  :return: The lb_algorithm of this ListPoolsRequest.
418
439
  :rtype: list[str]
@@ -423,7 +444,7 @@ class ListPoolsRequest:
423
444
  def lb_algorithm(self, lb_algorithm):
424
445
  """Sets the lb_algorithm of this ListPoolsRequest.
425
446
 
426
- 后端云服务器组的负载均衡算法。 取值: - ROUND_ROBIN:加权轮询算法。 - LEAST_CONNECTIONS:加权最少连接算法。 - SOURCE_IP:源IP算法。 - QUIC_CID:连接ID算法。 支持多值查询,查询条件格式:*lb_algorithm=xxx&lb_algorithm=xxx*。 [不支持QUIC_CID。](tag:hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC_CID。](tag:dt,dt_test)
447
+ 后端云服务器组的负载均衡算法。 取值: - ROUND_ROBIN:加权轮询算法。 - LEAST_CONNECTIONS:加权最少连接算法。 - SOURCE_IP:源IP算法。 - QUIC_CID:连接ID算法。 [- 2_TUPLE_HASH:二元组hash算法,仅IP类型的pool支持。 - 3_TUPLE_HASH:三元组hash算法,仅IP类型的pool支持。 - 4_TUPLE_HASH:五元组hash算法,仅IP类型的pool支持。](tag:hws_eu) 支持多值查询,查询条件格式:*lb_algorithm=xxx&lb_algorithm=xxx*。 [不支持QUIC_CID。](tag:hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC_CID。](tag:dt,dt_test)
427
448
 
428
449
  :param lb_algorithm: The lb_algorithm of this ListPoolsRequest.
429
450
  :type lb_algorithm: list[str]
@@ -522,7 +543,7 @@ class ListPoolsRequest:
522
543
  def member_deletion_protection_enable(self):
523
544
  """Gets the member_deletion_protection_enable of this ListPoolsRequest.
524
545
 
525
- 是否开启删除保护,false不开启,true开启,不传查询全部。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42) [荷兰region不支持该字段,请勿使用。](tag:dt)
546
+ 是否开启删除保护,false不开启,true开启,不传查询全部。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42) [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
526
547
 
527
548
  :return: The member_deletion_protection_enable of this ListPoolsRequest.
528
549
  :rtype: bool
@@ -533,7 +554,7 @@ class ListPoolsRequest:
533
554
  def member_deletion_protection_enable(self, member_deletion_protection_enable):
534
555
  """Sets the member_deletion_protection_enable of this ListPoolsRequest.
535
556
 
536
- 是否开启删除保护,false不开启,true开启,不传查询全部。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42) [荷兰region不支持该字段,请勿使用。](tag:dt)
557
+ 是否开启删除保护,false不开启,true开启,不传查询全部。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42) [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
537
558
 
538
559
  :param member_deletion_protection_enable: The member_deletion_protection_enable of this ListPoolsRequest.
539
560
  :type member_deletion_protection_enable: bool
@@ -672,6 +693,72 @@ class ListPoolsRequest:
672
693
  """
673
694
  self._connection_drain = connection_drain
674
695
 
696
+ @property
697
+ def pool_health(self):
698
+ """Gets the pool_health of this ListPoolsRequest.
699
+
700
+ 查询是否开启后端全下线转发功能,查询条件格式:*pool_health=minimum_healthy_member_count=0或者*pool_health=minimum_healthy_member_count=1
701
+
702
+ :return: The pool_health of this ListPoolsRequest.
703
+ :rtype: str
704
+ """
705
+ return self._pool_health
706
+
707
+ @pool_health.setter
708
+ def pool_health(self, pool_health):
709
+ """Sets the pool_health of this ListPoolsRequest.
710
+
711
+ 查询是否开启后端全下线转发功能,查询条件格式:*pool_health=minimum_healthy_member_count=0或者*pool_health=minimum_healthy_member_count=1
712
+
713
+ :param pool_health: The pool_health of this ListPoolsRequest.
714
+ :type pool_health: str
715
+ """
716
+ self._pool_health = pool_health
717
+
718
+ @property
719
+ def any_port_enable(self):
720
+ """Gets the any_port_enable of this ListPoolsRequest.
721
+
722
+ 后端是否开启端口透传。开启后,后端服务器端口与前端监听器端口保持一致。取值:false不开启,true开启。
723
+
724
+ :return: The any_port_enable of this ListPoolsRequest.
725
+ :rtype: bool
726
+ """
727
+ return self._any_port_enable
728
+
729
+ @any_port_enable.setter
730
+ def any_port_enable(self, any_port_enable):
731
+ """Sets the any_port_enable of this ListPoolsRequest.
732
+
733
+ 后端是否开启端口透传。开启后,后端服务器端口与前端监听器端口保持一致。取值:false不开启,true开启。
734
+
735
+ :param any_port_enable: The any_port_enable of this ListPoolsRequest.
736
+ :type any_port_enable: bool
737
+ """
738
+ self._any_port_enable = any_port_enable
739
+
740
+ @property
741
+ def public_border_group(self):
742
+ """Gets the public_border_group of this ListPoolsRequest.
743
+
744
+ 可用区组
745
+
746
+ :return: The public_border_group of this ListPoolsRequest.
747
+ :rtype: str
748
+ """
749
+ return self._public_border_group
750
+
751
+ @public_border_group.setter
752
+ def public_border_group(self, public_border_group):
753
+ """Sets the public_border_group of this ListPoolsRequest.
754
+
755
+ 可用区组
756
+
757
+ :param public_border_group: The public_border_group of this ListPoolsRequest.
758
+ :type public_border_group: str
759
+ """
760
+ self._public_border_group = public_border_group
761
+
675
762
  def to_dict(self):
676
763
  """Returns the model properties as a dict"""
677
764
  result = {}
@@ -45,7 +45,7 @@ class ListSecurityPoliciesRequest:
45
45
 
46
46
  :param marker: 上一页最后一条记录的ID。 使用说明: - 必须与limit一起使用。 - 不指定时表示查询第一页。 - 该字段不允许为空或无效的ID。
47
47
  :type marker: str
48
- :param limit: 每页返回的个数。
48
+ :param limit: 参数解释:每页返回的个数。 取值范围:0-2000 默认取值:2000
49
49
  :type limit: int
50
50
  :param page_reverse: 是否反向查询。 取值: - true:查询上一页。 - false:查询下一页,默认。 使用说明: - 必须与limit一起使用。 - 当page_reverse=true时,若要查询上一页,marker取值为当前页返回值的previous_marker。
51
51
  :type page_reverse: bool
@@ -116,7 +116,7 @@ class ListSecurityPoliciesRequest:
116
116
  def limit(self):
117
117
  """Gets the limit of this ListSecurityPoliciesRequest.
118
118
 
119
- 每页返回的个数。
119
+ 参数解释:每页返回的个数。 取值范围:0-2000 默认取值:2000
120
120
 
121
121
  :return: The limit of this ListSecurityPoliciesRequest.
122
122
  :rtype: int
@@ -127,7 +127,7 @@ class ListSecurityPoliciesRequest:
127
127
  def limit(self, limit):
128
128
  """Sets the limit of this ListSecurityPoliciesRequest.
129
129
 
130
- 每页返回的个数。
130
+ 参数解释:每页返回的个数。 取值范围:0-2000 默认取值:2000
131
131
 
132
132
  :param limit: The limit of this ListSecurityPoliciesRequest.
133
133
  :type limit: int
@@ -97,7 +97,7 @@ class Listener:
97
97
 
98
98
  The model defined in huaweicloud sdk
99
99
 
100
- :param admin_state_up: 监听器的管理状态。只能设置为true。 不支持该字段,请勿使用。
100
+ :param admin_state_up: 监听器的管理状态。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
101
101
  :type admin_state_up: bool
102
102
  :param client_ca_tls_container_ref: 监听器使用的CA证书ID。当且仅当type=client时,才会使用该字段对应的证书。
103
103
  :type client_ca_tls_container_ref: str
@@ -123,7 +123,7 @@ class Listener:
123
123
  :type name: str
124
124
  :param project_id: 监听器所在的项目ID。
125
125
  :type project_id: str
126
- :param protocol: 监听器的监听协议。 [取值:TCP、UDP、HTTP、HTTPS、TERMINATED_HTTPS、QUIC、TCPSSL。 使用说明: - 共享型LB上的HTTPS监听器只支持设置为TERMINATED_HTTPS, 创建时传入HTTPS将会自动转为TERMINATED_HTTPS。 - 独享型LB上的HTTPS监听器只支持设置为HTTPS,创建时传入TERMINATED_HTTPS将会自动转为HTTPS。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,fcs,dt) [取值:TCP、UDP、HTTP、HTTPS。](tag:hws_eu,hcso_dt) [不支持QUIC。](tag:tm,dt,dt_test)
126
+ :param protocol: 监听器的监听协议。 [取值:TCP、UDP、HTTP、HTTPS、TERMINATED_HTTPS、QUIC、TLS。 使用说明: - 共享型LB上的HTTPS监听器只支持设置为TERMINATED_HTTPS, 创建时传入HTTPS将会自动转为TERMINATED_HTTPS。 - 独享型LB上的HTTPS监听器只支持设置为HTTPS,创建时传入TERMINATED_HTTPS将会自动转为HTTPS。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt) [取值:TCP、UDP、IP、HTTP、HTTPS。IP为网关型LB上的监听器独有的协议。](tag:hws_eu,hcso_dt) [不支持QUIC。](tag:tm,dt,dt_test)
127
127
  :type protocol: str
128
128
  :param protocol_port: 监听器的监听端口。QUIC监听器端口不能是4789,且不能和UDP监听器端口重复。传0时表示开启监听端口范围的能力,此时port_ranges为必填字段。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test)
129
129
  :type protocol_port: int
@@ -135,13 +135,13 @@ class Listener:
135
135
  :type tags: list[:class:`huaweicloudsdkelb.v3.Tag`]
136
136
  :param updated_at: 监听器的更新时间。格式:yyyy-MM-dd'T'HH:mm:ss'Z',如:2021-07-30T12:03:44Z
137
137
  :type updated_at: str
138
- :param tls_ciphers_policy: 监听器使用的安全策略。 [取值:tls-1-0-inherit,tls-1-0, tls-1-1, tls-1-2,tls-1-2-stricttls-1-2-fstls-1-0-with-1-3, tls-1-2-fs-with-1-3, hybrid-policy-1-0,默认:tls-1-0。 ](tag:hws,hws_hk,ocb,tlf,ctc,hcso,sbc,tm,cmcc,dt) [取值:tls-1-0, tls-1-1, tls-1-2, tls-1-2-strict,默认:tls-1-0。](tag:hws_eu,g42,hk_g42,hcso_dt) [使用说明: - 仅对HTTPS协议类型的监听器且关联LB为独享型时有效。 - QUIC监听器不支持该字段。 - 若同时设置了security_policy_id和tls_ciphers_policy,则仅security_policy_id生效。 - 加密套件的优先顺序为ecc套件、rsa套件、tls1.3协议的套件(即支持ecc又支持rsa) ](tag:hws,hws_hk,hws_eu,ocb,tlf,ctc,hcso,sbc,g42,tm,cmcc,hk-g42,dt) [使用说明: - 仅对HTTPS协议类型的监听器有效](tag:hcso_dt) [不支持tls1.3协议的套件。](tag:tm,hws_eu,g42,hk_g42) [不支持QUIC。](tag:tm,dt,dt_test)
138
+ :param tls_ciphers_policy: 监听器使用的安全策略。 [取值:tls-1-0-inherittls-1-0tls-1-1 tls-1-2tls-1-2-stricttls-1-2-fstls-1-0-with-1-3 tls-1-2-fs-with-1-3 hybrid-policy-1-0、tls-1-2-strict-no-cbc,默认:tls-1-0。 ](tag:hws,hws_hk,ocb,tlf,ctc,hcso,sbc,tm,cmcc,dt) [取值:tls-1-0tls-1-1tls-1-2 tls-1-2-strict,默认:tls-1-0。](tag:hws_eu,g42,hk_g42,hcso_dt) [使用说明: - 仅对HTTPS协议类型的监听器且关联LB为独享型时有效。 - QUIC监听器不支持该字段。 - 若同时设置了security_policy_id和tls_ciphers_policy,则仅security_policy_id生效。 - 加密套件的优先顺序为ecc套件、rsa套件、tls1.3协议的套件(即支持ecc又支持rsa) ](tag:hws,hws_hk,hws_eu,ocb,tlf,ctc,hcso,sbc,g42,tm,cmcc,hk-g42,dt) [使用说明: - 仅对HTTPS协议类型的监听器有效](tag:hcso_dt) [不支持tls1.3协议的套件。](tag:tm,hws_eu,g42,hk_g42) [不支持QUIC。](tag:tm,dt,dt_test)
139
139
  :type tls_ciphers_policy: str
140
140
  :param security_policy_id: 自定义安全策略的ID。 [使用说明: - 仅对HTTPS协议类型的监听器且关联LB为独享型时有效。 - 若同时设置了security_policy_id和tls_ciphers_policy,则仅security_policy_id生效。 - 加密套件的优先顺序为ecc套件、rsa套件、tls1.3协议的套件(即支持ecc又支持rsa) ](tag:hws,hws_hk,hws_eu,ocb,ctc,hcso,g42,tm,cmcc,hk-g42,dt) [使用说明: - 仅对HTTPS协议类型的监听器有效](tag:hcso_dt) [不支持tls1.3协议的套件。](tag:tm,hws_eu,g42,hk_g42)
141
141
  :type security_policy_id: str
142
- :param enable_member_retry: 是否开启后端服务器的重试。 取值:true 开启重试,false 不开启重试。默认:true。 [使用说明: - 若关联是共享型LB,仅在protocol为HTTP、TERMINATED_HTTPS时才能传入该字段。 - 若关联是独享型LB,仅在protocol为HTTP、HTTPS和QUIC时才能传入该字段。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,fcs,dt) [使用说明: - 仅在protocol为HTTP、HTTPS时才能传入该字段。](tag:hws_eu,hcso_dt) [不支持QUIC。](tag:tm,dt,dt_test)
142
+ :param enable_member_retry: 是否开启后端服务器的重试。 取值:true 开启重试,false 不开启重试。默认:true。 [使用说明: - 若关联是共享型LB,仅在protocol为HTTP、TERMINATED_HTTPS时才能传入该字段。 - 若关联是独享型LB,仅在protocol为HTTP、HTTPS和QUIC时才能传入该字段。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt) [使用说明: - 仅在protocol为HTTP、HTTPS时才能传入该字段。](tag:hws_eu,hcso_dt) [不支持QUIC。](tag:tm,dt,dt_test)
143
143
  :type enable_member_retry: bool
144
- :param keepalive_timeout: 客户端连接空闲超时时间。在超过keepalive_timeout时长一直没有请求, 负载均衡会暂时中断当前连接,直到下一次请求时重新建立新的连接。 取值: - 若为TCP监听器,取值范围为(10-4000s)默认值为300s。 - 若为HTTP/HTTPS/TERMINATED_HTTPS监听器,取值范围为(0-4000s)默认值为60s。 共享型实例的UDP监听器不支持此字段。
144
+ :param keepalive_timeout: 客户端连接空闲超时时间。在超过keepalive_timeout时长一直没有请求, 负载均衡会暂时中断当前连接,直到下一次请求时重新建立新的连接。 取值: - TCP监听器[和IP监听器](tag:hws_eu):10-4000s,默认值为300s。 - 若为HTTP/HTTPS/TERMINATED_HTTPS监听器,取值范围为(0-4000s)默认值为60s。 共享型实例的UDP监听器不支持此字段。
145
145
  :type keepalive_timeout: int
146
146
  :param client_timeout: 等待客户端请求超时时间,包括两种情况: - 读取整个客户端请求头的超时时长:如果客户端未在超时时长内发送完整个请求头,则请求将被中断 - 两个连续body体的数据包到达LB的时间间隔,超出client_timeout将会断开连接。 取值范围为1-300s,默认值为60s。 使用说明:仅协议为HTTP/HTTPS的监听器支持该字段。
147
147
  :type client_timeout: int
@@ -149,11 +149,11 @@ class Listener:
149
149
  :type member_timeout: int
150
150
  :param ipgroup:
151
151
  :type ipgroup: :class:`huaweicloudsdkelb.v3.ListenerIpGroup`
152
- :param transparent_client_ip_enable: 是否透传客户端IP地址。开启后客户端IP地址将透传到后端服务器。 [仅作用于共享型LB的TCP/UDP监听器。 取值: - 共享型LB的TCP/UDP监听器可设置为true或false,不传默认为false。 - 共享型LB的HTTP/HTTPS监听器只支持设置为true,不传默认为true。 - 独享型负载均衡器所有协议的监听器只支持设置为true,不传默认为true。 使用说明: - 开启特性后,ELB和后端服务器之间直接使用真实的IP访问,需要确保已正确设置服务器的安全组以及访问控制策略。 - 开启特性后,不支持同一台服务器既作为后端服务器又作为客户端的场景。 - 开启特性后,不支持变更后端服务器规格。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,fcs,dt) [只设支持置为true,不传默认为true。](tag:hws_eu,hcso_dt)
152
+ :param transparent_client_ip_enable: 是否透传客户端IP地址。开启后客户端IP地址将透传到后端服务器。 [仅作用于共享型LB的TCP/UDP监听器。 取值: - 共享型LB的TCP/UDP监听器可设置为true或false,不传默认为false。 - 共享型LB的HTTP/HTTPS监听器只支持设置为true,不传默认为true。 - 独享型负载均衡器所有协议的监听器只支持设置为true,不传默认为true。 使用说明: - 开启特性后,ELB和后端服务器之间直接使用真实的IP访问,需要确保已正确设置服务器的安全组以及访问控制策略。 - 开启特性后,不支持同一台服务器既作为后端服务器又作为客户端的场景。 - 开启特性后,不支持变更后端服务器规格。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt) [只设支持置为true,不传默认为true。](tag:hws_eu,hcso_dt)
153
153
  :type transparent_client_ip_enable: bool
154
- :param proxy_protocol_enable: 是否开启proxy_protocol。仅tcpssl监听器可指定,其他协议的监听器该字段不生效,proxy_protocol不开启。
154
+ :param proxy_protocol_enable: 是否开启proxy_protocol。仅TLS监听器可指定,其他协议的监听器该字段不生效,proxy_protocol不开启。
155
155
  :type proxy_protocol_enable: bool
156
- :param enhance_l7policy_enable: 是否开启高级转发策略功能。开启高级转发策略后,支持更灵活的转发策略和转发规则设置。 取值:true开启,false不开启,默认false。 开启后支持如下场景: - 转发策略的action字段支持指定为REDIRECT_TO_URL, FIXED_RESPONSE,即支持URL重定向和响应固定的内容给客户端。 - 转发策略支持指定priority、redirect_url_config、fixed_response_config字段。 - 转发规则rule的type可以指定METHOD, HEADER, QUERY_STRING, SOURCE_IP这几种取值。 - 转发规则rule的type为HOST_NAME时,转发规则rule的value支持通配符*。 - 转发规则支持指定conditions字段。 [荷兰region不支持该字段,请勿使用。](tag:dt)
156
+ :param enhance_l7policy_enable: 是否开启高级转发策略功能。开启高级转发策略后,支持更灵活的转发策略和转发规则设置。 取值:true开启,false不开启,默认false。 开启后支持如下场景: - 转发策略的action字段支持指定为REDIRECT_TO_URL, FIXED_RESPONSE,即支持URL重定向和响应固定的内容给客户端。 - 转发策略支持指定priority、redirect_url_config、fixed_response_config字段。 - 转发规则rule的type可以指定METHOD, HEADER, QUERY_STRING, SOURCE_IP这几种取值。 - 转发规则rule的type为HOST_NAME时,转发规则rule的value支持通配符*。 - 转发规则支持指定conditions字段。 [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
157
157
  :type enhance_l7policy_enable: bool
158
158
  :param quic_config:
159
159
  :type quic_config: :class:`huaweicloudsdkelb.v3.ListenerQuicConfig`
@@ -161,7 +161,7 @@ class Listener:
161
161
  :type protection_status: str
162
162
  :param protection_reason: 设置保护的原因 >仅当protection_status为consoleProtection时有效。
163
163
  :type protection_reason: str
164
- :param gzip_enable: ELB是否开启gzip压缩,缺省值:false,非必选 [仅HTTP/HTTPS类型监听器支持配置。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test) [仅HTTP/HTTPS/QUIC类型监听器支持配置。](tag:hws,hws_hk,hws_test,hcs,hcs_sm,hcso,fcs,fcs_vm,mix,ocb,ctc,cmcc,sbc,hws_ocb,hk_sbc)
164
+ :param gzip_enable: ELB是否开启gzip压缩,缺省值:false,非必选 [仅HTTP/HTTPS类型监听器支持配置。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test) [仅HTTP/HTTPS/QUIC类型监听器支持配置。](tag:hws,hws_hk,hws_test,hcs,hcs_sm,hcso,hk_vdf,fcs,fcs_vm,mix,ocb,ctc,cmcc,sbc,hws_ocb,hk_sbc)
165
165
  :type gzip_enable: bool
166
166
  :param port_ranges: 端口监听范围(闭区间),最多指定10个端口组,每个组范围不可有重叠部分 >仅当protocol_port为0时可以传入。
167
167
  :type port_ranges: list[:class:`huaweicloudsdkelb.v3.PortRange`]
@@ -255,7 +255,7 @@ class Listener:
255
255
  def admin_state_up(self):
256
256
  """Gets the admin_state_up of this Listener.
257
257
 
258
- 监听器的管理状态。只能设置为true。 不支持该字段,请勿使用。
258
+ 监听器的管理状态。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
259
259
 
260
260
  :return: The admin_state_up of this Listener.
261
261
  :rtype: bool
@@ -266,7 +266,7 @@ class Listener:
266
266
  def admin_state_up(self, admin_state_up):
267
267
  """Sets the admin_state_up of this Listener.
268
268
 
269
- 监听器的管理状态。只能设置为true。 不支持该字段,请勿使用。
269
+ 监听器的管理状态。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
270
270
 
271
271
  :param admin_state_up: The admin_state_up of this Listener.
272
272
  :type admin_state_up: bool
@@ -537,7 +537,7 @@ class Listener:
537
537
  def protocol(self):
538
538
  """Gets the protocol of this Listener.
539
539
 
540
- 监听器的监听协议。 [取值:TCP、UDP、HTTP、HTTPS、TERMINATED_HTTPS、QUIC、TCPSSL。 使用说明: - 共享型LB上的HTTPS监听器只支持设置为TERMINATED_HTTPS, 创建时传入HTTPS将会自动转为TERMINATED_HTTPS。 - 独享型LB上的HTTPS监听器只支持设置为HTTPS,创建时传入TERMINATED_HTTPS将会自动转为HTTPS。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,fcs,dt) [取值:TCP、UDP、HTTP、HTTPS。](tag:hws_eu,hcso_dt) [不支持QUIC。](tag:tm,dt,dt_test)
540
+ 监听器的监听协议。 [取值:TCP、UDP、HTTP、HTTPS、TERMINATED_HTTPS、QUIC、TLS。 使用说明: - 共享型LB上的HTTPS监听器只支持设置为TERMINATED_HTTPS, 创建时传入HTTPS将会自动转为TERMINATED_HTTPS。 - 独享型LB上的HTTPS监听器只支持设置为HTTPS,创建时传入TERMINATED_HTTPS将会自动转为HTTPS。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt) [取值:TCP、UDP、IP、HTTP、HTTPS。IP为网关型LB上的监听器独有的协议。](tag:hws_eu,hcso_dt) [不支持QUIC。](tag:tm,dt,dt_test)
541
541
 
542
542
  :return: The protocol of this Listener.
543
543
  :rtype: str
@@ -548,7 +548,7 @@ class Listener:
548
548
  def protocol(self, protocol):
549
549
  """Sets the protocol of this Listener.
550
550
 
551
- 监听器的监听协议。 [取值:TCP、UDP、HTTP、HTTPS、TERMINATED_HTTPS、QUIC、TCPSSL。 使用说明: - 共享型LB上的HTTPS监听器只支持设置为TERMINATED_HTTPS, 创建时传入HTTPS将会自动转为TERMINATED_HTTPS。 - 独享型LB上的HTTPS监听器只支持设置为HTTPS,创建时传入TERMINATED_HTTPS将会自动转为HTTPS。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,fcs,dt) [取值:TCP、UDP、HTTP、HTTPS。](tag:hws_eu,hcso_dt) [不支持QUIC。](tag:tm,dt,dt_test)
551
+ 监听器的监听协议。 [取值:TCP、UDP、HTTP、HTTPS、TERMINATED_HTTPS、QUIC、TLS。 使用说明: - 共享型LB上的HTTPS监听器只支持设置为TERMINATED_HTTPS, 创建时传入HTTPS将会自动转为TERMINATED_HTTPS。 - 独享型LB上的HTTPS监听器只支持设置为HTTPS,创建时传入TERMINATED_HTTPS将会自动转为HTTPS。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt) [取值:TCP、UDP、IP、HTTP、HTTPS。IP为网关型LB上的监听器独有的协议。](tag:hws_eu,hcso_dt) [不支持QUIC。](tag:tm,dt,dt_test)
552
552
 
553
553
  :param protocol: The protocol of this Listener.
554
554
  :type protocol: str
@@ -669,7 +669,7 @@ class Listener:
669
669
  def tls_ciphers_policy(self):
670
670
  """Gets the tls_ciphers_policy of this Listener.
671
671
 
672
- 监听器使用的安全策略。 [取值:tls-1-0-inherit,tls-1-0, tls-1-1, tls-1-2,tls-1-2-stricttls-1-2-fstls-1-0-with-1-3, tls-1-2-fs-with-1-3, hybrid-policy-1-0,默认:tls-1-0。 ](tag:hws,hws_hk,ocb,tlf,ctc,hcso,sbc,tm,cmcc,dt) [取值:tls-1-0, tls-1-1, tls-1-2, tls-1-2-strict,默认:tls-1-0。](tag:hws_eu,g42,hk_g42,hcso_dt) [使用说明: - 仅对HTTPS协议类型的监听器且关联LB为独享型时有效。 - QUIC监听器不支持该字段。 - 若同时设置了security_policy_id和tls_ciphers_policy,则仅security_policy_id生效。 - 加密套件的优先顺序为ecc套件、rsa套件、tls1.3协议的套件(即支持ecc又支持rsa) ](tag:hws,hws_hk,hws_eu,ocb,tlf,ctc,hcso,sbc,g42,tm,cmcc,hk-g42,dt) [使用说明: - 仅对HTTPS协议类型的监听器有效](tag:hcso_dt) [不支持tls1.3协议的套件。](tag:tm,hws_eu,g42,hk_g42) [不支持QUIC。](tag:tm,dt,dt_test)
672
+ 监听器使用的安全策略。 [取值:tls-1-0-inherittls-1-0tls-1-1 tls-1-2tls-1-2-stricttls-1-2-fstls-1-0-with-1-3 tls-1-2-fs-with-1-3 hybrid-policy-1-0、tls-1-2-strict-no-cbc,默认:tls-1-0。 ](tag:hws,hws_hk,ocb,tlf,ctc,hcso,sbc,tm,cmcc,dt) [取值:tls-1-0tls-1-1tls-1-2 tls-1-2-strict,默认:tls-1-0。](tag:hws_eu,g42,hk_g42,hcso_dt) [使用说明: - 仅对HTTPS协议类型的监听器且关联LB为独享型时有效。 - QUIC监听器不支持该字段。 - 若同时设置了security_policy_id和tls_ciphers_policy,则仅security_policy_id生效。 - 加密套件的优先顺序为ecc套件、rsa套件、tls1.3协议的套件(即支持ecc又支持rsa) ](tag:hws,hws_hk,hws_eu,ocb,tlf,ctc,hcso,sbc,g42,tm,cmcc,hk-g42,dt) [使用说明: - 仅对HTTPS协议类型的监听器有效](tag:hcso_dt) [不支持tls1.3协议的套件。](tag:tm,hws_eu,g42,hk_g42) [不支持QUIC。](tag:tm,dt,dt_test)
673
673
 
674
674
  :return: The tls_ciphers_policy of this Listener.
675
675
  :rtype: str
@@ -680,7 +680,7 @@ class Listener:
680
680
  def tls_ciphers_policy(self, tls_ciphers_policy):
681
681
  """Sets the tls_ciphers_policy of this Listener.
682
682
 
683
- 监听器使用的安全策略。 [取值:tls-1-0-inherit,tls-1-0, tls-1-1, tls-1-2,tls-1-2-stricttls-1-2-fstls-1-0-with-1-3, tls-1-2-fs-with-1-3, hybrid-policy-1-0,默认:tls-1-0。 ](tag:hws,hws_hk,ocb,tlf,ctc,hcso,sbc,tm,cmcc,dt) [取值:tls-1-0, tls-1-1, tls-1-2, tls-1-2-strict,默认:tls-1-0。](tag:hws_eu,g42,hk_g42,hcso_dt) [使用说明: - 仅对HTTPS协议类型的监听器且关联LB为独享型时有效。 - QUIC监听器不支持该字段。 - 若同时设置了security_policy_id和tls_ciphers_policy,则仅security_policy_id生效。 - 加密套件的优先顺序为ecc套件、rsa套件、tls1.3协议的套件(即支持ecc又支持rsa) ](tag:hws,hws_hk,hws_eu,ocb,tlf,ctc,hcso,sbc,g42,tm,cmcc,hk-g42,dt) [使用说明: - 仅对HTTPS协议类型的监听器有效](tag:hcso_dt) [不支持tls1.3协议的套件。](tag:tm,hws_eu,g42,hk_g42) [不支持QUIC。](tag:tm,dt,dt_test)
683
+ 监听器使用的安全策略。 [取值:tls-1-0-inherittls-1-0tls-1-1 tls-1-2tls-1-2-stricttls-1-2-fstls-1-0-with-1-3 tls-1-2-fs-with-1-3 hybrid-policy-1-0、tls-1-2-strict-no-cbc,默认:tls-1-0。 ](tag:hws,hws_hk,ocb,tlf,ctc,hcso,sbc,tm,cmcc,dt) [取值:tls-1-0tls-1-1tls-1-2 tls-1-2-strict,默认:tls-1-0。](tag:hws_eu,g42,hk_g42,hcso_dt) [使用说明: - 仅对HTTPS协议类型的监听器且关联LB为独享型时有效。 - QUIC监听器不支持该字段。 - 若同时设置了security_policy_id和tls_ciphers_policy,则仅security_policy_id生效。 - 加密套件的优先顺序为ecc套件、rsa套件、tls1.3协议的套件(即支持ecc又支持rsa) ](tag:hws,hws_hk,hws_eu,ocb,tlf,ctc,hcso,sbc,g42,tm,cmcc,hk-g42,dt) [使用说明: - 仅对HTTPS协议类型的监听器有效](tag:hcso_dt) [不支持tls1.3协议的套件。](tag:tm,hws_eu,g42,hk_g42) [不支持QUIC。](tag:tm,dt,dt_test)
684
684
 
685
685
  :param tls_ciphers_policy: The tls_ciphers_policy of this Listener.
686
686
  :type tls_ciphers_policy: str
@@ -713,7 +713,7 @@ class Listener:
713
713
  def enable_member_retry(self):
714
714
  """Gets the enable_member_retry of this Listener.
715
715
 
716
- 是否开启后端服务器的重试。 取值:true 开启重试,false 不开启重试。默认:true。 [使用说明: - 若关联是共享型LB,仅在protocol为HTTP、TERMINATED_HTTPS时才能传入该字段。 - 若关联是独享型LB,仅在protocol为HTTP、HTTPS和QUIC时才能传入该字段。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,fcs,dt) [使用说明: - 仅在protocol为HTTP、HTTPS时才能传入该字段。](tag:hws_eu,hcso_dt) [不支持QUIC。](tag:tm,dt,dt_test)
716
+ 是否开启后端服务器的重试。 取值:true 开启重试,false 不开启重试。默认:true。 [使用说明: - 若关联是共享型LB,仅在protocol为HTTP、TERMINATED_HTTPS时才能传入该字段。 - 若关联是独享型LB,仅在protocol为HTTP、HTTPS和QUIC时才能传入该字段。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt) [使用说明: - 仅在protocol为HTTP、HTTPS时才能传入该字段。](tag:hws_eu,hcso_dt) [不支持QUIC。](tag:tm,dt,dt_test)
717
717
 
718
718
  :return: The enable_member_retry of this Listener.
719
719
  :rtype: bool
@@ -724,7 +724,7 @@ class Listener:
724
724
  def enable_member_retry(self, enable_member_retry):
725
725
  """Sets the enable_member_retry of this Listener.
726
726
 
727
- 是否开启后端服务器的重试。 取值:true 开启重试,false 不开启重试。默认:true。 [使用说明: - 若关联是共享型LB,仅在protocol为HTTP、TERMINATED_HTTPS时才能传入该字段。 - 若关联是独享型LB,仅在protocol为HTTP、HTTPS和QUIC时才能传入该字段。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,fcs,dt) [使用说明: - 仅在protocol为HTTP、HTTPS时才能传入该字段。](tag:hws_eu,hcso_dt) [不支持QUIC。](tag:tm,dt,dt_test)
727
+ 是否开启后端服务器的重试。 取值:true 开启重试,false 不开启重试。默认:true。 [使用说明: - 若关联是共享型LB,仅在protocol为HTTP、TERMINATED_HTTPS时才能传入该字段。 - 若关联是独享型LB,仅在protocol为HTTP、HTTPS和QUIC时才能传入该字段。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt) [使用说明: - 仅在protocol为HTTP、HTTPS时才能传入该字段。](tag:hws_eu,hcso_dt) [不支持QUIC。](tag:tm,dt,dt_test)
728
728
 
729
729
  :param enable_member_retry: The enable_member_retry of this Listener.
730
730
  :type enable_member_retry: bool
@@ -735,7 +735,7 @@ class Listener:
735
735
  def keepalive_timeout(self):
736
736
  """Gets the keepalive_timeout of this Listener.
737
737
 
738
- 客户端连接空闲超时时间。在超过keepalive_timeout时长一直没有请求, 负载均衡会暂时中断当前连接,直到下一次请求时重新建立新的连接。 取值: - 若为TCP监听器,取值范围为(10-4000s)默认值为300s。 - 若为HTTP/HTTPS/TERMINATED_HTTPS监听器,取值范围为(0-4000s)默认值为60s。 共享型实例的UDP监听器不支持此字段。
738
+ 客户端连接空闲超时时间。在超过keepalive_timeout时长一直没有请求, 负载均衡会暂时中断当前连接,直到下一次请求时重新建立新的连接。 取值: - TCP监听器[和IP监听器](tag:hws_eu):10-4000s,默认值为300s。 - 若为HTTP/HTTPS/TERMINATED_HTTPS监听器,取值范围为(0-4000s)默认值为60s。 共享型实例的UDP监听器不支持此字段。
739
739
 
740
740
  :return: The keepalive_timeout of this Listener.
741
741
  :rtype: int
@@ -746,7 +746,7 @@ class Listener:
746
746
  def keepalive_timeout(self, keepalive_timeout):
747
747
  """Sets the keepalive_timeout of this Listener.
748
748
 
749
- 客户端连接空闲超时时间。在超过keepalive_timeout时长一直没有请求, 负载均衡会暂时中断当前连接,直到下一次请求时重新建立新的连接。 取值: - 若为TCP监听器,取值范围为(10-4000s)默认值为300s。 - 若为HTTP/HTTPS/TERMINATED_HTTPS监听器,取值范围为(0-4000s)默认值为60s。 共享型实例的UDP监听器不支持此字段。
749
+ 客户端连接空闲超时时间。在超过keepalive_timeout时长一直没有请求, 负载均衡会暂时中断当前连接,直到下一次请求时重新建立新的连接。 取值: - TCP监听器[和IP监听器](tag:hws_eu):10-4000s,默认值为300s。 - 若为HTTP/HTTPS/TERMINATED_HTTPS监听器,取值范围为(0-4000s)默认值为60s。 共享型实例的UDP监听器不支持此字段。
750
750
 
751
751
  :param keepalive_timeout: The keepalive_timeout of this Listener.
752
752
  :type keepalive_timeout: int
@@ -819,7 +819,7 @@ class Listener:
819
819
  def transparent_client_ip_enable(self):
820
820
  """Gets the transparent_client_ip_enable of this Listener.
821
821
 
822
- 是否透传客户端IP地址。开启后客户端IP地址将透传到后端服务器。 [仅作用于共享型LB的TCP/UDP监听器。 取值: - 共享型LB的TCP/UDP监听器可设置为true或false,不传默认为false。 - 共享型LB的HTTP/HTTPS监听器只支持设置为true,不传默认为true。 - 独享型负载均衡器所有协议的监听器只支持设置为true,不传默认为true。 使用说明: - 开启特性后,ELB和后端服务器之间直接使用真实的IP访问,需要确保已正确设置服务器的安全组以及访问控制策略。 - 开启特性后,不支持同一台服务器既作为后端服务器又作为客户端的场景。 - 开启特性后,不支持变更后端服务器规格。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,fcs,dt) [只设支持置为true,不传默认为true。](tag:hws_eu,hcso_dt)
822
+ 是否透传客户端IP地址。开启后客户端IP地址将透传到后端服务器。 [仅作用于共享型LB的TCP/UDP监听器。 取值: - 共享型LB的TCP/UDP监听器可设置为true或false,不传默认为false。 - 共享型LB的HTTP/HTTPS监听器只支持设置为true,不传默认为true。 - 独享型负载均衡器所有协议的监听器只支持设置为true,不传默认为true。 使用说明: - 开启特性后,ELB和后端服务器之间直接使用真实的IP访问,需要确保已正确设置服务器的安全组以及访问控制策略。 - 开启特性后,不支持同一台服务器既作为后端服务器又作为客户端的场景。 - 开启特性后,不支持变更后端服务器规格。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt) [只设支持置为true,不传默认为true。](tag:hws_eu,hcso_dt)
823
823
 
824
824
  :return: The transparent_client_ip_enable of this Listener.
825
825
  :rtype: bool
@@ -830,7 +830,7 @@ class Listener:
830
830
  def transparent_client_ip_enable(self, transparent_client_ip_enable):
831
831
  """Sets the transparent_client_ip_enable of this Listener.
832
832
 
833
- 是否透传客户端IP地址。开启后客户端IP地址将透传到后端服务器。 [仅作用于共享型LB的TCP/UDP监听器。 取值: - 共享型LB的TCP/UDP监听器可设置为true或false,不传默认为false。 - 共享型LB的HTTP/HTTPS监听器只支持设置为true,不传默认为true。 - 独享型负载均衡器所有协议的监听器只支持设置为true,不传默认为true。 使用说明: - 开启特性后,ELB和后端服务器之间直接使用真实的IP访问,需要确保已正确设置服务器的安全组以及访问控制策略。 - 开启特性后,不支持同一台服务器既作为后端服务器又作为客户端的场景。 - 开启特性后,不支持变更后端服务器规格。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,fcs,dt) [只设支持置为true,不传默认为true。](tag:hws_eu,hcso_dt)
833
+ 是否透传客户端IP地址。开启后客户端IP地址将透传到后端服务器。 [仅作用于共享型LB的TCP/UDP监听器。 取值: - 共享型LB的TCP/UDP监听器可设置为true或false,不传默认为false。 - 共享型LB的HTTP/HTTPS监听器只支持设置为true,不传默认为true。 - 独享型负载均衡器所有协议的监听器只支持设置为true,不传默认为true。 使用说明: - 开启特性后,ELB和后端服务器之间直接使用真实的IP访问,需要确保已正确设置服务器的安全组以及访问控制策略。 - 开启特性后,不支持同一台服务器既作为后端服务器又作为客户端的场景。 - 开启特性后,不支持变更后端服务器规格。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt) [只设支持置为true,不传默认为true。](tag:hws_eu,hcso_dt)
834
834
 
835
835
  :param transparent_client_ip_enable: The transparent_client_ip_enable of this Listener.
836
836
  :type transparent_client_ip_enable: bool
@@ -841,7 +841,7 @@ class Listener:
841
841
  def proxy_protocol_enable(self):
842
842
  """Gets the proxy_protocol_enable of this Listener.
843
843
 
844
- 是否开启proxy_protocol。仅tcpssl监听器可指定,其他协议的监听器该字段不生效,proxy_protocol不开启。
844
+ 是否开启proxy_protocol。仅TLS监听器可指定,其他协议的监听器该字段不生效,proxy_protocol不开启。
845
845
 
846
846
  :return: The proxy_protocol_enable of this Listener.
847
847
  :rtype: bool
@@ -852,7 +852,7 @@ class Listener:
852
852
  def proxy_protocol_enable(self, proxy_protocol_enable):
853
853
  """Sets the proxy_protocol_enable of this Listener.
854
854
 
855
- 是否开启proxy_protocol。仅tcpssl监听器可指定,其他协议的监听器该字段不生效,proxy_protocol不开启。
855
+ 是否开启proxy_protocol。仅TLS监听器可指定,其他协议的监听器该字段不生效,proxy_protocol不开启。
856
856
 
857
857
  :param proxy_protocol_enable: The proxy_protocol_enable of this Listener.
858
858
  :type proxy_protocol_enable: bool
@@ -863,7 +863,7 @@ class Listener:
863
863
  def enhance_l7policy_enable(self):
864
864
  """Gets the enhance_l7policy_enable of this Listener.
865
865
 
866
- 是否开启高级转发策略功能。开启高级转发策略后,支持更灵活的转发策略和转发规则设置。 取值:true开启,false不开启,默认false。 开启后支持如下场景: - 转发策略的action字段支持指定为REDIRECT_TO_URL, FIXED_RESPONSE,即支持URL重定向和响应固定的内容给客户端。 - 转发策略支持指定priority、redirect_url_config、fixed_response_config字段。 - 转发规则rule的type可以指定METHOD, HEADER, QUERY_STRING, SOURCE_IP这几种取值。 - 转发规则rule的type为HOST_NAME时,转发规则rule的value支持通配符*。 - 转发规则支持指定conditions字段。 [荷兰region不支持该字段,请勿使用。](tag:dt)
866
+ 是否开启高级转发策略功能。开启高级转发策略后,支持更灵活的转发策略和转发规则设置。 取值:true开启,false不开启,默认false。 开启后支持如下场景: - 转发策略的action字段支持指定为REDIRECT_TO_URL, FIXED_RESPONSE,即支持URL重定向和响应固定的内容给客户端。 - 转发策略支持指定priority、redirect_url_config、fixed_response_config字段。 - 转发规则rule的type可以指定METHOD, HEADER, QUERY_STRING, SOURCE_IP这几种取值。 - 转发规则rule的type为HOST_NAME时,转发规则rule的value支持通配符*。 - 转发规则支持指定conditions字段。 [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
867
867
 
868
868
  :return: The enhance_l7policy_enable of this Listener.
869
869
  :rtype: bool
@@ -874,7 +874,7 @@ class Listener:
874
874
  def enhance_l7policy_enable(self, enhance_l7policy_enable):
875
875
  """Sets the enhance_l7policy_enable of this Listener.
876
876
 
877
- 是否开启高级转发策略功能。开启高级转发策略后,支持更灵活的转发策略和转发规则设置。 取值:true开启,false不开启,默认false。 开启后支持如下场景: - 转发策略的action字段支持指定为REDIRECT_TO_URL, FIXED_RESPONSE,即支持URL重定向和响应固定的内容给客户端。 - 转发策略支持指定priority、redirect_url_config、fixed_response_config字段。 - 转发规则rule的type可以指定METHOD, HEADER, QUERY_STRING, SOURCE_IP这几种取值。 - 转发规则rule的type为HOST_NAME时,转发规则rule的value支持通配符*。 - 转发规则支持指定conditions字段。 [荷兰region不支持该字段,请勿使用。](tag:dt)
877
+ 是否开启高级转发策略功能。开启高级转发策略后,支持更灵活的转发策略和转发规则设置。 取值:true开启,false不开启,默认false。 开启后支持如下场景: - 转发策略的action字段支持指定为REDIRECT_TO_URL, FIXED_RESPONSE,即支持URL重定向和响应固定的内容给客户端。 - 转发策略支持指定priority、redirect_url_config、fixed_response_config字段。 - 转发规则rule的type可以指定METHOD, HEADER, QUERY_STRING, SOURCE_IP这几种取值。 - 转发规则rule的type为HOST_NAME时,转发规则rule的value支持通配符*。 - 转发规则支持指定conditions字段。 [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
878
878
 
879
879
  :param enhance_l7policy_enable: The enhance_l7policy_enable of this Listener.
880
880
  :type enhance_l7policy_enable: bool
@@ -947,7 +947,7 @@ class Listener:
947
947
  def gzip_enable(self):
948
948
  """Gets the gzip_enable of this Listener.
949
949
 
950
- ELB是否开启gzip压缩,缺省值:false,非必选 [仅HTTP/HTTPS类型监听器支持配置。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test) [仅HTTP/HTTPS/QUIC类型监听器支持配置。](tag:hws,hws_hk,hws_test,hcs,hcs_sm,hcso,fcs,fcs_vm,mix,ocb,ctc,cmcc,sbc,hws_ocb,hk_sbc)
950
+ ELB是否开启gzip压缩,缺省值:false,非必选 [仅HTTP/HTTPS类型监听器支持配置。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test) [仅HTTP/HTTPS/QUIC类型监听器支持配置。](tag:hws,hws_hk,hws_test,hcs,hcs_sm,hcso,hk_vdf,fcs,fcs_vm,mix,ocb,ctc,cmcc,sbc,hws_ocb,hk_sbc)
951
951
 
952
952
  :return: The gzip_enable of this Listener.
953
953
  :rtype: bool
@@ -958,7 +958,7 @@ class Listener:
958
958
  def gzip_enable(self, gzip_enable):
959
959
  """Sets the gzip_enable of this Listener.
960
960
 
961
- ELB是否开启gzip压缩,缺省值:false,非必选 [仅HTTP/HTTPS类型监听器支持配置。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test) [仅HTTP/HTTPS/QUIC类型监听器支持配置。](tag:hws,hws_hk,hws_test,hcs,hcs_sm,hcso,fcs,fcs_vm,mix,ocb,ctc,cmcc,sbc,hws_ocb,hk_sbc)
961
+ ELB是否开启gzip压缩,缺省值:false,非必选 [仅HTTP/HTTPS类型监听器支持配置。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test) [仅HTTP/HTTPS/QUIC类型监听器支持配置。](tag:hws,hws_hk,hws_test,hcs,hcs_sm,hcso,hk_vdf,fcs,fcs_vm,mix,ocb,ctc,cmcc,sbc,hws_ocb,hk_sbc)
962
962
 
963
963
  :param gzip_enable: The gzip_enable of this Listener.
964
964
  :type gzip_enable: bool
@@ -29,7 +29,7 @@ class ListenerRef:
29
29
 
30
30
  The model defined in huaweicloud sdk
31
31
 
32
- :param id: 监听器ID。
32
+ :param id: 参数解释:监听器ID。
33
33
  :type id: str
34
34
  """
35
35
 
@@ -44,7 +44,7 @@ class ListenerRef:
44
44
  def id(self):
45
45
  """Gets the id of this ListenerRef.
46
46
 
47
- 监听器ID。
47
+ 参数解释:监听器ID。
48
48
 
49
49
  :return: The id of this ListenerRef.
50
50
  :rtype: str
@@ -55,7 +55,7 @@ class ListenerRef:
55
55
  def id(self, id):
56
56
  """Sets the id of this ListenerRef.
57
57
 
58
- 监听器ID。
58
+ 参数解释:监听器ID。
59
59
 
60
60
  :param id: The id of this ListenerRef.
61
61
  :type id: str