huaweicloudsdkelb 3.1.86__py2.py3-none-any.whl → 3.1.132__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/v2/region/elb_region.py +19 -1
- huaweicloudsdkelb/v3/__init__.py +29 -0
- huaweicloudsdkelb/v3/elb_async_client.py +175 -34
- huaweicloudsdkelb/v3/elb_client.py +175 -34
- huaweicloudsdkelb/v3/model/__init__.py +29 -0
- 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_add_available_zones_request.py +3 -3
- huaweicloudsdkelb/v3/model/batch_add_available_zones_response.py +6 -6
- huaweicloudsdkelb/v3/model/batch_create_members_option.py +12 -12
- huaweicloudsdkelb/v3/model/batch_create_members_request.py +3 -3
- huaweicloudsdkelb/v3/model/batch_delete_ip_list_option.py +3 -3
- huaweicloudsdkelb/v3/model/batch_delete_ip_list_request.py +3 -3
- huaweicloudsdkelb/v3/model/batch_delete_ip_list_response.py +3 -3
- huaweicloudsdkelb/v3/model/batch_delete_members_request.py +3 -3
- huaweicloudsdkelb/v3/model/batch_member.py +85 -27
- huaweicloudsdkelb/v3/model/batch_update_member.py +85 -27
- huaweicloudsdkelb/v3/model/batch_update_members_option.py +9 -9
- 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/certificate_info.py +93 -6
- huaweicloudsdkelb/v3/model/change_loadbalancer_charge_mode_request_body.py +3 -3
- huaweicloudsdkelb/v3/model/connection_drain.py +6 -6
- huaweicloudsdkelb/v3/model/count_preoccupy_ip_num_request.py +6 -6
- huaweicloudsdkelb/v3/model/create_certificate_option.py +5 -4
- huaweicloudsdkelb/v3/model/create_certificate_private_key_echo_request.py +111 -0
- huaweicloudsdkelb/v3/model/create_certificate_private_key_echo_request_body.py +114 -0
- huaweicloudsdkelb/v3/model/create_certificate_private_key_echo_response.py +145 -0
- huaweicloudsdkelb/v3/model/create_fixted_response_config.py +87 -12
- huaweicloudsdkelb/v3/model/create_health_monitor_option.py +18 -18
- huaweicloudsdkelb/v3/model/create_insert_header_config.py +170 -0
- huaweicloudsdkelb/v3/model/create_insert_headers_config.py +114 -0
- huaweicloudsdkelb/v3/model/create_ip_group_ip_option.py +6 -6
- huaweicloudsdkelb/v3/model/create_ip_group_option.py +15 -15
- huaweicloudsdkelb/v3/model/create_ip_group_response.py +3 -3
- huaweicloudsdkelb/v3/model/create_l7_policy_option.py +91 -37
- 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 +18 -18
- huaweicloudsdkelb/v3/model/create_load_balancer_option.py +76 -105
- huaweicloudsdkelb/v3/model/create_load_balancer_public_ip_option.py +12 -12
- huaweicloudsdkelb/v3/model/create_load_balancer_response.py +9 -9
- huaweicloudsdkelb/v3/model/create_loadbalancer_autoscaling_option.py +6 -6
- huaweicloudsdkelb/v3/model/create_master_slave_health_monitor_option.py +9 -9
- huaweicloudsdkelb/v3/model/create_master_slave_member_option.py +12 -12
- huaweicloudsdkelb/v3/model/create_master_slave_pool_option.py +33 -33
- 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 +102 -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/create_redirect_pools_config.py +143 -0
- huaweicloudsdkelb/v3/model/create_redirect_pools_extend_config.py +81 -6
- huaweicloudsdkelb/v3/model/create_redirect_pools_sticky_session_config.py +144 -0
- huaweicloudsdkelb/v3/model/create_redirect_url_config.py +71 -21
- huaweicloudsdkelb/v3/model/create_remove_header_config.py +114 -0
- huaweicloudsdkelb/v3/model/create_remove_headers_config.py +114 -0
- 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 +173 -0
- huaweicloudsdkelb/v3/model/delete_ip_group_request.py +3 -3
- 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 +6 -6
- huaweicloudsdkelb/v3/model/delete_pool_request.py +3 -3
- huaweicloudsdkelb/v3/model/eip_info.py +9 -9
- huaweicloudsdkelb/v3/model/fixted_response_config.py +87 -12
- huaweicloudsdkelb/v3/model/flavor.py +79 -21
- huaweicloudsdkelb/v3/model/flavor_info.py +18 -18
- huaweicloudsdkelb/v3/model/global_eip_info.py +9 -9
- huaweicloudsdkelb/v3/model/health_monitor.py +18 -18
- huaweicloudsdkelb/v3/model/insert_header_config.py +170 -0
- huaweicloudsdkelb/v3/model/insert_headers_config.py +114 -0
- huaweicloudsdkelb/v3/model/ip_group.py +119 -90
- huaweicloudsdkelb/v3/model/ip_group_ip.py +3 -3
- huaweicloudsdkelb/v3/model/ip_info.py +6 -6
- huaweicloudsdkelb/v3/model/l7_policy.py +103 -49
- huaweicloudsdkelb/v3/model/l7_rule.py +36 -36
- huaweicloudsdkelb/v3/model/list_all_members_request.py +24 -24
- huaweicloudsdkelb/v3/model/list_all_members_response.py +4 -4
- huaweicloudsdkelb/v3/model/list_availability_zones_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_availability_zones_response.py +38 -9
- huaweicloudsdkelb/v3/model/list_certificates_request.py +64 -6
- huaweicloudsdkelb/v3/model/list_flavors_request.py +21 -21
- huaweicloudsdkelb/v3/model/list_flavors_response.py +6 -6
- huaweicloudsdkelb/v3/model/list_health_monitors_request.py +15 -15
- huaweicloudsdkelb/v3/model/list_ip_groups_request.py +53 -24
- huaweicloudsdkelb/v3/model/list_ip_groups_response.py +6 -6
- huaweicloudsdkelb/v3/model/list_l7_policies_request.py +51 -51
- huaweicloudsdkelb/v3/model/list_l7_policies_response.py +6 -6
- huaweicloudsdkelb/v3/model/list_l7_rules_request.py +6 -6
- huaweicloudsdkelb/v3/model/list_l7_rules_response.py +6 -6
- huaweicloudsdkelb/v3/model/list_listeners_request.py +42 -42
- huaweicloudsdkelb/v3/model/list_listeners_response.py +6 -6
- huaweicloudsdkelb/v3/model/list_load_balancers_request.py +36 -36
- huaweicloudsdkelb/v3/model/list_logtanks_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_master_slave_pools_request.py +39 -39
- huaweicloudsdkelb/v3/model/list_members_request.py +27 -27
- huaweicloudsdkelb/v3/model/list_pools_request.py +135 -48
- huaweicloudsdkelb/v3/model/list_security_policies_request.py +3 -3
- huaweicloudsdkelb/v3/model/listener.py +96 -96
- huaweicloudsdkelb/v3/model/listener_insert_headers.py +30 -30
- huaweicloudsdkelb/v3/model/listener_ip_group.py +9 -9
- huaweicloudsdkelb/v3/model/listener_member_info.py +3 -3
- huaweicloudsdkelb/v3/model/listener_quic_config.py +6 -6
- huaweicloudsdkelb/v3/model/listener_ref.py +3 -3
- huaweicloudsdkelb/v3/model/load_balancer.py +129 -129
- huaweicloudsdkelb/v3/model/load_balancer_ref.py +3 -3
- huaweicloudsdkelb/v3/model/load_balancer_status.py +3 -3
- huaweicloudsdkelb/v3/model/load_balancer_status_policy.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 +12 -12
- huaweicloudsdkelb/v3/model/master_slave_member.py +18 -18
- huaweicloudsdkelb/v3/model/master_slave_pool.py +42 -42
- huaweicloudsdkelb/v3/model/member.py +46 -191
- huaweicloudsdkelb/v3/model/member_info.py +656 -0
- huaweicloudsdkelb/v3/model/member_ref.py +3 -3
- huaweicloudsdkelb/v3/model/member_status.py +6 -6
- huaweicloudsdkelb/v3/model/page_info.py +9 -9
- huaweicloudsdkelb/v3/model/pool.py +146 -63
- huaweicloudsdkelb/v3/model/pool_health.py +115 -0
- huaweicloudsdkelb/v3/model/pool_ref.py +3 -3
- huaweicloudsdkelb/v3/model/prepaid_create_option.py +12 -12
- huaweicloudsdkelb/v3/model/public_ip_info.py +9 -9
- huaweicloudsdkelb/v3/model/quota.py +21 -21
- huaweicloudsdkelb/v3/model/quota_info.py +3 -3
- huaweicloudsdkelb/v3/model/redirect_pools_config.py +144 -0
- huaweicloudsdkelb/v3/model/redirect_pools_extend_config.py +81 -6
- huaweicloudsdkelb/v3/model/redirect_pools_sticky_session_config.py +144 -0
- huaweicloudsdkelb/v3/model/redirect_url_config.py +83 -27
- huaweicloudsdkelb/v3/model/remove_header_config.py +114 -0
- huaweicloudsdkelb/v3/model/remove_headers_config.py +114 -0
- 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/session_persistence.py +9 -9
- huaweicloudsdkelb/v3/model/show_certificate_private_key_echo_request.py +84 -0
- huaweicloudsdkelb/v3/model/show_certificate_private_key_echo_response.py +145 -0
- huaweicloudsdkelb/v3/model/show_flavor_request.py +3 -3
- huaweicloudsdkelb/v3/model/show_flavor_response.py +3 -3
- huaweicloudsdkelb/v3/model/show_ip_group_request.py +3 -3
- huaweicloudsdkelb/v3/model/show_ip_group_response.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/slow_start.py +6 -6
- huaweicloudsdkelb/v3/model/tag.py +6 -6
- huaweicloudsdkelb/v3/model/traffic_limit_config.py +173 -0
- huaweicloudsdkelb/v3/model/upadate_ip_group_ip_option.py +6 -6
- huaweicloudsdkelb/v3/model/update_certificate_option.py +3 -3
- huaweicloudsdkelb/v3/model/update_fixted_response_config.py +87 -12
- huaweicloudsdkelb/v3/model/update_health_monitor_option.py +15 -15
- huaweicloudsdkelb/v3/model/update_insert_header_config.py +170 -0
- huaweicloudsdkelb/v3/model/update_insert_headers_config.py +114 -0
- huaweicloudsdkelb/v3/model/update_ip_group_option.py +9 -9
- huaweicloudsdkelb/v3/model/update_ip_group_request.py +3 -3
- huaweicloudsdkelb/v3/model/update_ip_group_response.py +3 -3
- huaweicloudsdkelb/v3/model/update_ip_list_option.py +9 -9
- huaweicloudsdkelb/v3/model/update_ip_list_request.py +3 -3
- huaweicloudsdkelb/v3/model/update_ip_list_response.py +3 -3
- huaweicloudsdkelb/v3/model/update_l7_policy_option.py +76 -22
- 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 +12 -12
- huaweicloudsdkelb/v3/model/update_member_request.py +3 -3
- huaweicloudsdkelb/v3/model/update_pool_option.py +52 -27
- huaweicloudsdkelb/v3/model/update_pool_request.py +3 -3
- huaweicloudsdkelb/v3/model/update_pool_session_persistence_option.py +6 -6
- huaweicloudsdkelb/v3/model/update_redirect_pools_config.py +143 -0
- huaweicloudsdkelb/v3/model/update_redirect_pools_extend_config.py +84 -9
- huaweicloudsdkelb/v3/model/update_redirect_pools_sticky_session_config.py +144 -0
- huaweicloudsdkelb/v3/model/update_redirect_url_config.py +71 -21
- huaweicloudsdkelb/v3/model/update_remove_header_config.py +114 -0
- huaweicloudsdkelb/v3/model/update_remove_headers_config.py +114 -0
- huaweicloudsdkelb/v3/model/update_rewrite_url_config.py +173 -0
- huaweicloudsdkelb/v3/model/update_rule_condition.py +6 -6
- huaweicloudsdkelb/v3/model/update_traffic_limit_config.py +173 -0
- huaweicloudsdkelb/v3/region/elb_region.py +19 -1
- {huaweicloudsdkelb-3.1.86.dist-info → huaweicloudsdkelb-3.1.132.dist-info}/METADATA +2 -2
- {huaweicloudsdkelb-3.1.86.dist-info → huaweicloudsdkelb-3.1.132.dist-info}/RECORD +213 -184
- {huaweicloudsdkelb-3.1.86.dist-info → huaweicloudsdkelb-3.1.132.dist-info}/WHEEL +1 -1
- {huaweicloudsdkelb-3.1.86.dist-info → huaweicloudsdkelb-3.1.132.dist-info}/LICENSE +0 -0
- {huaweicloudsdkelb-3.1.86.dist-info → huaweicloudsdkelb-3.1.132.dist-info}/top_level.txt +0 -0
@@ -32,7 +32,7 @@ class UpdateL7RuleResponse(SdkResponse):
|
|
32
32
|
|
33
33
|
The model defined in huaweicloud sdk
|
34
34
|
|
35
|
-
:param request_id:
|
35
|
+
:param request_id: 参数解释:请求ID。 注:自动生成 。
|
36
36
|
:type request_id: str
|
37
37
|
:param rule:
|
38
38
|
:type rule: :class:`huaweicloudsdkelb.v3.L7Rule`
|
@@ -53,7 +53,7 @@ class UpdateL7RuleResponse(SdkResponse):
|
|
53
53
|
def request_id(self):
|
54
54
|
"""Gets the request_id of this UpdateL7RuleResponse.
|
55
55
|
|
56
|
-
|
56
|
+
参数解释:请求ID。 注:自动生成 。
|
57
57
|
|
58
58
|
:return: The request_id of this UpdateL7RuleResponse.
|
59
59
|
:rtype: str
|
@@ -64,7 +64,7 @@ class UpdateL7RuleResponse(SdkResponse):
|
|
64
64
|
def request_id(self, request_id):
|
65
65
|
"""Sets the request_id of this UpdateL7RuleResponse.
|
66
66
|
|
67
|
-
|
67
|
+
参数解释:请求ID。 注:自动生成 。
|
68
68
|
|
69
69
|
:param request_id: The request_id of this UpdateL7RuleResponse.
|
70
70
|
:type request_id: str
|
@@ -33,11 +33,11 @@ class UpdateListenerIpGroupOption:
|
|
33
33
|
|
34
34
|
The model defined in huaweicloud sdk
|
35
35
|
|
36
|
-
:param ipgroup_id:
|
36
|
+
:param ipgroup_id: 参数解释:监听器关联的访问控制组的id。 创建时必选,更新时非必选。 约束限制:指定的ipgroup必须已存在,不能指定为null,否则与enable_ipgroup冲突。
|
37
37
|
:type ipgroup_id: str
|
38
|
-
:param enable_ipgroup:
|
38
|
+
:param enable_ipgroup: 参数解释:访问控制组的状态。 开启访问控制的监听器,允许直接删除。 取值范围: - true:开启访问控制。 - flase:关闭访问控制。
|
39
39
|
:type enable_ipgroup: bool
|
40
|
-
:param type:
|
40
|
+
:param type: 参数解释:访问控制组的类型。 取值范围: - white:白名单,只允许指定ip访问。 - black:黑名单,不允许指定ip访问。
|
41
41
|
:type type: str
|
42
42
|
"""
|
43
43
|
|
@@ -59,7 +59,7 @@ class UpdateListenerIpGroupOption:
|
|
59
59
|
def ipgroup_id(self):
|
60
60
|
"""Gets the ipgroup_id of this UpdateListenerIpGroupOption.
|
61
61
|
|
62
|
-
|
62
|
+
参数解释:监听器关联的访问控制组的id。 创建时必选,更新时非必选。 约束限制:指定的ipgroup必须已存在,不能指定为null,否则与enable_ipgroup冲突。
|
63
63
|
|
64
64
|
:return: The ipgroup_id of this UpdateListenerIpGroupOption.
|
65
65
|
:rtype: str
|
@@ -70,7 +70,7 @@ class UpdateListenerIpGroupOption:
|
|
70
70
|
def ipgroup_id(self, ipgroup_id):
|
71
71
|
"""Sets the ipgroup_id of this UpdateListenerIpGroupOption.
|
72
72
|
|
73
|
-
|
73
|
+
参数解释:监听器关联的访问控制组的id。 创建时必选,更新时非必选。 约束限制:指定的ipgroup必须已存在,不能指定为null,否则与enable_ipgroup冲突。
|
74
74
|
|
75
75
|
:param ipgroup_id: The ipgroup_id of this UpdateListenerIpGroupOption.
|
76
76
|
:type ipgroup_id: str
|
@@ -81,7 +81,7 @@ class UpdateListenerIpGroupOption:
|
|
81
81
|
def enable_ipgroup(self):
|
82
82
|
"""Gets the enable_ipgroup of this UpdateListenerIpGroupOption.
|
83
83
|
|
84
|
-
|
84
|
+
参数解释:访问控制组的状态。 开启访问控制的监听器,允许直接删除。 取值范围: - true:开启访问控制。 - flase:关闭访问控制。
|
85
85
|
|
86
86
|
:return: The enable_ipgroup of this UpdateListenerIpGroupOption.
|
87
87
|
:rtype: bool
|
@@ -92,7 +92,7 @@ class UpdateListenerIpGroupOption:
|
|
92
92
|
def enable_ipgroup(self, enable_ipgroup):
|
93
93
|
"""Sets the enable_ipgroup of this UpdateListenerIpGroupOption.
|
94
94
|
|
95
|
-
|
95
|
+
参数解释:访问控制组的状态。 开启访问控制的监听器,允许直接删除。 取值范围: - true:开启访问控制。 - flase:关闭访问控制。
|
96
96
|
|
97
97
|
:param enable_ipgroup: The enable_ipgroup of this UpdateListenerIpGroupOption.
|
98
98
|
:type enable_ipgroup: bool
|
@@ -103,7 +103,7 @@ class UpdateListenerIpGroupOption:
|
|
103
103
|
def type(self):
|
104
104
|
"""Gets the type of this UpdateListenerIpGroupOption.
|
105
105
|
|
106
|
-
|
106
|
+
参数解释:访问控制组的类型。 取值范围: - white:白名单,只允许指定ip访问。 - black:黑名单,不允许指定ip访问。
|
107
107
|
|
108
108
|
:return: The type of this UpdateListenerIpGroupOption.
|
109
109
|
:rtype: str
|
@@ -114,7 +114,7 @@ class UpdateListenerIpGroupOption:
|
|
114
114
|
def type(self, type):
|
115
115
|
"""Sets the type of this UpdateListenerIpGroupOption.
|
116
116
|
|
117
|
-
|
117
|
+
参数解释:访问控制组的类型。 取值范围: - white:白名单,只允许指定ip访问。 - black:黑名单,不允许指定ip访问。
|
118
118
|
|
119
119
|
:param type: The type of this UpdateListenerIpGroupOption.
|
120
120
|
:type type: str
|
@@ -77,55 +77,55 @@ class UpdateListenerOption:
|
|
77
77
|
|
78
78
|
The model defined in huaweicloud sdk
|
79
79
|
|
80
|
-
:param admin_state_up:
|
80
|
+
:param admin_state_up: 参数解释:监听器的管理状态。 约束限制:只支持更新为true。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
|
81
81
|
:type admin_state_up: bool
|
82
|
-
:param client_ca_tls_container_ref:
|
82
|
+
:param client_ca_tls_container_ref: 参数解释:监听器使用的CA证书ID。 约束限制: - 当且仅当type=client时,才会使用该字段对应的证书。 - 监听器协议为QUIC时不支持该字段。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test)
|
83
83
|
:type client_ca_tls_container_ref: str
|
84
|
-
:param default_pool_id:
|
84
|
+
:param default_pool_id: 参数解释:监听器的默认后端服务器组ID。当请求没有匹配的转发策略时,转发到默认后端服务器上处理。
|
85
85
|
:type default_pool_id: str
|
86
|
-
:param default_tls_container_ref:
|
86
|
+
:param default_tls_container_ref: 参数解释:监听器使用的服务器证书ID。 约束限制:当监听器协议为HTTPS时,该字段必传,且对应的证书的type必须是server类型。
|
87
87
|
:type default_tls_container_ref: str
|
88
|
-
:param description:
|
88
|
+
:param description: 参数解释:监听器的描述信息。
|
89
89
|
:type description: str
|
90
|
-
:param http2_enable:
|
90
|
+
:param http2_enable: 参数解释:客户端与LB之间的HTTPS请求的HTTP2功能的开启状态。 开启后,可提升客户端与LB间的访问性能,但LB与后端服务器间仍采用HTTP1.X协议。 约束限制: - 仅HTTPS协议监听器有效。 - QUIC监听器不能设置该字段,固定返回为true。 - 其他协议的监听器可设置该字段但无效,无论取值如何都不影响监听器正常运行。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test)
|
91
91
|
:type http2_enable: bool
|
92
92
|
:param insert_headers:
|
93
93
|
:type insert_headers: :class:`huaweicloudsdkelb.v3.ListenerInsertHeaders`
|
94
|
-
:param name:
|
94
|
+
:param name: 参数解释:监听器的名称。 约束限制:若名称为空,则在控制台的监听器列表无法选择并查看监听器详情。
|
95
95
|
:type name: str
|
96
|
-
:param sni_container_refs:
|
96
|
+
:param sni_container_refs: 参数解释:监听器使用的SNI证书(带域名的服务器证书)ID列表。 约束限制: - 列表对应的所有SNI证书的域名不允许存在重复。 - 列表对应的所有SNI证书的域名总数不超过50。
|
97
97
|
:type sni_container_refs: list[str]
|
98
|
-
:param sni_match_algo:
|
98
|
+
:param sni_match_algo: 参数解释:监听器使用的SNI证书泛域名匹配方式。 取值范围: - longest_suffix表示最长尾缀匹配。 - wildcard表示标准域名分级匹配。 默认取值:wildcard。
|
99
99
|
:type sni_match_algo: str
|
100
|
-
:param tls_ciphers_policy:
|
100
|
+
:param tls_ciphers_policy: 参数解释:监听器使用的安全策略。 [约束限制: - 仅对HTTPS协议类型的监听器且关联LB为独享型时有效。 - QUIC监听器不支持该字段。 - 若同时设置了security_policy_id和tls_ciphers_policy,则仅security_policy_id生效。 - 加密套件的优先顺序为ecc套件、rsa套件、tls1.3协议的套件(即支持ecc又支持rsa) ](tag:hws,hws_hk,hws_eu,ocb,tlf,ctc,hcso,sbc,g42,tm,cmcc,hk-g42,dt) [约束限制: - 仅对HTTPS协议类型的监听器有效](tag:hcso_dt) [取值范围:tls-1-0-inherit、tls-1-0、tls-1-1、 tls-1-2、tls-1-2-strict、tls-1-2-fs、tls-1-0-with-1-3、 tls-1-2-fs-with-1-3、 hybrid-policy-1-0、tls-1-2-strict-no-cbc,默认:tls-1-0。 ](tag:hws,hws_hk,ocb,tlf,ctc,hcso,sbc,tm,cmcc,dt) [取值范围:tls-1-0、tls-1-1、tls-1-2、 tls-1-2-strict,默认:tls-1-0。](tag:hws_eu,g42,hk_g42,hcso_dt) [不支持tls1.3协议的套件。](tag:tm,hws_eu,g42,hk_g42)
|
101
101
|
:type tls_ciphers_policy: str
|
102
|
-
:param security_policy_id:
|
102
|
+
: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:hws_eu,g42,hk_g42)
|
103
103
|
:type security_policy_id: str
|
104
|
-
:param enable_member_retry:
|
104
|
+
:param enable_member_retry: 参数解释:是否开启后端服务器的重试。 [约束限制: - 若关联是共享型LB,仅在protocol为HTTP、TERMINATED_HTTPS时才能传入该字段。 - 若关联是独享型LB,仅在protocol为HTTP、HTTPS和QUIC时才能传入该字段。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt) [约束限制: - 仅在protocol为HTTP、HTTPS时才能传入该字段。](tag:hws_eu,hcso_dt) 取值范围:true 开启重试;false 不开启重试。 默认取值:true。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test)
|
105
105
|
:type enable_member_retry: bool
|
106
|
-
:param member_timeout:
|
106
|
+
:param member_timeout: 参数解释:等待后端服务器响应超时时间。请求转发后端服务器后,在等待超时member_timeout时长没有响应,负载均衡将终止等待,并返回HTTP504错误码。 约束限制:仅支持协议为HTTP/HTTPS的监听器。 取值范围:1-3600s。
|
107
107
|
:type member_timeout: int
|
108
|
-
:param client_timeout:
|
108
|
+
:param client_timeout: 参数解释:等待客户端请求超时时间,仅限协议为HTTP,HTTPS的监听器配置。 约束限制:TCP,UDP协议的监听器不支持此字段。 取值范围:1-3600s 默认取值:60s
|
109
109
|
:type client_timeout: int
|
110
|
-
:param keepalive_timeout:
|
110
|
+
:param keepalive_timeout: 参数解释:客户端连接空闲超时时间。在超过keepalive_timeout时长一直没有请求, 负载均衡会暂时中断当前连接,直到下一次请求时重新建立新的连接。 约束限制:共享型实例的UDP监听器不支持此字段。 取值范围: - TCP监听器[和IP监听器](tag:hws_eu):10-4000s。 - 若为HTTP/HTTPS/TERMINATED_HTTPS监听器,取值范围为(0-4000s) 默认取值:60s。
|
111
111
|
:type keepalive_timeout: int
|
112
112
|
:param ipgroup:
|
113
113
|
:type ipgroup: :class:`huaweicloudsdkelb.v3.UpdateListenerIpGroupOption`
|
114
|
-
:param transparent_client_ip_enable:
|
114
|
+
:param transparent_client_ip_enable: 参数解释:是否透传客户端IP地址。开启后客户端IP地址将透传到后端服务器。 [仅作用于共享型LB的TCP/UDP监听器。 约束限制: - 开启特性后,ELB和后端服务器之间直接使用真实的IP访问,需要确保已正确设置服务器的安全组以及访问控制策略。 - 开启特性后,不支持同一台服务器既作为后端服务器又作为客户端的场景。 - 开启特性后,不支持变更后端服务器规格。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt) 取值范围: - 共享型LB的TCP/UDP监听器可设置为true或false,不传默认为false。 - 共享型LB的HTTP/HTTPS监听器只支持设置为true,不传默认为true。 - 独享型负载均衡器所有协议的监听器只支持设置为true,不传默认为true。 [只设支持置为true,不传默认为true。](tag:hws_eu,hcso_dt)
|
115
115
|
:type transparent_client_ip_enable: bool
|
116
|
-
:param proxy_protocol_enable:
|
116
|
+
:param proxy_protocol_enable: 参数解释:是否开启proxy_protocol。 约束限制:仅TLS监听器可指定,其他协议的监听器该字段不生效,proxy_protocol不开启。
|
117
117
|
:type proxy_protocol_enable: bool
|
118
|
-
:param enhance_l7policy_enable:
|
118
|
+
: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不开启。 [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
|
119
119
|
:type enhance_l7policy_enable: bool
|
120
120
|
:param quic_config:
|
121
121
|
:type quic_config: :class:`huaweicloudsdkelb.v3.UpdateListenerQuicConfigOption`
|
122
|
-
:param protection_status:
|
122
|
+
:param protection_status: 参数解释:修改保护状态。 取值范围: - nonProtection: 不保护 - consoleProtection: 控制台修改保护
|
123
123
|
:type protection_status: str
|
124
|
-
:param protection_reason:
|
124
|
+
:param protection_reason: 参数解释:设置保护的原因。 约束限制:仅当protection_status为consoleProtection时有效。
|
125
125
|
:type protection_reason: str
|
126
|
-
:param gzip_enable: ELB是否开启gzip
|
126
|
+
:param gzip_enable: 参数解释:ELB是否开启gzip压缩。 [约束限制:仅HTTP/HTTPS类型监听器支持配置。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test) [约束限制:仅HTTP/HTTPS/QUIC类型监听器支持配置。](tag:hws,hws_hk,hws_test,hcs,hcs_sm,hcso,hk_vdf,fcs,fcs_vm,mix,ocb,ctc,cmcc,sbc,hws_ocb,hk_sbc) 默认取值:false
|
127
127
|
:type gzip_enable: bool
|
128
|
-
:param ssl_early_data_enable:
|
128
|
+
:param ssl_early_data_enable: 参数解释:监听器0-RTT能力开关。 约束限制:仅HTTPS类型监听器支持配置,需要依赖TLSv1.3安全策略协议。开启 ssl_early_data 后,有重放攻击的风险,请谨慎开启。 默认取值:false
|
129
129
|
:type ssl_early_data_enable: bool
|
130
130
|
"""
|
131
131
|
|
@@ -213,7 +213,7 @@ class UpdateListenerOption:
|
|
213
213
|
def admin_state_up(self):
|
214
214
|
"""Gets the admin_state_up of this UpdateListenerOption.
|
215
215
|
|
216
|
-
|
216
|
+
参数解释:监听器的管理状态。 约束限制:只支持更新为true。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
|
217
217
|
|
218
218
|
:return: The admin_state_up of this UpdateListenerOption.
|
219
219
|
:rtype: bool
|
@@ -224,7 +224,7 @@ class UpdateListenerOption:
|
|
224
224
|
def admin_state_up(self, admin_state_up):
|
225
225
|
"""Sets the admin_state_up of this UpdateListenerOption.
|
226
226
|
|
227
|
-
|
227
|
+
参数解释:监听器的管理状态。 约束限制:只支持更新为true。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
|
228
228
|
|
229
229
|
:param admin_state_up: The admin_state_up of this UpdateListenerOption.
|
230
230
|
:type admin_state_up: bool
|
@@ -235,7 +235,7 @@ class UpdateListenerOption:
|
|
235
235
|
def client_ca_tls_container_ref(self):
|
236
236
|
"""Gets the client_ca_tls_container_ref of this UpdateListenerOption.
|
237
237
|
|
238
|
-
|
238
|
+
参数解释:监听器使用的CA证书ID。 约束限制: - 当且仅当type=client时,才会使用该字段对应的证书。 - 监听器协议为QUIC时不支持该字段。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test)
|
239
239
|
|
240
240
|
:return: The client_ca_tls_container_ref of this UpdateListenerOption.
|
241
241
|
:rtype: str
|
@@ -246,7 +246,7 @@ class UpdateListenerOption:
|
|
246
246
|
def client_ca_tls_container_ref(self, client_ca_tls_container_ref):
|
247
247
|
"""Sets the client_ca_tls_container_ref of this UpdateListenerOption.
|
248
248
|
|
249
|
-
|
249
|
+
参数解释:监听器使用的CA证书ID。 约束限制: - 当且仅当type=client时,才会使用该字段对应的证书。 - 监听器协议为QUIC时不支持该字段。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test)
|
250
250
|
|
251
251
|
:param client_ca_tls_container_ref: The client_ca_tls_container_ref of this UpdateListenerOption.
|
252
252
|
:type client_ca_tls_container_ref: str
|
@@ -257,7 +257,7 @@ class UpdateListenerOption:
|
|
257
257
|
def default_pool_id(self):
|
258
258
|
"""Gets the default_pool_id of this UpdateListenerOption.
|
259
259
|
|
260
|
-
|
260
|
+
参数解释:监听器的默认后端服务器组ID。当请求没有匹配的转发策略时,转发到默认后端服务器上处理。
|
261
261
|
|
262
262
|
:return: The default_pool_id of this UpdateListenerOption.
|
263
263
|
:rtype: str
|
@@ -268,7 +268,7 @@ class UpdateListenerOption:
|
|
268
268
|
def default_pool_id(self, default_pool_id):
|
269
269
|
"""Sets the default_pool_id of this UpdateListenerOption.
|
270
270
|
|
271
|
-
|
271
|
+
参数解释:监听器的默认后端服务器组ID。当请求没有匹配的转发策略时,转发到默认后端服务器上处理。
|
272
272
|
|
273
273
|
:param default_pool_id: The default_pool_id of this UpdateListenerOption.
|
274
274
|
:type default_pool_id: str
|
@@ -279,7 +279,7 @@ class UpdateListenerOption:
|
|
279
279
|
def default_tls_container_ref(self):
|
280
280
|
"""Gets the default_tls_container_ref of this UpdateListenerOption.
|
281
281
|
|
282
|
-
|
282
|
+
参数解释:监听器使用的服务器证书ID。 约束限制:当监听器协议为HTTPS时,该字段必传,且对应的证书的type必须是server类型。
|
283
283
|
|
284
284
|
:return: The default_tls_container_ref of this UpdateListenerOption.
|
285
285
|
:rtype: str
|
@@ -290,7 +290,7 @@ class UpdateListenerOption:
|
|
290
290
|
def default_tls_container_ref(self, default_tls_container_ref):
|
291
291
|
"""Sets the default_tls_container_ref of this UpdateListenerOption.
|
292
292
|
|
293
|
-
|
293
|
+
参数解释:监听器使用的服务器证书ID。 约束限制:当监听器协议为HTTPS时,该字段必传,且对应的证书的type必须是server类型。
|
294
294
|
|
295
295
|
:param default_tls_container_ref: The default_tls_container_ref of this UpdateListenerOption.
|
296
296
|
:type default_tls_container_ref: str
|
@@ -301,7 +301,7 @@ class UpdateListenerOption:
|
|
301
301
|
def description(self):
|
302
302
|
"""Gets the description of this UpdateListenerOption.
|
303
303
|
|
304
|
-
|
304
|
+
参数解释:监听器的描述信息。
|
305
305
|
|
306
306
|
:return: The description of this UpdateListenerOption.
|
307
307
|
:rtype: str
|
@@ -312,7 +312,7 @@ class UpdateListenerOption:
|
|
312
312
|
def description(self, description):
|
313
313
|
"""Sets the description of this UpdateListenerOption.
|
314
314
|
|
315
|
-
|
315
|
+
参数解释:监听器的描述信息。
|
316
316
|
|
317
317
|
:param description: The description of this UpdateListenerOption.
|
318
318
|
:type description: str
|
@@ -323,7 +323,7 @@ class UpdateListenerOption:
|
|
323
323
|
def http2_enable(self):
|
324
324
|
"""Gets the http2_enable of this UpdateListenerOption.
|
325
325
|
|
326
|
-
|
326
|
+
参数解释:客户端与LB之间的HTTPS请求的HTTP2功能的开启状态。 开启后,可提升客户端与LB间的访问性能,但LB与后端服务器间仍采用HTTP1.X协议。 约束限制: - 仅HTTPS协议监听器有效。 - QUIC监听器不能设置该字段,固定返回为true。 - 其他协议的监听器可设置该字段但无效,无论取值如何都不影响监听器正常运行。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test)
|
327
327
|
|
328
328
|
:return: The http2_enable of this UpdateListenerOption.
|
329
329
|
:rtype: bool
|
@@ -334,7 +334,7 @@ class UpdateListenerOption:
|
|
334
334
|
def http2_enable(self, http2_enable):
|
335
335
|
"""Sets the http2_enable of this UpdateListenerOption.
|
336
336
|
|
337
|
-
|
337
|
+
参数解释:客户端与LB之间的HTTPS请求的HTTP2功能的开启状态。 开启后,可提升客户端与LB间的访问性能,但LB与后端服务器间仍采用HTTP1.X协议。 约束限制: - 仅HTTPS协议监听器有效。 - QUIC监听器不能设置该字段,固定返回为true。 - 其他协议的监听器可设置该字段但无效,无论取值如何都不影响监听器正常运行。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test)
|
338
338
|
|
339
339
|
:param http2_enable: The http2_enable of this UpdateListenerOption.
|
340
340
|
:type http2_enable: bool
|
@@ -363,7 +363,7 @@ class UpdateListenerOption:
|
|
363
363
|
def name(self):
|
364
364
|
"""Gets the name of this UpdateListenerOption.
|
365
365
|
|
366
|
-
|
366
|
+
参数解释:监听器的名称。 约束限制:若名称为空,则在控制台的监听器列表无法选择并查看监听器详情。
|
367
367
|
|
368
368
|
:return: The name of this UpdateListenerOption.
|
369
369
|
:rtype: str
|
@@ -374,7 +374,7 @@ class UpdateListenerOption:
|
|
374
374
|
def name(self, name):
|
375
375
|
"""Sets the name of this UpdateListenerOption.
|
376
376
|
|
377
|
-
|
377
|
+
参数解释:监听器的名称。 约束限制:若名称为空,则在控制台的监听器列表无法选择并查看监听器详情。
|
378
378
|
|
379
379
|
:param name: The name of this UpdateListenerOption.
|
380
380
|
:type name: str
|
@@ -385,7 +385,7 @@ class UpdateListenerOption:
|
|
385
385
|
def sni_container_refs(self):
|
386
386
|
"""Gets the sni_container_refs of this UpdateListenerOption.
|
387
387
|
|
388
|
-
|
388
|
+
参数解释:监听器使用的SNI证书(带域名的服务器证书)ID列表。 约束限制: - 列表对应的所有SNI证书的域名不允许存在重复。 - 列表对应的所有SNI证书的域名总数不超过50。
|
389
389
|
|
390
390
|
:return: The sni_container_refs of this UpdateListenerOption.
|
391
391
|
:rtype: list[str]
|
@@ -396,7 +396,7 @@ class UpdateListenerOption:
|
|
396
396
|
def sni_container_refs(self, sni_container_refs):
|
397
397
|
"""Sets the sni_container_refs of this UpdateListenerOption.
|
398
398
|
|
399
|
-
|
399
|
+
参数解释:监听器使用的SNI证书(带域名的服务器证书)ID列表。 约束限制: - 列表对应的所有SNI证书的域名不允许存在重复。 - 列表对应的所有SNI证书的域名总数不超过50。
|
400
400
|
|
401
401
|
:param sni_container_refs: The sni_container_refs of this UpdateListenerOption.
|
402
402
|
:type sni_container_refs: list[str]
|
@@ -407,7 +407,7 @@ class UpdateListenerOption:
|
|
407
407
|
def sni_match_algo(self):
|
408
408
|
"""Gets the sni_match_algo of this UpdateListenerOption.
|
409
409
|
|
410
|
-
|
410
|
+
参数解释:监听器使用的SNI证书泛域名匹配方式。 取值范围: - longest_suffix表示最长尾缀匹配。 - wildcard表示标准域名分级匹配。 默认取值:wildcard。
|
411
411
|
|
412
412
|
:return: The sni_match_algo of this UpdateListenerOption.
|
413
413
|
:rtype: str
|
@@ -418,7 +418,7 @@ class UpdateListenerOption:
|
|
418
418
|
def sni_match_algo(self, sni_match_algo):
|
419
419
|
"""Sets the sni_match_algo of this UpdateListenerOption.
|
420
420
|
|
421
|
-
|
421
|
+
参数解释:监听器使用的SNI证书泛域名匹配方式。 取值范围: - longest_suffix表示最长尾缀匹配。 - wildcard表示标准域名分级匹配。 默认取值:wildcard。
|
422
422
|
|
423
423
|
:param sni_match_algo: The sni_match_algo of this UpdateListenerOption.
|
424
424
|
:type sni_match_algo: str
|
@@ -429,7 +429,7 @@ class UpdateListenerOption:
|
|
429
429
|
def tls_ciphers_policy(self):
|
430
430
|
"""Gets the tls_ciphers_policy of this UpdateListenerOption.
|
431
431
|
|
432
|
-
|
432
|
+
参数解释:监听器使用的安全策略。 [约束限制: - 仅对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) [取值范围:tls-1-0-inherit、tls-1-0、tls-1-1、 tls-1-2、tls-1-2-strict、tls-1-2-fs、tls-1-0-with-1-3、 tls-1-2-fs-with-1-3、 hybrid-policy-1-0、tls-1-2-strict-no-cbc,默认:tls-1-0。 ](tag:hws,hws_hk,ocb,tlf,ctc,hcso,sbc,tm,cmcc,dt) [取值范围:tls-1-0、tls-1-1、tls-1-2、 tls-1-2-strict,默认:tls-1-0。](tag:hws_eu,g42,hk_g42,hcso_dt) [不支持tls1.3协议的套件。](tag:tm,hws_eu,g42,hk_g42)
|
433
433
|
|
434
434
|
:return: The tls_ciphers_policy of this UpdateListenerOption.
|
435
435
|
:rtype: str
|
@@ -440,7 +440,7 @@ class UpdateListenerOption:
|
|
440
440
|
def tls_ciphers_policy(self, tls_ciphers_policy):
|
441
441
|
"""Sets the tls_ciphers_policy of this UpdateListenerOption.
|
442
442
|
|
443
|
-
|
443
|
+
参数解释:监听器使用的安全策略。 [约束限制: - 仅对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) [取值范围:tls-1-0-inherit、tls-1-0、tls-1-1、 tls-1-2、tls-1-2-strict、tls-1-2-fs、tls-1-0-with-1-3、 tls-1-2-fs-with-1-3、 hybrid-policy-1-0、tls-1-2-strict-no-cbc,默认:tls-1-0。 ](tag:hws,hws_hk,ocb,tlf,ctc,hcso,sbc,tm,cmcc,dt) [取值范围:tls-1-0、tls-1-1、tls-1-2、 tls-1-2-strict,默认:tls-1-0。](tag:hws_eu,g42,hk_g42,hcso_dt) [不支持tls1.3协议的套件。](tag:tm,hws_eu,g42,hk_g42)
|
444
444
|
|
445
445
|
:param tls_ciphers_policy: The tls_ciphers_policy of this UpdateListenerOption.
|
446
446
|
:type tls_ciphers_policy: str
|
@@ -451,7 +451,7 @@ class UpdateListenerOption:
|
|
451
451
|
def security_policy_id(self):
|
452
452
|
"""Gets the security_policy_id of this UpdateListenerOption.
|
453
453
|
|
454
|
-
|
454
|
+
参数解释:自定义安全策略的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:hws_eu,g42,hk_g42)
|
455
455
|
|
456
456
|
:return: The security_policy_id of this UpdateListenerOption.
|
457
457
|
:rtype: str
|
@@ -462,7 +462,7 @@ class UpdateListenerOption:
|
|
462
462
|
def security_policy_id(self, security_policy_id):
|
463
463
|
"""Sets the security_policy_id of this UpdateListenerOption.
|
464
464
|
|
465
|
-
|
465
|
+
参数解释:自定义安全策略的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:hws_eu,g42,hk_g42)
|
466
466
|
|
467
467
|
:param security_policy_id: The security_policy_id of this UpdateListenerOption.
|
468
468
|
:type security_policy_id: str
|
@@ -473,7 +473,7 @@ class UpdateListenerOption:
|
|
473
473
|
def enable_member_retry(self):
|
474
474
|
"""Gets the enable_member_retry of this UpdateListenerOption.
|
475
475
|
|
476
|
-
|
476
|
+
参数解释:是否开启后端服务器的重试。 [约束限制: - 若关联是共享型LB,仅在protocol为HTTP、TERMINATED_HTTPS时才能传入该字段。 - 若关联是独享型LB,仅在protocol为HTTP、HTTPS和QUIC时才能传入该字段。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt) [约束限制: - 仅在protocol为HTTP、HTTPS时才能传入该字段。](tag:hws_eu,hcso_dt) 取值范围:true 开启重试;false 不开启重试。 默认取值:true。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test)
|
477
477
|
|
478
478
|
:return: The enable_member_retry of this UpdateListenerOption.
|
479
479
|
:rtype: bool
|
@@ -484,7 +484,7 @@ class UpdateListenerOption:
|
|
484
484
|
def enable_member_retry(self, enable_member_retry):
|
485
485
|
"""Sets the enable_member_retry of this UpdateListenerOption.
|
486
486
|
|
487
|
-
|
487
|
+
参数解释:是否开启后端服务器的重试。 [约束限制: - 若关联是共享型LB,仅在protocol为HTTP、TERMINATED_HTTPS时才能传入该字段。 - 若关联是独享型LB,仅在protocol为HTTP、HTTPS和QUIC时才能传入该字段。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt) [约束限制: - 仅在protocol为HTTP、HTTPS时才能传入该字段。](tag:hws_eu,hcso_dt) 取值范围:true 开启重试;false 不开启重试。 默认取值:true。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test)
|
488
488
|
|
489
489
|
:param enable_member_retry: The enable_member_retry of this UpdateListenerOption.
|
490
490
|
:type enable_member_retry: bool
|
@@ -495,7 +495,7 @@ class UpdateListenerOption:
|
|
495
495
|
def member_timeout(self):
|
496
496
|
"""Gets the member_timeout of this UpdateListenerOption.
|
497
497
|
|
498
|
-
|
498
|
+
参数解释:等待后端服务器响应超时时间。请求转发后端服务器后,在等待超时member_timeout时长没有响应,负载均衡将终止等待,并返回HTTP504错误码。 约束限制:仅支持协议为HTTP/HTTPS的监听器。 取值范围:1-3600s。
|
499
499
|
|
500
500
|
:return: The member_timeout of this UpdateListenerOption.
|
501
501
|
:rtype: int
|
@@ -506,7 +506,7 @@ class UpdateListenerOption:
|
|
506
506
|
def member_timeout(self, member_timeout):
|
507
507
|
"""Sets the member_timeout of this UpdateListenerOption.
|
508
508
|
|
509
|
-
|
509
|
+
参数解释:等待后端服务器响应超时时间。请求转发后端服务器后,在等待超时member_timeout时长没有响应,负载均衡将终止等待,并返回HTTP504错误码。 约束限制:仅支持协议为HTTP/HTTPS的监听器。 取值范围:1-3600s。
|
510
510
|
|
511
511
|
:param member_timeout: The member_timeout of this UpdateListenerOption.
|
512
512
|
:type member_timeout: int
|
@@ -517,7 +517,7 @@ class UpdateListenerOption:
|
|
517
517
|
def client_timeout(self):
|
518
518
|
"""Gets the client_timeout of this UpdateListenerOption.
|
519
519
|
|
520
|
-
|
520
|
+
参数解释:等待客户端请求超时时间,仅限协议为HTTP,HTTPS的监听器配置。 约束限制:TCP,UDP协议的监听器不支持此字段。 取值范围:1-3600s 默认取值:60s
|
521
521
|
|
522
522
|
:return: The client_timeout of this UpdateListenerOption.
|
523
523
|
:rtype: int
|
@@ -528,7 +528,7 @@ class UpdateListenerOption:
|
|
528
528
|
def client_timeout(self, client_timeout):
|
529
529
|
"""Sets the client_timeout of this UpdateListenerOption.
|
530
530
|
|
531
|
-
|
531
|
+
参数解释:等待客户端请求超时时间,仅限协议为HTTP,HTTPS的监听器配置。 约束限制:TCP,UDP协议的监听器不支持此字段。 取值范围:1-3600s 默认取值:60s
|
532
532
|
|
533
533
|
:param client_timeout: The client_timeout of this UpdateListenerOption.
|
534
534
|
:type client_timeout: int
|
@@ -539,7 +539,7 @@ class UpdateListenerOption:
|
|
539
539
|
def keepalive_timeout(self):
|
540
540
|
"""Gets the keepalive_timeout of this UpdateListenerOption.
|
541
541
|
|
542
|
-
|
542
|
+
参数解释:客户端连接空闲超时时间。在超过keepalive_timeout时长一直没有请求, 负载均衡会暂时中断当前连接,直到下一次请求时重新建立新的连接。 约束限制:共享型实例的UDP监听器不支持此字段。 取值范围: - TCP监听器[和IP监听器](tag:hws_eu):10-4000s。 - 若为HTTP/HTTPS/TERMINATED_HTTPS监听器,取值范围为(0-4000s) 默认取值:60s。
|
543
543
|
|
544
544
|
:return: The keepalive_timeout of this UpdateListenerOption.
|
545
545
|
:rtype: int
|
@@ -550,7 +550,7 @@ class UpdateListenerOption:
|
|
550
550
|
def keepalive_timeout(self, keepalive_timeout):
|
551
551
|
"""Sets the keepalive_timeout of this UpdateListenerOption.
|
552
552
|
|
553
|
-
|
553
|
+
参数解释:客户端连接空闲超时时间。在超过keepalive_timeout时长一直没有请求, 负载均衡会暂时中断当前连接,直到下一次请求时重新建立新的连接。 约束限制:共享型实例的UDP监听器不支持此字段。 取值范围: - TCP监听器[和IP监听器](tag:hws_eu):10-4000s。 - 若为HTTP/HTTPS/TERMINATED_HTTPS监听器,取值范围为(0-4000s) 默认取值:60s。
|
554
554
|
|
555
555
|
:param keepalive_timeout: The keepalive_timeout of this UpdateListenerOption.
|
556
556
|
:type keepalive_timeout: int
|
@@ -579,7 +579,7 @@ class UpdateListenerOption:
|
|
579
579
|
def transparent_client_ip_enable(self):
|
580
580
|
"""Gets the transparent_client_ip_enable of this UpdateListenerOption.
|
581
581
|
|
582
|
-
|
582
|
+
参数解释:是否透传客户端IP地址。开启后客户端IP地址将透传到后端服务器。 [仅作用于共享型LB的TCP/UDP监听器。 约束限制: - 开启特性后,ELB和后端服务器之间直接使用真实的IP访问,需要确保已正确设置服务器的安全组以及访问控制策略。 - 开启特性后,不支持同一台服务器既作为后端服务器又作为客户端的场景。 - 开启特性后,不支持变更后端服务器规格。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt) 取值范围: - 共享型LB的TCP/UDP监听器可设置为true或false,不传默认为false。 - 共享型LB的HTTP/HTTPS监听器只支持设置为true,不传默认为true。 - 独享型负载均衡器所有协议的监听器只支持设置为true,不传默认为true。 [只设支持置为true,不传默认为true。](tag:hws_eu,hcso_dt)
|
583
583
|
|
584
584
|
:return: The transparent_client_ip_enable of this UpdateListenerOption.
|
585
585
|
:rtype: bool
|
@@ -590,7 +590,7 @@ class UpdateListenerOption:
|
|
590
590
|
def transparent_client_ip_enable(self, transparent_client_ip_enable):
|
591
591
|
"""Sets the transparent_client_ip_enable of this UpdateListenerOption.
|
592
592
|
|
593
|
-
|
593
|
+
参数解释:是否透传客户端IP地址。开启后客户端IP地址将透传到后端服务器。 [仅作用于共享型LB的TCP/UDP监听器。 约束限制: - 开启特性后,ELB和后端服务器之间直接使用真实的IP访问,需要确保已正确设置服务器的安全组以及访问控制策略。 - 开启特性后,不支持同一台服务器既作为后端服务器又作为客户端的场景。 - 开启特性后,不支持变更后端服务器规格。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt) 取值范围: - 共享型LB的TCP/UDP监听器可设置为true或false,不传默认为false。 - 共享型LB的HTTP/HTTPS监听器只支持设置为true,不传默认为true。 - 独享型负载均衡器所有协议的监听器只支持设置为true,不传默认为true。 [只设支持置为true,不传默认为true。](tag:hws_eu,hcso_dt)
|
594
594
|
|
595
595
|
:param transparent_client_ip_enable: The transparent_client_ip_enable of this UpdateListenerOption.
|
596
596
|
:type transparent_client_ip_enable: bool
|
@@ -601,7 +601,7 @@ class UpdateListenerOption:
|
|
601
601
|
def proxy_protocol_enable(self):
|
602
602
|
"""Gets the proxy_protocol_enable of this UpdateListenerOption.
|
603
603
|
|
604
|
-
|
604
|
+
参数解释:是否开启proxy_protocol。 约束限制:仅TLS监听器可指定,其他协议的监听器该字段不生效,proxy_protocol不开启。
|
605
605
|
|
606
606
|
:return: The proxy_protocol_enable of this UpdateListenerOption.
|
607
607
|
:rtype: bool
|
@@ -612,7 +612,7 @@ class UpdateListenerOption:
|
|
612
612
|
def proxy_protocol_enable(self, proxy_protocol_enable):
|
613
613
|
"""Sets the proxy_protocol_enable of this UpdateListenerOption.
|
614
614
|
|
615
|
-
|
615
|
+
参数解释:是否开启proxy_protocol。 约束限制:仅TLS监听器可指定,其他协议的监听器该字段不生效,proxy_protocol不开启。
|
616
616
|
|
617
617
|
:param proxy_protocol_enable: The proxy_protocol_enable of this UpdateListenerOption.
|
618
618
|
:type proxy_protocol_enable: bool
|
@@ -623,7 +623,7 @@ class UpdateListenerOption:
|
|
623
623
|
def enhance_l7policy_enable(self):
|
624
624
|
"""Gets the enhance_l7policy_enable of this UpdateListenerOption.
|
625
625
|
|
626
|
-
|
626
|
+
参数解释:是否开启高级转发策略功能。开启高级转发策略后,支持更灵活的转发策略和转发规则设置。 开启后支持如下场景: - 转发策略的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不开启。 [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
|
627
627
|
|
628
628
|
:return: The enhance_l7policy_enable of this UpdateListenerOption.
|
629
629
|
:rtype: bool
|
@@ -634,7 +634,7 @@ class UpdateListenerOption:
|
|
634
634
|
def enhance_l7policy_enable(self, enhance_l7policy_enable):
|
635
635
|
"""Sets the enhance_l7policy_enable of this UpdateListenerOption.
|
636
636
|
|
637
|
-
|
637
|
+
参数解释:是否开启高级转发策略功能。开启高级转发策略后,支持更灵活的转发策略和转发规则设置。 开启后支持如下场景: - 转发策略的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不开启。 [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
|
638
638
|
|
639
639
|
:param enhance_l7policy_enable: The enhance_l7policy_enable of this UpdateListenerOption.
|
640
640
|
:type enhance_l7policy_enable: bool
|
@@ -663,7 +663,7 @@ class UpdateListenerOption:
|
|
663
663
|
def protection_status(self):
|
664
664
|
"""Gets the protection_status of this UpdateListenerOption.
|
665
665
|
|
666
|
-
|
666
|
+
参数解释:修改保护状态。 取值范围: - nonProtection: 不保护 - consoleProtection: 控制台修改保护
|
667
667
|
|
668
668
|
:return: The protection_status of this UpdateListenerOption.
|
669
669
|
:rtype: str
|
@@ -674,7 +674,7 @@ class UpdateListenerOption:
|
|
674
674
|
def protection_status(self, protection_status):
|
675
675
|
"""Sets the protection_status of this UpdateListenerOption.
|
676
676
|
|
677
|
-
|
677
|
+
参数解释:修改保护状态。 取值范围: - nonProtection: 不保护 - consoleProtection: 控制台修改保护
|
678
678
|
|
679
679
|
:param protection_status: The protection_status of this UpdateListenerOption.
|
680
680
|
:type protection_status: str
|
@@ -685,7 +685,7 @@ class UpdateListenerOption:
|
|
685
685
|
def protection_reason(self):
|
686
686
|
"""Gets the protection_reason of this UpdateListenerOption.
|
687
687
|
|
688
|
-
|
688
|
+
参数解释:设置保护的原因。 约束限制:仅当protection_status为consoleProtection时有效。
|
689
689
|
|
690
690
|
:return: The protection_reason of this UpdateListenerOption.
|
691
691
|
:rtype: str
|
@@ -696,7 +696,7 @@ class UpdateListenerOption:
|
|
696
696
|
def protection_reason(self, protection_reason):
|
697
697
|
"""Sets the protection_reason of this UpdateListenerOption.
|
698
698
|
|
699
|
-
|
699
|
+
参数解释:设置保护的原因。 约束限制:仅当protection_status为consoleProtection时有效。
|
700
700
|
|
701
701
|
:param protection_reason: The protection_reason of this UpdateListenerOption.
|
702
702
|
:type protection_reason: str
|
@@ -707,7 +707,7 @@ class UpdateListenerOption:
|
|
707
707
|
def gzip_enable(self):
|
708
708
|
"""Gets the gzip_enable of this UpdateListenerOption.
|
709
709
|
|
710
|
-
ELB是否开启gzip
|
710
|
+
参数解释:ELB是否开启gzip压缩。 [约束限制:仅HTTP/HTTPS类型监听器支持配置。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test) [约束限制:仅HTTP/HTTPS/QUIC类型监听器支持配置。](tag:hws,hws_hk,hws_test,hcs,hcs_sm,hcso,hk_vdf,fcs,fcs_vm,mix,ocb,ctc,cmcc,sbc,hws_ocb,hk_sbc) 默认取值:false
|
711
711
|
|
712
712
|
:return: The gzip_enable of this UpdateListenerOption.
|
713
713
|
:rtype: bool
|
@@ -718,7 +718,7 @@ class UpdateListenerOption:
|
|
718
718
|
def gzip_enable(self, gzip_enable):
|
719
719
|
"""Sets the gzip_enable of this UpdateListenerOption.
|
720
720
|
|
721
|
-
ELB是否开启gzip
|
721
|
+
参数解释:ELB是否开启gzip压缩。 [约束限制:仅HTTP/HTTPS类型监听器支持配置。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test) [约束限制:仅HTTP/HTTPS/QUIC类型监听器支持配置。](tag:hws,hws_hk,hws_test,hcs,hcs_sm,hcso,hk_vdf,fcs,fcs_vm,mix,ocb,ctc,cmcc,sbc,hws_ocb,hk_sbc) 默认取值:false
|
722
722
|
|
723
723
|
:param gzip_enable: The gzip_enable of this UpdateListenerOption.
|
724
724
|
:type gzip_enable: bool
|
@@ -729,7 +729,7 @@ class UpdateListenerOption:
|
|
729
729
|
def ssl_early_data_enable(self):
|
730
730
|
"""Gets the ssl_early_data_enable of this UpdateListenerOption.
|
731
731
|
|
732
|
-
|
732
|
+
参数解释:监听器0-RTT能力开关。 约束限制:仅HTTPS类型监听器支持配置,需要依赖TLSv1.3安全策略协议。开启 ssl_early_data 后,有重放攻击的风险,请谨慎开启。 默认取值:false
|
733
733
|
|
734
734
|
:return: The ssl_early_data_enable of this UpdateListenerOption.
|
735
735
|
:rtype: bool
|
@@ -740,7 +740,7 @@ class UpdateListenerOption:
|
|
740
740
|
def ssl_early_data_enable(self, ssl_early_data_enable):
|
741
741
|
"""Sets the ssl_early_data_enable of this UpdateListenerOption.
|
742
742
|
|
743
|
-
|
743
|
+
参数解释:监听器0-RTT能力开关。 约束限制:仅HTTPS类型监听器支持配置,需要依赖TLSv1.3安全策略协议。开启 ssl_early_data 后,有重放攻击的风险,请谨慎开启。 默认取值:false
|
744
744
|
|
745
745
|
:param ssl_early_data_enable: The ssl_early_data_enable of this UpdateListenerOption.
|
746
746
|
:type ssl_early_data_enable: bool
|