huaweicloudsdkelb 3.1.109__py2.py3-none-any.whl → 3.1.110__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 (149) hide show
  1. huaweicloudsdkelb/v3/elb_async_client.py +1 -1
  2. huaweicloudsdkelb/v3/elb_client.py +1 -1
  3. huaweicloudsdkelb/v3/model/autoscaling_ref.py +6 -6
  4. huaweicloudsdkelb/v3/model/availability_zone.py +15 -15
  5. huaweicloudsdkelb/v3/model/bandwidth_ref.py +3 -3
  6. huaweicloudsdkelb/v3/model/batch_create_members_option.py +6 -6
  7. huaweicloudsdkelb/v3/model/batch_create_members_request.py +3 -3
  8. huaweicloudsdkelb/v3/model/batch_delete_members_request.py +3 -3
  9. huaweicloudsdkelb/v3/model/batch_member.py +6 -6
  10. huaweicloudsdkelb/v3/model/batch_update_members_option.py +3 -3
  11. huaweicloudsdkelb/v3/model/batch_update_members_request.py +3 -3
  12. huaweicloudsdkelb/v3/model/batch_update_policies_priority_request_body.py +3 -3
  13. huaweicloudsdkelb/v3/model/batch_update_priority_request_body.py +6 -6
  14. huaweicloudsdkelb/v3/model/create_fixted_response_config.py +9 -9
  15. huaweicloudsdkelb/v3/model/create_health_monitor_option.py +12 -12
  16. huaweicloudsdkelb/v3/model/create_insert_header_config.py +9 -9
  17. huaweicloudsdkelb/v3/model/create_insert_headers_config.py +3 -3
  18. huaweicloudsdkelb/v3/model/create_ip_group_ip_option.py +3 -3
  19. huaweicloudsdkelb/v3/model/create_l7_policy_option.py +39 -39
  20. huaweicloudsdkelb/v3/model/create_l7_policy_response.py +3 -3
  21. huaweicloudsdkelb/v3/model/create_l7_policy_rule_option.py +21 -21
  22. huaweicloudsdkelb/v3/model/create_l7_rule_request.py +3 -3
  23. huaweicloudsdkelb/v3/model/create_l7_rule_response.py +3 -3
  24. huaweicloudsdkelb/v3/model/create_listener_ip_group_option.py +9 -9
  25. huaweicloudsdkelb/v3/model/create_listener_option.py +84 -84
  26. huaweicloudsdkelb/v3/model/create_listener_quic_config_option.py +6 -6
  27. huaweicloudsdkelb/v3/model/create_listener_response.py +3 -3
  28. huaweicloudsdkelb/v3/model/create_load_balancer_bandwidth_option.py +6 -6
  29. huaweicloudsdkelb/v3/model/create_load_balancer_option.py +45 -45
  30. huaweicloudsdkelb/v3/model/create_load_balancer_public_ip_option.py +3 -3
  31. huaweicloudsdkelb/v3/model/create_load_balancer_response.py +9 -9
  32. huaweicloudsdkelb/v3/model/create_loadbalancer_autoscaling_option.py +3 -3
  33. huaweicloudsdkelb/v3/model/create_master_slave_health_monitor_option.py +3 -3
  34. huaweicloudsdkelb/v3/model/create_member_option.py +21 -21
  35. huaweicloudsdkelb/v3/model/create_member_request.py +3 -3
  36. huaweicloudsdkelb/v3/model/create_member_response.py +3 -3
  37. huaweicloudsdkelb/v3/model/create_pool_option.py +12 -12
  38. huaweicloudsdkelb/v3/model/create_pool_session_persistence_option.py +3 -3
  39. huaweicloudsdkelb/v3/model/create_redirect_pools_config.py +6 -6
  40. huaweicloudsdkelb/v3/model/create_redirect_pools_extend_config.py +3 -3
  41. huaweicloudsdkelb/v3/model/create_redirect_pools_sticky_session_config.py +6 -6
  42. huaweicloudsdkelb/v3/model/create_redirect_url_config.py +18 -18
  43. huaweicloudsdkelb/v3/model/create_remove_header_config.py +3 -3
  44. huaweicloudsdkelb/v3/model/create_remove_headers_config.py +3 -3
  45. huaweicloudsdkelb/v3/model/create_rewrite_url_config.py +9 -9
  46. huaweicloudsdkelb/v3/model/create_rule_condition.py +6 -6
  47. huaweicloudsdkelb/v3/model/create_rule_option.py +24 -24
  48. huaweicloudsdkelb/v3/model/create_traffic_limit_config.py +9 -9
  49. huaweicloudsdkelb/v3/model/delete_l7_policy_request.py +3 -3
  50. huaweicloudsdkelb/v3/model/delete_master_slave_pool_request.py +3 -3
  51. huaweicloudsdkelb/v3/model/delete_member_request.py +3 -3
  52. huaweicloudsdkelb/v3/model/delete_pool_request.py +3 -3
  53. huaweicloudsdkelb/v3/model/eip_info.py +9 -9
  54. huaweicloudsdkelb/v3/model/fixted_response_config.py +9 -9
  55. huaweicloudsdkelb/v3/model/flavor.py +6 -6
  56. huaweicloudsdkelb/v3/model/flavor_info.py +18 -18
  57. huaweicloudsdkelb/v3/model/global_eip_info.py +9 -9
  58. huaweicloudsdkelb/v3/model/health_monitor.py +12 -12
  59. huaweicloudsdkelb/v3/model/insert_header_config.py +9 -9
  60. huaweicloudsdkelb/v3/model/insert_headers_config.py +3 -3
  61. huaweicloudsdkelb/v3/model/l7_policy.py +51 -51
  62. huaweicloudsdkelb/v3/model/l7_rule.py +36 -36
  63. huaweicloudsdkelb/v3/model/list_availability_zones_request.py +3 -3
  64. huaweicloudsdkelb/v3/model/list_availability_zones_response.py +38 -9
  65. huaweicloudsdkelb/v3/model/list_flavors_request.py +9 -9
  66. huaweicloudsdkelb/v3/model/list_health_monitors_request.py +9 -9
  67. huaweicloudsdkelb/v3/model/list_l7_policies_request.py +48 -48
  68. huaweicloudsdkelb/v3/model/list_l7_policies_response.py +6 -6
  69. huaweicloudsdkelb/v3/model/list_l7_rules_request.py +3 -3
  70. huaweicloudsdkelb/v3/model/list_l7_rules_response.py +6 -6
  71. huaweicloudsdkelb/v3/model/list_listeners_request.py +9 -9
  72. huaweicloudsdkelb/v3/model/list_listeners_response.py +6 -6
  73. huaweicloudsdkelb/v3/model/list_load_balancers_request.py +6 -6
  74. huaweicloudsdkelb/v3/model/list_master_slave_pools_request.py +3 -3
  75. huaweicloudsdkelb/v3/model/list_members_request.py +3 -3
  76. huaweicloudsdkelb/v3/model/list_pools_request.py +3 -3
  77. huaweicloudsdkelb/v3/model/listener.py +96 -96
  78. huaweicloudsdkelb/v3/model/listener_insert_headers.py +27 -27
  79. huaweicloudsdkelb/v3/model/listener_ip_group.py +9 -9
  80. huaweicloudsdkelb/v3/model/listener_quic_config.py +6 -6
  81. huaweicloudsdkelb/v3/model/load_balancer.py +129 -129
  82. huaweicloudsdkelb/v3/model/load_balancer_ref.py +3 -3
  83. huaweicloudsdkelb/v3/model/load_balancer_status_pool.py +3 -3
  84. huaweicloudsdkelb/v3/model/logtank.py +3 -3
  85. huaweicloudsdkelb/v3/model/master_slave_health_monitor.py +6 -6
  86. huaweicloudsdkelb/v3/model/member.py +45 -45
  87. huaweicloudsdkelb/v3/model/member_info.py +6 -6
  88. huaweicloudsdkelb/v3/model/member_status.py +6 -6
  89. huaweicloudsdkelb/v3/model/pool.py +6 -6
  90. huaweicloudsdkelb/v3/model/pool_ref.py +3 -3
  91. huaweicloudsdkelb/v3/model/prepaid_create_option.py +3 -3
  92. huaweicloudsdkelb/v3/model/public_ip_info.py +9 -9
  93. huaweicloudsdkelb/v3/model/quota.py +3 -3
  94. huaweicloudsdkelb/v3/model/redirect_pools_config.py +6 -6
  95. huaweicloudsdkelb/v3/model/redirect_pools_extend_config.py +3 -3
  96. huaweicloudsdkelb/v3/model/redirect_pools_sticky_session_config.py +6 -6
  97. huaweicloudsdkelb/v3/model/redirect_url_config.py +18 -18
  98. huaweicloudsdkelb/v3/model/remove_header_config.py +3 -3
  99. huaweicloudsdkelb/v3/model/remove_headers_config.py +3 -3
  100. huaweicloudsdkelb/v3/model/rewrite_url_config.py +9 -9
  101. huaweicloudsdkelb/v3/model/rule_condition.py +6 -6
  102. huaweicloudsdkelb/v3/model/rule_ref.py +3 -3
  103. huaweicloudsdkelb/v3/model/show_l7_policy_request.py +3 -3
  104. huaweicloudsdkelb/v3/model/show_l7_policy_response.py +3 -3
  105. huaweicloudsdkelb/v3/model/show_l7_rule_response.py +3 -3
  106. huaweicloudsdkelb/v3/model/show_listener_response.py +3 -3
  107. huaweicloudsdkelb/v3/model/show_load_balancer_response.py +3 -3
  108. huaweicloudsdkelb/v3/model/show_load_balancer_status_response.py +3 -3
  109. huaweicloudsdkelb/v3/model/show_master_slave_pool_request.py +3 -3
  110. huaweicloudsdkelb/v3/model/show_member_request.py +3 -3
  111. huaweicloudsdkelb/v3/model/show_pool_request.py +3 -3
  112. huaweicloudsdkelb/v3/model/tag.py +6 -6
  113. huaweicloudsdkelb/v3/model/traffic_limit_config.py +9 -9
  114. huaweicloudsdkelb/v3/model/upadate_ip_group_ip_option.py +3 -3
  115. huaweicloudsdkelb/v3/model/update_fixted_response_config.py +9 -9
  116. huaweicloudsdkelb/v3/model/update_health_monitor_option.py +12 -12
  117. huaweicloudsdkelb/v3/model/update_insert_header_config.py +9 -9
  118. huaweicloudsdkelb/v3/model/update_insert_headers_config.py +3 -3
  119. huaweicloudsdkelb/v3/model/update_l7_policy_option.py +24 -24
  120. huaweicloudsdkelb/v3/model/update_l7_policy_request.py +3 -3
  121. huaweicloudsdkelb/v3/model/update_l7_policy_response.py +3 -3
  122. huaweicloudsdkelb/v3/model/update_l7_rule_option.py +18 -18
  123. huaweicloudsdkelb/v3/model/update_l7_rule_response.py +3 -3
  124. huaweicloudsdkelb/v3/model/update_listener_ip_group_option.py +9 -9
  125. huaweicloudsdkelb/v3/model/update_listener_option.py +66 -66
  126. huaweicloudsdkelb/v3/model/update_listener_quic_config_option.py +6 -6
  127. huaweicloudsdkelb/v3/model/update_listener_response.py +3 -3
  128. huaweicloudsdkelb/v3/model/update_load_balancer_option.py +48 -48
  129. huaweicloudsdkelb/v3/model/update_load_balancer_response.py +9 -9
  130. huaweicloudsdkelb/v3/model/update_loadbalancer_autoscaling_option.py +6 -6
  131. huaweicloudsdkelb/v3/model/update_member_option.py +3 -3
  132. huaweicloudsdkelb/v3/model/update_member_request.py +3 -3
  133. huaweicloudsdkelb/v3/model/update_pool_option.py +9 -9
  134. huaweicloudsdkelb/v3/model/update_pool_request.py +3 -3
  135. huaweicloudsdkelb/v3/model/update_pool_session_persistence_option.py +3 -3
  136. huaweicloudsdkelb/v3/model/update_redirect_pools_config.py +6 -6
  137. huaweicloudsdkelb/v3/model/update_redirect_pools_extend_config.py +3 -3
  138. huaweicloudsdkelb/v3/model/update_redirect_pools_sticky_session_config.py +6 -6
  139. huaweicloudsdkelb/v3/model/update_redirect_url_config.py +18 -18
  140. huaweicloudsdkelb/v3/model/update_remove_header_config.py +3 -3
  141. huaweicloudsdkelb/v3/model/update_remove_headers_config.py +3 -3
  142. huaweicloudsdkelb/v3/model/update_rewrite_url_config.py +9 -9
  143. huaweicloudsdkelb/v3/model/update_rule_condition.py +6 -6
  144. huaweicloudsdkelb/v3/model/update_traffic_limit_config.py +9 -9
  145. {huaweicloudsdkelb-3.1.109.dist-info → huaweicloudsdkelb-3.1.110.dist-info}/METADATA +2 -2
  146. {huaweicloudsdkelb-3.1.109.dist-info → huaweicloudsdkelb-3.1.110.dist-info}/RECORD +149 -149
  147. {huaweicloudsdkelb-3.1.109.dist-info → huaweicloudsdkelb-3.1.110.dist-info}/LICENSE +0 -0
  148. {huaweicloudsdkelb-3.1.109.dist-info → huaweicloudsdkelb-3.1.110.dist-info}/WHEEL +0 -0
  149. {huaweicloudsdkelb-3.1.109.dist-info → huaweicloudsdkelb-3.1.110.dist-info}/top_level.txt +0 -0
