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.
- 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.109.dist-info → huaweicloudsdkelb-3.1.110.dist-info}/METADATA +2 -2
- {huaweicloudsdkelb-3.1.109.dist-info → huaweicloudsdkelb-3.1.110.dist-info}/RECORD +149 -149
- {huaweicloudsdkelb-3.1.109.dist-info → huaweicloudsdkelb-3.1.110.dist-info}/LICENSE +0 -0
- {huaweicloudsdkelb-3.1.109.dist-info → huaweicloudsdkelb-3.1.110.dist-info}/WHEEL +0 -0
- {huaweicloudsdkelb-3.1.109.dist-info → huaweicloudsdkelb-3.1.110.dist-info}/top_level.txt +0 -0
@@ -29,7 +29,7 @@ class LoadBalancerRef:
|
|
29
29
|
|
30
30
|
The model defined in huaweicloud sdk
|
31
31
|
|
32
|
-
:param id:
|
32
|
+
:param id: 参数解释:负载均衡器ID。
|
33
33
|
:type id: str
|
34
34
|
"""
|
35
35
|
|
@@ -45,7 +45,7 @@ class LoadBalancerRef:
|
|
45
45
|
def id(self):
|
46
46
|
"""Gets the id of this LoadBalancerRef.
|
47
47
|
|
48
|
-
|
48
|
+
参数解释:负载均衡器ID。
|
49
49
|
|
50
50
|
:return: The id of this LoadBalancerRef.
|
51
51
|
:rtype: str
|
@@ -56,7 +56,7 @@ class LoadBalancerRef:
|
|
56
56
|
def id(self, id):
|
57
57
|
"""Sets the id of this LoadBalancerRef.
|
58
58
|
|
59
|
-
|
59
|
+
参数解释:负载均衡器ID。
|
60
60
|
|
61
61
|
:param id: The id of this LoadBalancerRef.
|
62
62
|
:type id: str
|
@@ -47,7 +47,7 @@ class LoadBalancerStatusPool:
|
|
47
47
|
:type healthmonitor: :class:`huaweicloudsdkelb.v3.LoadBalancerStatusHealthMonitor`
|
48
48
|
:param members: 后端服务器状态信息。
|
49
49
|
:type members: list[:class:`huaweicloudsdkelb.v3.LoadBalancerStatusMember`]
|
50
|
-
:param id:
|
50
|
+
:param id: 参数解释:后端服务器组ID。
|
51
51
|
:type id: str
|
52
52
|
:param operating_status: 后端服务器组的操作状态。 取值: - ONLINE:创建时默认状态,表后端服务器组正常。 - DEGRADED:该后端服务器组下存在member为的operating_status=OFFLINE。 - DISABLED:负载均衡器或后端服务器组的admin_state_up=false。 说明: DEGRADED和DISABLED仅在当前接口返回, 查询后端服务器组详情等其他接口返回的operating_status字段不存在这两个状态值。
|
53
53
|
:type operating_status: str
|
@@ -164,7 +164,7 @@ class LoadBalancerStatusPool:
|
|
164
164
|
def id(self):
|
165
165
|
"""Gets the id of this LoadBalancerStatusPool.
|
166
166
|
|
167
|
-
|
167
|
+
参数解释:后端服务器组ID。
|
168
168
|
|
169
169
|
:return: The id of this LoadBalancerStatusPool.
|
170
170
|
:rtype: str
|
@@ -175,7 +175,7 @@ class LoadBalancerStatusPool:
|
|
175
175
|
def id(self, id):
|
176
176
|
"""Sets the id of this LoadBalancerStatusPool.
|
177
177
|
|
178
|
-
|
178
|
+
参数解释:后端服务器组ID。
|
179
179
|
|
180
180
|
:param id: The id of this LoadBalancerStatusPool.
|
181
181
|
:type id: str
|
@@ -39,7 +39,7 @@ class Logtank:
|
|
39
39
|
|
40
40
|
:param id: 云日志ID。
|
41
41
|
:type id: str
|
42
|
-
:param project_id:
|
42
|
+
:param project_id: 参数解释:项目ID。
|
43
43
|
:type project_id: str
|
44
44
|
:param loadbalancer_id: 负载均衡器ID。
|
45
45
|
:type loadbalancer_id: str
|
@@ -90,7 +90,7 @@ class Logtank:
|
|
90
90
|
def project_id(self):
|
91
91
|
"""Gets the project_id of this Logtank.
|
92
92
|
|
93
|
-
|
93
|
+
参数解释:项目ID。
|
94
94
|
|
95
95
|
:return: The project_id of this Logtank.
|
96
96
|
:rtype: str
|
@@ -101,7 +101,7 @@ class Logtank:
|
|
101
101
|
def project_id(self, project_id):
|
102
102
|
"""Sets the project_id of this Logtank.
|
103
103
|
|
104
|
-
|
104
|
+
参数解释:项目ID。
|
105
105
|
|
106
106
|
:param project_id: The project_id of this Logtank.
|
107
107
|
:type project_id: str
|
@@ -53,13 +53,13 @@ class MasterSlaveHealthMonitor:
|
|
53
53
|
|
54
54
|
The model defined in huaweicloud sdk
|
55
55
|
|
56
|
-
:param admin_state_up:
|
56
|
+
:param admin_state_up: 参数解释:健康检查的管理状态。 取值范围: - true:表示开启健康检查。 - false表示关闭健康检查。 默认取值:true。
|
57
57
|
:type admin_state_up: bool
|
58
58
|
:param delay: 健康检查间隔。取值:1-50s。
|
59
59
|
:type delay: int
|
60
60
|
:param domain_name: 发送健康检查请求的域名。 取值:以数字或字母开头,只能包含数字、字母、’-’、’.’。 默认为空,表示使用负载均衡器的vip作为http请求的目的地址。 使用说明:当type为HTTP/HTTPS时生效。
|
61
61
|
:type domain_name: str
|
62
|
-
:param expected_codes: 期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 默认值:200。 仅支持HTTP/HTTPS/
|
62
|
+
:param expected_codes: 期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 默认值:200。 仅支持HTTP/HTTPS/gRPC设置该字段,其他协议设置不会生效。
|
63
63
|
:type expected_codes: str
|
64
64
|
:param http_method: HTTP请求方法。 取值:GET、HEAD、POST,默认GET。 使用说明:当type为HTTP/HTTPS时生效。
|
65
65
|
:type http_method: str
|
@@ -116,7 +116,7 @@ class MasterSlaveHealthMonitor:
|
|
116
116
|
def admin_state_up(self):
|
117
117
|
"""Gets the admin_state_up of this MasterSlaveHealthMonitor.
|
118
118
|
|
119
|
-
|
119
|
+
参数解释:健康检查的管理状态。 取值范围: - true:表示开启健康检查。 - false表示关闭健康检查。 默认取值:true。
|
120
120
|
|
121
121
|
:return: The admin_state_up of this MasterSlaveHealthMonitor.
|
122
122
|
:rtype: bool
|
@@ -127,7 +127,7 @@ class MasterSlaveHealthMonitor:
|
|
127
127
|
def admin_state_up(self, admin_state_up):
|
128
128
|
"""Sets the admin_state_up of this MasterSlaveHealthMonitor.
|
129
129
|
|
130
|
-
|
130
|
+
参数解释:健康检查的管理状态。 取值范围: - true:表示开启健康检查。 - false表示关闭健康检查。 默认取值:true。
|
131
131
|
|
132
132
|
:param admin_state_up: The admin_state_up of this MasterSlaveHealthMonitor.
|
133
133
|
:type admin_state_up: bool
|
@@ -182,7 +182,7 @@ class MasterSlaveHealthMonitor:
|
|
182
182
|
def expected_codes(self):
|
183
183
|
"""Gets the expected_codes of this MasterSlaveHealthMonitor.
|
184
184
|
|
185
|
-
期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 默认值:200。 仅支持HTTP/HTTPS/
|
185
|
+
期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 默认值:200。 仅支持HTTP/HTTPS/gRPC设置该字段,其他协议设置不会生效。
|
186
186
|
|
187
187
|
:return: The expected_codes of this MasterSlaveHealthMonitor.
|
188
188
|
:rtype: str
|
@@ -193,7 +193,7 @@ class MasterSlaveHealthMonitor:
|
|
193
193
|
def expected_codes(self, expected_codes):
|
194
194
|
"""Sets the expected_codes of this MasterSlaveHealthMonitor.
|
195
195
|
|
196
|
-
期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 默认值:200。 仅支持HTTP/HTTPS/
|
196
|
+
期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 默认值:200。 仅支持HTTP/HTTPS/gRPC设置该字段,其他协议设置不会生效。
|
197
197
|
|
198
198
|
:param expected_codes: The expected_codes of this MasterSlaveHealthMonitor.
|
199
199
|
:type expected_codes: str
|
@@ -57,35 +57,35 @@ class Member:
|
|
57
57
|
|
58
58
|
The model defined in huaweicloud sdk
|
59
59
|
|
60
|
-
:param id:
|
60
|
+
:param id: 参数解释:后端服务器ID。 >说明: 此处并非ECS服务器的ID,而是ELB为绑定的后端服务器自动生成的member ID。
|
61
61
|
:type id: str
|
62
|
-
:param name:
|
62
|
+
:param name: 参数解释:后端服务器名称。 注意:该名称并非ECS名称。
|
63
63
|
:type name: str
|
64
|
-
:param project_id:
|
64
|
+
:param project_id: 参数解释:后端服务器所在的项目ID。
|
65
65
|
:type project_id: str
|
66
|
-
:param admin_state_up:
|
66
|
+
:param admin_state_up: 参数解释:后端云服务器的管理状态。 约束限制:虽然创建、更新请求支持该字段,但实际取值决定于后端云服务器对应的弹性云服务器是否存在。若存在,该值为true,否则,该值为false。 取值范围:true、false。
|
67
67
|
:type admin_state_up: bool
|
68
|
-
:param subnet_cidr_id:
|
68
|
+
: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后端转发特性已开启,则该字段可以不传,表示添加跨VPC的后端服务器。 此时address必须为IPv4地址,所在的pool的协议必须为TCP/HTTP/HTTPS。 [- 网关型LB,即pool协议为IP时,必须指定该子网,且必须和负载均衡器的子网在同一个VPC下,但不能相同。](tag:hws_eu) [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt,dt_test)
|
69
69
|
:type subnet_cidr_id: str
|
70
|
-
:param protocol_port:
|
70
|
+
:param protocol_port: 参数解释:后端服务器业务端口。 [约束限制:网关型LB,即pool协议为IP时,protocol_port必须设置为0。](tag:hws_eu) >在开启端口透传的pool下创建member传该字段不生效,可不传该字段。
|
71
71
|
:type protocol_port: int
|
72
|
-
:param weight:
|
72
|
+
:param weight: 参数解释:后端云服务器的权重,请求将根据pool配置的负载均衡算法和后端云服务器的权重进行负载分发。 权重值越大,分发的请求越多。权重为0的后端不再接受新的请求。 约束限制:若所在pool的lb_algorithm取值为SOURCE_IP,该字段无效。 取值范围:0-100 默认取值:1。
|
73
73
|
:type weight: int
|
74
|
-
:param address:
|
74
|
+
: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)
|
75
75
|
:type address: str
|
76
|
-
:param ip_version:
|
76
|
+
:param ip_version: 参数解释:当前后端服务器的IP地址版本,由后端系统自动根据传入的address字段确定。 取值范围:v4、v6。
|
77
77
|
:type ip_version: str
|
78
|
-
:param operating_status:
|
78
|
+
:param operating_status: 参数解释:后端云服务器的健康状态。当status非空时,以status字段中监听器粒度的健康检查状态优先。 取值范围: - ONLINE:后端云服务器正常。 - NO_MONITOR:后端云服务器所在的服务器组没有健康检查器。 - OFFLINE:后端云服务器关联的ECS服务器不存在或已关机。
|
79
79
|
:type operating_status: str
|
80
|
-
:param status:
|
80
|
+
:param status: 参数解释:后端云服务器监听器粒度的的健康状态。 约束限制: - 若绑定的监听器在该字段中,则以该字段中监听器对应的operating_stauts为准。 - 若绑定的监听器不在该字段中,则以外层的operating_status为准。
|
81
81
|
:type status: list[:class:`huaweicloudsdkelb.v3.MemberStatus`]
|
82
|
-
:param created_at:
|
82
|
+
:param created_at: 参数解释:创建时间。格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
|
83
83
|
:type created_at: str
|
84
|
-
:param updated_at:
|
84
|
+
:param updated_at: 参数解释:更新时间。格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
|
85
85
|
:type updated_at: str
|
86
|
-
:param member_type:
|
86
|
+
:param member_type: 参数解释:后端云服务器的类型。 取值范围: - ip:跨VPC的member。 - instance:关联到ECS的member。
|
87
87
|
:type member_type: str
|
88
|
-
:param instance_id: member关联的实例ID。空表示member关联的实例为非真实设备 (如:跨VPC场景)
|
88
|
+
:param instance_id: 参数解释:member关联的实例ID。空表示member关联的实例为非真实设备 (如:跨VPC场景)
|
89
89
|
:type instance_id: str
|
90
90
|
"""
|
91
91
|
|
@@ -133,7 +133,7 @@ class Member:
|
|
133
133
|
def id(self):
|
134
134
|
"""Gets the id of this Member.
|
135
135
|
|
136
|
-
|
136
|
+
参数解释:后端服务器ID。 >说明: 此处并非ECS服务器的ID,而是ELB为绑定的后端服务器自动生成的member ID。
|
137
137
|
|
138
138
|
:return: The id of this Member.
|
139
139
|
:rtype: str
|
@@ -144,7 +144,7 @@ class Member:
|
|
144
144
|
def id(self, id):
|
145
145
|
"""Sets the id of this Member.
|
146
146
|
|
147
|
-
|
147
|
+
参数解释:后端服务器ID。 >说明: 此处并非ECS服务器的ID,而是ELB为绑定的后端服务器自动生成的member ID。
|
148
148
|
|
149
149
|
:param id: The id of this Member.
|
150
150
|
:type id: str
|
@@ -155,7 +155,7 @@ class Member:
|
|
155
155
|
def name(self):
|
156
156
|
"""Gets the name of this Member.
|
157
157
|
|
158
|
-
|
158
|
+
参数解释:后端服务器名称。 注意:该名称并非ECS名称。
|
159
159
|
|
160
160
|
:return: The name of this Member.
|
161
161
|
:rtype: str
|
@@ -166,7 +166,7 @@ class Member:
|
|
166
166
|
def name(self, name):
|
167
167
|
"""Sets the name of this Member.
|
168
168
|
|
169
|
-
|
169
|
+
参数解释:后端服务器名称。 注意:该名称并非ECS名称。
|
170
170
|
|
171
171
|
:param name: The name of this Member.
|
172
172
|
:type name: str
|
@@ -177,7 +177,7 @@ class Member:
|
|
177
177
|
def project_id(self):
|
178
178
|
"""Gets the project_id of this Member.
|
179
179
|
|
180
|
-
|
180
|
+
参数解释:后端服务器所在的项目ID。
|
181
181
|
|
182
182
|
:return: The project_id of this Member.
|
183
183
|
:rtype: str
|
@@ -188,7 +188,7 @@ class Member:
|
|
188
188
|
def project_id(self, project_id):
|
189
189
|
"""Sets the project_id of this Member.
|
190
190
|
|
191
|
-
|
191
|
+
参数解释:后端服务器所在的项目ID。
|
192
192
|
|
193
193
|
:param project_id: The project_id of this Member.
|
194
194
|
:type project_id: str
|
@@ -199,7 +199,7 @@ class Member:
|
|
199
199
|
def admin_state_up(self):
|
200
200
|
"""Gets the admin_state_up of this Member.
|
201
201
|
|
202
|
-
|
202
|
+
参数解释:后端云服务器的管理状态。 约束限制:虽然创建、更新请求支持该字段,但实际取值决定于后端云服务器对应的弹性云服务器是否存在。若存在,该值为true,否则,该值为false。 取值范围:true、false。
|
203
203
|
|
204
204
|
:return: The admin_state_up of this Member.
|
205
205
|
:rtype: bool
|
@@ -210,7 +210,7 @@ class Member:
|
|
210
210
|
def admin_state_up(self, admin_state_up):
|
211
211
|
"""Sets the admin_state_up of this Member.
|
212
212
|
|
213
|
-
|
213
|
+
参数解释:后端云服务器的管理状态。 约束限制:虽然创建、更新请求支持该字段,但实际取值决定于后端云服务器对应的弹性云服务器是否存在。若存在,该值为true,否则,该值为false。 取值范围:true、false。
|
214
214
|
|
215
215
|
:param admin_state_up: The admin_state_up of this Member.
|
216
216
|
:type admin_state_up: bool
|
@@ -221,7 +221,7 @@ class Member:
|
|
221
221
|
def subnet_cidr_id(self):
|
222
222
|
"""Gets the subnet_cidr_id of this Member.
|
223
223
|
|
224
|
-
|
224
|
+
参数解释:后端云服务器所在的子网,可以是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后端转发特性已开启,则该字段可以不传,表示添加跨VPC的后端服务器。 此时address必须为IPv4地址,所在的pool的协议必须为TCP/HTTP/HTTPS。 [- 网关型LB,即pool协议为IP时,必须指定该子网,且必须和负载均衡器的子网在同一个VPC下,但不能相同。](tag:hws_eu) [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt,dt_test)
|
225
225
|
|
226
226
|
:return: The subnet_cidr_id of this Member.
|
227
227
|
:rtype: str
|
@@ -232,7 +232,7 @@ class Member:
|
|
232
232
|
def subnet_cidr_id(self, subnet_cidr_id):
|
233
233
|
"""Sets the subnet_cidr_id of this Member.
|
234
234
|
|
235
|
-
|
235
|
+
参数解释:后端云服务器所在的子网,可以是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后端转发特性已开启,则该字段可以不传,表示添加跨VPC的后端服务器。 此时address必须为IPv4地址,所在的pool的协议必须为TCP/HTTP/HTTPS。 [- 网关型LB,即pool协议为IP时,必须指定该子网,且必须和负载均衡器的子网在同一个VPC下,但不能相同。](tag:hws_eu) [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt,dt_test)
|
236
236
|
|
237
237
|
:param subnet_cidr_id: The subnet_cidr_id of this Member.
|
238
238
|
:type subnet_cidr_id: str
|
@@ -243,7 +243,7 @@ class Member:
|
|
243
243
|
def protocol_port(self):
|
244
244
|
"""Gets the protocol_port of this Member.
|
245
245
|
|
246
|
-
|
246
|
+
参数解释:后端服务器业务端口。 [约束限制:网关型LB,即pool协议为IP时,protocol_port必须设置为0。](tag:hws_eu) >在开启端口透传的pool下创建member传该字段不生效,可不传该字段。
|
247
247
|
|
248
248
|
:return: The protocol_port of this Member.
|
249
249
|
:rtype: int
|
@@ -254,7 +254,7 @@ class Member:
|
|
254
254
|
def protocol_port(self, protocol_port):
|
255
255
|
"""Sets the protocol_port of this Member.
|
256
256
|
|
257
|
-
|
257
|
+
参数解释:后端服务器业务端口。 [约束限制:网关型LB,即pool协议为IP时,protocol_port必须设置为0。](tag:hws_eu) >在开启端口透传的pool下创建member传该字段不生效,可不传该字段。
|
258
258
|
|
259
259
|
:param protocol_port: The protocol_port of this Member.
|
260
260
|
:type protocol_port: int
|
@@ -265,7 +265,7 @@ class Member:
|
|
265
265
|
def weight(self):
|
266
266
|
"""Gets the weight of this Member.
|
267
267
|
|
268
|
-
|
268
|
+
参数解释:后端云服务器的权重,请求将根据pool配置的负载均衡算法和后端云服务器的权重进行负载分发。 权重值越大,分发的请求越多。权重为0的后端不再接受新的请求。 约束限制:若所在pool的lb_algorithm取值为SOURCE_IP,该字段无效。 取值范围:0-100 默认取值:1。
|
269
269
|
|
270
270
|
:return: The weight of this Member.
|
271
271
|
:rtype: int
|
@@ -276,7 +276,7 @@ class Member:
|
|
276
276
|
def weight(self, weight):
|
277
277
|
"""Sets the weight of this Member.
|
278
278
|
|
279
|
-
|
279
|
+
参数解释:后端云服务器的权重,请求将根据pool配置的负载均衡算法和后端云服务器的权重进行负载分发。 权重值越大,分发的请求越多。权重为0的后端不再接受新的请求。 约束限制:若所在pool的lb_algorithm取值为SOURCE_IP,该字段无效。 取值范围:0-100 默认取值:1。
|
280
280
|
|
281
281
|
:param weight: The weight of this Member.
|
282
282
|
:type weight: int
|
@@ -287,7 +287,7 @@ class Member:
|
|
287
287
|
def address(self):
|
288
288
|
"""Gets the address of this Member.
|
289
289
|
|
290
|
-
|
290
|
+
参数解释:后端服务器对应的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)
|
291
291
|
|
292
292
|
:return: The address of this Member.
|
293
293
|
:rtype: str
|
@@ -298,7 +298,7 @@ class Member:
|
|
298
298
|
def address(self, address):
|
299
299
|
"""Sets the address of this Member.
|
300
300
|
|
301
|
-
|
301
|
+
参数解释:后端服务器对应的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)
|
302
302
|
|
303
303
|
:param address: The address of this Member.
|
304
304
|
:type address: str
|
@@ -309,7 +309,7 @@ class Member:
|
|
309
309
|
def ip_version(self):
|
310
310
|
"""Gets the ip_version of this Member.
|
311
311
|
|
312
|
-
|
312
|
+
参数解释:当前后端服务器的IP地址版本,由后端系统自动根据传入的address字段确定。 取值范围:v4、v6。
|
313
313
|
|
314
314
|
:return: The ip_version of this Member.
|
315
315
|
:rtype: str
|
@@ -320,7 +320,7 @@ class Member:
|
|
320
320
|
def ip_version(self, ip_version):
|
321
321
|
"""Sets the ip_version of this Member.
|
322
322
|
|
323
|
-
|
323
|
+
参数解释:当前后端服务器的IP地址版本,由后端系统自动根据传入的address字段确定。 取值范围:v4、v6。
|
324
324
|
|
325
325
|
:param ip_version: The ip_version of this Member.
|
326
326
|
:type ip_version: str
|
@@ -331,7 +331,7 @@ class Member:
|
|
331
331
|
def operating_status(self):
|
332
332
|
"""Gets the operating_status of this Member.
|
333
333
|
|
334
|
-
|
334
|
+
参数解释:后端云服务器的健康状态。当status非空时,以status字段中监听器粒度的健康检查状态优先。 取值范围: - ONLINE:后端云服务器正常。 - NO_MONITOR:后端云服务器所在的服务器组没有健康检查器。 - OFFLINE:后端云服务器关联的ECS服务器不存在或已关机。
|
335
335
|
|
336
336
|
:return: The operating_status of this Member.
|
337
337
|
:rtype: str
|
@@ -342,7 +342,7 @@ class Member:
|
|
342
342
|
def operating_status(self, operating_status):
|
343
343
|
"""Sets the operating_status of this Member.
|
344
344
|
|
345
|
-
|
345
|
+
参数解释:后端云服务器的健康状态。当status非空时,以status字段中监听器粒度的健康检查状态优先。 取值范围: - ONLINE:后端云服务器正常。 - NO_MONITOR:后端云服务器所在的服务器组没有健康检查器。 - OFFLINE:后端云服务器关联的ECS服务器不存在或已关机。
|
346
346
|
|
347
347
|
:param operating_status: The operating_status of this Member.
|
348
348
|
:type operating_status: str
|
@@ -353,7 +353,7 @@ class Member:
|
|
353
353
|
def status(self):
|
354
354
|
"""Gets the status of this Member.
|
355
355
|
|
356
|
-
|
356
|
+
参数解释:后端云服务器监听器粒度的的健康状态。 约束限制: - 若绑定的监听器在该字段中,则以该字段中监听器对应的operating_stauts为准。 - 若绑定的监听器不在该字段中,则以外层的operating_status为准。
|
357
357
|
|
358
358
|
:return: The status of this Member.
|
359
359
|
:rtype: list[:class:`huaweicloudsdkelb.v3.MemberStatus`]
|
@@ -364,7 +364,7 @@ class Member:
|
|
364
364
|
def status(self, status):
|
365
365
|
"""Sets the status of this Member.
|
366
366
|
|
367
|
-
|
367
|
+
参数解释:后端云服务器监听器粒度的的健康状态。 约束限制: - 若绑定的监听器在该字段中,则以该字段中监听器对应的operating_stauts为准。 - 若绑定的监听器不在该字段中,则以外层的operating_status为准。
|
368
368
|
|
369
369
|
:param status: The status of this Member.
|
370
370
|
:type status: list[:class:`huaweicloudsdkelb.v3.MemberStatus`]
|
@@ -375,7 +375,7 @@ class Member:
|
|
375
375
|
def created_at(self):
|
376
376
|
"""Gets the created_at of this Member.
|
377
377
|
|
378
|
-
|
378
|
+
参数解释:创建时间。格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
|
379
379
|
|
380
380
|
:return: The created_at of this Member.
|
381
381
|
:rtype: str
|
@@ -386,7 +386,7 @@ class Member:
|
|
386
386
|
def created_at(self, created_at):
|
387
387
|
"""Sets the created_at of this Member.
|
388
388
|
|
389
|
-
|
389
|
+
参数解释:创建时间。格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
|
390
390
|
|
391
391
|
:param created_at: The created_at of this Member.
|
392
392
|
:type created_at: str
|
@@ -397,7 +397,7 @@ class Member:
|
|
397
397
|
def updated_at(self):
|
398
398
|
"""Gets the updated_at of this Member.
|
399
399
|
|
400
|
-
|
400
|
+
参数解释:更新时间。格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
|
401
401
|
|
402
402
|
:return: The updated_at of this Member.
|
403
403
|
:rtype: str
|
@@ -408,7 +408,7 @@ class Member:
|
|
408
408
|
def updated_at(self, updated_at):
|
409
409
|
"""Sets the updated_at of this Member.
|
410
410
|
|
411
|
-
|
411
|
+
参数解释:更新时间。格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
|
412
412
|
|
413
413
|
:param updated_at: The updated_at of this Member.
|
414
414
|
:type updated_at: str
|
@@ -419,7 +419,7 @@ class Member:
|
|
419
419
|
def member_type(self):
|
420
420
|
"""Gets the member_type of this Member.
|
421
421
|
|
422
|
-
|
422
|
+
参数解释:后端云服务器的类型。 取值范围: - ip:跨VPC的member。 - instance:关联到ECS的member。
|
423
423
|
|
424
424
|
:return: The member_type of this Member.
|
425
425
|
:rtype: str
|
@@ -430,7 +430,7 @@ class Member:
|
|
430
430
|
def member_type(self, member_type):
|
431
431
|
"""Sets the member_type of this Member.
|
432
432
|
|
433
|
-
|
433
|
+
参数解释:后端云服务器的类型。 取值范围: - ip:跨VPC的member。 - instance:关联到ECS的member。
|
434
434
|
|
435
435
|
:param member_type: The member_type of this Member.
|
436
436
|
:type member_type: str
|
@@ -441,7 +441,7 @@ class Member:
|
|
441
441
|
def instance_id(self):
|
442
442
|
"""Gets the instance_id of this Member.
|
443
443
|
|
444
|
-
member关联的实例ID。空表示member关联的实例为非真实设备 (如:跨VPC场景)
|
444
|
+
参数解释:member关联的实例ID。空表示member关联的实例为非真实设备 (如:跨VPC场景)
|
445
445
|
|
446
446
|
:return: The instance_id of this Member.
|
447
447
|
:rtype: str
|
@@ -452,7 +452,7 @@ class Member:
|
|
452
452
|
def instance_id(self, instance_id):
|
453
453
|
"""Sets the instance_id of this Member.
|
454
454
|
|
455
|
-
member关联的实例ID。空表示member关联的实例为非真实设备 (如:跨VPC场景)
|
455
|
+
参数解释:member关联的实例ID。空表示member关联的实例为非真实设备 (如:跨VPC场景)
|
456
456
|
|
457
457
|
:param instance_id: The instance_id of this Member.
|
458
458
|
:type instance_id: str
|
@@ -77,9 +77,9 @@ class MemberInfo:
|
|
77
77
|
:type pool_id: str
|
78
78
|
:param admin_state_up: 后端云服务器的管理状态。 取值:true、false。 虽然创建、更新请求支持该字段,但实际取值决定于后端云服务器对应的弹性云服务器是否存在。若存在,该值为true,否则,该值为false。
|
79
79
|
:type admin_state_up: bool
|
80
|
-
: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后端转发特性已开启,则该字段可以不传,表示添加跨VPC的后端服务器。 此时address必须为IPv4地址,所在的pool的协议必须为TCP/HTTP/HTTPS。 [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt,dt_test)
|
80
|
+
: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后端转发特性已开启,则该字段可以不传,表示添加跨VPC的后端服务器。 此时address必须为IPv4地址,所在的pool的协议必须为TCP/HTTP/HTTPS。 [- 网关型LB,即pool协议为IP时,必须指定该子网,且必须和负载均衡器的子网在同一个VPC下,但不能相同。](tag:hws_eu) [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt,dt_test)
|
81
81
|
:type subnet_cidr_id: str
|
82
|
-
:param protocol_port: 后端服务器业务端口。
|
82
|
+
:param protocol_port: 后端服务器业务端口。 [网关型LB,即pool协议为IP时,protocol_port必须设置为0。](tag:hws_eu) >在开启端口透传的pool下创建member传该字段不生效,可不传该字段。
|
83
83
|
:type protocol_port: int
|
84
84
|
:param weight: 后端云服务器的权重,请求将根据pool配置的负载均衡算法和后端云服务器的权重进行负载分发。 权重值越大,分发的请求越多。权重为0的后端不再接受新的请求。 取值:0-100,默认1。 使用说明:若所在pool的lb_algorithm取值为SOURCE_IP,该字段无效。
|
85
85
|
:type weight: int
|
@@ -278,7 +278,7 @@ class MemberInfo:
|
|
278
278
|
def subnet_cidr_id(self):
|
279
279
|
"""Gets the subnet_cidr_id of this MemberInfo.
|
280
280
|
|
281
|
-
后端云服务器所在的子网,可以是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后端转发特性已开启,则该字段可以不传,表示添加跨VPC的后端服务器。 此时address必须为IPv4地址,所在的pool的协议必须为TCP/HTTP/HTTPS。 [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt,dt_test)
|
281
|
+
后端云服务器所在的子网,可以是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后端转发特性已开启,则该字段可以不传,表示添加跨VPC的后端服务器。 此时address必须为IPv4地址,所在的pool的协议必须为TCP/HTTP/HTTPS。 [- 网关型LB,即pool协议为IP时,必须指定该子网,且必须和负载均衡器的子网在同一个VPC下,但不能相同。](tag:hws_eu) [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt,dt_test)
|
282
282
|
|
283
283
|
:return: The subnet_cidr_id of this MemberInfo.
|
284
284
|
:rtype: str
|
@@ -289,7 +289,7 @@ class MemberInfo:
|
|
289
289
|
def subnet_cidr_id(self, subnet_cidr_id):
|
290
290
|
"""Sets the subnet_cidr_id of this MemberInfo.
|
291
291
|
|
292
|
-
后端云服务器所在的子网,可以是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后端转发特性已开启,则该字段可以不传,表示添加跨VPC的后端服务器。 此时address必须为IPv4地址,所在的pool的协议必须为TCP/HTTP/HTTPS。 [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt,dt_test)
|
292
|
+
后端云服务器所在的子网,可以是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后端转发特性已开启,则该字段可以不传,表示添加跨VPC的后端服务器。 此时address必须为IPv4地址,所在的pool的协议必须为TCP/HTTP/HTTPS。 [- 网关型LB,即pool协议为IP时,必须指定该子网,且必须和负载均衡器的子网在同一个VPC下,但不能相同。](tag:hws_eu) [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt,dt_test)
|
293
293
|
|
294
294
|
:param subnet_cidr_id: The subnet_cidr_id of this MemberInfo.
|
295
295
|
:type subnet_cidr_id: str
|
@@ -300,7 +300,7 @@ class MemberInfo:
|
|
300
300
|
def protocol_port(self):
|
301
301
|
"""Gets the protocol_port of this MemberInfo.
|
302
302
|
|
303
|
-
后端服务器业务端口。
|
303
|
+
后端服务器业务端口。 [网关型LB,即pool协议为IP时,protocol_port必须设置为0。](tag:hws_eu) >在开启端口透传的pool下创建member传该字段不生效,可不传该字段。
|
304
304
|
|
305
305
|
:return: The protocol_port of this MemberInfo.
|
306
306
|
:rtype: int
|
@@ -311,7 +311,7 @@ class MemberInfo:
|
|
311
311
|
def protocol_port(self, protocol_port):
|
312
312
|
"""Sets the protocol_port of this MemberInfo.
|
313
313
|
|
314
|
-
后端服务器业务端口。
|
314
|
+
后端服务器业务端口。 [网关型LB,即pool协议为IP时,protocol_port必须设置为0。](tag:hws_eu) >在开启端口透传的pool下创建member传该字段不生效,可不传该字段。
|
315
315
|
|
316
316
|
:param protocol_port: The protocol_port of this MemberInfo.
|
317
317
|
:type protocol_port: int
|
@@ -31,9 +31,9 @@ class MemberStatus:
|
|
31
31
|
|
32
32
|
The model defined in huaweicloud sdk
|
33
33
|
|
34
|
-
:param listener_id:
|
34
|
+
:param listener_id: 参数解释:监听器ID
|
35
35
|
:type listener_id: str
|
36
|
-
:param operating_status:
|
36
|
+
:param operating_status: 参数解释:后端云服务器的健康状态。 取值范围: - ONLINE:后端云服务器正常。 - NO_MONITOR:后端云服务器所在的服务器组没有健康检查器。 - OFFLINE:后端云服务器关联的ECS服务器不存在或已关机。
|
37
37
|
:type operating_status: str
|
38
38
|
"""
|
39
39
|
|
@@ -50,7 +50,7 @@ class MemberStatus:
|
|
50
50
|
def listener_id(self):
|
51
51
|
"""Gets the listener_id of this MemberStatus.
|
52
52
|
|
53
|
-
|
53
|
+
参数解释:监听器ID
|
54
54
|
|
55
55
|
:return: The listener_id of this MemberStatus.
|
56
56
|
:rtype: str
|
@@ -61,7 +61,7 @@ class MemberStatus:
|
|
61
61
|
def listener_id(self, listener_id):
|
62
62
|
"""Sets the listener_id of this MemberStatus.
|
63
63
|
|
64
|
-
|
64
|
+
参数解释:监听器ID
|
65
65
|
|
66
66
|
:param listener_id: The listener_id of this MemberStatus.
|
67
67
|
:type listener_id: str
|
@@ -72,7 +72,7 @@ class MemberStatus:
|
|
72
72
|
def operating_status(self):
|
73
73
|
"""Gets the operating_status of this MemberStatus.
|
74
74
|
|
75
|
-
|
75
|
+
参数解释:后端云服务器的健康状态。 取值范围: - ONLINE:后端云服务器正常。 - NO_MONITOR:后端云服务器所在的服务器组没有健康检查器。 - OFFLINE:后端云服务器关联的ECS服务器不存在或已关机。
|
76
76
|
|
77
77
|
:return: The operating_status of this MemberStatus.
|
78
78
|
:rtype: str
|
@@ -83,7 +83,7 @@ class MemberStatus:
|
|
83
83
|
def operating_status(self, operating_status):
|
84
84
|
"""Sets the operating_status of this MemberStatus.
|
85
85
|
|
86
|
-
|
86
|
+
参数解释:后端云服务器的健康状态。 取值范围: - ONLINE:后端云服务器正常。 - NO_MONITOR:后端云服务器所在的服务器组没有健康检查器。 - OFFLINE:后端云服务器关联的ECS服务器不存在或已关机。
|
87
87
|
|
88
88
|
:param operating_status: The operating_status of this MemberStatus.
|
89
89
|
:type operating_status: str
|