huaweicloudsdkelb 3.1.108__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.
- huaweicloudsdkelb/v3/elb_async_client.py +1 -1
- huaweicloudsdkelb/v3/elb_client.py +1 -1
- huaweicloudsdkelb/v3/model/autoscaling_ref.py +6 -6
- huaweicloudsdkelb/v3/model/availability_zone.py +15 -15
- huaweicloudsdkelb/v3/model/bandwidth_ref.py +3 -3
- huaweicloudsdkelb/v3/model/batch_create_members_option.py +6 -6
- huaweicloudsdkelb/v3/model/batch_create_members_request.py +3 -3
- huaweicloudsdkelb/v3/model/batch_delete_members_request.py +3 -3
- huaweicloudsdkelb/v3/model/batch_member.py +6 -6
- huaweicloudsdkelb/v3/model/batch_update_members_option.py +3 -3
- huaweicloudsdkelb/v3/model/batch_update_members_request.py +3 -3
- huaweicloudsdkelb/v3/model/batch_update_policies_priority_request_body.py +3 -3
- huaweicloudsdkelb/v3/model/batch_update_priority_request_body.py +6 -6
- huaweicloudsdkelb/v3/model/create_fixted_response_config.py +9 -9
- huaweicloudsdkelb/v3/model/create_health_monitor_option.py +12 -12
- huaweicloudsdkelb/v3/model/create_insert_header_config.py +9 -9
- huaweicloudsdkelb/v3/model/create_insert_headers_config.py +3 -3
- huaweicloudsdkelb/v3/model/create_ip_group_ip_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_l7_policy_option.py +39 -39
- huaweicloudsdkelb/v3/model/create_l7_policy_response.py +3 -3
- huaweicloudsdkelb/v3/model/create_l7_policy_rule_option.py +21 -21
- huaweicloudsdkelb/v3/model/create_l7_rule_request.py +3 -3
- huaweicloudsdkelb/v3/model/create_l7_rule_response.py +3 -3
- huaweicloudsdkelb/v3/model/create_listener_ip_group_option.py +9 -9
- huaweicloudsdkelb/v3/model/create_listener_option.py +84 -84
- huaweicloudsdkelb/v3/model/create_listener_quic_config_option.py +6 -6
- huaweicloudsdkelb/v3/model/create_listener_response.py +3 -3
- huaweicloudsdkelb/v3/model/create_load_balancer_bandwidth_option.py +6 -6
- huaweicloudsdkelb/v3/model/create_load_balancer_option.py +45 -45
- huaweicloudsdkelb/v3/model/create_load_balancer_public_ip_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_load_balancer_response.py +9 -9
- huaweicloudsdkelb/v3/model/create_loadbalancer_autoscaling_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_master_slave_health_monitor_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_member_option.py +21 -21
- huaweicloudsdkelb/v3/model/create_member_request.py +3 -3
- huaweicloudsdkelb/v3/model/create_member_response.py +3 -3
- huaweicloudsdkelb/v3/model/create_pool_option.py +12 -12
- huaweicloudsdkelb/v3/model/create_pool_session_persistence_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_redirect_pools_config.py +6 -6
- huaweicloudsdkelb/v3/model/create_redirect_pools_extend_config.py +3 -3
- huaweicloudsdkelb/v3/model/create_redirect_pools_sticky_session_config.py +6 -6
- huaweicloudsdkelb/v3/model/create_redirect_url_config.py +18 -18
- huaweicloudsdkelb/v3/model/create_remove_header_config.py +3 -3
- huaweicloudsdkelb/v3/model/create_remove_headers_config.py +3 -3
- huaweicloudsdkelb/v3/model/create_rewrite_url_config.py +9 -9
- huaweicloudsdkelb/v3/model/create_rule_condition.py +6 -6
- huaweicloudsdkelb/v3/model/create_rule_option.py +24 -24
- huaweicloudsdkelb/v3/model/create_traffic_limit_config.py +9 -9
- huaweicloudsdkelb/v3/model/delete_l7_policy_request.py +3 -3
- huaweicloudsdkelb/v3/model/delete_master_slave_pool_request.py +3 -3
- huaweicloudsdkelb/v3/model/delete_member_request.py +3 -3
- huaweicloudsdkelb/v3/model/delete_pool_request.py +3 -3
- huaweicloudsdkelb/v3/model/eip_info.py +9 -9
- huaweicloudsdkelb/v3/model/fixted_response_config.py +9 -9
- huaweicloudsdkelb/v3/model/flavor.py +6 -6
- huaweicloudsdkelb/v3/model/flavor_info.py +18 -18
- huaweicloudsdkelb/v3/model/global_eip_info.py +9 -9
- huaweicloudsdkelb/v3/model/health_monitor.py +12 -12
- huaweicloudsdkelb/v3/model/insert_header_config.py +9 -9
- huaweicloudsdkelb/v3/model/insert_headers_config.py +3 -3
- huaweicloudsdkelb/v3/model/l7_policy.py +51 -51
- huaweicloudsdkelb/v3/model/l7_rule.py +36 -36
- huaweicloudsdkelb/v3/model/list_availability_zones_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_availability_zones_response.py +38 -9
- huaweicloudsdkelb/v3/model/list_flavors_request.py +9 -9
- huaweicloudsdkelb/v3/model/list_health_monitors_request.py +9 -9
- huaweicloudsdkelb/v3/model/list_l7_policies_request.py +48 -48
- huaweicloudsdkelb/v3/model/list_l7_policies_response.py +6 -6
- huaweicloudsdkelb/v3/model/list_l7_rules_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_l7_rules_response.py +6 -6
- huaweicloudsdkelb/v3/model/list_listeners_request.py +9 -9
- huaweicloudsdkelb/v3/model/list_listeners_response.py +6 -6
- huaweicloudsdkelb/v3/model/list_load_balancers_request.py +6 -6
- huaweicloudsdkelb/v3/model/list_master_slave_pools_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_members_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_pools_request.py +3 -3
- huaweicloudsdkelb/v3/model/listener.py +96 -96
- huaweicloudsdkelb/v3/model/listener_insert_headers.py +27 -27
- huaweicloudsdkelb/v3/model/listener_ip_group.py +9 -9
- huaweicloudsdkelb/v3/model/listener_quic_config.py +6 -6
- huaweicloudsdkelb/v3/model/load_balancer.py +129 -129
- huaweicloudsdkelb/v3/model/load_balancer_ref.py +3 -3
- huaweicloudsdkelb/v3/model/load_balancer_status_pool.py +3 -3
- huaweicloudsdkelb/v3/model/logtank.py +3 -3
- huaweicloudsdkelb/v3/model/master_slave_health_monitor.py +6 -6
- huaweicloudsdkelb/v3/model/member.py +45 -45
- huaweicloudsdkelb/v3/model/member_info.py +6 -6
- huaweicloudsdkelb/v3/model/member_status.py +6 -6
- huaweicloudsdkelb/v3/model/pool.py +6 -6
- huaweicloudsdkelb/v3/model/pool_ref.py +3 -3
- huaweicloudsdkelb/v3/model/prepaid_create_option.py +3 -3
- huaweicloudsdkelb/v3/model/public_ip_info.py +9 -9
- huaweicloudsdkelb/v3/model/quota.py +3 -3
- huaweicloudsdkelb/v3/model/redirect_pools_config.py +6 -6
- huaweicloudsdkelb/v3/model/redirect_pools_extend_config.py +3 -3
- huaweicloudsdkelb/v3/model/redirect_pools_sticky_session_config.py +6 -6
- huaweicloudsdkelb/v3/model/redirect_url_config.py +18 -18
- huaweicloudsdkelb/v3/model/remove_header_config.py +3 -3
- huaweicloudsdkelb/v3/model/remove_headers_config.py +3 -3
- huaweicloudsdkelb/v3/model/rewrite_url_config.py +9 -9
- huaweicloudsdkelb/v3/model/rule_condition.py +6 -6
- huaweicloudsdkelb/v3/model/rule_ref.py +3 -3
- huaweicloudsdkelb/v3/model/show_l7_policy_request.py +3 -3
- huaweicloudsdkelb/v3/model/show_l7_policy_response.py +3 -3
- huaweicloudsdkelb/v3/model/show_l7_rule_response.py +3 -3
- huaweicloudsdkelb/v3/model/show_listener_response.py +3 -3
- huaweicloudsdkelb/v3/model/show_load_balancer_response.py +3 -3
- huaweicloudsdkelb/v3/model/show_load_balancer_status_response.py +3 -3
- huaweicloudsdkelb/v3/model/show_master_slave_pool_request.py +3 -3
- huaweicloudsdkelb/v3/model/show_member_request.py +3 -3
- huaweicloudsdkelb/v3/model/show_pool_request.py +3 -3
- huaweicloudsdkelb/v3/model/tag.py +6 -6
- huaweicloudsdkelb/v3/model/traffic_limit_config.py +9 -9
- huaweicloudsdkelb/v3/model/upadate_ip_group_ip_option.py +3 -3
- huaweicloudsdkelb/v3/model/update_fixted_response_config.py +9 -9
- huaweicloudsdkelb/v3/model/update_health_monitor_option.py +12 -12
- huaweicloudsdkelb/v3/model/update_insert_header_config.py +9 -9
- huaweicloudsdkelb/v3/model/update_insert_headers_config.py +3 -3
- huaweicloudsdkelb/v3/model/update_l7_policy_option.py +24 -24
- huaweicloudsdkelb/v3/model/update_l7_policy_request.py +3 -3
- huaweicloudsdkelb/v3/model/update_l7_policy_response.py +3 -3
- huaweicloudsdkelb/v3/model/update_l7_rule_option.py +18 -18
- huaweicloudsdkelb/v3/model/update_l7_rule_response.py +3 -3
- huaweicloudsdkelb/v3/model/update_listener_ip_group_option.py +9 -9
- huaweicloudsdkelb/v3/model/update_listener_option.py +66 -66
- huaweicloudsdkelb/v3/model/update_listener_quic_config_option.py +6 -6
- huaweicloudsdkelb/v3/model/update_listener_response.py +3 -3
- huaweicloudsdkelb/v3/model/update_load_balancer_option.py +48 -48
- huaweicloudsdkelb/v3/model/update_load_balancer_response.py +9 -9
- huaweicloudsdkelb/v3/model/update_loadbalancer_autoscaling_option.py +6 -6
- huaweicloudsdkelb/v3/model/update_member_option.py +3 -3
- huaweicloudsdkelb/v3/model/update_member_request.py +3 -3
- huaweicloudsdkelb/v3/model/update_pool_option.py +9 -9
- huaweicloudsdkelb/v3/model/update_pool_request.py +3 -3
- huaweicloudsdkelb/v3/model/update_pool_session_persistence_option.py +3 -3
- huaweicloudsdkelb/v3/model/update_redirect_pools_config.py +6 -6
- huaweicloudsdkelb/v3/model/update_redirect_pools_extend_config.py +3 -3
- huaweicloudsdkelb/v3/model/update_redirect_pools_sticky_session_config.py +6 -6
- huaweicloudsdkelb/v3/model/update_redirect_url_config.py +18 -18
- huaweicloudsdkelb/v3/model/update_remove_header_config.py +3 -3
- huaweicloudsdkelb/v3/model/update_remove_headers_config.py +3 -3
- huaweicloudsdkelb/v3/model/update_rewrite_url_config.py +9 -9
- huaweicloudsdkelb/v3/model/update_rule_condition.py +6 -6
- huaweicloudsdkelb/v3/model/update_traffic_limit_config.py +9 -9
- {huaweicloudsdkelb-3.1.108.dist-info → huaweicloudsdkelb-3.1.110.dist-info}/METADATA +2 -2
- {huaweicloudsdkelb-3.1.108.dist-info → huaweicloudsdkelb-3.1.110.dist-info}/RECORD +149 -149
- {huaweicloudsdkelb-3.1.108.dist-info → huaweicloudsdkelb-3.1.110.dist-info}/WHEEL +1 -1
- {huaweicloudsdkelb-3.1.108.dist-info → huaweicloudsdkelb-3.1.110.dist-info}/LICENSE +0 -0
- {huaweicloudsdkelb-3.1.108.dist-info → huaweicloudsdkelb-3.1.110.dist-info}/top_level.txt +0 -0
@@ -38,11 +38,11 @@ class CreateLoadBalancerResponse(SdkResponse):
|
|
38
38
|
|
39
39
|
:param loadbalancer:
|
40
40
|
:type loadbalancer: :class:`huaweicloudsdkelb.v3.LoadBalancer`
|
41
|
-
:param loadbalancer_id:
|
41
|
+
:param loadbalancer_id: 参数解释:负载均衡器的ID[(包周期场景返回该字段)](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,ctc,cmcc,hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b) [不支持该字段,请勿使用](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,ctc,cmcc,hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
42
42
|
:type loadbalancer_id: str
|
43
|
-
:param order_id:
|
43
|
+
:param order_id: 参数解释:订单号[(包周期场景返回该字段)](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,ctc,cmcc,hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b) [不支持该字段,请勿使用](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,ctc,cmcc,hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
44
44
|
:type order_id: str
|
45
|
-
:param request_id:
|
45
|
+
:param request_id: 参数解释:请求ID。 注:自动生成 。
|
46
46
|
:type request_id: str
|
47
47
|
"""
|
48
48
|
|
@@ -85,7 +85,7 @@ class CreateLoadBalancerResponse(SdkResponse):
|
|
85
85
|
def loadbalancer_id(self):
|
86
86
|
"""Gets the loadbalancer_id of this CreateLoadBalancerResponse.
|
87
87
|
|
88
|
-
|
88
|
+
参数解释:负载均衡器的ID[(包周期场景返回该字段)](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,ctc,cmcc,hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b) [不支持该字段,请勿使用](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,ctc,cmcc,hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
89
89
|
|
90
90
|
:return: The loadbalancer_id of this CreateLoadBalancerResponse.
|
91
91
|
:rtype: str
|
@@ -96,7 +96,7 @@ class CreateLoadBalancerResponse(SdkResponse):
|
|
96
96
|
def loadbalancer_id(self, loadbalancer_id):
|
97
97
|
"""Sets the loadbalancer_id of this CreateLoadBalancerResponse.
|
98
98
|
|
99
|
-
|
99
|
+
参数解释:负载均衡器的ID[(包周期场景返回该字段)](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,ctc,cmcc,hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b) [不支持该字段,请勿使用](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,ctc,cmcc,hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
100
100
|
|
101
101
|
:param loadbalancer_id: The loadbalancer_id of this CreateLoadBalancerResponse.
|
102
102
|
:type loadbalancer_id: str
|
@@ -107,7 +107,7 @@ class CreateLoadBalancerResponse(SdkResponse):
|
|
107
107
|
def order_id(self):
|
108
108
|
"""Gets the order_id of this CreateLoadBalancerResponse.
|
109
109
|
|
110
|
-
|
110
|
+
参数解释:订单号[(包周期场景返回该字段)](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,ctc,cmcc,hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b) [不支持该字段,请勿使用](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,ctc,cmcc,hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
111
111
|
|
112
112
|
:return: The order_id of this CreateLoadBalancerResponse.
|
113
113
|
:rtype: str
|
@@ -118,7 +118,7 @@ class CreateLoadBalancerResponse(SdkResponse):
|
|
118
118
|
def order_id(self, order_id):
|
119
119
|
"""Sets the order_id of this CreateLoadBalancerResponse.
|
120
120
|
|
121
|
-
|
121
|
+
参数解释:订单号[(包周期场景返回该字段)](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,ctc,cmcc,hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b) [不支持该字段,请勿使用](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,ctc,cmcc,hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
122
122
|
|
123
123
|
:param order_id: The order_id of this CreateLoadBalancerResponse.
|
124
124
|
:type order_id: str
|
@@ -129,7 +129,7 @@ class CreateLoadBalancerResponse(SdkResponse):
|
|
129
129
|
def request_id(self):
|
130
130
|
"""Gets the request_id of this CreateLoadBalancerResponse.
|
131
131
|
|
132
|
-
|
132
|
+
参数解释:请求ID。 注:自动生成 。
|
133
133
|
|
134
134
|
:return: The request_id of this CreateLoadBalancerResponse.
|
135
135
|
:rtype: str
|
@@ -140,7 +140,7 @@ class CreateLoadBalancerResponse(SdkResponse):
|
|
140
140
|
def request_id(self, request_id):
|
141
141
|
"""Sets the request_id of this CreateLoadBalancerResponse.
|
142
142
|
|
143
|
-
|
143
|
+
参数解释:请求ID。 注:自动生成 。
|
144
144
|
|
145
145
|
:param request_id: The request_id of this CreateLoadBalancerResponse.
|
146
146
|
:type request_id: str
|
@@ -31,7 +31,7 @@ class CreateLoadbalancerAutoscalingOption:
|
|
31
31
|
|
32
32
|
The model defined in huaweicloud sdk
|
33
33
|
|
34
|
-
:param enable: 参数解释:负载均衡器实例弹性扩缩容开关。 取值范围: - true:开启。 - false:关闭。
|
34
|
+
:param enable: 参数解释:负载均衡器实例弹性扩缩容开关。 [网关型LB不支持该字段。](tag:hws_eu) 取值范围: - true:开启。 - false:关闭。
|
35
35
|
:type enable: bool
|
36
36
|
:param min_l7_flavor_id: 参数解释:实例弹性扩缩容的最小七层规格ID。 约束限制: 该字段已经废弃,建议不要使用该字段。
|
37
37
|
:type min_l7_flavor_id: str
|
@@ -51,7 +51,7 @@ class CreateLoadbalancerAutoscalingOption:
|
|
51
51
|
def enable(self):
|
52
52
|
"""Gets the enable of this CreateLoadbalancerAutoscalingOption.
|
53
53
|
|
54
|
-
参数解释:负载均衡器实例弹性扩缩容开关。 取值范围: - true:开启。 - false:关闭。
|
54
|
+
参数解释:负载均衡器实例弹性扩缩容开关。 [网关型LB不支持该字段。](tag:hws_eu) 取值范围: - true:开启。 - false:关闭。
|
55
55
|
|
56
56
|
:return: The enable of this CreateLoadbalancerAutoscalingOption.
|
57
57
|
:rtype: bool
|
@@ -62,7 +62,7 @@ class CreateLoadbalancerAutoscalingOption:
|
|
62
62
|
def enable(self, enable):
|
63
63
|
"""Sets the enable of this CreateLoadbalancerAutoscalingOption.
|
64
64
|
|
65
|
-
参数解释:负载均衡器实例弹性扩缩容开关。 取值范围: - true:开启。 - false:关闭。
|
65
|
+
参数解释:负载均衡器实例弹性扩缩容开关。 [网关型LB不支持该字段。](tag:hws_eu) 取值范围: - true:开启。 - false:关闭。
|
66
66
|
|
67
67
|
:param enable: The enable of this CreateLoadbalancerAutoscalingOption.
|
68
68
|
:type enable: bool
|
@@ -53,7 +53,7 @@ class CreateMasterSlaveHealthMonitorOption:
|
|
53
53
|
:type delay: int
|
54
54
|
:param domain_name: 发送健康检查请求的域名。 取值:以数字或字母开头,只能包含数字、字母、’-’、’.’。 默认为空,表示使用负载均衡器的vip作为http请求的目的地址。 使用说明:当type为HTTP/HTTPS时生效。
|
55
55
|
:type domain_name: str
|
56
|
-
:param expected_codes: 期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 默认值:200。 仅支持HTTP/HTTPS/
|
56
|
+
:param expected_codes: 期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 默认值:200。 仅支持HTTP/HTTPS/gRPC设置该字段,其他协议设置不会生效。
|
57
57
|
:type expected_codes: str
|
58
58
|
:param http_method: HTTP请求方法。 取值:GET、HEAD、POST,默认GET。 使用说明:当type为HTTP/HTTPS时生效。
|
59
59
|
:type http_method: str
|
@@ -155,7 +155,7 @@ class CreateMasterSlaveHealthMonitorOption:
|
|
155
155
|
def expected_codes(self):
|
156
156
|
"""Gets the expected_codes of this CreateMasterSlaveHealthMonitorOption.
|
157
157
|
|
158
|
-
期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 默认值:200。 仅支持HTTP/HTTPS/
|
158
|
+
期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 默认值:200。 仅支持HTTP/HTTPS/gRPC设置该字段,其他协议设置不会生效。
|
159
159
|
|
160
160
|
:return: The expected_codes of this CreateMasterSlaveHealthMonitorOption.
|
161
161
|
:rtype: str
|
@@ -166,7 +166,7 @@ class CreateMasterSlaveHealthMonitorOption:
|
|
166
166
|
def expected_codes(self, expected_codes):
|
167
167
|
"""Sets the expected_codes of this CreateMasterSlaveHealthMonitorOption.
|
168
168
|
|
169
|
-
期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 默认值:200。 仅支持HTTP/HTTPS/
|
169
|
+
期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 默认值:200。 仅支持HTTP/HTTPS/gRPC设置该字段,其他协议设置不会生效。
|
170
170
|
|
171
171
|
:param expected_codes: The expected_codes of this CreateMasterSlaveHealthMonitorOption.
|
172
172
|
:type expected_codes: str
|
@@ -41,19 +41,19 @@ class CreateMemberOption:
|
|
41
41
|
|
42
42
|
The model defined in huaweicloud sdk
|
43
43
|
|
44
|
-
:param address:
|
44
|
+
:param address: 参数解释:后端服务器对应的IP地址。 约束限制: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP地址可以是私网IPv4或IPv6。 但必须在subnet_cidr_id对应的子网网段中。且只能指定为关联ECS的主网卡的内网IP。 [ 不支持IPv6,请勿设置为IPv6地址。](tag:dt,dt_test)
|
45
45
|
:type address: str
|
46
|
-
:param admin_state_up:
|
46
|
+
:param admin_state_up: 参数解释:后端云服务器的管理状态。 约束限制:虽然创建、更新请求支持该字段,但实际取值决定于后端云服务器对应的弹性云服务器是否存在。若存在,该值为true,否则,该值为false。 取值范围:true、false。
|
47
47
|
:type admin_state_up: bool
|
48
|
-
:param name:
|
48
|
+
:param name: 参数解释:后端云服务器名称。注意:该名称并非ECS名称,若不传则返回为空。
|
49
49
|
:type name: str
|
50
|
-
:param project_id:
|
50
|
+
:param project_id: 参数解释:后端云服务器所在的项目ID。
|
51
51
|
:type project_id: str
|
52
|
-
:param protocol_port:
|
52
|
+
:param protocol_port: 参数解释:后端服务器业务端口。 约束限制: - 在开启端口透传的pool下创建member传该字段不生效,可不传该字段。 [- 网关型LB,即pool协议为IP时,protocol_port必须设置为0。](tag:hws_eu)
|
53
53
|
:type protocol_port: int
|
54
|
-
:param subnet_cidr_id:
|
54
|
+
:param subnet_cidr_id: 参数解释:后端云服务器所在的子网,可以是IPv4或IPv6子网。若是IPv4子网,使用对应子网的子网ID(neutron_subnet_id);若是IPv6子网,使用对应子网的网络ID(neutron_network_id)。 ipv4子网的子网ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_subnet_id得到 ipv6子网的网络ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_network_id得到 约束限制: - 该子网和关联的负载均衡器的子网必须在同一VPC下。 - 若所属LB的跨VPC后端转发已开启(ip_target_enable=true),则该字段可以不传,表示添加跨VPC的后端服务器。 此时address必须为IPv4地址,所在的pool的协议必须为TCP/HTTP/HTTPS。 - 若所属LB未开启跨VPC后端转发,该参数必填。 [- 网关型LB,即pool协议为IP时,必须指定该子网,且必须和负载均衡器的子网在同一个VPC下,但不能相同。](tag:hws_eu) [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt,dt_test)
|
55
55
|
:type subnet_cidr_id: str
|
56
|
-
:param weight:
|
56
|
+
:param weight: 参数解释:后端云服务器的权重,请求将根据pool配置的负载均衡算法和后端云服务器的权重进行负载分发。 权重值越大,分发的请求越多。权重为0的后端不再接受新的请求。 约束限制:若所在pool的lb_algorithm取值为SOURCE_IP,该字段无效。 取值范围:0-100,默认1。
|
57
57
|
:type weight: int
|
58
58
|
"""
|
59
59
|
|
@@ -86,7 +86,7 @@ class CreateMemberOption:
|
|
86
86
|
def address(self):
|
87
87
|
"""Gets the address of this CreateMemberOption.
|
88
88
|
|
89
|
-
|
89
|
+
参数解释:后端服务器对应的IP地址。 约束限制: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP地址可以是私网IPv4或IPv6。 但必须在subnet_cidr_id对应的子网网段中。且只能指定为关联ECS的主网卡的内网IP。 [ 不支持IPv6,请勿设置为IPv6地址。](tag:dt,dt_test)
|
90
90
|
|
91
91
|
:return: The address of this CreateMemberOption.
|
92
92
|
:rtype: str
|
@@ -97,7 +97,7 @@ class CreateMemberOption:
|
|
97
97
|
def address(self, address):
|
98
98
|
"""Sets the address of this CreateMemberOption.
|
99
99
|
|
100
|
-
|
100
|
+
参数解释:后端服务器对应的IP地址。 约束限制: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP地址可以是私网IPv4或IPv6。 但必须在subnet_cidr_id对应的子网网段中。且只能指定为关联ECS的主网卡的内网IP。 [ 不支持IPv6,请勿设置为IPv6地址。](tag:dt,dt_test)
|
101
101
|
|
102
102
|
:param address: The address of this CreateMemberOption.
|
103
103
|
:type address: str
|
@@ -108,7 +108,7 @@ class CreateMemberOption:
|
|
108
108
|
def admin_state_up(self):
|
109
109
|
"""Gets the admin_state_up of this CreateMemberOption.
|
110
110
|
|
111
|
-
|
111
|
+
参数解释:后端云服务器的管理状态。 约束限制:虽然创建、更新请求支持该字段,但实际取值决定于后端云服务器对应的弹性云服务器是否存在。若存在,该值为true,否则,该值为false。 取值范围:true、false。
|
112
112
|
|
113
113
|
:return: The admin_state_up of this CreateMemberOption.
|
114
114
|
:rtype: bool
|
@@ -119,7 +119,7 @@ class CreateMemberOption:
|
|
119
119
|
def admin_state_up(self, admin_state_up):
|
120
120
|
"""Sets the admin_state_up of this CreateMemberOption.
|
121
121
|
|
122
|
-
|
122
|
+
参数解释:后端云服务器的管理状态。 约束限制:虽然创建、更新请求支持该字段,但实际取值决定于后端云服务器对应的弹性云服务器是否存在。若存在,该值为true,否则,该值为false。 取值范围:true、false。
|
123
123
|
|
124
124
|
:param admin_state_up: The admin_state_up of this CreateMemberOption.
|
125
125
|
:type admin_state_up: bool
|
@@ -130,7 +130,7 @@ class CreateMemberOption:
|
|
130
130
|
def name(self):
|
131
131
|
"""Gets the name of this CreateMemberOption.
|
132
132
|
|
133
|
-
|
133
|
+
参数解释:后端云服务器名称。注意:该名称并非ECS名称,若不传则返回为空。
|
134
134
|
|
135
135
|
:return: The name of this CreateMemberOption.
|
136
136
|
:rtype: str
|
@@ -141,7 +141,7 @@ class CreateMemberOption:
|
|
141
141
|
def name(self, name):
|
142
142
|
"""Sets the name of this CreateMemberOption.
|
143
143
|
|
144
|
-
|
144
|
+
参数解释:后端云服务器名称。注意:该名称并非ECS名称,若不传则返回为空。
|
145
145
|
|
146
146
|
:param name: The name of this CreateMemberOption.
|
147
147
|
:type name: str
|
@@ -152,7 +152,7 @@ class CreateMemberOption:
|
|
152
152
|
def project_id(self):
|
153
153
|
"""Gets the project_id of this CreateMemberOption.
|
154
154
|
|
155
|
-
|
155
|
+
参数解释:后端云服务器所在的项目ID。
|
156
156
|
|
157
157
|
:return: The project_id of this CreateMemberOption.
|
158
158
|
:rtype: str
|
@@ -163,7 +163,7 @@ class CreateMemberOption:
|
|
163
163
|
def project_id(self, project_id):
|
164
164
|
"""Sets the project_id of this CreateMemberOption.
|
165
165
|
|
166
|
-
|
166
|
+
参数解释:后端云服务器所在的项目ID。
|
167
167
|
|
168
168
|
:param project_id: The project_id of this CreateMemberOption.
|
169
169
|
:type project_id: str
|
@@ -174,7 +174,7 @@ class CreateMemberOption:
|
|
174
174
|
def protocol_port(self):
|
175
175
|
"""Gets the protocol_port of this CreateMemberOption.
|
176
176
|
|
177
|
-
|
177
|
+
参数解释:后端服务器业务端口。 约束限制: - 在开启端口透传的pool下创建member传该字段不生效,可不传该字段。 [- 网关型LB,即pool协议为IP时,protocol_port必须设置为0。](tag:hws_eu)
|
178
178
|
|
179
179
|
:return: The protocol_port of this CreateMemberOption.
|
180
180
|
:rtype: int
|
@@ -185,7 +185,7 @@ class CreateMemberOption:
|
|
185
185
|
def protocol_port(self, protocol_port):
|
186
186
|
"""Sets the protocol_port of this CreateMemberOption.
|
187
187
|
|
188
|
-
|
188
|
+
参数解释:后端服务器业务端口。 约束限制: - 在开启端口透传的pool下创建member传该字段不生效,可不传该字段。 [- 网关型LB,即pool协议为IP时,protocol_port必须设置为0。](tag:hws_eu)
|
189
189
|
|
190
190
|
:param protocol_port: The protocol_port of this CreateMemberOption.
|
191
191
|
:type protocol_port: int
|
@@ -196,7 +196,7 @@ class CreateMemberOption:
|
|
196
196
|
def subnet_cidr_id(self):
|
197
197
|
"""Gets the subnet_cidr_id of this CreateMemberOption.
|
198
198
|
|
199
|
-
|
199
|
+
参数解释:后端云服务器所在的子网,可以是IPv4或IPv6子网。若是IPv4子网,使用对应子网的子网ID(neutron_subnet_id);若是IPv6子网,使用对应子网的网络ID(neutron_network_id)。 ipv4子网的子网ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_subnet_id得到 ipv6子网的网络ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_network_id得到 约束限制: - 该子网和关联的负载均衡器的子网必须在同一VPC下。 - 若所属LB的跨VPC后端转发已开启(ip_target_enable=true),则该字段可以不传,表示添加跨VPC的后端服务器。 此时address必须为IPv4地址,所在的pool的协议必须为TCP/HTTP/HTTPS。 - 若所属LB未开启跨VPC后端转发,该参数必填。 [- 网关型LB,即pool协议为IP时,必须指定该子网,且必须和负载均衡器的子网在同一个VPC下,但不能相同。](tag:hws_eu) [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt,dt_test)
|
200
200
|
|
201
201
|
:return: The subnet_cidr_id of this CreateMemberOption.
|
202
202
|
:rtype: str
|
@@ -207,7 +207,7 @@ class CreateMemberOption:
|
|
207
207
|
def subnet_cidr_id(self, subnet_cidr_id):
|
208
208
|
"""Sets the subnet_cidr_id of this CreateMemberOption.
|
209
209
|
|
210
|
-
|
210
|
+
参数解释:后端云服务器所在的子网,可以是IPv4或IPv6子网。若是IPv4子网,使用对应子网的子网ID(neutron_subnet_id);若是IPv6子网,使用对应子网的网络ID(neutron_network_id)。 ipv4子网的子网ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_subnet_id得到 ipv6子网的网络ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_network_id得到 约束限制: - 该子网和关联的负载均衡器的子网必须在同一VPC下。 - 若所属LB的跨VPC后端转发已开启(ip_target_enable=true),则该字段可以不传,表示添加跨VPC的后端服务器。 此时address必须为IPv4地址,所在的pool的协议必须为TCP/HTTP/HTTPS。 - 若所属LB未开启跨VPC后端转发,该参数必填。 [- 网关型LB,即pool协议为IP时,必须指定该子网,且必须和负载均衡器的子网在同一个VPC下,但不能相同。](tag:hws_eu) [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt,dt_test)
|
211
211
|
|
212
212
|
:param subnet_cidr_id: The subnet_cidr_id of this CreateMemberOption.
|
213
213
|
:type subnet_cidr_id: str
|
@@ -218,7 +218,7 @@ class CreateMemberOption:
|
|
218
218
|
def weight(self):
|
219
219
|
"""Gets the weight of this CreateMemberOption.
|
220
220
|
|
221
|
-
|
221
|
+
参数解释:后端云服务器的权重,请求将根据pool配置的负载均衡算法和后端云服务器的权重进行负载分发。 权重值越大,分发的请求越多。权重为0的后端不再接受新的请求。 约束限制:若所在pool的lb_algorithm取值为SOURCE_IP,该字段无效。 取值范围:0-100,默认1。
|
222
222
|
|
223
223
|
:return: The weight of this CreateMemberOption.
|
224
224
|
:rtype: int
|
@@ -229,7 +229,7 @@ class CreateMemberOption:
|
|
229
229
|
def weight(self, weight):
|
230
230
|
"""Sets the weight of this CreateMemberOption.
|
231
231
|
|
232
|
-
|
232
|
+
参数解释:后端云服务器的权重,请求将根据pool配置的负载均衡算法和后端云服务器的权重进行负载分发。 权重值越大,分发的请求越多。权重为0的后端不再接受新的请求。 约束限制:若所在pool的lb_algorithm取值为SOURCE_IP,该字段无效。 取值范围:0-100,默认1。
|
233
233
|
|
234
234
|
:param weight: The weight of this CreateMemberOption.
|
235
235
|
:type weight: int
|
@@ -31,7 +31,7 @@ class CreateMemberRequest:
|
|
31
31
|
|
32
32
|
The model defined in huaweicloud sdk
|
33
33
|
|
34
|
-
:param pool_id:
|
34
|
+
:param pool_id: 参数解释:后端服务器组ID。
|
35
35
|
:type pool_id: str
|
36
36
|
:param body: Body of the CreateMemberRequest
|
37
37
|
:type body: :class:`huaweicloudsdkelb.v3.CreateMemberRequestBody`
|
@@ -51,7 +51,7 @@ class CreateMemberRequest:
|
|
51
51
|
def pool_id(self):
|
52
52
|
"""Gets the pool_id of this CreateMemberRequest.
|
53
53
|
|
54
|
-
|
54
|
+
参数解释:后端服务器组ID。
|
55
55
|
|
56
56
|
:return: The pool_id of this CreateMemberRequest.
|
57
57
|
:rtype: str
|
@@ -62,7 +62,7 @@ class CreateMemberRequest:
|
|
62
62
|
def pool_id(self, pool_id):
|
63
63
|
"""Sets the pool_id of this CreateMemberRequest.
|
64
64
|
|
65
|
-
|
65
|
+
参数解释:后端服务器组ID。
|
66
66
|
|
67
67
|
:param pool_id: The pool_id of this CreateMemberRequest.
|
68
68
|
:type pool_id: str
|
@@ -32,7 +32,7 @@ class CreateMemberResponse(SdkResponse):
|
|
32
32
|
|
33
33
|
The model defined in huaweicloud sdk
|
34
34
|
|
35
|
-
:param request_id:
|
35
|
+
:param request_id: 参数解释:请求ID。 注:自动生成 。
|
36
36
|
:type request_id: str
|
37
37
|
:param member:
|
38
38
|
:type member: :class:`huaweicloudsdkelb.v3.Member`
|
@@ -53,7 +53,7 @@ class CreateMemberResponse(SdkResponse):
|
|
53
53
|
def request_id(self):
|
54
54
|
"""Gets the request_id of this CreateMemberResponse.
|
55
55
|
|
56
|
-
|
56
|
+
参数解释:请求ID。 注:自动生成 。
|
57
57
|
|
58
58
|
:return: The request_id of this CreateMemberResponse.
|
59
59
|
:rtype: str
|
@@ -64,7 +64,7 @@ class CreateMemberResponse(SdkResponse):
|
|
64
64
|
def request_id(self, request_id):
|
65
65
|
"""Sets the request_id of this CreateMemberResponse.
|
66
66
|
|
67
|
-
|
67
|
+
参数解释:请求ID。 注:自动生成 。
|
68
68
|
|
69
69
|
:param request_id: The request_id of this CreateMemberResponse.
|
70
70
|
:type request_id: str
|
@@ -71,7 +71,7 @@ class CreatePoolOption:
|
|
71
71
|
:type admin_state_up: bool
|
72
72
|
:param description: 后端云服务器组的描述信息。
|
73
73
|
:type description: str
|
74
|
-
: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支持。 -
|
74
|
+
: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支持。 - 5_TUPLE_HASH:五元组hash算法,仅IP类型的pool支持。 - IP型pool不指定该字段时,默认设置为5_TUPLE_HASH。](tag:hws_eu) 使用说明: - 当该字段的取值为SOURCE_IP时,后端云服务器组绑定的后端云服务器的weight字段无效。 - 只有pool的protocol为QUIC时,才支持QUIC_CID算法。 [不支持QUIC_CID。](tag:tm,hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC_CID。](tag:dt,dt_test)
|
75
75
|
:type lb_algorithm: str
|
76
76
|
:param listener_id: 后端云服务器组关联的监听器的ID。 使用说明: - listener_id,loadbalancer_id,type至少指定一个。 [- 共享型实例的后端服务器组loadbalancer_id和listener_id至少指定一个。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
|
77
77
|
:type listener_id: str
|
@@ -81,7 +81,7 @@ class CreatePoolOption:
|
|
81
81
|
:type name: str
|
82
82
|
:param project_id: 后端云服务器组所属的项目ID。
|
83
83
|
:type project_id: str
|
84
|
-
:param protocol: 后端云服务器组的后端协议。 取值:TCP、UDP、[IP、](tag:hws_eu)TLS、
|
84
|
+
:param protocol: 后端云服务器组的后端协议。 取值:TCP、UDP、[IP、](tag:hws_eu)TLS、gRPC、HTTP、HTTPS和QUIC。 使用说明: - listener的protocol为UDP时,pool的protocol必须为UDP或QUIC。 - listener的protocol为TCP时pool的protocol必须为TCP。 [- listener的protocol为IP时,pool的protocol必须为IP。](tag:hws_eu) - listener的protocol为HTTP时,pool的protocol必须为HTTP。 - listener的protocol为HTTPS时,pool的protocol必须为HTTP、HTTPS或gRPC。 - listener的protocol为TERMINATED_HTTPS时,pool的protocol必须为HTTP。 - listener的protocol为QUIC时,pool的protocol必须为HTTP、HTTPS或gRPC。 - listener的protocol为TLS时,pool的protocol必须为TLS或TCP(且只能使用ip_version为v4的TCP pool)。 - 若pool的protocol为QUIC,则必须开启session_persistence且type为SOURCE_IP。 - 若pool的protocol为gRPC,关联监听器的http2_enable必须为true。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC。](tag:dt,dt_test)
|
85
85
|
:type protocol: str
|
86
86
|
:param session_persistence:
|
87
87
|
:type session_persistence: :class:`huaweicloudsdkelb.v3.CreatePoolSessionPersistenceOption`
|
@@ -89,9 +89,9 @@ class CreatePoolOption:
|
|
89
89
|
:type slow_start: :class:`huaweicloudsdkelb.v3.CreatePoolSlowStartOption`
|
90
90
|
:param member_deletion_protection_enable: 是否开启删除保护。 取值:false不开启,true开启,默认false。 > 退场时需要先关闭所有资源的删除保护开关。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42) [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
|
91
91
|
:type member_deletion_protection_enable: bool
|
92
|
-
:param vpc_id: 后端云服务器组关联的虚拟私有云的ID。 使用说明: - 只能挂载到该虚拟私有云下。 - 只能添加该虚拟私有云下的后端服务器或跨VPC的后端服务器。 - type必须指定为instance。 没有指定vpc_id的约束: - 后续添加后端服务器时,vpc_id由后端服务器所在的虚拟私有云确定。
|
92
|
+
:param vpc_id: 后端云服务器组关联的虚拟私有云的ID。 使用说明: - 只能挂载到该虚拟私有云下。 - 只能添加该虚拟私有云下的后端服务器或跨VPC的后端服务器。 - type必须指定为instance。 [- pool的protocol为IP时,必须指定vpc_id,且与LB的vpc_id相同。](tag:hws_eu) 没有指定vpc_id的约束: - 后续添加后端服务器时,vpc_id由后端服务器所在的虚拟私有云确定。
|
93
93
|
:type vpc_id: str
|
94
|
-
:param type: 后端服务器组的类型。 取值: - instance:允许任意类型的后端,type指定为该类型时,vpc_id是必选字段。 - ip:只能添加跨VPC后端,type指定为该类型时,vpc_id不允许指定。 使用说明: - 不传表示允许任意类型的后端,并返回type为空字符串。 - listener_id,loadbalancer_id,type至少指定一个。 [- 共享型实例的后端服务器组loadbalancer_id和listener_id至少指定一个。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
|
94
|
+
:param type: 后端服务器组的类型。 取值: - instance:允许任意类型的后端,type指定为该类型时,vpc_id是必选字段。 - ip:只能添加跨VPC后端,type指定为该类型时,vpc_id不允许指定。[pool的protocol为IP时,type不允许设置为ip。](tag:hws_eu)] 使用说明: - 不传表示允许任意类型的后端,并返回type为空字符串。 - listener_id,loadbalancer_id,type至少指定一个。 [- 共享型实例的后端服务器组loadbalancer_id和listener_id至少指定一个。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
|
95
95
|
:type type: str
|
96
96
|
:param ip_version: 后端云服务器组支持的IP版本。 [取值: - 共享型:固定为v4; - 独享型:取值dualstack、v4、v6。当协议为TCP/UDP时,ip_version为dualstack,表示双栈。 当协议为HTTP时,ip_version为v4。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs) [取值:dualstack、v4、v6。当协议为TCP/UDP时,ip_version为dualstack,表示双栈。 当协议为HTTP时,ip_version为v4。](tag:hcso_dt) [不支持IPv6,只会返回v4。](tag:dt,dt_test)
|
97
97
|
:type ip_version: str
|
@@ -220,7 +220,7 @@ class CreatePoolOption:
|
|
220
220
|
def lb_algorithm(self):
|
221
221
|
"""Gets the lb_algorithm of this CreatePoolOption.
|
222
222
|
|
223
|
-
后端云服务器组的负载均衡算法。 取值: - ROUND_ROBIN:加权轮询算法。 - LEAST_CONNECTIONS:加权最少连接算法。 - SOURCE_IP:源IP算法。 - QUIC_CID:连接ID算法。 [- 2_TUPLE_HASH:二元组hash算法,仅IP类型的pool支持。 - 3_TUPLE_HASH:三元组hash算法,仅IP类型的pool支持。 -
|
223
|
+
后端云服务器组的负载均衡算法。 取值: - ROUND_ROBIN:加权轮询算法。 - LEAST_CONNECTIONS:加权最少连接算法。 - SOURCE_IP:源IP算法。 - QUIC_CID:连接ID算法。 [- 2_TUPLE_HASH:二元组hash算法,仅IP类型的pool支持。 - 3_TUPLE_HASH:三元组hash算法,仅IP类型的pool支持。 - 5_TUPLE_HASH:五元组hash算法,仅IP类型的pool支持。 - IP型pool不指定该字段时,默认设置为5_TUPLE_HASH。](tag:hws_eu) 使用说明: - 当该字段的取值为SOURCE_IP时,后端云服务器组绑定的后端云服务器的weight字段无效。 - 只有pool的protocol为QUIC时,才支持QUIC_CID算法。 [不支持QUIC_CID。](tag:tm,hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC_CID。](tag:dt,dt_test)
|
224
224
|
|
225
225
|
:return: The lb_algorithm of this CreatePoolOption.
|
226
226
|
:rtype: str
|
@@ -231,7 +231,7 @@ class CreatePoolOption:
|
|
231
231
|
def lb_algorithm(self, lb_algorithm):
|
232
232
|
"""Sets the lb_algorithm of this CreatePoolOption.
|
233
233
|
|
234
|
-
后端云服务器组的负载均衡算法。 取值: - ROUND_ROBIN:加权轮询算法。 - LEAST_CONNECTIONS:加权最少连接算法。 - SOURCE_IP:源IP算法。 - QUIC_CID:连接ID算法。 [- 2_TUPLE_HASH:二元组hash算法,仅IP类型的pool支持。 - 3_TUPLE_HASH:三元组hash算法,仅IP类型的pool支持。 -
|
234
|
+
后端云服务器组的负载均衡算法。 取值: - ROUND_ROBIN:加权轮询算法。 - LEAST_CONNECTIONS:加权最少连接算法。 - SOURCE_IP:源IP算法。 - QUIC_CID:连接ID算法。 [- 2_TUPLE_HASH:二元组hash算法,仅IP类型的pool支持。 - 3_TUPLE_HASH:三元组hash算法,仅IP类型的pool支持。 - 5_TUPLE_HASH:五元组hash算法,仅IP类型的pool支持。 - IP型pool不指定该字段时,默认设置为5_TUPLE_HASH。](tag:hws_eu) 使用说明: - 当该字段的取值为SOURCE_IP时,后端云服务器组绑定的后端云服务器的weight字段无效。 - 只有pool的protocol为QUIC时,才支持QUIC_CID算法。 [不支持QUIC_CID。](tag:tm,hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC_CID。](tag:dt,dt_test)
|
235
235
|
|
236
236
|
:param lb_algorithm: The lb_algorithm of this CreatePoolOption.
|
237
237
|
:type lb_algorithm: str
|
@@ -330,7 +330,7 @@ class CreatePoolOption:
|
|
330
330
|
def protocol(self):
|
331
331
|
"""Gets the protocol of this CreatePoolOption.
|
332
332
|
|
333
|
-
后端云服务器组的后端协议。 取值:TCP、UDP、[IP、](tag:hws_eu)TLS、
|
333
|
+
后端云服务器组的后端协议。 取值:TCP、UDP、[IP、](tag:hws_eu)TLS、gRPC、HTTP、HTTPS和QUIC。 使用说明: - listener的protocol为UDP时,pool的protocol必须为UDP或QUIC。 - listener的protocol为TCP时pool的protocol必须为TCP。 [- listener的protocol为IP时,pool的protocol必须为IP。](tag:hws_eu) - listener的protocol为HTTP时,pool的protocol必须为HTTP。 - listener的protocol为HTTPS时,pool的protocol必须为HTTP、HTTPS或gRPC。 - listener的protocol为TERMINATED_HTTPS时,pool的protocol必须为HTTP。 - listener的protocol为QUIC时,pool的protocol必须为HTTP、HTTPS或gRPC。 - listener的protocol为TLS时,pool的protocol必须为TLS或TCP(且只能使用ip_version为v4的TCP pool)。 - 若pool的protocol为QUIC,则必须开启session_persistence且type为SOURCE_IP。 - 若pool的protocol为gRPC,关联监听器的http2_enable必须为true。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC。](tag:dt,dt_test)
|
334
334
|
|
335
335
|
:return: The protocol of this CreatePoolOption.
|
336
336
|
:rtype: str
|
@@ -341,7 +341,7 @@ class CreatePoolOption:
|
|
341
341
|
def protocol(self, protocol):
|
342
342
|
"""Sets the protocol of this CreatePoolOption.
|
343
343
|
|
344
|
-
后端云服务器组的后端协议。 取值:TCP、UDP、[IP、](tag:hws_eu)TLS、
|
344
|
+
后端云服务器组的后端协议。 取值:TCP、UDP、[IP、](tag:hws_eu)TLS、gRPC、HTTP、HTTPS和QUIC。 使用说明: - listener的protocol为UDP时,pool的protocol必须为UDP或QUIC。 - listener的protocol为TCP时pool的protocol必须为TCP。 [- listener的protocol为IP时,pool的protocol必须为IP。](tag:hws_eu) - listener的protocol为HTTP时,pool的protocol必须为HTTP。 - listener的protocol为HTTPS时,pool的protocol必须为HTTP、HTTPS或gRPC。 - listener的protocol为TERMINATED_HTTPS时,pool的protocol必须为HTTP。 - listener的protocol为QUIC时,pool的protocol必须为HTTP、HTTPS或gRPC。 - listener的protocol为TLS时,pool的protocol必须为TLS或TCP(且只能使用ip_version为v4的TCP pool)。 - 若pool的protocol为QUIC,则必须开启session_persistence且type为SOURCE_IP。 - 若pool的protocol为gRPC,关联监听器的http2_enable必须为true。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC。](tag:dt,dt_test)
|
345
345
|
|
346
346
|
:param protocol: The protocol of this CreatePoolOption.
|
347
347
|
:type protocol: str
|
@@ -410,7 +410,7 @@ class CreatePoolOption:
|
|
410
410
|
def vpc_id(self):
|
411
411
|
"""Gets the vpc_id of this CreatePoolOption.
|
412
412
|
|
413
|
-
后端云服务器组关联的虚拟私有云的ID。 使用说明: - 只能挂载到该虚拟私有云下。 - 只能添加该虚拟私有云下的后端服务器或跨VPC的后端服务器。 - type必须指定为instance。 没有指定vpc_id的约束: - 后续添加后端服务器时,vpc_id由后端服务器所在的虚拟私有云确定。
|
413
|
+
后端云服务器组关联的虚拟私有云的ID。 使用说明: - 只能挂载到该虚拟私有云下。 - 只能添加该虚拟私有云下的后端服务器或跨VPC的后端服务器。 - type必须指定为instance。 [- pool的protocol为IP时,必须指定vpc_id,且与LB的vpc_id相同。](tag:hws_eu) 没有指定vpc_id的约束: - 后续添加后端服务器时,vpc_id由后端服务器所在的虚拟私有云确定。
|
414
414
|
|
415
415
|
:return: The vpc_id of this CreatePoolOption.
|
416
416
|
:rtype: str
|
@@ -421,7 +421,7 @@ class CreatePoolOption:
|
|
421
421
|
def vpc_id(self, vpc_id):
|
422
422
|
"""Sets the vpc_id of this CreatePoolOption.
|
423
423
|
|
424
|
-
后端云服务器组关联的虚拟私有云的ID。 使用说明: - 只能挂载到该虚拟私有云下。 - 只能添加该虚拟私有云下的后端服务器或跨VPC的后端服务器。 - type必须指定为instance。 没有指定vpc_id的约束: - 后续添加后端服务器时,vpc_id由后端服务器所在的虚拟私有云确定。
|
424
|
+
后端云服务器组关联的虚拟私有云的ID。 使用说明: - 只能挂载到该虚拟私有云下。 - 只能添加该虚拟私有云下的后端服务器或跨VPC的后端服务器。 - type必须指定为instance。 [- pool的protocol为IP时,必须指定vpc_id,且与LB的vpc_id相同。](tag:hws_eu) 没有指定vpc_id的约束: - 后续添加后端服务器时,vpc_id由后端服务器所在的虚拟私有云确定。
|
425
425
|
|
426
426
|
:param vpc_id: The vpc_id of this CreatePoolOption.
|
427
427
|
:type vpc_id: str
|
@@ -432,7 +432,7 @@ class CreatePoolOption:
|
|
432
432
|
def type(self):
|
433
433
|
"""Gets the type of this CreatePoolOption.
|
434
434
|
|
435
|
-
后端服务器组的类型。 取值: - instance:允许任意类型的后端,type指定为该类型时,vpc_id是必选字段。 - ip:只能添加跨VPC后端,type指定为该类型时,vpc_id不允许指定。 使用说明: - 不传表示允许任意类型的后端,并返回type为空字符串。 - listener_id,loadbalancer_id,type至少指定一个。 [- 共享型实例的后端服务器组loadbalancer_id和listener_id至少指定一个。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
|
435
|
+
后端服务器组的类型。 取值: - instance:允许任意类型的后端,type指定为该类型时,vpc_id是必选字段。 - ip:只能添加跨VPC后端,type指定为该类型时,vpc_id不允许指定。[pool的protocol为IP时,type不允许设置为ip。](tag:hws_eu)] 使用说明: - 不传表示允许任意类型的后端,并返回type为空字符串。 - listener_id,loadbalancer_id,type至少指定一个。 [- 共享型实例的后端服务器组loadbalancer_id和listener_id至少指定一个。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
|
436
436
|
|
437
437
|
:return: The type of this CreatePoolOption.
|
438
438
|
:rtype: str
|
@@ -443,7 +443,7 @@ class CreatePoolOption:
|
|
443
443
|
def type(self, type):
|
444
444
|
"""Sets the type of this CreatePoolOption.
|
445
445
|
|
446
|
-
后端服务器组的类型。 取值: - instance:允许任意类型的后端,type指定为该类型时,vpc_id是必选字段。 - ip:只能添加跨VPC后端,type指定为该类型时,vpc_id不允许指定。 使用说明: - 不传表示允许任意类型的后端,并返回type为空字符串。 - listener_id,loadbalancer_id,type至少指定一个。 [- 共享型实例的后端服务器组loadbalancer_id和listener_id至少指定一个。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
|
446
|
+
后端服务器组的类型。 取值: - instance:允许任意类型的后端,type指定为该类型时,vpc_id是必选字段。 - ip:只能添加跨VPC后端,type指定为该类型时,vpc_id不允许指定。[pool的protocol为IP时,type不允许设置为ip。](tag:hws_eu)] 使用说明: - 不传表示允许任意类型的后端,并返回type为空字符串。 - listener_id,loadbalancer_id,type至少指定一个。 [- 共享型实例的后端服务器组loadbalancer_id和listener_id至少指定一个。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
|
447
447
|
|
448
448
|
:param type: The type of this CreatePoolOption.
|
449
449
|
:type type: str
|
@@ -33,7 +33,7 @@ class CreatePoolSessionPersistenceOption:
|
|
33
33
|
|
34
34
|
The model defined in huaweicloud sdk
|
35
35
|
|
36
|
-
:param cookie_name: cookie名称。 [共享型LB,支持字母、数字、中划线(-)和下划线(_),最大长度64个字符。 独享型LB,支持字母、数字、中划线(-)、下划线(_)和点号(.),最大长度255个字符。](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,fcs,dt,hk_tm)
|
36
|
+
:param cookie_name: cookie名称。 [共享型LB,支持字母、数字、中划线(-)和下划线(_),最大长度64个字符。 独享型LB,支持字母、数字、中划线(-)、下划线(_)和点号(.),最大长度255个字符。](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,fcs,dt,hk_tm) [支持字母、数字、中划线(-)、下划线(_)和点号(.),最大长度255个字符。](tag:hws_eu,hcso_dt) 使用说明: - 只有当type为APP_COOKIE时才有效。其他情况下传该字段会报错。 [网关型LB,不支持该特性,请勿使用。](tag:hws_eu) [不支持该字段,请勿使用。](tag:hws_eu,hcso_dt)
|
37
37
|
:type cookie_name: str
|
38
38
|
:param type: 会话保持类型。 取值范围:SOURCE_IP、HTTP_COOKIE、APP_COOKIE。 [使用说明: - 当pool的protocol为TCP、UDP,无论type取值如何,都会被忽略,会话保持只按SOURCE_IP生效; - 当pool的protocol为HTTP、HTTPS时。type可以为HTTP_COOKIE和APP_COOKIE,其他取值会话保持失效。 - 若pool的protocol为QUIC,则必须开启session_persistence且type为SOURCE_IP。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,fcs,dt) [使用说明: - 当pool的protocol为TCP、UDP,无论type取值如何,都会被忽略,会话保持只按SOURCE_IP生效; - 当pool的protocol为HTTP、HTTPS时。 type只能为HTTP_COOKIE,其他取值会话保持失效。](tag:hws_eu,hcso_dt) [荷兰region不支持QUIC。](tag:dt,dt_test) [不支持QUIC。](tag:tm)
|
39
39
|
:type type: str
|
@@ -58,7 +58,7 @@ class CreatePoolSessionPersistenceOption:
|
|
58
58
|
def cookie_name(self):
|
59
59
|
"""Gets the cookie_name of this CreatePoolSessionPersistenceOption.
|
60
60
|
|
61
|
-
cookie名称。 [共享型LB,支持字母、数字、中划线(-)和下划线(_),最大长度64个字符。 独享型LB,支持字母、数字、中划线(-)、下划线(_)和点号(.),最大长度255个字符。](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,fcs,dt,hk_tm)
|
61
|
+
cookie名称。 [共享型LB,支持字母、数字、中划线(-)和下划线(_),最大长度64个字符。 独享型LB,支持字母、数字、中划线(-)、下划线(_)和点号(.),最大长度255个字符。](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,fcs,dt,hk_tm) [支持字母、数字、中划线(-)、下划线(_)和点号(.),最大长度255个字符。](tag:hws_eu,hcso_dt) 使用说明: - 只有当type为APP_COOKIE时才有效。其他情况下传该字段会报错。 [网关型LB,不支持该特性,请勿使用。](tag:hws_eu) [不支持该字段,请勿使用。](tag:hws_eu,hcso_dt)
|
62
62
|
|
63
63
|
:return: The cookie_name of this CreatePoolSessionPersistenceOption.
|
64
64
|
:rtype: str
|
@@ -69,7 +69,7 @@ class CreatePoolSessionPersistenceOption:
|
|
69
69
|
def cookie_name(self, cookie_name):
|
70
70
|
"""Sets the cookie_name of this CreatePoolSessionPersistenceOption.
|
71
71
|
|
72
|
-
cookie名称。 [共享型LB,支持字母、数字、中划线(-)和下划线(_),最大长度64个字符。 独享型LB,支持字母、数字、中划线(-)、下划线(_)和点号(.),最大长度255个字符。](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,fcs,dt,hk_tm)
|
72
|
+
cookie名称。 [共享型LB,支持字母、数字、中划线(-)和下划线(_),最大长度64个字符。 独享型LB,支持字母、数字、中划线(-)、下划线(_)和点号(.),最大长度255个字符。](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,fcs,dt,hk_tm) [支持字母、数字、中划线(-)、下划线(_)和点号(.),最大长度255个字符。](tag:hws_eu,hcso_dt) 使用说明: - 只有当type为APP_COOKIE时才有效。其他情况下传该字段会报错。 [网关型LB,不支持该特性,请勿使用。](tag:hws_eu) [不支持该字段,请勿使用。](tag:hws_eu,hcso_dt)
|
73
73
|
|
74
74
|
:param cookie_name: The cookie_name of this CreatePoolSessionPersistenceOption.
|
75
75
|
:type cookie_name: str
|
@@ -31,9 +31,9 @@ class CreateRedirectPoolsConfig:
|
|
31
31
|
|
32
32
|
The model defined in huaweicloud sdk
|
33
33
|
|
34
|
-
:param pool_id:
|
34
|
+
:param pool_id: 参数解释:所在后端服务器组ID。
|
35
35
|
:type pool_id: str
|
36
|
-
:param weight:
|
36
|
+
:param weight: 参数解释:转发策略主机组的权重。请求将根据该权重进行负载分发到不同的主机组。权重值越大,分发的请求越多。权重为0的后端不再接受新的请求。 取值范围:1-100 默认取值:1
|
37
37
|
:type weight: str
|
38
38
|
"""
|
39
39
|
|
@@ -51,7 +51,7 @@ class CreateRedirectPoolsConfig:
|
|
51
51
|
def pool_id(self):
|
52
52
|
"""Gets the pool_id of this CreateRedirectPoolsConfig.
|
53
53
|
|
54
|
-
|
54
|
+
参数解释:所在后端服务器组ID。
|
55
55
|
|
56
56
|
:return: The pool_id of this CreateRedirectPoolsConfig.
|
57
57
|
:rtype: str
|
@@ -62,7 +62,7 @@ class CreateRedirectPoolsConfig:
|
|
62
62
|
def pool_id(self, pool_id):
|
63
63
|
"""Sets the pool_id of this CreateRedirectPoolsConfig.
|
64
64
|
|
65
|
-
|
65
|
+
参数解释:所在后端服务器组ID。
|
66
66
|
|
67
67
|
:param pool_id: The pool_id of this CreateRedirectPoolsConfig.
|
68
68
|
:type pool_id: str
|
@@ -73,7 +73,7 @@ class CreateRedirectPoolsConfig:
|
|
73
73
|
def weight(self):
|
74
74
|
"""Gets the weight of this CreateRedirectPoolsConfig.
|
75
75
|
|
76
|
-
|
76
|
+
参数解释:转发策略主机组的权重。请求将根据该权重进行负载分发到不同的主机组。权重值越大,分发的请求越多。权重为0的后端不再接受新的请求。 取值范围:1-100 默认取值:1
|
77
77
|
|
78
78
|
:return: The weight of this CreateRedirectPoolsConfig.
|
79
79
|
:rtype: str
|
@@ -84,7 +84,7 @@ class CreateRedirectPoolsConfig:
|
|
84
84
|
def weight(self, weight):
|
85
85
|
"""Sets the weight of this CreateRedirectPoolsConfig.
|
86
86
|
|
87
|
-
|
87
|
+
参数解释:转发策略主机组的权重。请求将根据该权重进行负载分发到不同的主机组。权重值越大,分发的请求越多。权重为0的后端不再接受新的请求。 取值范围:1-100 默认取值:1
|
88
88
|
|
89
89
|
:param weight: The weight of this CreateRedirectPoolsConfig.
|
90
90
|
:type weight: str
|
@@ -37,7 +37,7 @@ class CreateRedirectPoolsExtendConfig:
|
|
37
37
|
|
38
38
|
The model defined in huaweicloud sdk
|
39
39
|
|
40
|
-
:param rewrite_url_enable:
|
40
|
+
:param rewrite_url_enable: 参数解释:是否开启url重定向。
|
41
41
|
:type rewrite_url_enable: bool
|
42
42
|
:param rewrite_url_config:
|
43
43
|
:type rewrite_url_config: :class:`huaweicloudsdkelb.v3.CreateRewriteUrlConfig`
|
@@ -73,7 +73,7 @@ class CreateRedirectPoolsExtendConfig:
|
|
73
73
|
def rewrite_url_enable(self):
|
74
74
|
"""Gets the rewrite_url_enable of this CreateRedirectPoolsExtendConfig.
|
75
75
|
|
76
|
-
|
76
|
+
参数解释:是否开启url重定向。
|
77
77
|
|
78
78
|
:return: The rewrite_url_enable of this CreateRedirectPoolsExtendConfig.
|
79
79
|
:rtype: bool
|
@@ -84,7 +84,7 @@ class CreateRedirectPoolsExtendConfig:
|
|
84
84
|
def rewrite_url_enable(self, rewrite_url_enable):
|
85
85
|
"""Sets the rewrite_url_enable of this CreateRedirectPoolsExtendConfig.
|
86
86
|
|
87
|
-
|
87
|
+
参数解释:是否开启url重定向。
|
88
88
|
|
89
89
|
:param rewrite_url_enable: The rewrite_url_enable of this CreateRedirectPoolsExtendConfig.
|
90
90
|
:type rewrite_url_enable: bool
|