@@ -89,67 +89,67 @@ class CreateListenerOption:
89
89
 
90
90
  The model defined in huaweicloud sdk
91
91
 
92
- :param admin_state_up: 监听器的管理状态。只支持设置为true。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
92
+ :param admin_state_up: 参数解释:监听器的管理状态。 约束限制:只支持设置为true。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
93
93
  :type admin_state_up: bool
94
- :param default_pool_id: 监听器默认的后端云服务器组ID。当请求没有匹配的转发策略时,转发到默认后端云服务器上处理。
94
+ :param default_pool_id: 参数解释:监听器默认的后端云服务器组ID。当请求没有匹配的转发策略时,转发到默认后端云服务器上处理。
95
95
  :type default_pool_id: str
96
- :param client_ca_tls_container_ref: 监听器使用的CA证书ID。当且仅当type=client时,才会使用该字段对应的证书。 监听器协议为QUIC时不支持该字段。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test)
96
+ :param client_ca_tls_container_ref: 参数解释:监听器使用的CA证书ID。 约束限制: - 当且仅当type=client时,才会使用该字段对应的证书。 - 监听器协议为QUIC时不支持该字段。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test)
97
97
  :type client_ca_tls_container_ref: str
98
- :param default_tls_container_ref: 监听器使用的服务器证书ID。 使用说明:当监听器协议为HTTPS、TLS或QUIC时,该字段必传,且对应的证书的type必须是server类型。
98
+ :param default_tls_container_ref: 参数解释:监听器使用的服务器证书ID。 约束限制:当监听器协议为HTTPS、TLS或QUIC时,该字段必传,且对应的证书的type必须是server类型。
99
99
  :type default_tls_container_ref: str
100
- :param description: 监听器的描述信息。
100
+ :param description: 参数解释:监听器的描述信息。
101
101
  :type description: str
102
- :param http2_enable: 客户端与LB之间的HTTPS请求的HTTP2功能的开启状态。 开启后,可提升客户端与LB间的访问性能,但LB与后端服务器间仍采用HTTP1.X协议。 使用说明: - 仅HTTPS协议监听器有效。 - QUIC监听器不能设置该字段,固定返回为true。 - 其他协议的监听器可设置该字段但无效,无论取值如何都不影响监听器正常运行。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test)
102
+ :param http2_enable: 参数解释:客户端与LB之间的HTTPS请求的HTTP2功能的开启状态。 开启后,可提升客户端与LB间的访问性能,但LB与后端服务器间仍采用HTTP1.X协议。 约束限制: - 仅HTTPS协议监听器有效。 - QUIC监听器不能设置该字段,固定返回为true。 - 其他协议的监听器可设置该字段但无效,无论取值如何都不影响监听器正常运行。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test)
103
103
  :type http2_enable: bool
104
104
  :param insert_headers:
105
105
  :type insert_headers: :class:`huaweicloudsdkelb.v3.ListenerInsertHeaders`
106
- :param loadbalancer_id: 监听器所属的负载均衡器的ID列表。 使用说明: 一个监听器只支持关联到一个LB。
106
+ :param loadbalancer_id: 参数解释:监听器所属的负载均衡器的ID列表。 约束限制: 一个监听器只支持关联到一个LB。
107
107
  :type loadbalancer_id: str
108
- :param name: 监听器的名称。 注意:若名称为空,则在控制台的监听器列表无法选择并查看监听器详情。
108
+ :param name: 参数解释:监听器的名称。 注意:若名称为空,则在控制台的监听器列表无法选择并查看监听器详情。
109
109
  :type name: str
110
- :param project_id: 监听器所在的项目ID。
110
+ :param project_id: 参数解释:监听器所在的项目ID。
111
111
  :type project_id: str
112
- :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,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test)
112
+ :param protocol: 参数解释:监听器的监听协议。 [ 约束限制: - 共享型LB上的HTTPS监听器只支持设置为TERMINATED_HTTPS。 传入HTTPS将会自动转为TERMINATED_HTTPS。 - 独享型LB上的HTTPS监听器只支持设置为HTTPS,传入TERMINATED_HTTPS将会自动转为HTTPS。 取值范围:TCP、UDP、HTTP、HTTPS、TERMINATED_HTTPS、QUIC、TLS。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt) [取值范围:TCP、UDP、HTTP、HTTPS。](tag:hcso_dt) [取值范围:TCP、UDP、IP、HTTP、HTTPS。IP为网关型LB上的监听器独有的协议。](tag:hws_eu) [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test)
113
113
  :type protocol: str
114
- :param protocol_port: 监听器的监听端口。QUIC监听器端口不能是4789,且不能和UDP监听器端口重复。传0时表示开启监听端口范围的能力,此时port_ranges为必填字段。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test)
114
+ :param protocol_port: 参数解释:监听器的监听端口。 约束限制: - QUIC监听器端口不能是4789,且不能和UDP监听器端口重复。 - 传0时表示开启监听端口范围的能力,此时port_ranges为必填字段。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test)
115
115
  :type protocol_port: int
116
- :param sni_container_refs: 监听器使用的SNI证书(带域名的服务器证书)ID列表。 使用说明: - 列表对应的所有SNI证书的域名不允许存在重复。 - 列表对应的所有SNI证书的域名总数不超过50。 - QUIC监听器仅支持RSA证书。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test)
116
+ :param sni_container_refs: 参数解释:监听器使用的SNI证书(带域名的服务器证书)ID列表。 约束限制: - 列表对应的所有SNI证书的域名不允许存在重复。 - 列表对应的所有SNI证书的域名总数不超过50。 - QUIC监听器仅支持RSA证书。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test)
117
117
  :type sni_container_refs: list[str]
