huaweicloudsdkelb 3.1.116__py2.py3-none-any.whl → 3.1.117__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/v2/elb_async_client.py +2 -0
- huaweicloudsdkelb/v2/elb_client.py +2 -0
- huaweicloudsdkelb/v2/model/list_members_request.py +32 -3
- huaweicloudsdkelb/v3/elb_async_client.py +5 -1
- huaweicloudsdkelb/v3/elb_client.py +5 -1
- huaweicloudsdkelb/v3/model/availability_zone.py +3 -3
- huaweicloudsdkelb/v3/model/batch_add_available_zones_request.py +3 -3
- huaweicloudsdkelb/v3/model/batch_create_members_option.py +12 -12
- huaweicloudsdkelb/v3/model/batch_member.py +21 -21
- huaweicloudsdkelb/v3/model/batch_update_member.py +24 -24
- huaweicloudsdkelb/v3/model/batch_update_members_option.py +6 -6
- huaweicloudsdkelb/v3/model/connection_drain.py +6 -6
- huaweicloudsdkelb/v3/model/create_health_monitor_option.py +12 -12
- huaweicloudsdkelb/v3/model/create_l7_policy_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_listener_option.py +6 -6
- huaweicloudsdkelb/v3/model/create_load_balancer_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_master_slave_health_monitor_option.py +6 -6
- huaweicloudsdkelb/v3/model/create_master_slave_member_option.py +12 -12
- huaweicloudsdkelb/v3/model/create_master_slave_pool_option.py +30 -30
- huaweicloudsdkelb/v3/model/create_member_option.py +18 -18
- huaweicloudsdkelb/v3/model/create_pool_option.py +48 -48
- huaweicloudsdkelb/v3/model/create_pool_response.py +3 -3
- huaweicloudsdkelb/v3/model/create_pool_session_persistence_option.py +9 -9
- huaweicloudsdkelb/v3/model/create_pool_slow_start_option.py +6 -6
- huaweicloudsdkelb/v3/model/delete_member_request.py +3 -3
- huaweicloudsdkelb/v3/model/flavor.py +3 -3
- huaweicloudsdkelb/v3/model/health_monitor.py +12 -12
- huaweicloudsdkelb/v3/model/l7_policy.py +3 -3
- huaweicloudsdkelb/v3/model/list_all_members_request.py +21 -21
- huaweicloudsdkelb/v3/model/list_availability_zones_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_availability_zones_response.py +3 -3
- huaweicloudsdkelb/v3/model/list_flavors_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_health_monitors_request.py +6 -6
- huaweicloudsdkelb/v3/model/list_l7_policies_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_listeners_request.py +12 -12
- huaweicloudsdkelb/v3/model/list_load_balancers_request.py +9 -9
- huaweicloudsdkelb/v3/model/list_master_slave_pools_request.py +36 -36
- huaweicloudsdkelb/v3/model/list_members_request.py +21 -21
- huaweicloudsdkelb/v3/model/list_pools_request.py +39 -39
- huaweicloudsdkelb/v3/model/listener.py +12 -12
- huaweicloudsdkelb/v3/model/listener_insert_headers.py +30 -30
- huaweicloudsdkelb/v3/model/listener_member_info.py +3 -3
- huaweicloudsdkelb/v3/model/load_balancer.py +9 -9
- huaweicloudsdkelb/v3/model/load_balancer_status.py +3 -3
- huaweicloudsdkelb/v3/model/master_slave_health_monitor.py +6 -6
- huaweicloudsdkelb/v3/model/master_slave_member.py +18 -18
- huaweicloudsdkelb/v3/model/master_slave_pool.py +33 -33
- huaweicloudsdkelb/v3/model/member.py +21 -21
- huaweicloudsdkelb/v3/model/member_info.py +24 -24
- huaweicloudsdkelb/v3/model/member_ref.py +3 -3
- huaweicloudsdkelb/v3/model/member_status.py +3 -3
- huaweicloudsdkelb/v3/model/pool.py +66 -66
- huaweicloudsdkelb/v3/model/pool_health.py +3 -3
- huaweicloudsdkelb/v3/model/quota.py +6 -6
- huaweicloudsdkelb/v3/model/session_persistence.py +9 -9
- huaweicloudsdkelb/v3/model/slow_start.py +6 -6
- huaweicloudsdkelb/v3/model/update_health_monitor_option.py +9 -9
- huaweicloudsdkelb/v3/model/update_listener_option.py +6 -6
- huaweicloudsdkelb/v3/model/update_load_balancer_option.py +12 -12
- huaweicloudsdkelb/v3/model/update_member_option.py +9 -9
- huaweicloudsdkelb/v3/model/update_pool_option.py +15 -15
- huaweicloudsdkelb/v3/model/update_rule_condition.py +3 -3
- {huaweicloudsdkelb-3.1.116.dist-info → huaweicloudsdkelb-3.1.117.dist-info}/METADATA +2 -2
- {huaweicloudsdkelb-3.1.116.dist-info → huaweicloudsdkelb-3.1.117.dist-info}/RECORD +67 -67
- {huaweicloudsdkelb-3.1.116.dist-info → huaweicloudsdkelb-3.1.117.dist-info}/LICENSE +0 -0
- {huaweicloudsdkelb-3.1.116.dist-info → huaweicloudsdkelb-3.1.117.dist-info}/WHEEL +0 -0
- {huaweicloudsdkelb-3.1.116.dist-info → huaweicloudsdkelb-3.1.117.dist-info}/top_level.txt +0 -0
@@ -63,27 +63,27 @@ class Member:
|
|
63
63
|
:type name: str
|
64
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的协议必须为UDP/TCP/TLS/HTTP/HTTPS/QUIC/GRPC。 [- 网关型LB,即pool协议为IP时,必须指定该子网,且必须和负载均衡器的子网在同一个VPC下,但不能相同。](tag:hws_eu) [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt,dt_test)
|
69
69
|
:type subnet_cidr_id: str
|
70
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或QUIC_CID,该字段无效。 取值范围:0-100 默认取值:1。
|
73
73
|
:type weight: int
|
74
|
-
:param address: 参数解释:后端服务器对应的IP地址。 约束限制: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP地址可以是私网IPv4或IPv6。 但必须在subnet_cidr_id
|
74
|
+
:param address: 参数解释:后端服务器对应的IP地址。 约束限制: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP地址可以是私网IPv4或IPv6。 但必须在subnet_cidr_id对应的子网网段中。 [不支持IPv6,请勿设置为IPv6地址。](tag:dt,dt_test)
|
75
75
|
:type address: str
|
76
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
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
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
88
|
:param instance_id: 参数解释:member关联的实例ID。空表示member关联的实例为非真实设备 (如:跨VPC场景)
|
89
89
|
:type instance_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的协议必须为UDP/TCP/TLS/HTTP/HTTPS/QUIC/GRPC。 [- 网关型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的协议必须为UDP/TCP/TLS/HTTP/HTTPS/QUIC/GRPC。 [- 网关型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
|
@@ -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或QUIC_CID,该字段无效。 取值范围: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或QUIC_CID,该字段无效。 取值范围: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
|
-
参数解释:后端服务器对应的IP地址。 约束限制: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP地址可以是私网IPv4或IPv6。 但必须在subnet_cidr_id
|
290
|
+
参数解释:后端服务器对应的IP地址。 约束限制: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP地址可以是私网IPv4或IPv6。 但必须在subnet_cidr_id对应的子网网段中。 [不支持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
|
-
参数解释:后端服务器对应的IP地址。 约束限制: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP地址可以是私网IPv4或IPv6。 但必须在subnet_cidr_id
|
301
|
+
参数解释:后端服务器对应的IP地址。 约束限制: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP地址可以是私网IPv4或IPv6。 但必须在subnet_cidr_id对应的子网网段中。 [不支持IPv6,请勿设置为IPv6地址。](tag:dt,dt_test)
|
302
302
|
|
303
303
|
:param address: The address of this Member.
|
304
304
|
:type address: 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`]
|
@@ -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
|
@@ -75,15 +75,15 @@ class MemberInfo:
|
|
75
75
|
:type project_id: str
|
76
76
|
:param pool_id: 所在后端服务器组ID。 不支持该字段,请勿使用。
|
77
77
|
:type pool_id: str
|
78
|
-
:param admin_state_up:
|
78
|
+
:param admin_state_up: 后端服务器的管理状态。 取值:true、false。 虽然创建、更新请求支持该字段,但实际取值决定于后端服务器对应的弹性云服务器是否存在。若存在,该值为true,否则,该值为false。
|
79
79
|
:type admin_state_up: bool
|
80
|
-
:param subnet_cidr_id:
|
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的协议必须为UDP/TCP/TLS/HTTP/HTTPS/QUIC/GRPC。 [- 网关型LB,即pool协议为IP时,必须指定该子网,且必须和负载均衡器的子网在同一个VPC下,但不能相同。](tag:hws_eu) [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt,dt_test)
|
81
81
|
:type subnet_cidr_id: str
|
82
82
|
:param protocol_port: 后端服务器业务端口。 [网关型LB,即pool协议为IP时,protocol_port必须设置为0。](tag:hws_eu) >在开启端口透传的pool下创建member传该字段不生效,可不传该字段。
|
83
83
|
:type protocol_port: int
|
84
|
-
:param weight:
|
84
|
+
:param weight: 后端服务器的权重,请求将根据pool配置的负载均衡算法和后端服务器的权重进行负载分发。 权重值越大,分发的请求越多。权重为0的后端不再接受新的请求。 取值:0-100,默认1。 使用说明:若所在pool的lb_algorithm取值为SOURCE_IP或QUIC_CID,该字段无效。
|
85
85
|
:type weight: int
|
86
|
-
:param address: 后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP地址可以是私网IPv4或IPv6。 但必须在subnet_cidr_id
|
86
|
+
:param address: 后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP地址可以是私网IPv4或IPv6。 但必须在subnet_cidr_id对应的子网网段中。 [不支持IPv6,请勿设置为IPv6地址。](tag:dt,dt_test)
|
87
87
|
:type address: str
|
88
88
|
:param ip_version: 当前后端服务器的IP地址版本,由后端系统自动根据传入的address字段确定。取值:v4、v6。
|
89
89
|
:type ip_version: str
|
@@ -91,19 +91,19 @@ class MemberInfo:
|
|
91
91
|
:type device_owner: str
|
92
92
|
:param device_id: 关联的ECS ID,为空表示后端服务器未关联到ECS。 不支持该字段,请勿使用。
|
93
93
|
:type device_id: str
|
94
|
-
:param operating_status:
|
94
|
+
:param operating_status: 后端服务器的健康状态。当status非空时,以status字段中监听器粒度的健康检查状态优先。 取值: - ONLINE:后端服务器正常。 - NO_MONITOR:后端服务器所在的服务器组没有健康检查器。 - OFFLINE:后端服务器关联的ECS服务器不存在或已关机。
|
95
95
|
:type operating_status: str
|
96
|
-
:param status:
|
96
|
+
:param status: 后端服务器监听器粒度的的健康状态。 若绑定的监听器在该字段中,则以该字段中监听器对应的operating_stauts为准。 若绑定的监听器不在该字段中,则以外层的operating_status为准。
|
97
97
|
:type status: list[:class:`huaweicloudsdkelb.v3.MemberStatus`]
|
98
98
|
:param loadbalancer_id: 所属负载均衡器ID。 不支持该字段,请勿使用。
|
99
99
|
:type loadbalancer_id: str
|
100
|
-
:param loadbalancers:
|
100
|
+
:param loadbalancers: 后端服务器关联的负载均衡器ID列表。 不支持该字段,请勿使用。
|
101
101
|
:type loadbalancers: list[:class:`huaweicloudsdkelb.v3.ResourceID`]
|
102
102
|
: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)
|
103
103
|
:type created_at: str
|
104
104
|
: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)
|
105
105
|
:type updated_at: str
|
106
|
-
:param member_type:
|
106
|
+
:param member_type: 后端服务器的类型。 取值: - ip:跨VPC的member。 - instance:关联到ECS的member。
|
107
107
|
:type member_type: str
|
108
108
|
:param instance_id: member关联的实例ID。空表示member关联的实例为非真实设备 (如:跨VPC场景)
|
109
109
|
:type instance_id: str
|
@@ -256,7 +256,7 @@ class MemberInfo:
|
|
256
256
|
def admin_state_up(self):
|
257
257
|
"""Gets the admin_state_up of this MemberInfo.
|
258
258
|
|
259
|
-
|
259
|
+
后端服务器的管理状态。 取值:true、false。 虽然创建、更新请求支持该字段,但实际取值决定于后端服务器对应的弹性云服务器是否存在。若存在,该值为true,否则,该值为false。
|
260
260
|
|
261
261
|
:return: The admin_state_up of this MemberInfo.
|
262
262
|
:rtype: bool
|
@@ -267,7 +267,7 @@ class MemberInfo:
|
|
267
267
|
def admin_state_up(self, admin_state_up):
|
268
268
|
"""Sets the admin_state_up of this MemberInfo.
|
269
269
|
|
270
|
-
|
270
|
+
后端服务器的管理状态。 取值:true、false。 虽然创建、更新请求支持该字段,但实际取值决定于后端服务器对应的弹性云服务器是否存在。若存在,该值为true,否则,该值为false。
|
271
271
|
|
272
272
|
:param admin_state_up: The admin_state_up of this MemberInfo.
|
273
273
|
:type admin_state_up: bool
|
@@ -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
|
-
|
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的协议必须为UDP/TCP/TLS/HTTP/HTTPS/QUIC/GRPC。 [- 网关型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
|
-
|
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的协议必须为UDP/TCP/TLS/HTTP/HTTPS/QUIC/GRPC。 [- 网关型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
|
@@ -322,7 +322,7 @@ class MemberInfo:
|
|
322
322
|
def weight(self):
|
323
323
|
"""Gets the weight of this MemberInfo.
|
324
324
|
|
325
|
-
|
325
|
+
后端服务器的权重,请求将根据pool配置的负载均衡算法和后端服务器的权重进行负载分发。 权重值越大,分发的请求越多。权重为0的后端不再接受新的请求。 取值:0-100,默认1。 使用说明:若所在pool的lb_algorithm取值为SOURCE_IP或QUIC_CID,该字段无效。
|
326
326
|
|
327
327
|
:return: The weight of this MemberInfo.
|
328
328
|
:rtype: int
|
@@ -333,7 +333,7 @@ class MemberInfo:
|
|
333
333
|
def weight(self, weight):
|
334
334
|
"""Sets the weight of this MemberInfo.
|
335
335
|
|
336
|
-
|
336
|
+
后端服务器的权重,请求将根据pool配置的负载均衡算法和后端服务器的权重进行负载分发。 权重值越大,分发的请求越多。权重为0的后端不再接受新的请求。 取值:0-100,默认1。 使用说明:若所在pool的lb_algorithm取值为SOURCE_IP或QUIC_CID,该字段无效。
|
337
337
|
|
338
338
|
:param weight: The weight of this MemberInfo.
|
339
339
|
:type weight: int
|
@@ -344,7 +344,7 @@ class MemberInfo:
|
|
344
344
|
def address(self):
|
345
345
|
"""Gets the address of this MemberInfo.
|
346
346
|
|
347
|
-
后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP地址可以是私网IPv4或IPv6。 但必须在subnet_cidr_id
|
347
|
+
后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP地址可以是私网IPv4或IPv6。 但必须在subnet_cidr_id对应的子网网段中。 [不支持IPv6,请勿设置为IPv6地址。](tag:dt,dt_test)
|
348
348
|
|
349
349
|
:return: The address of this MemberInfo.
|
350
350
|
:rtype: str
|
@@ -355,7 +355,7 @@ class MemberInfo:
|
|
355
355
|
def address(self, address):
|
356
356
|
"""Sets the address of this MemberInfo.
|
357
357
|
|
358
|
-
后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP地址可以是私网IPv4或IPv6。 但必须在subnet_cidr_id
|
358
|
+
后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP地址可以是私网IPv4或IPv6。 但必须在subnet_cidr_id对应的子网网段中。 [不支持IPv6,请勿设置为IPv6地址。](tag:dt,dt_test)
|
359
359
|
|
360
360
|
:param address: The address of this MemberInfo.
|
361
361
|
:type address: str
|
@@ -432,7 +432,7 @@ class MemberInfo:
|
|
432
432
|
def operating_status(self):
|
433
433
|
"""Gets the operating_status of this MemberInfo.
|
434
434
|
|
435
|
-
|
435
|
+
后端服务器的健康状态。当status非空时,以status字段中监听器粒度的健康检查状态优先。 取值: - ONLINE:后端服务器正常。 - NO_MONITOR:后端服务器所在的服务器组没有健康检查器。 - OFFLINE:后端服务器关联的ECS服务器不存在或已关机。
|
436
436
|
|
437
437
|
:return: The operating_status of this MemberInfo.
|
438
438
|
:rtype: str
|
@@ -443,7 +443,7 @@ class MemberInfo:
|
|
443
443
|
def operating_status(self, operating_status):
|
444
444
|
"""Sets the operating_status of this MemberInfo.
|
445
445
|
|
446
|
-
|
446
|
+
后端服务器的健康状态。当status非空时,以status字段中监听器粒度的健康检查状态优先。 取值: - ONLINE:后端服务器正常。 - NO_MONITOR:后端服务器所在的服务器组没有健康检查器。 - OFFLINE:后端服务器关联的ECS服务器不存在或已关机。
|
447
447
|
|
448
448
|
:param operating_status: The operating_status of this MemberInfo.
|
449
449
|
:type operating_status: str
|
@@ -454,7 +454,7 @@ class MemberInfo:
|
|
454
454
|
def status(self):
|
455
455
|
"""Gets the status of this MemberInfo.
|
456
456
|
|
457
|
-
|
457
|
+
后端服务器监听器粒度的的健康状态。 若绑定的监听器在该字段中,则以该字段中监听器对应的operating_stauts为准。 若绑定的监听器不在该字段中,则以外层的operating_status为准。
|
458
458
|
|
459
459
|
:return: The status of this MemberInfo.
|
460
460
|
:rtype: list[:class:`huaweicloudsdkelb.v3.MemberStatus`]
|
@@ -465,7 +465,7 @@ class MemberInfo:
|
|
465
465
|
def status(self, status):
|
466
466
|
"""Sets the status of this MemberInfo.
|
467
467
|
|
468
|
-
|
468
|
+
后端服务器监听器粒度的的健康状态。 若绑定的监听器在该字段中,则以该字段中监听器对应的operating_stauts为准。 若绑定的监听器不在该字段中,则以外层的operating_status为准。
|
469
469
|
|
470
470
|
:param status: The status of this MemberInfo.
|
471
471
|
:type status: list[:class:`huaweicloudsdkelb.v3.MemberStatus`]
|
@@ -498,7 +498,7 @@ class MemberInfo:
|
|
498
498
|
def loadbalancers(self):
|
499
499
|
"""Gets the loadbalancers of this MemberInfo.
|
500
500
|
|
501
|
-
|
501
|
+
后端服务器关联的负载均衡器ID列表。 不支持该字段,请勿使用。
|
502
502
|
|
503
503
|
:return: The loadbalancers of this MemberInfo.
|
504
504
|
:rtype: list[:class:`huaweicloudsdkelb.v3.ResourceID`]
|
@@ -509,7 +509,7 @@ class MemberInfo:
|
|
509
509
|
def loadbalancers(self, loadbalancers):
|
510
510
|
"""Sets the loadbalancers of this MemberInfo.
|
511
511
|
|
512
|
-
|
512
|
+
后端服务器关联的负载均衡器ID列表。 不支持该字段,请勿使用。
|
513
513
|
|
514
514
|
:param loadbalancers: The loadbalancers of this MemberInfo.
|
515
515
|
:type loadbalancers: list[:class:`huaweicloudsdkelb.v3.ResourceID`]
|
@@ -564,7 +564,7 @@ class MemberInfo:
|
|
564
564
|
def member_type(self):
|
565
565
|
"""Gets the member_type of this MemberInfo.
|
566
566
|
|
567
|
-
|
567
|
+
后端服务器的类型。 取值: - ip:跨VPC的member。 - instance:关联到ECS的member。
|
568
568
|
|
569
569
|
:return: The member_type of this MemberInfo.
|
570
570
|
:rtype: str
|
@@ -575,7 +575,7 @@ class MemberInfo:
|
|
575
575
|
def member_type(self, member_type):
|
576
576
|
"""Sets the member_type of this MemberInfo.
|
577
577
|
|
578
|
-
|
578
|
+
后端服务器的类型。 取值: - ip:跨VPC的member。 - instance:关联到ECS的member。
|
579
579
|
|
580
580
|
:param member_type: The member_type of this MemberInfo.
|
581
581
|
:type member_type: str
|
@@ -29,7 +29,7 @@ class MemberRef:
|
|
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
|
|
@@ -44,7 +44,7 @@ class MemberRef:
|
|
44
44
|
def id(self):
|
45
45
|
"""Gets the id of this MemberRef.
|
46
46
|
|
47
|
-
|
47
|
+
参数解释:后端服务器ID。
|
48
48
|
|
49
49
|
:return: The id of this MemberRef.
|
50
50
|
:rtype: str
|
@@ -55,7 +55,7 @@ class MemberRef:
|
|
55
55
|
def id(self, id):
|
56
56
|
"""Sets the id of this MemberRef.
|
57
57
|
|
58
|
-
|
58
|
+
参数解释:后端服务器ID。
|
59
59
|
|
60
60
|
:param id: The id of this MemberRef.
|
61
61
|
:type id: str
|
@@ -33,7 +33,7 @@ class MemberStatus:
|
|
33
33
|
|
34
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
|
|
@@ -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
|