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
@@ -83,37 +83,37 @@ class ListPoolsRequest:
|
|
83
83
|
:type limit: int
|
84
84
|
:param page_reverse: 是否反向查询。 取值: - true:查询上一页。 - false:查询下一页,默认。 使用说明: - 必须与limit一起使用。 - 当page_reverse=true时,若要查询上一页,marker取值为当前页返回值的previous_marker。
|
85
85
|
:type page_reverse: bool
|
86
|
-
:param description:
|
86
|
+
:param description: 后端服务器组的描述信息。 支持多值查询,查询条件格式:*description=xxx&description=xxx*。
|
87
87
|
:type description: list[str]
|
88
|
-
:param admin_state_up:
|
88
|
+
:param admin_state_up: 后端服务器组的管理状态。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
|
89
89
|
:type admin_state_up: bool
|
90
|
-
:param healthmonitor_id:
|
90
|
+
:param healthmonitor_id: 后端服务器组关联的健康检查的ID。 支持多值查询,查询条件格式:*healthmonitor_id=xxx&healthmonitor_id=xxx*。
|
91
91
|
:type healthmonitor_id: list[str]
|
92
|
-
:param id:
|
92
|
+
:param id: 后端服务器组的ID。 支持多值查询,查询条件格式:*id=xxx&id=xxx*。
|
93
93
|
:type id: list[str]
|
94
|
-
:param name:
|
94
|
+
:param name: 后端服务器组的名称。 支持多值查询,查询条件格式:*name=xxx&name=xxx*。
|
95
95
|
:type name: list[str]
|
96
|
-
:param loadbalancer_id:
|
96
|
+
:param loadbalancer_id: 后端服务器组绑定的负载均衡器ID。 支持多值查询,查询条件格式:*loadbalancer_id=xxx&loadbalancer_id=xxx*。
|
97
97
|
:type loadbalancer_id: list[str]
|
98
|
-
:param protocol:
|
98
|
+
:param protocol: 后端服务器组的后端协议。 取值:TCP、UDP、[IP、](tag:hws_eu)TLS、HTTP、HTTPS、QUIC和GRPC。 支持多值查询,查询条件格式:*protocol=xxx&protocol=xxx*。 [不支持QUIC协议。](tag:hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC。](tag:dt,dt_test)
|
99
99
|
:type protocol: list[str]
|
100
|
-
:param lb_algorithm:
|
100
|
+
:param lb_algorithm: 后端服务器组的负载均衡算法。 取值: - ROUND_ROBIN:加权轮询算法。 - LEAST_CONNECTIONS:加权最少连接算法。 - SOURCE_IP:源IP算法。 - QUIC_CID:连接ID算法。 [- 2_TUPLE_HASH:二元组hash算法,仅IP类型的pool支持。 - 3_TUPLE_HASH:三元组hash算法,仅IP类型的pool支持。 - 5_TUPLE_HASH:五元组hash算法,仅IP类型的pool支持。 - IP型pool不指定该字段时,默认设置为5_TUPLE_HASH。](tag:hws_eu) 支持多值查询,查询条件格式:*lb_algorithm=xxx&lb_algorithm=xxx*。 [不支持QUIC_CID。](tag:hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC_CID。](tag:dt,dt_test)
|
101
101
|
:type lb_algorithm: list[str]
|
102
102
|
:param enterprise_project_id: 企业项目ID。不传时查询default企业项目\"0\"下的资源,鉴权按照default企业项目鉴权; 如果传值,则传已存在的企业项目ID或all_granted_eps(表示查询所有企业项目)进行查询。 支持多值查询,查询条件格式:*enterprise_project_id=xxx&enterprise_project_id=xxx*。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
|
103
103
|
:type enterprise_project_id: list[str]
|
104
|
-
:param ip_version:
|
104
|
+
:param ip_version: 后端服务器组支持的IP版本。 支持多值查询,查询条件格式:*ip_version=xxx&ip_version=xxx*。
|
105
105
|
:type ip_version: list[str]
|
106
|
-
:param member_address:
|
106
|
+
:param member_address: 后端服务器的IP地址。仅用于查询条件,不作为响应参数字段。 支持多值查询,查询条件格式:*member_address=xxx&member_address=xxx*。
|
107
107
|
:type member_address: list[str]
|
108
|
-
:param member_device_id:
|
108
|
+
:param member_device_id: 后端服务器对应的弹性云服务器的ID。仅用于查询条件,不作为响应参数字段。 支持多值查询,查询条件格式:*member_device_id=xxx&member_device_id=xxx*。
|
109
109
|
:type member_device_id: list[str]
|
110
110
|
:param member_deletion_protection_enable: 是否开启删除保护,false不开启,true开启,不传查询全部。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42) [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
|
111
111
|
:type member_deletion_protection_enable: bool
|
112
112
|
:param listener_id: 关联的监听器ID,包括通过l7policy关联的。 支持多值查询,查询条件格式:*listener_id=xxx&listener_id=xxx*。
|
113
113
|
:type listener_id: list[str]
|
114
|
-
:param member_instance_id:
|
114
|
+
:param member_instance_id: 后端服务器ID。仅用于查询条件,不作为响应参数字段。 支持多值查询,查询条件格式:*member_instance_id=xxx&member_instance_id=xxx*。
|
115
115
|
:type member_instance_id: list[str]
|
116
|
-
:param vpc_id:
|
116
|
+
:param vpc_id: 后端服务器组关联的虚拟私有云的ID。
|
117
117
|
:type vpc_id: list[str]
|
118
118
|
:param type: 后端服务器组的类型。 取值: - instance:允许任意类型的后端,type指定为该类型时,vpc_id是必选字段。 - ip:只能添加跨VPC后端,type指定为该类型时,vpc_id不允许指定。 - 空字符串(\"\"):允许任意类型的后端
|
119
119
|
:type type: list[str]
|
@@ -279,7 +279,7 @@ class ListPoolsRequest:
|
|
279
279
|
def description(self):
|
280
280
|
"""Gets the description of this ListPoolsRequest.
|
281
281
|
|
282
|
-
|
282
|
+
后端服务器组的描述信息。 支持多值查询,查询条件格式:*description=xxx&description=xxx*。
|
283
283
|
|
284
284
|
:return: The description of this ListPoolsRequest.
|
285
285
|
:rtype: list[str]
|
@@ -290,7 +290,7 @@ class ListPoolsRequest:
|
|
290
290
|
def description(self, description):
|
291
291
|
"""Sets the description of this ListPoolsRequest.
|
292
292
|
|
293
|
-
|
293
|
+
后端服务器组的描述信息。 支持多值查询,查询条件格式:*description=xxx&description=xxx*。
|
294
294
|
|
295
295
|
:param description: The description of this ListPoolsRequest.
|
296
296
|
:type description: list[str]
|
@@ -301,7 +301,7 @@ class ListPoolsRequest:
|
|
301
301
|
def admin_state_up(self):
|
302
302
|
"""Gets the admin_state_up of this ListPoolsRequest.
|
303
303
|
|
304
|
-
|
304
|
+
后端服务器组的管理状态。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
|
305
305
|
|
306
306
|
:return: The admin_state_up of this ListPoolsRequest.
|
307
307
|
:rtype: bool
|
@@ -312,7 +312,7 @@ class ListPoolsRequest:
|
|
312
312
|
def admin_state_up(self, admin_state_up):
|
313
313
|
"""Sets the admin_state_up of this ListPoolsRequest.
|
314
314
|
|
315
|
-
|
315
|
+
后端服务器组的管理状态。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
|
316
316
|
|
317
317
|
:param admin_state_up: The admin_state_up of this ListPoolsRequest.
|
318
318
|
:type admin_state_up: bool
|
@@ -323,7 +323,7 @@ class ListPoolsRequest:
|
|
323
323
|
def healthmonitor_id(self):
|
324
324
|
"""Gets the healthmonitor_id of this ListPoolsRequest.
|
325
325
|
|
326
|
-
|
326
|
+
后端服务器组关联的健康检查的ID。 支持多值查询,查询条件格式:*healthmonitor_id=xxx&healthmonitor_id=xxx*。
|
327
327
|
|
328
328
|
:return: The healthmonitor_id of this ListPoolsRequest.
|
329
329
|
:rtype: list[str]
|
@@ -334,7 +334,7 @@ class ListPoolsRequest:
|
|
334
334
|
def healthmonitor_id(self, healthmonitor_id):
|
335
335
|
"""Sets the healthmonitor_id of this ListPoolsRequest.
|
336
336
|
|
337
|
-
|
337
|
+
后端服务器组关联的健康检查的ID。 支持多值查询,查询条件格式:*healthmonitor_id=xxx&healthmonitor_id=xxx*。
|
338
338
|
|
339
339
|
:param healthmonitor_id: The healthmonitor_id of this ListPoolsRequest.
|
340
340
|
:type healthmonitor_id: list[str]
|
@@ -345,7 +345,7 @@ class ListPoolsRequest:
|
|
345
345
|
def id(self):
|
346
346
|
"""Gets the id of this ListPoolsRequest.
|
347
347
|
|
348
|
-
|
348
|
+
后端服务器组的ID。 支持多值查询,查询条件格式:*id=xxx&id=xxx*。
|
349
349
|
|
350
350
|
:return: The id of this ListPoolsRequest.
|
351
351
|
:rtype: list[str]
|
@@ -356,7 +356,7 @@ class ListPoolsRequest:
|
|
356
356
|
def id(self, id):
|
357
357
|
"""Sets the id of this ListPoolsRequest.
|
358
358
|
|
359
|
-
|
359
|
+
后端服务器组的ID。 支持多值查询,查询条件格式:*id=xxx&id=xxx*。
|
360
360
|
|
361
361
|
:param id: The id of this ListPoolsRequest.
|
362
362
|
:type id: list[str]
|
@@ -367,7 +367,7 @@ class ListPoolsRequest:
|
|
367
367
|
def name(self):
|
368
368
|
"""Gets the name of this ListPoolsRequest.
|
369
369
|
|
370
|
-
|
370
|
+
后端服务器组的名称。 支持多值查询,查询条件格式:*name=xxx&name=xxx*。
|
371
371
|
|
372
372
|
:return: The name of this ListPoolsRequest.
|
373
373
|
:rtype: list[str]
|
@@ -378,7 +378,7 @@ class ListPoolsRequest:
|
|
378
378
|
def name(self, name):
|
379
379
|
"""Sets the name of this ListPoolsRequest.
|
380
380
|
|
381
|
-
|
381
|
+
后端服务器组的名称。 支持多值查询,查询条件格式:*name=xxx&name=xxx*。
|
382
382
|
|
383
383
|
:param name: The name of this ListPoolsRequest.
|
384
384
|
:type name: list[str]
|
@@ -389,7 +389,7 @@ class ListPoolsRequest:
|
|
389
389
|
def loadbalancer_id(self):
|
390
390
|
"""Gets the loadbalancer_id of this ListPoolsRequest.
|
391
391
|
|
392
|
-
|
392
|
+
后端服务器组绑定的负载均衡器ID。 支持多值查询,查询条件格式:*loadbalancer_id=xxx&loadbalancer_id=xxx*。
|
393
393
|
|
394
394
|
:return: The loadbalancer_id of this ListPoolsRequest.
|
395
395
|
:rtype: list[str]
|
@@ -400,7 +400,7 @@ class ListPoolsRequest:
|
|
400
400
|
def loadbalancer_id(self, loadbalancer_id):
|
401
401
|
"""Sets the loadbalancer_id of this ListPoolsRequest.
|
402
402
|
|
403
|
-
|
403
|
+
后端服务器组绑定的负载均衡器ID。 支持多值查询,查询条件格式:*loadbalancer_id=xxx&loadbalancer_id=xxx*。
|
404
404
|
|
405
405
|
:param loadbalancer_id: The loadbalancer_id of this ListPoolsRequest.
|
406
406
|
:type loadbalancer_id: list[str]
|
@@ -411,7 +411,7 @@ class ListPoolsRequest:
|
|
411
411
|
def protocol(self):
|
412
412
|
"""Gets the protocol of this ListPoolsRequest.
|
413
413
|
|
414
|
-
|
414
|
+
后端服务器组的后端协议。 取值:TCP、UDP、[IP、](tag:hws_eu)TLS、HTTP、HTTPS、QUIC和GRPC。 支持多值查询,查询条件格式:*protocol=xxx&protocol=xxx*。 [不支持QUIC协议。](tag:hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC。](tag:dt,dt_test)
|
415
415
|
|
416
416
|
:return: The protocol of this ListPoolsRequest.
|
417
417
|
:rtype: list[str]
|
@@ -422,7 +422,7 @@ class ListPoolsRequest:
|
|
422
422
|
def protocol(self, protocol):
|
423
423
|
"""Sets the protocol of this ListPoolsRequest.
|
424
424
|
|
425
|
-
|
425
|
+
后端服务器组的后端协议。 取值:TCP、UDP、[IP、](tag:hws_eu)TLS、HTTP、HTTPS、QUIC和GRPC。 支持多值查询,查询条件格式:*protocol=xxx&protocol=xxx*。 [不支持QUIC协议。](tag:hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC。](tag:dt,dt_test)
|
426
426
|
|
427
427
|
:param protocol: The protocol of this ListPoolsRequest.
|
428
428
|
:type protocol: list[str]
|
@@ -433,7 +433,7 @@ class ListPoolsRequest:
|
|
433
433
|
def lb_algorithm(self):
|
434
434
|
"""Gets the lb_algorithm of this ListPoolsRequest.
|
435
435
|
|
436
|
-
|
436
|
+
后端服务器组的负载均衡算法。 取值: - 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) 支持多值查询,查询条件格式:*lb_algorithm=xxx&lb_algorithm=xxx*。 [不支持QUIC_CID。](tag:hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC_CID。](tag:dt,dt_test)
|
437
437
|
|
438
438
|
:return: The lb_algorithm of this ListPoolsRequest.
|
439
439
|
:rtype: list[str]
|
@@ -444,7 +444,7 @@ class ListPoolsRequest:
|
|
444
444
|
def lb_algorithm(self, lb_algorithm):
|
445
445
|
"""Sets the lb_algorithm of this ListPoolsRequest.
|
446
446
|
|
447
|
-
|
447
|
+
后端服务器组的负载均衡算法。 取值: - 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) 支持多值查询,查询条件格式:*lb_algorithm=xxx&lb_algorithm=xxx*。 [不支持QUIC_CID。](tag:hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC_CID。](tag:dt,dt_test)
|
448
448
|
|
449
449
|
:param lb_algorithm: The lb_algorithm of this ListPoolsRequest.
|
450
450
|
:type lb_algorithm: list[str]
|
@@ -477,7 +477,7 @@ class ListPoolsRequest:
|
|
477
477
|
def ip_version(self):
|
478
478
|
"""Gets the ip_version of this ListPoolsRequest.
|
479
479
|
|
480
|
-
|
480
|
+
后端服务器组支持的IP版本。 支持多值查询,查询条件格式:*ip_version=xxx&ip_version=xxx*。
|
481
481
|
|
482
482
|
:return: The ip_version of this ListPoolsRequest.
|
483
483
|
:rtype: list[str]
|
@@ -488,7 +488,7 @@ class ListPoolsRequest:
|
|
488
488
|
def ip_version(self, ip_version):
|
489
489
|
"""Sets the ip_version of this ListPoolsRequest.
|
490
490
|
|
491
|
-
|
491
|
+
后端服务器组支持的IP版本。 支持多值查询,查询条件格式:*ip_version=xxx&ip_version=xxx*。
|
492
492
|
|
493
493
|
:param ip_version: The ip_version of this ListPoolsRequest.
|
494
494
|
:type ip_version: list[str]
|
@@ -499,7 +499,7 @@ class ListPoolsRequest:
|
|
499
499
|
def member_address(self):
|
500
500
|
"""Gets the member_address of this ListPoolsRequest.
|
501
501
|
|
502
|
-
|
502
|
+
后端服务器的IP地址。仅用于查询条件,不作为响应参数字段。 支持多值查询,查询条件格式:*member_address=xxx&member_address=xxx*。
|
503
503
|
|
504
504
|
:return: The member_address of this ListPoolsRequest.
|
505
505
|
:rtype: list[str]
|
@@ -510,7 +510,7 @@ class ListPoolsRequest:
|
|
510
510
|
def member_address(self, member_address):
|
511
511
|
"""Sets the member_address of this ListPoolsRequest.
|
512
512
|
|
513
|
-
|
513
|
+
后端服务器的IP地址。仅用于查询条件,不作为响应参数字段。 支持多值查询,查询条件格式:*member_address=xxx&member_address=xxx*。
|
514
514
|
|
515
515
|
:param member_address: The member_address of this ListPoolsRequest.
|
516
516
|
:type member_address: list[str]
|
@@ -521,7 +521,7 @@ class ListPoolsRequest:
|
|
521
521
|
def member_device_id(self):
|
522
522
|
"""Gets the member_device_id of this ListPoolsRequest.
|
523
523
|
|
524
|
-
|
524
|
+
后端服务器对应的弹性云服务器的ID。仅用于查询条件,不作为响应参数字段。 支持多值查询,查询条件格式:*member_device_id=xxx&member_device_id=xxx*。
|
525
525
|
|
526
526
|
:return: The member_device_id of this ListPoolsRequest.
|
527
527
|
:rtype: list[str]
|
@@ -532,7 +532,7 @@ class ListPoolsRequest:
|
|
532
532
|
def member_device_id(self, member_device_id):
|
533
533
|
"""Sets the member_device_id of this ListPoolsRequest.
|
534
534
|
|
535
|
-
|
535
|
+
后端服务器对应的弹性云服务器的ID。仅用于查询条件,不作为响应参数字段。 支持多值查询,查询条件格式:*member_device_id=xxx&member_device_id=xxx*。
|
536
536
|
|
537
537
|
:param member_device_id: The member_device_id of this ListPoolsRequest.
|
538
538
|
:type member_device_id: list[str]
|
@@ -587,7 +587,7 @@ class ListPoolsRequest:
|
|
587
587
|
def member_instance_id(self):
|
588
588
|
"""Gets the member_instance_id of this ListPoolsRequest.
|
589
589
|
|
590
|
-
|
590
|
+
后端服务器ID。仅用于查询条件,不作为响应参数字段。 支持多值查询,查询条件格式:*member_instance_id=xxx&member_instance_id=xxx*。
|
591
591
|
|
592
592
|
:return: The member_instance_id of this ListPoolsRequest.
|
593
593
|
:rtype: list[str]
|
@@ -598,7 +598,7 @@ class ListPoolsRequest:
|
|
598
598
|
def member_instance_id(self, member_instance_id):
|
599
599
|
"""Sets the member_instance_id of this ListPoolsRequest.
|
600
600
|
|
601
|
-
|
601
|
+
后端服务器ID。仅用于查询条件,不作为响应参数字段。 支持多值查询,查询条件格式:*member_instance_id=xxx&member_instance_id=xxx*。
|
602
602
|
|
603
603
|
:param member_instance_id: The member_instance_id of this ListPoolsRequest.
|
604
604
|
:type member_instance_id: list[str]
|
@@ -609,7 +609,7 @@ class ListPoolsRequest:
|
|
609
609
|
def vpc_id(self):
|
610
610
|
"""Gets the vpc_id of this ListPoolsRequest.
|
611
611
|
|
612
|
-
|
612
|
+
后端服务器组关联的虚拟私有云的ID。
|
613
613
|
|
614
614
|
:return: The vpc_id of this ListPoolsRequest.
|
615
615
|
:rtype: list[str]
|
@@ -620,7 +620,7 @@ class ListPoolsRequest:
|
|
620
620
|
def vpc_id(self, vpc_id):
|
621
621
|
"""Sets the vpc_id of this ListPoolsRequest.
|
622
622
|
|
623
|
-
|
623
|
+
后端服务器组关联的虚拟私有云的ID。
|
624
624
|
|
625
625
|
:param vpc_id: The vpc_id of this ListPoolsRequest.
|
626
626
|
:type vpc_id: list[str]
|
@@ -105,7 +105,7 @@ class Listener:
|
|
105
105
|
:type connection_limit: int
|
106
106
|
:param created_at: 参数解释:监听器的创建时间。 取值范围: 格式:yyyy-MM-dd'T'HH:mm:ss'Z',如:2021-07-30T12:03:44Z
|
107
107
|
:type created_at: str
|
108
|
-
:param default_pool_id:
|
108
|
+
:param default_pool_id: 参数解释:监听器的默认后端服务器组ID。当请求没有匹配的转发策略时,转发到默认后端服务器上处理。
|
109
109
|
:type default_pool_id: str
|
110
110
|
:param default_tls_container_ref: 参数解释:监听器使用的服务器证书ID。
|
111
111
|
:type default_tls_container_ref: str
|
@@ -123,7 +123,7 @@ class Listener:
|
|
123
123
|
:type name: str
|
124
124
|
:param project_id: 参数解释:监听器所在的项目ID。
|
125
125
|
:type project_id: str
|
126
|
-
:param protocol: 参数解释:监听器的监听协议。 [取值范围:TCP、UDP、HTTP、HTTPS、TERMINATED_HTTPS、QUIC、TLS。 约束限制: - 共享型LB上的HTTPS监听器只支持设置为TERMINATED_HTTPS, 创建时传入HTTPS将会自动转为TERMINATED_HTTPS。 - 独享型LB上的HTTPS监听器只支持设置为HTTPS,创建时传入TERMINATED_HTTPS将会自动转为HTTPS。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt) [取值:TCP、UDP、HTTP、HTTPS。](tag:hcso_dt) [取值:TCP、UDP、IP、HTTP、HTTPS。IP为网关型LB上的监听器独有的协议。](tag:hws_eu) [不支持QUIC。](tag:tm,
|
126
|
+
:param protocol: 参数解释:监听器的监听协议。 [取值范围:TCP、UDP、HTTP、HTTPS、TERMINATED_HTTPS、QUIC、TLS。 约束限制: - 共享型LB上的HTTPS监听器只支持设置为TERMINATED_HTTPS, 创建时传入HTTPS将会自动转为TERMINATED_HTTPS。 - 独享型LB上的HTTPS监听器只支持设置为HTTPS,创建时传入TERMINATED_HTTPS将会自动转为HTTPS。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt) [取值:TCP、UDP、HTTP、HTTPS。](tag:hcso_dt) [取值:TCP、UDP、IP、HTTP、HTTPS。IP为网关型LB上的监听器独有的协议。](tag:hws_eu) [不支持QUIC。](tag:tm,g42,hk_g42,dt,dt_test)
|
127
127
|
:type protocol: str
|
128
128
|
:param protocol_port: 参数解释:监听器的监听端口。 约束限制: - QUIC监听器端口不能是4789,且不能和UDP监听器端口重复。 - 传0表示开启监听端口范围的能力,此时port_ranges为必填字段。 [-不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test)
|
129
129
|
:type protocol_port: int
|
@@ -135,7 +135,7 @@ class Listener:
|
|
135
135
|
:type tags: list[:class:`huaweicloudsdkelb.v3.Tag`]
|
136
136
|
:param updated_at: 参数解释:监听器的更新时间。 取值范围: 格式:yyyy-MM-dd'T'HH:mm:ss'Z',如:2021-07-30T12:03:44Z
|
137
137
|
:type updated_at: str
|
138
|
-
:param tls_ciphers_policy: 参数解释:监听器使用的安全策略。 [取值范围:tls-1-0-inherit、tls-1-0、tls-1-1、 tls-1-2、tls-1-2-strict、tls-1-2-fs、tls-1-0-with-1-3、 tls-1-2-fs-with-1-3、 hybrid-policy-1-0、tls-1-2-strict-no-cbc,默认:tls-1-0。 ](tag:hws,hws_hk,ocb,tlf,ctc,hcso,sbc,tm,cmcc,dt) [取值范围:tls-1-0、tls-1-1、tls-1-2、 tls-1-2-strict,默认:tls-1-0。](tag:hws_eu,g42,hk_g42,hcso_dt) [约束限制: - 仅对HTTPS协议类型的监听器且关联LB为独享型时有效。 - QUIC监听器不支持该字段。 - 若同时设置了security_policy_id和tls_ciphers_policy,则仅security_policy_id生效。 - 加密套件的优先顺序为ecc套件、rsa套件、tls1.3协议的套件(即支持ecc又支持rsa) ](tag:hws,hws_hk,hws_eu,ocb,tlf,ctc,hcso,sbc,g42,tm,cmcc,hk-g42,dt) [约束限制: - 仅对HTTPS协议类型的监听器有效](tag:hcso_dt) [不支持tls1.3协议的套件。](tag:tm,hws_eu,g42,hk_g42)
|
138
|
+
:param tls_ciphers_policy: 参数解释:监听器使用的安全策略。 [取值范围:tls-1-0-inherit、tls-1-0、tls-1-1、 tls-1-2、tls-1-2-strict、tls-1-2-fs、tls-1-0-with-1-3、 tls-1-2-fs-with-1-3、 hybrid-policy-1-0、tls-1-2-strict-no-cbc,默认:tls-1-0。 ](tag:hws,hws_hk,ocb,tlf,ctc,hcso,sbc,tm,cmcc,dt) [取值范围:tls-1-0、tls-1-1、tls-1-2、 tls-1-2-strict,默认:tls-1-0。](tag:hws_eu,g42,hk_g42,hcso_dt) [约束限制: - 仅对HTTPS协议类型的监听器且关联LB为独享型时有效。 - QUIC监听器不支持该字段。 - 若同时设置了security_policy_id和tls_ciphers_policy,则仅security_policy_id生效。 - 加密套件的优先顺序为ecc套件、rsa套件、tls1.3协议的套件(即支持ecc又支持rsa) ](tag:hws,hws_hk,hws_eu,ocb,tlf,ctc,hcso,sbc,g42,tm,cmcc,hk-g42,dt) [约束限制: - 仅对HTTPS协议类型的监听器有效](tag:hcso_dt) [不支持tls1.3协议的套件。](tag:tm,hws_eu,g42,hk_g42)
|
139
139
|
:type tls_ciphers_policy: str
|
140
140
|
:param security_policy_id: 参数解释:自定义安全策略的ID。 [约束限制: - 仅对HTTPS协议类型的监听器且关联LB为独享型时有效。 - 若同时设置了security_policy_id和tls_ciphers_policy,则仅security_policy_id生效。 - 加密套件的优先顺序为ecc套件、rsa套件、tls1.3协议的套件(即支持ecc又支持rsa) ](tag:hws,hws_hk,hws_eu,ocb,ctc,hcso,g42,tm,cmcc,hk-g42,dt) [约束限制: - 仅对HTTPS协议类型的监听器有效](tag:hcso_dt) [不支持tls1.3协议的套件。](tag:tm,hws_eu,g42,hk_g42)
|
141
141
|
:type security_policy_id: str
|
@@ -153,7 +153,7 @@ class Listener:
|
|
153
153
|
:type transparent_client_ip_enable: bool
|
154
154
|
:param proxy_protocol_enable: 参数解释:是否开启proxy_protocol。仅TLS监听器可指定,其他协议的监听器该字段不生效,proxy_protocol不开启。
|
155
155
|
:type proxy_protocol_enable: bool
|
156
|
-
:param enhance_l7policy_enable: 参数解释:是否开启高级转发策略功能。开启高级转发策略后,支持更灵活的转发策略和转发规则设置。 开启后支持如下场景: - 转发策略的action字段支持指定为REDIRECT_TO_URL, FIXED_RESPONSE,即支持URL重定向和响应固定的内容给客户端。 - 转发策略支持指定priority、redirect_url_config、fixed_response_config字段。 - 转发规则rule的type可以指定METHOD, HEADER, QUERY_STRING, SOURCE_IP这几种取值。 - 转发规则rule的type为HOST_NAME时,转发规则rule的value支持通配符*。 - 转发规则支持指定conditions字段。 取值范围:true开启,false不开启。 默认取值:false。 [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
|
156
|
+
:param enhance_l7policy_enable: 参数解释:是否开启高级转发策略功能。开启高级转发策略后,支持更灵活的转发策略和转发规则设置。 开启后支持如下场景: - 转发策略的action字段支持指定为REDIRECT_TO_URL, FIXED_RESPONSE,即支持URL重定向和响应固定的内容给客户端。 - 转发策略支持指定priority、redirect_url_config、fixed_response_config字段。 - 转发规则rule的type可以指定METHOD, HEADER, QUERY_STRING, SOURCE_IP这几种取值。 - 转发规则rule的type为HOST_NAME时,转发规则rule的value支持通配符*。 - 转发规则支持指定conditions字段。 约束限制:开启后不支持关闭 取值范围:true开启,false不开启。 默认取值:false。 [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
|
157
157
|
:type enhance_l7policy_enable: bool
|
158
158
|
:param quic_config:
|
159
159
|
:type quic_config: :class:`huaweicloudsdkelb.v3.ListenerQuicConfig`
|
@@ -343,7 +343,7 @@ class Listener:
|
|
343
343
|
def default_pool_id(self):
|
344
344
|
"""Gets the default_pool_id of this Listener.
|
345
345
|
|
346
|
-
|
346
|
+
参数解释:监听器的默认后端服务器组ID。当请求没有匹配的转发策略时,转发到默认后端服务器上处理。
|
347
347
|
|
348
348
|
:return: The default_pool_id of this Listener.
|
349
349
|
:rtype: str
|
@@ -354,7 +354,7 @@ class Listener:
|
|
354
354
|
def default_pool_id(self, default_pool_id):
|
355
355
|
"""Sets the default_pool_id of this Listener.
|
356
356
|
|
357
|
-
|
357
|
+
参数解释:监听器的默认后端服务器组ID。当请求没有匹配的转发策略时,转发到默认后端服务器上处理。
|
358
358
|
|
359
359
|
:param default_pool_id: The default_pool_id of this Listener.
|
360
360
|
:type default_pool_id: str
|
@@ -537,7 +537,7 @@ class Listener:
|
|
537
537
|
def protocol(self):
|
538
538
|
"""Gets the protocol of this Listener.
|
539
539
|
|
540
|
-
参数解释:监听器的监听协议。 [取值范围:TCP、UDP、HTTP、HTTPS、TERMINATED_HTTPS、QUIC、TLS。 约束限制: - 共享型LB上的HTTPS监听器只支持设置为TERMINATED_HTTPS, 创建时传入HTTPS将会自动转为TERMINATED_HTTPS。 - 独享型LB上的HTTPS监听器只支持设置为HTTPS,创建时传入TERMINATED_HTTPS将会自动转为HTTPS。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt) [取值:TCP、UDP、HTTP、HTTPS。](tag:hcso_dt) [取值:TCP、UDP、IP、HTTP、HTTPS。IP为网关型LB上的监听器独有的协议。](tag:hws_eu) [不支持QUIC。](tag:tm,
|
540
|
+
参数解释:监听器的监听协议。 [取值范围:TCP、UDP、HTTP、HTTPS、TERMINATED_HTTPS、QUIC、TLS。 约束限制: - 共享型LB上的HTTPS监听器只支持设置为TERMINATED_HTTPS, 创建时传入HTTPS将会自动转为TERMINATED_HTTPS。 - 独享型LB上的HTTPS监听器只支持设置为HTTPS,创建时传入TERMINATED_HTTPS将会自动转为HTTPS。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt) [取值:TCP、UDP、HTTP、HTTPS。](tag:hcso_dt) [取值:TCP、UDP、IP、HTTP、HTTPS。IP为网关型LB上的监听器独有的协议。](tag:hws_eu) [不支持QUIC。](tag:tm,g42,hk_g42,dt,dt_test)
|
541
541
|
|
542
542
|
:return: The protocol of this Listener.
|
543
543
|
:rtype: str
|
@@ -548,7 +548,7 @@ class Listener:
|
|
548
548
|
def protocol(self, protocol):
|
549
549
|
"""Sets the protocol of this Listener.
|
550
550
|
|
551
|
-
参数解释:监听器的监听协议。 [取值范围:TCP、UDP、HTTP、HTTPS、TERMINATED_HTTPS、QUIC、TLS。 约束限制: - 共享型LB上的HTTPS监听器只支持设置为TERMINATED_HTTPS, 创建时传入HTTPS将会自动转为TERMINATED_HTTPS。 - 独享型LB上的HTTPS监听器只支持设置为HTTPS,创建时传入TERMINATED_HTTPS将会自动转为HTTPS。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt) [取值:TCP、UDP、HTTP、HTTPS。](tag:hcso_dt) [取值:TCP、UDP、IP、HTTP、HTTPS。IP为网关型LB上的监听器独有的协议。](tag:hws_eu) [不支持QUIC。](tag:tm,
|
551
|
+
参数解释:监听器的监听协议。 [取值范围:TCP、UDP、HTTP、HTTPS、TERMINATED_HTTPS、QUIC、TLS。 约束限制: - 共享型LB上的HTTPS监听器只支持设置为TERMINATED_HTTPS, 创建时传入HTTPS将会自动转为TERMINATED_HTTPS。 - 独享型LB上的HTTPS监听器只支持设置为HTTPS,创建时传入TERMINATED_HTTPS将会自动转为HTTPS。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt) [取值:TCP、UDP、HTTP、HTTPS。](tag:hcso_dt) [取值:TCP、UDP、IP、HTTP、HTTPS。IP为网关型LB上的监听器独有的协议。](tag:hws_eu) [不支持QUIC。](tag:tm,g42,hk_g42,dt,dt_test)
|
552
552
|
|
553
553
|
:param protocol: The protocol of this Listener.
|
554
554
|
:type protocol: str
|
@@ -669,7 +669,7 @@ class Listener:
|
|
669
669
|
def tls_ciphers_policy(self):
|
670
670
|
"""Gets the tls_ciphers_policy of this Listener.
|
671
671
|
|
672
|
-
参数解释:监听器使用的安全策略。 [取值范围:tls-1-0-inherit、tls-1-0、tls-1-1、 tls-1-2、tls-1-2-strict、tls-1-2-fs、tls-1-0-with-1-3、 tls-1-2-fs-with-1-3、 hybrid-policy-1-0、tls-1-2-strict-no-cbc,默认:tls-1-0。 ](tag:hws,hws_hk,ocb,tlf,ctc,hcso,sbc,tm,cmcc,dt) [取值范围:tls-1-0、tls-1-1、tls-1-2、 tls-1-2-strict,默认:tls-1-0。](tag:hws_eu,g42,hk_g42,hcso_dt) [约束限制: - 仅对HTTPS协议类型的监听器且关联LB为独享型时有效。 - QUIC监听器不支持该字段。 - 若同时设置了security_policy_id和tls_ciphers_policy,则仅security_policy_id生效。 - 加密套件的优先顺序为ecc套件、rsa套件、tls1.3协议的套件(即支持ecc又支持rsa) ](tag:hws,hws_hk,hws_eu,ocb,tlf,ctc,hcso,sbc,g42,tm,cmcc,hk-g42,dt) [约束限制: - 仅对HTTPS协议类型的监听器有效](tag:hcso_dt) [不支持tls1.3协议的套件。](tag:tm,hws_eu,g42,hk_g42)
|
672
|
+
参数解释:监听器使用的安全策略。 [取值范围:tls-1-0-inherit、tls-1-0、tls-1-1、 tls-1-2、tls-1-2-strict、tls-1-2-fs、tls-1-0-with-1-3、 tls-1-2-fs-with-1-3、 hybrid-policy-1-0、tls-1-2-strict-no-cbc,默认:tls-1-0。 ](tag:hws,hws_hk,ocb,tlf,ctc,hcso,sbc,tm,cmcc,dt) [取值范围:tls-1-0、tls-1-1、tls-1-2、 tls-1-2-strict,默认:tls-1-0。](tag:hws_eu,g42,hk_g42,hcso_dt) [约束限制: - 仅对HTTPS协议类型的监听器且关联LB为独享型时有效。 - QUIC监听器不支持该字段。 - 若同时设置了security_policy_id和tls_ciphers_policy,则仅security_policy_id生效。 - 加密套件的优先顺序为ecc套件、rsa套件、tls1.3协议的套件(即支持ecc又支持rsa) ](tag:hws,hws_hk,hws_eu,ocb,tlf,ctc,hcso,sbc,g42,tm,cmcc,hk-g42,dt) [约束限制: - 仅对HTTPS协议类型的监听器有效](tag:hcso_dt) [不支持tls1.3协议的套件。](tag:tm,hws_eu,g42,hk_g42)
|
673
673
|
|
674
674
|
:return: The tls_ciphers_policy of this Listener.
|
675
675
|
:rtype: str
|
@@ -680,7 +680,7 @@ class Listener:
|
|
680
680
|
def tls_ciphers_policy(self, tls_ciphers_policy):
|
681
681
|
"""Sets the tls_ciphers_policy of this Listener.
|
682
682
|
|
683
|
-
参数解释:监听器使用的安全策略。 [取值范围:tls-1-0-inherit、tls-1-0、tls-1-1、 tls-1-2、tls-1-2-strict、tls-1-2-fs、tls-1-0-with-1-3、 tls-1-2-fs-with-1-3、 hybrid-policy-1-0、tls-1-2-strict-no-cbc,默认:tls-1-0。 ](tag:hws,hws_hk,ocb,tlf,ctc,hcso,sbc,tm,cmcc,dt) [取值范围:tls-1-0、tls-1-1、tls-1-2、 tls-1-2-strict,默认:tls-1-0。](tag:hws_eu,g42,hk_g42,hcso_dt) [约束限制: - 仅对HTTPS协议类型的监听器且关联LB为独享型时有效。 - QUIC监听器不支持该字段。 - 若同时设置了security_policy_id和tls_ciphers_policy,则仅security_policy_id生效。 - 加密套件的优先顺序为ecc套件、rsa套件、tls1.3协议的套件(即支持ecc又支持rsa) ](tag:hws,hws_hk,hws_eu,ocb,tlf,ctc,hcso,sbc,g42,tm,cmcc,hk-g42,dt) [约束限制: - 仅对HTTPS协议类型的监听器有效](tag:hcso_dt) [不支持tls1.3协议的套件。](tag:tm,hws_eu,g42,hk_g42)
|
683
|
+
参数解释:监听器使用的安全策略。 [取值范围:tls-1-0-inherit、tls-1-0、tls-1-1、 tls-1-2、tls-1-2-strict、tls-1-2-fs、tls-1-0-with-1-3、 tls-1-2-fs-with-1-3、 hybrid-policy-1-0、tls-1-2-strict-no-cbc,默认:tls-1-0。 ](tag:hws,hws_hk,ocb,tlf,ctc,hcso,sbc,tm,cmcc,dt) [取值范围:tls-1-0、tls-1-1、tls-1-2、 tls-1-2-strict,默认:tls-1-0。](tag:hws_eu,g42,hk_g42,hcso_dt) [约束限制: - 仅对HTTPS协议类型的监听器且关联LB为独享型时有效。 - QUIC监听器不支持该字段。 - 若同时设置了security_policy_id和tls_ciphers_policy,则仅security_policy_id生效。 - 加密套件的优先顺序为ecc套件、rsa套件、tls1.3协议的套件(即支持ecc又支持rsa) ](tag:hws,hws_hk,hws_eu,ocb,tlf,ctc,hcso,sbc,g42,tm,cmcc,hk-g42,dt) [约束限制: - 仅对HTTPS协议类型的监听器有效](tag:hcso_dt) [不支持tls1.3协议的套件。](tag:tm,hws_eu,g42,hk_g42)
|
684
684
|
|
685
685
|
:param tls_ciphers_policy: The tls_ciphers_policy of this Listener.
|
686
686
|
:type tls_ciphers_policy: str
|
@@ -863,7 +863,7 @@ class Listener:
|
|
863
863
|
def enhance_l7policy_enable(self):
|
864
864
|
"""Gets the enhance_l7policy_enable of this Listener.
|
865
865
|
|
866
|
-
参数解释:是否开启高级转发策略功能。开启高级转发策略后,支持更灵活的转发策略和转发规则设置。 开启后支持如下场景: - 转发策略的action字段支持指定为REDIRECT_TO_URL, FIXED_RESPONSE,即支持URL重定向和响应固定的内容给客户端。 - 转发策略支持指定priority、redirect_url_config、fixed_response_config字段。 - 转发规则rule的type可以指定METHOD, HEADER, QUERY_STRING, SOURCE_IP这几种取值。 - 转发规则rule的type为HOST_NAME时,转发规则rule的value支持通配符*。 - 转发规则支持指定conditions字段。 取值范围:true开启,false不开启。 默认取值:false。 [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
|
866
|
+
参数解释:是否开启高级转发策略功能。开启高级转发策略后,支持更灵活的转发策略和转发规则设置。 开启后支持如下场景: - 转发策略的action字段支持指定为REDIRECT_TO_URL, FIXED_RESPONSE,即支持URL重定向和响应固定的内容给客户端。 - 转发策略支持指定priority、redirect_url_config、fixed_response_config字段。 - 转发规则rule的type可以指定METHOD, HEADER, QUERY_STRING, SOURCE_IP这几种取值。 - 转发规则rule的type为HOST_NAME时,转发规则rule的value支持通配符*。 - 转发规则支持指定conditions字段。 约束限制:开启后不支持关闭 取值范围:true开启,false不开启。 默认取值:false。 [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
|
867
867
|
|
868
868
|
:return: The enhance_l7policy_enable of this Listener.
|
869
869
|
:rtype: bool
|
@@ -874,7 +874,7 @@ class Listener:
|
|
874
874
|
def enhance_l7policy_enable(self, enhance_l7policy_enable):
|
875
875
|
"""Sets the enhance_l7policy_enable of this Listener.
|
876
876
|
|
877
|
-
参数解释:是否开启高级转发策略功能。开启高级转发策略后,支持更灵活的转发策略和转发规则设置。 开启后支持如下场景: - 转发策略的action字段支持指定为REDIRECT_TO_URL, FIXED_RESPONSE,即支持URL重定向和响应固定的内容给客户端。 - 转发策略支持指定priority、redirect_url_config、fixed_response_config字段。 - 转发规则rule的type可以指定METHOD, HEADER, QUERY_STRING, SOURCE_IP这几种取值。 - 转发规则rule的type为HOST_NAME时,转发规则rule的value支持通配符*。 - 转发规则支持指定conditions字段。 取值范围:true开启,false不开启。 默认取值:false。 [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
|
877
|
+
参数解释:是否开启高级转发策略功能。开启高级转发策略后,支持更灵活的转发策略和转发规则设置。 开启后支持如下场景: - 转发策略的action字段支持指定为REDIRECT_TO_URL, FIXED_RESPONSE,即支持URL重定向和响应固定的内容给客户端。 - 转发策略支持指定priority、redirect_url_config、fixed_response_config字段。 - 转发规则rule的type可以指定METHOD, HEADER, QUERY_STRING, SOURCE_IP这几种取值。 - 转发规则rule的type为HOST_NAME时,转发规则rule的value支持通配符*。 - 转发规则支持指定conditions字段。 约束限制:开启后不支持关闭 取值范围:true开启,false不开启。 默认取值:false。 [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
|
878
878
|
|
879
879
|
:param enhance_l7policy_enable: The enhance_l7policy_enable of this Listener.
|
880
880
|
:type enhance_l7policy_enable: bool
|
@@ -47,25 +47,25 @@ class ListenerInsertHeaders:
|
|
47
47
|
|
48
48
|
The model defined in huaweicloud sdk
|
49
49
|
|
50
|
-
:param x_forwarded_elb_ip: 参数解释:X-Forwarded-ELB-IP设为true可以将ELB实例的eip地址从报文的http
|
50
|
+
:param x_forwarded_elb_ip: 参数解释:X-Forwarded-ELB-IP设为true可以将ELB实例的eip地址从报文的http头中带到后端服务器。
|
51
51
|
:type x_forwarded_elb_ip: bool
|
52
|
-
:param x_forwarded_port: 参数解释:X-Forwarded-Port设为true可以将ELB实例的监听端口从报文的http
|
52
|
+
:param x_forwarded_port: 参数解释:X-Forwarded-Port设为true可以将ELB实例的监听端口从报文的http头中带到后端服务器。
|
53
53
|
:type x_forwarded_port: bool
|
54
|
-
:param x_forwarded_for_port: X-Forwarded-For-Port设为true可以将客户端的源端口从报文的http
|
54
|
+
:param x_forwarded_for_port: X-Forwarded-For-Port设为true可以将客户端的源端口从报文的http头中带到后端服务器。
|
55
55
|
:type x_forwarded_for_port: bool
|
56
|
-
:param x_forwarded_host: 参数解释:X-Forwarded-Host设为true可以将客户请求头的X-Forwarded-Host设置为请求头的Host
|
56
|
+
:param x_forwarded_host: 参数解释:X-Forwarded-Host设为true可以将客户请求头的X-Forwarded-Host设置为请求头的Host带到后端服务器。
|
57
57
|
:type x_forwarded_host: bool
|
58
|
-
:param x_forwarded_proto: 参数解释:X-Forwarded-Proto设为true可以将负载均衡器实例的监听协议通过报文的http
|
58
|
+
:param x_forwarded_proto: 参数解释:X-Forwarded-Proto设为true可以将负载均衡器实例的监听协议通过报文的http头带到后端服务器。
|
59
59
|
:type x_forwarded_proto: bool
|
60
|
-
:param x_real_ip: 参数解释:X-Real-IP设为true可以将客户端的IP通过报文的http
|
60
|
+
:param x_real_ip: 参数解释:X-Real-IP设为true可以将客户端的IP通过报文的http头带到后端服务器。
|
61
61
|
:type x_real_ip: bool
|
62
|
-
:param x_forwarded_elb_id: 参数解释:X-Forwarded-ELB-ID设为true可以将负载均衡器实例的ID通过报文的http
|
62
|
+
:param x_forwarded_elb_id: 参数解释:X-Forwarded-ELB-ID设为true可以将负载均衡器实例的ID通过报文的http头带到后端服务器。
|
63
63
|
:type x_forwarded_elb_id: bool
|
64
|
-
:param x_forwarded_tls_certificate_id: 参数解释:X-Forwarded-TLS-Certificate-ID设为true可以将负载均衡器实例的证书ID通过报文的http
|
64
|
+
:param x_forwarded_tls_certificate_id: 参数解释:X-Forwarded-TLS-Certificate-ID设为true可以将负载均衡器实例的证书ID通过报文的http头带到后端服务器。
|
65
65
|
:type x_forwarded_tls_certificate_id: bool
|
66
|
-
:param x_forwarded_tls_protocol: 参数解释:X-Forwarded-TLS-Protocol设为true可以将负载均衡器实例的算法协议通过报文的http
|
66
|
+
:param x_forwarded_tls_protocol: 参数解释:X-Forwarded-TLS-Protocol设为true可以将负载均衡器实例的算法协议通过报文的http头带到后端服务器。
|
67
67
|
:type x_forwarded_tls_protocol: bool
|
68
|
-
:param x_forwarded_tls_cipher: 参数解释:X-Forwarded-TLS-Cipher设为true可以将负载均衡器实例的算法套件通过报文的http
|
68
|
+
:param x_forwarded_tls_cipher: 参数解释:X-Forwarded-TLS-Cipher设为true可以将负载均衡器实例的算法套件通过报文的http头带到后端服务器。
|
69
69
|
:type x_forwarded_tls_cipher: bool
|
70
70
|
"""
|
71
71
|
|
@@ -108,7 +108,7 @@ class ListenerInsertHeaders:
|
|
108
108
|
def x_forwarded_elb_ip(self):
|
109
109
|
"""Gets the x_forwarded_elb_ip of this ListenerInsertHeaders.
|
110
110
|
|
111
|
-
参数解释:X-Forwarded-ELB-IP设为true可以将ELB实例的eip地址从报文的http
|
111
|
+
参数解释:X-Forwarded-ELB-IP设为true可以将ELB实例的eip地址从报文的http头中带到后端服务器。
|
112
112
|
|
113
113
|
:return: The x_forwarded_elb_ip of this ListenerInsertHeaders.
|
114
114
|
:rtype: bool
|
@@ -119,7 +119,7 @@ class ListenerInsertHeaders:
|
|
119
119
|
def x_forwarded_elb_ip(self, x_forwarded_elb_ip):
|
120
120
|
"""Sets the x_forwarded_elb_ip of this ListenerInsertHeaders.
|
121
121
|
|
122
|
-
参数解释:X-Forwarded-ELB-IP设为true可以将ELB实例的eip地址从报文的http
|
122
|
+
参数解释:X-Forwarded-ELB-IP设为true可以将ELB实例的eip地址从报文的http头中带到后端服务器。
|
123
123
|
|
124
124
|
:param x_forwarded_elb_ip: The x_forwarded_elb_ip of this ListenerInsertHeaders.
|
125
125
|
:type x_forwarded_elb_ip: bool
|
@@ -130,7 +130,7 @@ class ListenerInsertHeaders:
|
|
130
130
|
def x_forwarded_port(self):
|
131
131
|
"""Gets the x_forwarded_port of this ListenerInsertHeaders.
|
132
132
|
|
133
|
-
参数解释:X-Forwarded-Port设为true可以将ELB实例的监听端口从报文的http
|
133
|
+
参数解释:X-Forwarded-Port设为true可以将ELB实例的监听端口从报文的http头中带到后端服务器。
|
134
134
|
|
135
135
|
:return: The x_forwarded_port of this ListenerInsertHeaders.
|
136
136
|
:rtype: bool
|
@@ -141,7 +141,7 @@ class ListenerInsertHeaders:
|
|
141
141
|
def x_forwarded_port(self, x_forwarded_port):
|
142
142
|
"""Sets the x_forwarded_port of this ListenerInsertHeaders.
|
143
143
|
|
144
|
-
参数解释:X-Forwarded-Port设为true可以将ELB实例的监听端口从报文的http
|
144
|
+
参数解释:X-Forwarded-Port设为true可以将ELB实例的监听端口从报文的http头中带到后端服务器。
|
145
145
|
|
146
146
|
:param x_forwarded_port: The x_forwarded_port of this ListenerInsertHeaders.
|
147
147
|
:type x_forwarded_port: bool
|
@@ -152,7 +152,7 @@ class ListenerInsertHeaders:
|
|
152
152
|
def x_forwarded_for_port(self):
|
153
153
|
"""Gets the x_forwarded_for_port of this ListenerInsertHeaders.
|
154
154
|
|
155
|
-
X-Forwarded-For-Port设为true可以将客户端的源端口从报文的http
|
155
|
+
X-Forwarded-For-Port设为true可以将客户端的源端口从报文的http头中带到后端服务器。
|
156
156
|
|
157
157
|
:return: The x_forwarded_for_port of this ListenerInsertHeaders.
|
158
158
|
:rtype: bool
|
@@ -163,7 +163,7 @@ class ListenerInsertHeaders:
|
|
163
163
|
def x_forwarded_for_port(self, x_forwarded_for_port):
|
164
164
|
"""Sets the x_forwarded_for_port of this ListenerInsertHeaders.
|
165
165
|
|
166
|
-
X-Forwarded-For-Port设为true可以将客户端的源端口从报文的http
|
166
|
+
X-Forwarded-For-Port设为true可以将客户端的源端口从报文的http头中带到后端服务器。
|
167
167
|
|
168
168
|
:param x_forwarded_for_port: The x_forwarded_for_port of this ListenerInsertHeaders.
|
169
169
|
:type x_forwarded_for_port: bool
|
@@ -174,7 +174,7 @@ class ListenerInsertHeaders:
|
|
174
174
|
def x_forwarded_host(self):
|
175
175
|
"""Gets the x_forwarded_host of this ListenerInsertHeaders.
|
176
176
|
|
177
|
-
参数解释:X-Forwarded-Host设为true可以将客户请求头的X-Forwarded-Host设置为请求头的Host
|
177
|
+
参数解释:X-Forwarded-Host设为true可以将客户请求头的X-Forwarded-Host设置为请求头的Host带到后端服务器。
|
178
178
|
|
179
179
|
:return: The x_forwarded_host of this ListenerInsertHeaders.
|
180
180
|
:rtype: bool
|
@@ -185,7 +185,7 @@ class ListenerInsertHeaders:
|
|
185
185
|
def x_forwarded_host(self, x_forwarded_host):
|
186
186
|
"""Sets the x_forwarded_host of this ListenerInsertHeaders.
|
187
187
|
|
188
|
-
参数解释:X-Forwarded-Host设为true可以将客户请求头的X-Forwarded-Host设置为请求头的Host
|
188
|
+
参数解释:X-Forwarded-Host设为true可以将客户请求头的X-Forwarded-Host设置为请求头的Host带到后端服务器。
|
189
189
|
|
190
190
|
:param x_forwarded_host: The x_forwarded_host of this ListenerInsertHeaders.
|
191
191
|
:type x_forwarded_host: bool
|
@@ -196,7 +196,7 @@ class ListenerInsertHeaders:
|
|
196
196
|
def x_forwarded_proto(self):
|
197
197
|
"""Gets the x_forwarded_proto of this ListenerInsertHeaders.
|
198
198
|
|
199
|
-
参数解释:X-Forwarded-Proto设为true可以将负载均衡器实例的监听协议通过报文的http
|
199
|
+
参数解释:X-Forwarded-Proto设为true可以将负载均衡器实例的监听协议通过报文的http头带到后端服务器。
|
200
200
|
|
201
201
|
:return: The x_forwarded_proto of this ListenerInsertHeaders.
|
202
202
|
:rtype: bool
|
@@ -207,7 +207,7 @@ class ListenerInsertHeaders:
|
|
207
207
|
def x_forwarded_proto(self, x_forwarded_proto):
|
208
208
|
"""Sets the x_forwarded_proto of this ListenerInsertHeaders.
|
209
209
|
|
210
|
-
参数解释:X-Forwarded-Proto设为true可以将负载均衡器实例的监听协议通过报文的http
|
210
|
+
参数解释:X-Forwarded-Proto设为true可以将负载均衡器实例的监听协议通过报文的http头带到后端服务器。
|
211
211
|
|
212
212
|
:param x_forwarded_proto: The x_forwarded_proto of this ListenerInsertHeaders.
|
213
213
|
:type x_forwarded_proto: bool
|
@@ -218,7 +218,7 @@ class ListenerInsertHeaders:
|
|
218
218
|
def x_real_ip(self):
|
219
219
|
"""Gets the x_real_ip of this ListenerInsertHeaders.
|
220
220
|
|
221
|
-
参数解释:X-Real-IP设为true可以将客户端的IP通过报文的http
|
221
|
+
参数解释:X-Real-IP设为true可以将客户端的IP通过报文的http头带到后端服务器。
|
222
222
|
|
223
223
|
:return: The x_real_ip of this ListenerInsertHeaders.
|
224
224
|
:rtype: bool
|
@@ -229,7 +229,7 @@ class ListenerInsertHeaders:
|
|
229
229
|
def x_real_ip(self, x_real_ip):
|
230
230
|
"""Sets the x_real_ip of this ListenerInsertHeaders.
|
231
231
|
|
232
|
-
参数解释:X-Real-IP设为true可以将客户端的IP通过报文的http
|
232
|
+
参数解释:X-Real-IP设为true可以将客户端的IP通过报文的http头带到后端服务器。
|
233
233
|
|
234
234
|
:param x_real_ip: The x_real_ip of this ListenerInsertHeaders.
|
235
235
|
:type x_real_ip: bool
|
@@ -240,7 +240,7 @@ class ListenerInsertHeaders:
|
|
240
240
|
def x_forwarded_elb_id(self):
|
241
241
|
"""Gets the x_forwarded_elb_id of this ListenerInsertHeaders.
|
242
242
|
|
243
|
-
参数解释:X-Forwarded-ELB-ID设为true可以将负载均衡器实例的ID通过报文的http
|
243
|
+
参数解释:X-Forwarded-ELB-ID设为true可以将负载均衡器实例的ID通过报文的http头带到后端服务器。
|
244
244
|
|
245
245
|
:return: The x_forwarded_elb_id of this ListenerInsertHeaders.
|
246
246
|
:rtype: bool
|
@@ -251,7 +251,7 @@ class ListenerInsertHeaders:
|
|
251
251
|
def x_forwarded_elb_id(self, x_forwarded_elb_id):
|
252
252
|
"""Sets the x_forwarded_elb_id of this ListenerInsertHeaders.
|
253
253
|
|
254
|
-
参数解释:X-Forwarded-ELB-ID设为true可以将负载均衡器实例的ID通过报文的http
|
254
|
+
参数解释:X-Forwarded-ELB-ID设为true可以将负载均衡器实例的ID通过报文的http头带到后端服务器。
|
255
255
|
|
256
256
|
:param x_forwarded_elb_id: The x_forwarded_elb_id of this ListenerInsertHeaders.
|
257
257
|
:type x_forwarded_elb_id: bool
|
@@ -262,7 +262,7 @@ class ListenerInsertHeaders:
|
|
262
262
|
def x_forwarded_tls_certificate_id(self):
|
263
263
|
"""Gets the x_forwarded_tls_certificate_id of this ListenerInsertHeaders.
|
264
264
|
|
265
|
-
参数解释:X-Forwarded-TLS-Certificate-ID设为true可以将负载均衡器实例的证书ID通过报文的http
|
265
|
+
参数解释:X-Forwarded-TLS-Certificate-ID设为true可以将负载均衡器实例的证书ID通过报文的http头带到后端服务器。
|
266
266
|
|
267
267
|
:return: The x_forwarded_tls_certificate_id of this ListenerInsertHeaders.
|
268
268
|
:rtype: bool
|
@@ -273,7 +273,7 @@ class ListenerInsertHeaders:
|
|
273
273
|
def x_forwarded_tls_certificate_id(self, x_forwarded_tls_certificate_id):
|
274
274
|
"""Sets the x_forwarded_tls_certificate_id of this ListenerInsertHeaders.
|
275
275
|
|
276
|
-
参数解释:X-Forwarded-TLS-Certificate-ID设为true可以将负载均衡器实例的证书ID通过报文的http
|
276
|
+
参数解释:X-Forwarded-TLS-Certificate-ID设为true可以将负载均衡器实例的证书ID通过报文的http头带到后端服务器。
|
277
277
|
|
278
278
|
:param x_forwarded_tls_certificate_id: The x_forwarded_tls_certificate_id of this ListenerInsertHeaders.
|
279
279
|
:type x_forwarded_tls_certificate_id: bool
|
@@ -284,7 +284,7 @@ class ListenerInsertHeaders:
|
|
284
284
|
def x_forwarded_tls_protocol(self):
|
285
285
|
"""Gets the x_forwarded_tls_protocol of this ListenerInsertHeaders.
|
286
286
|
|
287
|
-
参数解释:X-Forwarded-TLS-Protocol设为true可以将负载均衡器实例的算法协议通过报文的http
|
287
|
+
参数解释:X-Forwarded-TLS-Protocol设为true可以将负载均衡器实例的算法协议通过报文的http头带到后端服务器。
|
288
288
|
|
289
289
|
:return: The x_forwarded_tls_protocol of this ListenerInsertHeaders.
|
290
290
|
:rtype: bool
|
@@ -295,7 +295,7 @@ class ListenerInsertHeaders:
|
|
295
295
|
def x_forwarded_tls_protocol(self, x_forwarded_tls_protocol):
|
296
296
|
"""Sets the x_forwarded_tls_protocol of this ListenerInsertHeaders.
|
297
297
|
|
298
|
-
参数解释:X-Forwarded-TLS-Protocol设为true可以将负载均衡器实例的算法协议通过报文的http
|
298
|
+
参数解释:X-Forwarded-TLS-Protocol设为true可以将负载均衡器实例的算法协议通过报文的http头带到后端服务器。
|
299
299
|
|
300
300
|
:param x_forwarded_tls_protocol: The x_forwarded_tls_protocol of this ListenerInsertHeaders.
|
301
301
|
:type x_forwarded_tls_protocol: bool
|
@@ -306,7 +306,7 @@ class ListenerInsertHeaders:
|
|
306
306
|
def x_forwarded_tls_cipher(self):
|
307
307
|
"""Gets the x_forwarded_tls_cipher of this ListenerInsertHeaders.
|
308
308
|
|
309
|
-
参数解释:X-Forwarded-TLS-Cipher设为true可以将负载均衡器实例的算法套件通过报文的http
|
309
|
+
参数解释:X-Forwarded-TLS-Cipher设为true可以将负载均衡器实例的算法套件通过报文的http头带到后端服务器。
|
310
310
|
|
311
311
|
:return: The x_forwarded_tls_cipher of this ListenerInsertHeaders.
|
312
312
|
:rtype: bool
|
@@ -317,7 +317,7 @@ class ListenerInsertHeaders:
|
|
317
317
|
def x_forwarded_tls_cipher(self, x_forwarded_tls_cipher):
|
318
318
|
"""Sets the x_forwarded_tls_cipher of this ListenerInsertHeaders.
|
319
319
|
|
320
|
-
参数解释:X-Forwarded-TLS-Cipher设为true可以将负载均衡器实例的算法套件通过报文的http
|
320
|
+
参数解释:X-Forwarded-TLS-Cipher设为true可以将负载均衡器实例的算法套件通过报文的http头带到后端服务器。
|
321
321
|
|
322
322
|
:param x_forwarded_tls_cipher: The x_forwarded_tls_cipher of this ListenerInsertHeaders.
|
323
323
|
:type x_forwarded_tls_cipher: bool
|