118
- :param sni_match_algo: 监听器使用的SNI证书泛域名匹配方式。 longest_suffix表示最长尾缀匹配,wildcard表示标准域名分级匹配。 默认为wildcard。
118
+ :param sni_match_algo: 参数解释:监听器使用的SNI证书泛域名匹配方式。 取值范围: - longest_suffix 表示最长尾缀匹配。 - wildcard 表示标准域名分级匹配。 默认取值:wildcard。
119
119
  :type sni_match_algo: str
120
- :param tags: 标签列表
120
+ :param tags: 参数解释:标签列表
121
121
  :type tags: list[:class:`huaweicloudsdkelb.v3.Tag`]
122
- :param tls_ciphers_policy: 监听器使用的安全策略。 [取值:tls-1-0-inherit、tls-1-0、tls-1-1、 tls-1-2、tls-1-2-strict、tls-1-2-fs、tls-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-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,g42,hk_g42,ocb,tlf,ctc,hcso,sbc,tm,cmcc,dt) [使用说明: - 仅对HTTPS协议类型的监听器有效](tag:hcso_dt) [不支持tls1.3协议的套件。](tag:tm,hws_eu,g42,hk_g42) [不支持QUIC。](tag:tm,dt,dt_test)
122
+ :param tls_ciphers_policy: 参数解释:监听器使用的安全策略。 [约束限制: - 仅对HTTPS协议类型的监听器且关联LB为独享型时有效。 - QUIC监听器不支持该字段。 - 若同时设置了security_policy_id和tls_ciphers_policy,则仅security_policy_id生效。 - 加密套件的优先顺序为ecc套件、rsa套件、tls1.3协议的套件(即支持ecc又支持rsa) ](tag:hws,hws_hk,hws_eu,g42,hk_g42,ocb,tlf,ctc,hcso,sbc,tm,cmcc,dt) [约束限制: - 仅对HTTPS协议类型的监听器有效](tag:hcso_dt) [取值范围:tls-1-0-inherit、tls-1-0、tls-1-1、 tls-1-2、tls-1-2-strict、tls-1-2-fs、tls-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-0、tls-1-1、tls-1-2、 tls-1-2-strict,默认:tls-1-0。](tag:hws_eu,g42,hk_g42,hcso_dt) [不支持tls1.3协议的套件。](tag:tm,hws_eu,g42,hk_g42) [不支持QUIC。](tag:tm,dt,dt_test)
123
123
  :type tls_ciphers_policy: str
124
- :param security_policy_id: 自定义安全策略的ID。 [使用说明: - 仅对HTTPS协议类型的监听器且关联LB为独享型时有效。 - QUIC监听器不支持该字段。 - 若同时设置了security_policy_id和tls_ciphers_policy,则仅security_policy_id生效。 - 加密套件的优先顺序为ecc套件、rsa套件、tls1.3协议的套件 (即支持ecc又支持rsa) ](tag:hws,hws_hk,hws_eu,g42,hk_g42,ocb,tlf,ctc,hcso,sbc,tm,cmcc,dt) [使用说明: - 仅对HTTPS协议类型的监听器有效](tag:hcso_dt) [不支持tls1.3协议的套件。](tag:tm,hws_eu,g42,hk_g42) [不支持QUIC。](tag:tm,dt,dt_test)
124
+ :param security_policy_id: 参数解释:自定义安全策略的ID。 [约束限制: - 仅对HTTPS协议类型的监听器且关联LB为独享型时有效。 - QUIC监听器不支持该字段。 - 若同时设置了security_policy_id和tls_ciphers_policy,则仅security_policy_id生效。 - 加密套件的优先顺序为ecc套件、rsa套件、tls1.3协议的套件 (即支持ecc又支持rsa) ](tag:hws,hws_hk,hws_eu,g42,hk_g42,ocb,tlf,ctc,hcso,sbc,tm,cmcc,dt) [约束限制: - 仅对HTTPS协议类型的监听器有效](tag:hcso_dt) [不支持tls1.3协议的套件。](tag:tm,hws_eu,g42,hk_g42) [不支持QUIC。](tag:tm,dt,dt_test)
125
125
  :type security_policy_id: str
126
- :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)
126
+ :param enable_member_retry: 参数解释:是否开启后端服务器的重试。 [约束限制: - 若关联是共享型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) 取值范围:true 开启重试,false 不开启重试。默认:true。 [不支持QUIC。](tag:tm,dt,dt_test)
127
127
  :type enable_member_retry: bool
128
- :param keepalive_timeout: 客户端连接空闲超时时间。在超过keepalive_timeout时长一直没有请求, 负载均衡会暂时中断当前连接,直到下一次请求时重新建立新的连接。 取值: - TCP监听器[和IP监听器](tag:hws_eu):10-4000s,默认值为300s。 - 若为HTTP/HTTPS/TERMINATED_HTTPS监听器,取值范围为(0-4000s)默认值为60s。 共享型实例的UDP监听器不支持此字段。
128
+ :param keepalive_timeout: 参数解释:客户端连接空闲超时时间。在超过keepalive_timeout时长一直没有请求, 负载均衡会暂时中断当前连接,直到下一次请求时重新建立新的连接。 约束限制:共享型实例的UDP监听器不支持此字段。 取值范围: - TCP监听器[和IP监听器](tag:hws_eu):10-4000s,默认值为300s。 - 若为HTTP/HTTPS/TERMINATED_HTTPS监听器,取值范围为(0-4000s)默认值为60s。
129
129
  :type keepalive_timeout: int
130
- :param client_timeout: 等待客户端请求超时时间,包括两种情况: - 读取整个客户端请求头的超时时长:如果客户端未在超时时长内发送完整个请求头,则请求将被中断 - 两个连续body体的数据包到达LB的时间间隔,超出client_timeout将会断开连接。 取值范围为1-300s,默认值为60s。 使用说明:仅协议为HTTP/HTTPS的监听器支持该字段。
130
+ :param client_timeout: 参数解释:等待客户端请求超时时间,包括两种情况: - 读取整个客户端请求头的超时时长:如果客户端未在超时时长内发送完整个请求头,则请求将被中断 - 两个连续body体的数据包到达LB的时间间隔,超出client_timeout将会断开连接。 约束限制:仅协议为HTTP/HTTPS的监听器支持该字段。 取值范围: 1-3600s。 默认取值:60s。
131
131
  :type client_timeout: int
132
- :param member_timeout: 等待后端服务器响应超时时间。请求转发后端服务器后,在等待超时member_timeout时长没有响应,负载均衡将终止等待,并返回 HTTP504错误码。 取值:1-300s,默认为60s。 使用说明:仅支持协议为HTTP/HTTPS的监听器。
132
+ :param member_timeout: 参数解释:等待后端服务器响应超时时间。请求转发后端服务器后,在等待超时member_timeout时长没有响应,负载均衡将终止等待,并返回 HTTP504错误码。 约束限制:仅支持协议为HTTP/HTTPS的监听器。 取值范围:1-3600s。 默认取值:60s。
133
133
  :type member_timeout: int
134
134
  :param ipgroup:
135
135
  :type ipgroup: :class:`huaweicloudsdkelb.v3.CreateListenerIpGroupOption`
136
- :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)
136
+ :param transparent_client_ip_enable: 参数解释:是否透传客户端IP地址。开启后客户端IP地址将透传到后端服务器。 [约束限制: - 仅作用于共享型LB的TCP/UDP监听器。 - 开启特性后,ELB和后端服务器之间直接使用真实的IP访问,需要确保已正确设置服务器的安全组以及访问控制策略。 - 开启特性后,不支持同一台服务器既作为后端服务器又作为客户端的场景。 - 开启特性后,不支持变更后端服务器规格。 取值范围: - 共享型LB的TCP/UDP监听器可设置为true或false,不传默认为false。 - 共享型LB的HTTP/HTTPS监听器只支持设置为true,不传默认为true。 - 独享型负载均衡器所有协议的监听器只支持设置为true,不传默认为true。 ](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)
137
137
  :type transparent_client_ip_enable: bool
138
- :param proxy_protocol_enable: 是否开启proxy_protocol。仅TLS监听器可指定,其他协议的监听器该字段不生效,proxy_protocol不开启。
138
+ :param proxy_protocol_enable: 参数解释:是否开启proxy_protocol。 约束限制:仅TLS监听器可指定,其他协议的监听器该字段不生效,proxy_protocol不开启。
139
139
  :type proxy_protocol_enable: bool
140
- :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) > 开启后不支持关闭
140
+ :param enhance_l7policy_enable: 参数解释:是否开启高级转发策略功能。开启高级转发策略后,支持更灵活的转发策略和转发规则设置。 开启后支持如下场景: - 转发策略的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字段。 取值范围:true开启,false不开启,默认false。 [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test) > 开启后不支持关闭
141
141
  :type enhance_l7policy_enable: bool
142
142
  :param quic_config:
143
143
  :type quic_config: :class:`huaweicloudsdkelb.v3.CreateListenerQuicConfigOption`
144
- :param protection_status: 修改保护状态, 取值: - nonProtection: 不保护,默认值为nonProtection - consoleProtection: 控制台修改保护
144
+ :param protection_status: 参数解释:修改保护状态。 取值范围: - nonProtection: 不保护,默认值为nonProtection - consoleProtection: 控制台修改保护
145
145
  :type protection_status: str
146
- :param protection_reason: 设置保护的原因 >仅当protection_status为consoleProtection时有效。
146
+ :param protection_reason: 参数解释:设置保护的原因 约束限制:仅当protection_status为consoleProtection时有效。
147
147
  :type protection_reason: str
148
- :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)
148
+ :param gzip_enable: 参数解释:ELB是否开启gzip压缩。 [约束限制:仅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) 取值范围:true,false 默认取值:false
149
149
  :type gzip_enable: bool
150
- :param port_ranges: 端口监听范围(闭区间),最多指定10个端口组,每个组范围不可有重叠部分 >仅当protocol_port为0或未传入protoco_port时可以传入该字段。仅TCP, UDP,TLS监听支持该字段
150
+ :param port_ranges: 参数解释:端口监听范围(闭区间),最多指定10个端口组,每个组范围不可有重叠部分。 约束限制: - 仅当protocol_port为0或未传入protoco_port时可以传入该字段。 - 仅TCP, UDP,TLS监听支持该字段
151
151
  :type port_ranges: list[:class:`huaweicloudsdkelb.v3.PortRange`]
152
- :param ssl_early_data_enable: 监听器0-RTT能力开关,缺省值:false,非必选 HTTPS类型监听器支持配置,需要依赖TLSv1.3安全策略协议。开启 ssl_early_data 后,有重放攻击的风险,请谨慎开启。
152
+ :param ssl_early_data_enable: 参数解释:监听器0-RTT能力开关。 约束限制:仅HTTPS类型监听器支持配置,需要依赖TLSv1.3安全策略协议。开启 ssl_early_data 后,有重放攻击的风险,请谨慎开启。 取值范围:true,false 默认取值:false
153
153
  :type ssl_early_data_enable: bool
154
154
  """
155
155
 
@@ -253,7 +253,7 @@ class CreateListenerOption:
253
253
  def admin_state_up(self):
254
254
  """Gets the admin_state_up of this CreateListenerOption.
255
255
 
256
- 监听器的管理状态。只支持设置为true。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
256
+ 参数解释:监听器的管理状态。 约束限制:只支持设置为true。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
257
257
 
258
258
  :return: The admin_state_up of this CreateListenerOption.
259
259
  :rtype: bool
@@ -264,7 +264,7 @@ class CreateListenerOption:
264
264
  def admin_state_up(self, admin_state_up):
265
265
  """Sets the admin_state_up of this CreateListenerOption.
266
266
 
267
- 监听器的管理状态。只支持设置为true。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
267
+ 参数解释:监听器的管理状态。 约束限制:只支持设置为true。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
268
268
 
269
269
  :param admin_state_up: The admin_state_up of this CreateListenerOption.
270
270
  :type admin_state_up: bool
@@ -275,7 +275,7 @@ class CreateListenerOption:
275
275
  def default_pool_id(self):
276
276
  """Gets the default_pool_id of this CreateListenerOption.
277
277
 
278
- 监听器默认的后端云服务器组ID。当请求没有匹配的转发策略时,转发到默认后端云服务器上处理。
278
+ 参数解释:监听器默认的后端云服务器组ID。当请求没有匹配的转发策略时,转发到默认后端云服务器上处理。
279
279
 
280
280
  :return: The default_pool_id of this CreateListenerOption.
281
281
  :rtype: str
@@ -286,7 +286,7 @@ class CreateListenerOption:
286
286
  def default_pool_id(self, default_pool_id):
287
287
  """Sets the default_pool_id of this CreateListenerOption.
288
288
 
289
- 监听器默认的后端云服务器组ID。当请求没有匹配的转发策略时,转发到默认后端云服务器上处理。
289
+ 参数解释:监听器默认的后端云服务器组ID。当请求没有匹配的转发策略时,转发到默认后端云服务器上处理。
290
290
 
291
291
  :param default_pool_id: The default_pool_id of this CreateListenerOption.
292
292
  :type default_pool_id: str
@@ -297,7 +297,7 @@ class CreateListenerOption:
297
297
  def client_ca_tls_container_ref(self):
298
298
  """Gets the client_ca_tls_container_ref of this CreateListenerOption.
299
299
 
300
- 监听器使用的CA证书ID。当且仅当type=client时,才会使用该字段对应的证书。 监听器协议为QUIC时不支持该字段。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test)
300
+ 参数解释:监听器使用的CA证书ID。 约束限制: - 当且仅当type=client时,才会使用该字段对应的证书。 - 监听器协议为QUIC时不支持该字段。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test)
301
301
 
302
302
  :return: The client_ca_tls_container_ref of this CreateListenerOption.
303
303
  :rtype: str
@@ -308,7 +308,7 @@ class CreateListenerOption:
308
308
  def client_ca_tls_container_ref(self, client_ca_tls_container_ref):
309
309
  """Sets the client_ca_tls_container_ref of this CreateListenerOption.
310
310
 
311
- 监听器使用的CA证书ID。当且仅当type=client时,才会使用该字段对应的证书。 监听器协议为QUIC时不支持该字段。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test)
311
+ 参数解释:监听器使用的CA证书ID。 约束限制: - 当且仅当type=client时,才会使用该字段对应的证书。 - 监听器协议为QUIC时不支持该字段。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test)
312
312
 
313
313
  :param client_ca_tls_container_ref: The client_ca_tls_container_ref of this CreateListenerOption.
314
314
  :type client_ca_tls_container_ref: str
@@ -319,7 +319,7 @@ class CreateListenerOption:
319
319
  def default_tls_container_ref(self):
320
320
  """Gets the default_tls_container_ref of this CreateListenerOption.
321
321
 
322
- 监听器使用的服务器证书ID。 使用说明:当监听器协议为HTTPS、TLS或QUIC时,该字段必传,且对应的证书的type必须是server类型。
322
+ 参数解释:监听器使用的服务器证书ID。 约束限制:当监听器协议为HTTPS、TLS或QUIC时,该字段必传,且对应的证书的type必须是server类型。
323
323
 
324
324
  :return: The default_tls_container_ref of this CreateListenerOption.
325
325
  :rtype: str
@@ -330,7 +330,7 @@ class CreateListenerOption:
330
330
  def default_tls_container_ref(self, default_tls_container_ref):
331
331
  """Sets the default_tls_container_ref of this CreateListenerOption.
332
332
 
333
- 监听器使用的服务器证书ID。 使用说明:当监听器协议为HTTPS、TLS或QUIC时,该字段必传,且对应的证书的type必须是server类型。
333
+ 参数解释:监听器使用的服务器证书ID。 约束限制:当监听器协议为HTTPS、TLS或QUIC时,该字段必传,且对应的证书的type必须是server类型。
334
334
 
335
335
  :param default_tls_container_ref: The default_tls_container_ref of this CreateListenerOption.
336
336
  :type default_tls_container_ref: str
@@ -341,7 +341,7 @@ class CreateListenerOption:
341
341
  def description(self):
342
342
  """Gets the description of this CreateListenerOption.
343
343
 
344
- 监听器的描述信息。
344
+ 参数解释:监听器的描述信息。
345
345
 
346
346
  :return: The description of this CreateListenerOption.
347
347
  :rtype: str
@@ -352,7 +352,7 @@ class CreateListenerOption:
352
352
  def description(self, description):
353
353
  """Sets the description of this CreateListenerOption.
354
354
 
355
- 监听器的描述信息。
355
+ 参数解释:监听器的描述信息。
356
356
 
357
357
  :param description: The description of this CreateListenerOption.
358
358
  :type description: str
@@ -363,7 +363,7 @@ class CreateListenerOption:
363
363
  def http2_enable(self):
364
364
  """Gets the http2_enable of this CreateListenerOption.
365
365
 
366
- 客户端与LB之间的HTTPS请求的HTTP2功能的开启状态。 开启后,可提升客户端与LB间的访问性能,但LB与后端服务器间仍采用HTTP1.X协议。 使用说明: - 仅HTTPS协议监听器有效。 - QUIC监听器不能设置该字段,固定返回为true。 - 其他协议的监听器可设置该字段但无效,无论取值如何都不影响监听器正常运行。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test)
366
+ 参数解释:客户端与LB之间的HTTPS请求的HTTP2功能的开启状态。 开启后,可提升客户端与LB间的访问性能,但LB与后端服务器间仍采用HTTP1.X协议。 约束限制: - 仅HTTPS协议监听器有效。 - QUIC监听器不能设置该字段,固定返回为true。 - 其他协议的监听器可设置该字段但无效,无论取值如何都不影响监听器正常运行。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test)
367
367
 
368
368
  :return: The http2_enable of this CreateListenerOption.
369
369
  :rtype: bool
@@ -374,7 +374,7 @@ class CreateListenerOption:
374
374
  def http2_enable(self, http2_enable):
375
375
  """Sets the http2_enable of this CreateListenerOption.
376
376
 
377
- 客户端与LB之间的HTTPS请求的HTTP2功能的开启状态。 开启后,可提升客户端与LB间的访问性能,但LB与后端服务器间仍采用HTTP1.X协议。 使用说明: - 仅HTTPS协议监听器有效。 - QUIC监听器不能设置该字段,固定返回为true。 - 其他协议的监听器可设置该字段但无效,无论取值如何都不影响监听器正常运行。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test)
377
+ 参数解释:客户端与LB之间的HTTPS请求的HTTP2功能的开启状态。 开启后,可提升客户端与LB间的访问性能,但LB与后端服务器间仍采用HTTP1.X协议。 约束限制: - 仅HTTPS协议监听器有效。 - QUIC监听器不能设置该字段,固定返回为true。 - 其他协议的监听器可设置该字段但无效,无论取值如何都不影响监听器正常运行。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test)
378
378
 
379
379
  :param http2_enable: The http2_enable of this CreateListenerOption.
380
380
  :type http2_enable: bool
@@ -403,7 +403,7 @@ class CreateListenerOption:
403
403
  def loadbalancer_id(self):
404
404
  """Gets the loadbalancer_id of this CreateListenerOption.
405
405
 
406
- 监听器所属的负载均衡器的ID列表。 使用说明: 一个监听器只支持关联到一个LB。
406
+ 参数解释:监听器所属的负载均衡器的ID列表。 约束限制: 一个监听器只支持关联到一个LB。
407
407
 
408
408
  :return: The loadbalancer_id of this CreateListenerOption.
409
409
  :rtype: str
@@ -414,7 +414,7 @@ class CreateListenerOption:
414
414
  def loadbalancer_id(self, loadbalancer_id):
415
415
  """Sets the loadbalancer_id of this CreateListenerOption.
416
416
 
417
- 监听器所属的负载均衡器的ID列表。 使用说明: 一个监听器只支持关联到一个LB。
417
+ 参数解释:监听器所属的负载均衡器的ID列表。 约束限制: 一个监听器只支持关联到一个LB。
418
418
 
419
419
  :param loadbalancer_id: The loadbalancer_id of this CreateListenerOption.
420
420
  :type loadbalancer_id: str
@@ -425,7 +425,7 @@ class CreateListenerOption:
425
425
  def name(self):
426
426
  """Gets the name of this CreateListenerOption.
427
427
 
428
- 监听器的名称。 注意:若名称为空,则在控制台的监听器列表无法选择并查看监听器详情。
428
+ 参数解释:监听器的名称。 注意:若名称为空,则在控制台的监听器列表无法选择并查看监听器详情。
429
429
 
430
430
  :return: The name of this CreateListenerOption.
431
431
  :rtype: str
@@ -436,7 +436,7 @@ class CreateListenerOption:
436
436
  def name(self, name):
437
437
  """Sets the name of this CreateListenerOption.
438
438
 
439
- 监听器的名称。 注意:若名称为空,则在控制台的监听器列表无法选择并查看监听器详情。
439
+ 参数解释:监听器的名称。 注意:若名称为空,则在控制台的监听器列表无法选择并查看监听器详情。
440
440
 
441
441
  :param name: The name of this CreateListenerOption.
442
442
  :type name: str
@@ -447,7 +447,7 @@ class CreateListenerOption:
447
447
  def project_id(self):
448
448
  """Gets the project_id of this CreateListenerOption.
449
449
 
450
- 监听器所在的项目ID。
450
+ 参数解释:监听器所在的项目ID。
451
451
 
452
452
  :return: The project_id of this CreateListenerOption.
453
453
  :rtype: str
@@ -458,7 +458,7 @@ class CreateListenerOption:
458
458
  def project_id(self, project_id):
459
459
  """Sets the project_id of this CreateListenerOption.
460
460
 
461
- 监听器所在的项目ID。
461
+ 参数解释:监听器所在的项目ID。
462
462
 
463
463
  :param project_id: The project_id of this CreateListenerOption.
464
464
  :type project_id: str
@@ -469,7 +469,7 @@ class CreateListenerOption:
469
469
  def protocol(self):
470
470
  """Gets the protocol of this CreateListenerOption.
471
471
 
472
- 监听器的监听协议。 [取值: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,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test)
472
+ 参数解释:监听器的监听协议。 [ 约束限制: - 共享型LB上的HTTPS监听器只支持设置为TERMINATED_HTTPS。 传入HTTPS将会自动转为TERMINATED_HTTPS。 - 独享型LB上的HTTPS监听器只支持设置为HTTPS,传入TERMINATED_HTTPS将会自动转为HTTPS。 取值范围:TCP、UDP、HTTP、HTTPS、TERMINATED_HTTPS、QUIC、TLS。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt) [取值范围:TCP、UDP、HTTP、HTTPS。](tag:hcso_dt) [取值范围:TCP、UDP、IP、HTTP、HTTPS。IP为网关型LB上的监听器独有的协议。](tag:hws_eu) [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test)
473
473
 
474
474
  :return: The protocol of this CreateListenerOption.
475
475
  :rtype: str
@@ -480,7 +480,7 @@ class CreateListenerOption:
480
480
  def protocol(self, protocol):
481
481
  """Sets the protocol of this CreateListenerOption.
482
482
 
483
- 监听器的监听协议。 [取值: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,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test)
483
+ 参数解释:监听器的监听协议。 [ 约束限制: - 共享型LB上的HTTPS监听器只支持设置为TERMINATED_HTTPS。 传入HTTPS将会自动转为TERMINATED_HTTPS。 - 独享型LB上的HTTPS监听器只支持设置为HTTPS,传入TERMINATED_HTTPS将会自动转为HTTPS。 取值范围:TCP、UDP、HTTP、HTTPS、TERMINATED_HTTPS、QUIC、TLS。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt) [取值范围:TCP、UDP、HTTP、HTTPS。](tag:hcso_dt) [取值范围:TCP、UDP、IP、HTTP、HTTPS。IP为网关型LB上的监听器独有的协议。](tag:hws_eu) [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test)
484
484
 
485
485
  :param protocol: The protocol of this CreateListenerOption.
486
486
  :type protocol: str
@@ -491,7 +491,7 @@ class CreateListenerOption:
491
491
  def protocol_port(self):
492
492
  """Gets the protocol_port of this CreateListenerOption.
493
493
 
494
- 监听器的监听端口。QUIC监听器端口不能是4789,且不能和UDP监听器端口重复。传0时表示开启监听端口范围的能力,此时port_ranges为必填字段。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test)
494
+ 参数解释:监听器的监听端口。 约束限制: - QUIC监听器端口不能是4789,且不能和UDP监听器端口重复。 - 传0时表示开启监听端口范围的能力,此时port_ranges为必填字段。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test)
495
495
 
496
496
  :return: The protocol_port of this CreateListenerOption.
497
497
  :rtype: int
@@ -502,7 +502,7 @@ class CreateListenerOption:
502
502
  def protocol_port(self, protocol_port):
503
503
  """Sets the protocol_port of this CreateListenerOption.
504
504
 
505
- 监听器的监听端口。QUIC监听器端口不能是4789,且不能和UDP监听器端口重复。传0时表示开启监听端口范围的能力,此时port_ranges为必填字段。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test)
505
+ 参数解释:监听器的监听端口。 约束限制: - QUIC监听器端口不能是4789,且不能和UDP监听器端口重复。 - 传0时表示开启监听端口范围的能力,此时port_ranges为必填字段。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test)
506
506
 
507
507
  :param protocol_port: The protocol_port of this CreateListenerOption.
508
508
  :type protocol_port: int
@@ -513,7 +513,7 @@ class CreateListenerOption:
513
513
  def sni_container_refs(self):
514
514
  """Gets the sni_container_refs of this CreateListenerOption.
515
515
 
516
- 监听器使用的SNI证书(带域名的服务器证书)ID列表。 使用说明: - 列表对应的所有SNI证书的域名不允许存在重复。 - 列表对应的所有SNI证书的域名总数不超过50。 - QUIC监听器仅支持RSA证书。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test)
516
+ 参数解释:监听器使用的SNI证书(带域名的服务器证书)ID列表。 约束限制: - 列表对应的所有SNI证书的域名不允许存在重复。 - 列表对应的所有SNI证书的域名总数不超过50。 - QUIC监听器仅支持RSA证书。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test)
517
517
 
518
518
  :return: The sni_container_refs of this CreateListenerOption.
519
519
  :rtype: list[str]
@@ -524,7 +524,7 @@ class CreateListenerOption:
524
524
  def sni_container_refs(self, sni_container_refs):
525
525
  """Sets the sni_container_refs of this CreateListenerOption.
526
526
 
527
- 监听器使用的SNI证书(带域名的服务器证书)ID列表。 使用说明: - 列表对应的所有SNI证书的域名不允许存在重复。 - 列表对应的所有SNI证书的域名总数不超过50。 - QUIC监听器仅支持RSA证书。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test)
527
+ 参数解释:监听器使用的SNI证书(带域名的服务器证书)ID列表。 约束限制: - 列表对应的所有SNI证书的域名不允许存在重复。 - 列表对应的所有SNI证书的域名总数不超过50。 - QUIC监听器仅支持RSA证书。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test)
528
528
 
529
529
  :param sni_container_refs: The sni_container_refs of this CreateListenerOption.
530
530
  :type sni_container_refs: list[str]
@@ -535,7 +535,7 @@ class CreateListenerOption:
535
535
  def sni_match_algo(self):
536
536
  """Gets the sni_match_algo of this CreateListenerOption.
537
537
 
538
- 监听器使用的SNI证书泛域名匹配方式。 longest_suffix表示最长尾缀匹配,wildcard表示标准域名分级匹配。 默认为wildcard。
538
+ 参数解释:监听器使用的SNI证书泛域名匹配方式。 取值范围: - longest_suffix 表示最长尾缀匹配。 - wildcard 表示标准域名分级匹配。 默认取值:wildcard。
539
539
 
540
540
  :return: The sni_match_algo of this CreateListenerOption.
541
541
  :rtype: str
@@ -546,7 +546,7 @@ class CreateListenerOption:
546
546
  def sni_match_algo(self, sni_match_algo):
547
547
  """Sets the sni_match_algo of this CreateListenerOption.
548
548
 
549
- 监听器使用的SNI证书泛域名匹配方式。 longest_suffix表示最长尾缀匹配,wildcard表示标准域名分级匹配。 默认为wildcard。
549
+ 参数解释:监听器使用的SNI证书泛域名匹配方式。 取值范围: - longest_suffix 表示最长尾缀匹配。 - wildcard 表示标准域名分级匹配。 默认取值:wildcard。
550
550
 
551
551
  :param sni_match_algo: The sni_match_algo of this CreateListenerOption.
552
552
  :type sni_match_algo: str
@@ -557,7 +557,7 @@ class CreateListenerOption:
557
557
  def tags(self):
558
558
  """Gets the tags of this CreateListenerOption.
559
559
 
560
- 标签列表
560
+ 参数解释:标签列表
561
561
 
562
562
  :return: The tags of this CreateListenerOption.
563
563
  :rtype: list[:class:`huaweicloudsdkelb.v3.Tag`]
@@ -568,7 +568,7 @@ class CreateListenerOption:
568
568
  def tags(self, tags):
569
569
  """Sets the tags of this CreateListenerOption.
570
570
 
571
- 标签列表
571
+ 参数解释:标签列表
572
572
 
573
573
  :param tags: The tags of this CreateListenerOption.
574
574
  :type tags: list[:class:`huaweicloudsdkelb.v3.Tag`]
@@ -579,7 +579,7 @@ class CreateListenerOption:
579
579
  def tls_ciphers_policy(self):
580
580
  """Gets the tls_ciphers_policy of this CreateListenerOption.
581
581
 
582
- 监听器使用的安全策略。 [取值:tls-1-0-inherit、tls-1-0、tls-1-1、 tls-1-2、tls-1-2-strict、tls-1-2-fs、tls-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-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,g42,hk_g42,ocb,tlf,ctc,hcso,sbc,tm,cmcc,dt) [使用说明: - 仅对HTTPS协议类型的监听器有效](tag:hcso_dt) [不支持tls1.3协议的套件。](tag:tm,hws_eu,g42,hk_g42) [不支持QUIC。](tag:tm,dt,dt_test)
582
+ 参数解释:监听器使用的安全策略。 [约束限制: - 仅对HTTPS协议类型的监听器且关联LB为独享型时有效。 - QUIC监听器不支持该字段。 - 若同时设置了security_policy_id和tls_ciphers_policy,则仅security_policy_id生效。 - 加密套件的优先顺序为ecc套件、rsa套件、tls1.3协议的套件(即支持ecc又支持rsa) ](tag:hws,hws_hk,hws_eu,g42,hk_g42,ocb,tlf,ctc,hcso,sbc,tm,cmcc,dt) [约束限制: - 仅对HTTPS协议类型的监听器有效](tag:hcso_dt) [取值范围:tls-1-0-inherit、tls-1-0、tls-1-1、 tls-1-2、tls-1-2-strict、tls-1-2-fs、tls-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-0、tls-1-1、tls-1-2、 tls-1-2-strict,默认:tls-1-0。](tag:hws_eu,g42,hk_g42,hcso_dt) [不支持tls1.3协议的套件。](tag:tm,hws_eu,g42,hk_g42) [不支持QUIC。](tag:tm,dt,dt_test)
583
583
 
584
584
  :return: The tls_ciphers_policy of this CreateListenerOption.
585
585
  :rtype: str
@@ -590,7 +590,7 @@ class CreateListenerOption:
590
590
  def tls_ciphers_policy(self, tls_ciphers_policy):
591
591
  """Sets the tls_ciphers_policy of this CreateListenerOption.
592
592
 
593
- 监听器使用的安全策略。 [取值:tls-1-0-inherit、tls-1-0、tls-1-1、 tls-1-2、tls-1-2-strict、tls-1-2-fs、tls-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-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,g42,hk_g42,ocb,tlf,ctc,hcso,sbc,tm,cmcc,dt) [使用说明: - 仅对HTTPS协议类型的监听器有效](tag:hcso_dt) [不支持tls1.3协议的套件。](tag:tm,hws_eu,g42,hk_g42) [不支持QUIC。](tag:tm,dt,dt_test)
593
+ 参数解释:监听器使用的安全策略。 [约束限制: - 仅对HTTPS协议类型的监听器且关联LB为独享型时有效。 - QUIC监听器不支持该字段。 - 若同时设置了security_policy_id和tls_ciphers_policy,则仅security_policy_id生效。 - 加密套件的优先顺序为ecc套件、rsa套件、tls1.3协议的套件(即支持ecc又支持rsa) ](tag:hws,hws_hk,hws_eu,g42,hk_g42,ocb,tlf,ctc,hcso,sbc,tm,cmcc,dt) [约束限制: - 仅对HTTPS协议类型的监听器有效](tag:hcso_dt) [取值范围:tls-1-0-inherit、tls-1-0、tls-1-1、 tls-1-2、tls-1-2-strict、tls-1-2-fs、tls-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-0、tls-1-1、tls-1-2、 tls-1-2-strict,默认:tls-1-0。](tag:hws_eu,g42,hk_g42,hcso_dt) [不支持tls1.3协议的套件。](tag:tm,hws_eu,g42,hk_g42) [不支持QUIC。](tag:tm,dt,dt_test)
594
594
 
595
595
  :param tls_ciphers_policy: The tls_ciphers_policy of this CreateListenerOption.
596
596
  :type tls_ciphers_policy: str
@@ -601,7 +601,7 @@ class CreateListenerOption:
601
601
  def security_policy_id(self):
602
602
  """Gets the security_policy_id of this CreateListenerOption.
603
603
 
604
- 自定义安全策略的ID。 [使用说明: - 仅对HTTPS协议类型的监听器且关联LB为独享型时有效。 - QUIC监听器不支持该字段。 - 若同时设置了security_policy_id和tls_ciphers_policy,则仅security_policy_id生效。 - 加密套件的优先顺序为ecc套件、rsa套件、tls1.3协议的套件 (即支持ecc又支持rsa) ](tag:hws,hws_hk,hws_eu,g42,hk_g42,ocb,tlf,ctc,hcso,sbc,tm,cmcc,dt) [使用说明: - 仅对HTTPS协议类型的监听器有效](tag:hcso_dt) [不支持tls1.3协议的套件。](tag:tm,hws_eu,g42,hk_g42) [不支持QUIC。](tag:tm,dt,dt_test)
604
+ 参数解释:自定义安全策略的ID。 [约束限制: - 仅对HTTPS协议类型的监听器且关联LB为独享型时有效。 - QUIC监听器不支持该字段。 - 若同时设置了security_policy_id和tls_ciphers_policy,则仅security_policy_id生效。 - 加密套件的优先顺序为ecc套件、rsa套件、tls1.3协议的套件 (即支持ecc又支持rsa) ](tag:hws,hws_hk,hws_eu,g42,hk_g42,ocb,tlf,ctc,hcso,sbc,tm,cmcc,dt) [约束限制: - 仅对HTTPS协议类型的监听器有效](tag:hcso_dt) [不支持tls1.3协议的套件。](tag:tm,hws_eu,g42,hk_g42) [不支持QUIC。](tag:tm,dt,dt_test)
605
605
 
606
606
  :return: The security_policy_id of this CreateListenerOption.
607
607
  :rtype: str
@@ -612,7 +612,7 @@ class CreateListenerOption:
612
612
  def security_policy_id(self, security_policy_id):
613
613
  """Sets the security_policy_id of this CreateListenerOption.
614
614
 
615
- 自定义安全策略的ID。 [使用说明: - 仅对HTTPS协议类型的监听器且关联LB为独享型时有效。 - QUIC监听器不支持该字段。 - 若同时设置了security_policy_id和tls_ciphers_policy,则仅security_policy_id生效。 - 加密套件的优先顺序为ecc套件、rsa套件、tls1.3协议的套件 (即支持ecc又支持rsa) ](tag:hws,hws_hk,hws_eu,g42,hk_g42,ocb,tlf,ctc,hcso,sbc,tm,cmcc,dt) [使用说明: - 仅对HTTPS协议类型的监听器有效](tag:hcso_dt) [不支持tls1.3协议的套件。](tag:tm,hws_eu,g42,hk_g42) [不支持QUIC。](tag:tm,dt,dt_test)
615
+ 参数解释:自定义安全策略的ID。 [约束限制: - 仅对HTTPS协议类型的监听器且关联LB为独享型时有效。 - QUIC监听器不支持该字段。 - 若同时设置了security_policy_id和tls_ciphers_policy,则仅security_policy_id生效。 - 加密套件的优先顺序为ecc套件、rsa套件、tls1.3协议的套件 (即支持ecc又支持rsa) ](tag:hws,hws_hk,hws_eu,g42,hk_g42,ocb,tlf,ctc,hcso,sbc,tm,cmcc,dt) [约束限制: - 仅对HTTPS协议类型的监听器有效](tag:hcso_dt) [不支持tls1.3协议的套件。](tag:tm,hws_eu,g42,hk_g42) [不支持QUIC。](tag:tm,dt,dt_test)
616
616
 
617
617
  :param security_policy_id: The security_policy_id of this CreateListenerOption.
618
618
  :type security_policy_id: str
@@ -623,7 +623,7 @@ class CreateListenerOption:
623
623
  def enable_member_retry(self):
624
624
  """Gets the enable_member_retry of this CreateListenerOption.
625
625
 
626
- 是否开启后端服务器的重试。 取值: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)
626
+ 参数解释:是否开启后端服务器的重试。 [约束限制: - 若关联是共享型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) 取值范围:true 开启重试,false 不开启重试。默认:true。 [不支持QUIC。](tag:tm,dt,dt_test)
627
627
 
628
628
  :return: The enable_member_retry of this CreateListenerOption.
629
629
  :rtype: bool
@@ -634,7 +634,7 @@ class CreateListenerOption:
634
634
  def enable_member_retry(self, enable_member_retry):
635
635
  """Sets the enable_member_retry of this CreateListenerOption.
636
636
 
637
- 是否开启后端服务器的重试。 取值: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)
637
+ 参数解释:是否开启后端服务器的重试。 [约束限制: - 若关联是共享型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) 取值范围:true 开启重试,false 不开启重试。默认:true。 [不支持QUIC。](tag:tm,dt,dt_test)
638
638
 
639
639
  :param enable_member_retry: The enable_member_retry of this CreateListenerOption.
640
640
  :type enable_member_retry: bool
@@ -645,7 +645,7 @@ class CreateListenerOption:
645
645
  def keepalive_timeout(self):
646
646
  """Gets the keepalive_timeout of this CreateListenerOption.
647
647
 
648
- 客户端连接空闲超时时间。在超过keepalive_timeout时长一直没有请求, 负载均衡会暂时中断当前连接,直到下一次请求时重新建立新的连接。 取值: - TCP监听器[和IP监听器](tag:hws_eu):10-4000s,默认值为300s。 - 若为HTTP/HTTPS/TERMINATED_HTTPS监听器,取值范围为(0-4000s)默认值为60s。 共享型实例的UDP监听器不支持此字段。
648
+ 参数解释:客户端连接空闲超时时间。在超过keepalive_timeout时长一直没有请求, 负载均衡会暂时中断当前连接,直到下一次请求时重新建立新的连接。 约束限制:共享型实例的UDP监听器不支持此字段。 取值范围: - TCP监听器[和IP监听器](tag:hws_eu):10-4000s,默认值为300s。 - 若为HTTP/HTTPS/TERMINATED_HTTPS监听器,取值范围为(0-4000s)默认值为60s。
649
649
 
650
650
  :return: The keepalive_timeout of this CreateListenerOption.
651
651
  :rtype: int
@@ -656,7 +656,7 @@ class CreateListenerOption:
656
656
  def keepalive_timeout(self, keepalive_timeout):
657
657
  """Sets the keepalive_timeout of this CreateListenerOption.
658
658
 
659
- 客户端连接空闲超时时间。在超过keepalive_timeout时长一直没有请求, 负载均衡会暂时中断当前连接,直到下一次请求时重新建立新的连接。 取值: - TCP监听器[和IP监听器](tag:hws_eu):10-4000s,默认值为300s。 - 若为HTTP/HTTPS/TERMINATED_HTTPS监听器,取值范围为(0-4000s)默认值为60s。 共享型实例的UDP监听器不支持此字段。
659
+ 参数解释:客户端连接空闲超时时间。在超过keepalive_timeout时长一直没有请求, 负载均衡会暂时中断当前连接,直到下一次请求时重新建立新的连接。 约束限制:共享型实例的UDP监听器不支持此字段。 取值范围: - TCP监听器[和IP监听器](tag:hws_eu):10-4000s,默认值为300s。 - 若为HTTP/HTTPS/TERMINATED_HTTPS监听器,取值范围为(0-4000s)默认值为60s。
660
660
 
661
661
  :param keepalive_timeout: The keepalive_timeout of this CreateListenerOption.
662
662
  :type keepalive_timeout: int
@@ -667,7 +667,7 @@ class CreateListenerOption:
667
667
  def client_timeout(self):
668
668
  """Gets the client_timeout of this CreateListenerOption.
669
669
 
670
- 等待客户端请求超时时间,包括两种情况: - 读取整个客户端请求头的超时时长:如果客户端未在超时时长内发送完整个请求头,则请求将被中断 - 两个连续body体的数据包到达LB的时间间隔,超出client_timeout将会断开连接。 取值范围为1-300s,默认值为60s。 使用说明:仅协议为HTTP/HTTPS的监听器支持该字段。
670
+ 参数解释:等待客户端请求超时时间,包括两种情况: - 读取整个客户端请求头的超时时长:如果客户端未在超时时长内发送完整个请求头,则请求将被中断 - 两个连续body体的数据包到达LB的时间间隔,超出client_timeout将会断开连接。 约束限制:仅协议为HTTP/HTTPS的监听器支持该字段。 取值范围: 1-3600s。 默认取值:60s。
671
671
 
672
672
  :return: The client_timeout of this CreateListenerOption.
673
673
  :rtype: int
@@ -678,7 +678,7 @@ class CreateListenerOption:
678
678
  def client_timeout(self, client_timeout):
679
679
  """Sets the client_timeout of this CreateListenerOption.
680
680
 
681
- 等待客户端请求超时时间,包括两种情况: - 读取整个客户端请求头的超时时长:如果客户端未在超时时长内发送完整个请求头,则请求将被中断 - 两个连续body体的数据包到达LB的时间间隔,超出client_timeout将会断开连接。 取值范围为1-300s,默认值为60s。 使用说明:仅协议为HTTP/HTTPS的监听器支持该字段。
681
+ 参数解释:等待客户端请求超时时间,包括两种情况: - 读取整个客户端请求头的超时时长:如果客户端未在超时时长内发送完整个请求头,则请求将被中断 - 两个连续body体的数据包到达LB的时间间隔,超出client_timeout将会断开连接。 约束限制:仅协议为HTTP/HTTPS的监听器支持该字段。 取值范围: 1-3600s。 默认取值:60s。
682
682
 
683
683
  :param client_timeout: The client_timeout of this CreateListenerOption.
684
684
  :type client_timeout: int
@@ -689,7 +689,7 @@ class CreateListenerOption:
689
689
  def member_timeout(self):
690
690
  """Gets the member_timeout of this CreateListenerOption.
691
691
 
692
- 等待后端服务器响应超时时间。请求转发后端服务器后,在等待超时member_timeout时长没有响应,负载均衡将终止等待,并返回 HTTP504错误码。 取值:1-300s,默认为60s。 使用说明:仅支持协议为HTTP/HTTPS的监听器。
692
+ 参数解释:等待后端服务器响应超时时间。请求转发后端服务器后,在等待超时member_timeout时长没有响应,负载均衡将终止等待,并返回 HTTP504错误码。 约束限制:仅支持协议为HTTP/HTTPS的监听器。 取值范围:1-3600s。 默认取值:60s。
693
693
 
694
694
  :return: The member_timeout of this CreateListenerOption.
695
695
  :rtype: int
@@ -700,7 +700,7 @@ class CreateListenerOption:
700
700
  def member_timeout(self, member_timeout):
701
701
  """Sets the member_timeout of this CreateListenerOption.
702
702
 
703
- 等待后端服务器响应超时时间。请求转发后端服务器后,在等待超时member_timeout时长没有响应,负载均衡将终止等待,并返回 HTTP504错误码。 取值:1-300s,默认为60s。 使用说明:仅支持协议为HTTP/HTTPS的监听器。
703
+ 参数解释:等待后端服务器响应超时时间。请求转发后端服务器后,在等待超时member_timeout时长没有响应,负载均衡将终止等待,并返回 HTTP504错误码。 约束限制:仅支持协议为HTTP/HTTPS的监听器。 取值范围:1-3600s。 默认取值:60s。
704
704
 
705
705
  :param member_timeout: The member_timeout of this CreateListenerOption.
706
706
  :type member_timeout: int
@@ -729,7 +729,7 @@ class CreateListenerOption:
729
729
  def transparent_client_ip_enable(self):
730
730
  """Gets the transparent_client_ip_enable of this CreateListenerOption.
731
731
 
732
- 是否透传客户端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)
732
+ 参数解释:是否透传客户端IP地址。开启后客户端IP地址将透传到后端服务器。 [约束限制: - 仅作用于共享型LB的TCP/UDP监听器。 - 开启特性后,ELB和后端服务器之间直接使用真实的IP访问,需要确保已正确设置服务器的安全组以及访问控制策略。 - 开启特性后,不支持同一台服务器既作为后端服务器又作为客户端的场景。 - 开启特性后,不支持变更后端服务器规格。 取值范围: - 共享型LB的TCP/UDP监听器可设置为true或false,不传默认为false。 - 共享型LB的HTTP/HTTPS监听器只支持设置为true,不传默认为true。 - 独享型负载均衡器所有协议的监听器只支持设置为true,不传默认为true。 ](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)
733
733
 
734
734
  :return: The transparent_client_ip_enable of this CreateListenerOption.
735
735
  :rtype: bool
@@ -740,7 +740,7 @@ class CreateListenerOption:
740
740
  def transparent_client_ip_enable(self, transparent_client_ip_enable):
741
741
  """Sets the transparent_client_ip_enable of this CreateListenerOption.
742
742
 
743
- 是否透传客户端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)
743
+ 参数解释:是否透传客户端IP地址。开启后客户端IP地址将透传到后端服务器。 [约束限制: - 仅作用于共享型LB的TCP/UDP监听器。 - 开启特性后,ELB和后端服务器之间直接使用真实的IP访问,需要确保已正确设置服务器的安全组以及访问控制策略。 - 开启特性后,不支持同一台服务器既作为后端服务器又作为客户端的场景。 - 开启特性后,不支持变更后端服务器规格。 取值范围: - 共享型LB的TCP/UDP监听器可设置为true或false,不传默认为false。 - 共享型LB的HTTP/HTTPS监听器只支持设置为true,不传默认为true。 - 独享型负载均衡器所有协议的监听器只支持设置为true,不传默认为true。 ](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)
744
744
 
745
745
  :param transparent_client_ip_enable: The transparent_client_ip_enable of this CreateListenerOption.
746
746
  :type transparent_client_ip_enable: bool
@@ -751,7 +751,7 @@ class CreateListenerOption:
751
751
  def proxy_protocol_enable(self):
752
752
  """Gets the proxy_protocol_enable of this CreateListenerOption.
753
753
 
754
- 是否开启proxy_protocol。仅TLS监听器可指定,其他协议的监听器该字段不生效,proxy_protocol不开启。
754
+ 参数解释:是否开启proxy_protocol。 约束限制:仅TLS监听器可指定,其他协议的监听器该字段不生效,proxy_protocol不开启。
755
755
 
756
756
  :return: The proxy_protocol_enable of this CreateListenerOption.
757
757
  :rtype: bool
@@ -762,7 +762,7 @@ class CreateListenerOption:
762
762
  def proxy_protocol_enable(self, proxy_protocol_enable):
763
763
  """Sets the proxy_protocol_enable of this CreateListenerOption.
764
764
 
765
- 是否开启proxy_protocol。仅TLS监听器可指定,其他协议的监听器该字段不生效,proxy_protocol不开启。
765
+ 参数解释:是否开启proxy_protocol。 约束限制:仅TLS监听器可指定,其他协议的监听器该字段不生效,proxy_protocol不开启。
766
766
 
767
767
  :param proxy_protocol_enable: The proxy_protocol_enable of this CreateListenerOption.
768
768
  :type proxy_protocol_enable: bool
@@ -773,7 +773,7 @@ class CreateListenerOption:
773
773
  def enhance_l7policy_enable(self):
774
774
  """Gets the enhance_l7policy_enable of this CreateListenerOption.
775
775
 
776
- 是否开启高级转发策略功能。开启高级转发策略后,支持更灵活的转发策略和转发规则设置。 取值: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) > 开启后不支持关闭
776
+ 参数解释:是否开启高级转发策略功能。开启高级转发策略后,支持更灵活的转发策略和转发规则设置。 开启后支持如下场景: - 转发策略的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字段。 取值范围:true开启,false不开启,默认false。 [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test) > 开启后不支持关闭
777
777
 
778
778
  :return: The enhance_l7policy_enable of this CreateListenerOption.
779
779
  :rtype: bool
@@ -784,7 +784,7 @@ class CreateListenerOption:
784
784
  def enhance_l7policy_enable(self, enhance_l7policy_enable):
785
785
  """Sets the enhance_l7policy_enable of this CreateListenerOption.
786
786
 
787
- 是否开启高级转发策略功能。开启高级转发策略后,支持更灵活的转发策略和转发规则设置。 取值: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) > 开启后不支持关闭
787
+ 参数解释:是否开启高级转发策略功能。开启高级转发策略后,支持更灵活的转发策略和转发规则设置。 开启后支持如下场景: - 转发策略的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字段。 取值范围:true开启,false不开启,默认false。 [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test) > 开启后不支持关闭
788
788
 
789
789
  :param enhance_l7policy_enable: The enhance_l7policy_enable of this CreateListenerOption.
790
790
  :type enhance_l7policy_enable: bool
@@ -813,7 +813,7 @@ class CreateListenerOption:
813
813
  def protection_status(self):
814
814
  """Gets the protection_status of this CreateListenerOption.
815
815
 
816
- 修改保护状态, 取值: - nonProtection: 不保护,默认值为nonProtection - consoleProtection: 控制台修改保护
816
+ 参数解释:修改保护状态。 取值范围: - nonProtection: 不保护,默认值为nonProtection - consoleProtection: 控制台修改保护
817
817
 
818
818
  :return: The protection_status of this CreateListenerOption.
819
819
  :rtype: str
@@ -824,7 +824,7 @@ class CreateListenerOption:
824
824
  def protection_status(self, protection_status):
825
825
  """Sets the protection_status of this CreateListenerOption.
826
826
 
827
- 修改保护状态, 取值: - nonProtection: 不保护,默认值为nonProtection - consoleProtection: 控制台修改保护
827
+ 参数解释:修改保护状态。 取值范围: - nonProtection: 不保护,默认值为nonProtection - consoleProtection: 控制台修改保护
828
828
 
829
829
  :param protection_status: The protection_status of this CreateListenerOption.
830
830
  :type protection_status: str
@@ -835,7 +835,7 @@ class CreateListenerOption:
835
835
  def protection_reason(self):
836
836
  """Gets the protection_reason of this CreateListenerOption.
837
837
 
838
- 设置保护的原因 >仅当protection_status为consoleProtection时有效。
838
+ 参数解释:设置保护的原因 约束限制:仅当protection_status为consoleProtection时有效。
839
839
 
840
840
  :return: The protection_reason of this CreateListenerOption.
841
841
  :rtype: str
@@ -846,7 +846,7 @@ class CreateListenerOption:
846
846
  def protection_reason(self, protection_reason):
847
847
  """Sets the protection_reason of this CreateListenerOption.
848
848
 
849
- 设置保护的原因 >仅当protection_status为consoleProtection时有效。
849
+ 参数解释:设置保护的原因 约束限制:仅当protection_status为consoleProtection时有效。
850
850
 
851
851
  :param protection_reason: The protection_reason of this CreateListenerOption.
852
852
  :type protection_reason: str
@@ -857,7 +857,7 @@ class CreateListenerOption:
857
857
  def gzip_enable(self):
858
858
  """Gets the gzip_enable of this CreateListenerOption.
859
859
 
860
- 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)
860
+ 参数解释:ELB是否开启gzip压缩。 [约束限制:仅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) 取值范围:true,false 默认取值:false
861
861
 
862
862
  :return: The gzip_enable of this CreateListenerOption.
863
863
  :rtype: bool
@@ -868,7 +868,7 @@ class CreateListenerOption:
868
868
  def gzip_enable(self, gzip_enable):
869
869
  """Sets the gzip_enable of this CreateListenerOption.
870
870
 
871
- 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)
871
+ 参数解释:ELB是否开启gzip压缩。 [约束限制:仅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) 取值范围:true,false 默认取值:false
872
872
 
873
873
  :param gzip_enable: The gzip_enable of this CreateListenerOption.
874
874
  :type gzip_enable: bool
@@ -879,7 +879,7 @@ class CreateListenerOption:
879
879
  def port_ranges(self):
880
880
  """Gets the port_ranges of this CreateListenerOption.
881
881
 
882
- 端口监听范围(闭区间),最多指定10个端口组,每个组范围不可有重叠部分 >仅当protocol_port为0或未传入protoco_port时可以传入该字段。仅TCP, UDP,TLS监听支持该字段
882
+ 参数解释:端口监听范围(闭区间),最多指定10个端口组,每个组范围不可有重叠部分。 约束限制: - 仅当protocol_port为0或未传入protoco_port时可以传入该字段。 - 仅TCP, UDP,TLS监听支持该字段
883
883
 
884
884
  :return: The port_ranges of this CreateListenerOption.
885
885
  :rtype: list[:class:`huaweicloudsdkelb.v3.PortRange`]
@@ -890,7 +890,7 @@ class CreateListenerOption:
890
890
  def port_ranges(self, port_ranges):
891
891
  """Sets the port_ranges of this CreateListenerOption.
892
892
 
893
- 端口监听范围(闭区间),最多指定10个端口组,每个组范围不可有重叠部分 >仅当protocol_port为0或未传入protoco_port时可以传入该字段。仅TCP, UDP,TLS监听支持该字段
893
+ 参数解释:端口监听范围(闭区间),最多指定10个端口组,每个组范围不可有重叠部分。 约束限制: - 仅当protocol_port为0或未传入protoco_port时可以传入该字段。 - 仅TCP, UDP,TLS监听支持该字段
894
894
 
895
895
  :param port_ranges: The port_ranges of this CreateListenerOption.
896
896
  :type port_ranges: list[:class:`huaweicloudsdkelb.v3.PortRange`]
@@ -901,7 +901,7 @@ class CreateListenerOption:
901
901
  def ssl_early_data_enable(self):
902
902
  """Gets the ssl_early_data_enable of this CreateListenerOption.
903
903
 
904
- 监听器0-RTT能力开关,缺省值:false,非必选 HTTPS类型监听器支持配置,需要依赖TLSv1.3安全策略协议。开启 ssl_early_data 后,有重放攻击的风险,请谨慎开启。
904
+ 参数解释:监听器0-RTT能力开关。 约束限制:仅HTTPS类型监听器支持配置,需要依赖TLSv1.3安全策略协议。开启 ssl_early_data 后,有重放攻击的风险,请谨慎开启。 取值范围:true,false 默认取值:false
905
905
 
906
906
  :return: The ssl_early_data_enable of this CreateListenerOption.
907
907
  :rtype: bool
@@ -912,7 +912,7 @@ class CreateListenerOption:
912
912
  def ssl_early_data_enable(self, ssl_early_data_enable):
913
913
  """Sets the ssl_early_data_enable of this CreateListenerOption.
914
914
 
915
- 监听器0-RTT能力开关,缺省值:false,非必选 HTTPS类型监听器支持配置,需要依赖TLSv1.3安全策略协议。开启 ssl_early_data 后,有重放攻击的风险,请谨慎开启。
915
+ 参数解释:监听器0-RTT能力开关。 约束限制:仅HTTPS类型监听器支持配置,需要依赖TLSv1.3安全策略协议。开启 ssl_early_data 后,有重放攻击的风险,请谨慎开启。 取值范围:true,false 默认取值:false
916
916
 
917
917
  :param ssl_early_data_enable: The ssl_early_data_enable of this CreateListenerOption.
918
918
  :type ssl_early_data_enable: bool