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
@@ -31,7 +31,7 @@ class UpdateIpGroupRequest:
|
|
31
31
|
|
32
32
|
The model defined in huaweicloud sdk
|
33
33
|
|
34
|
-
:param ipgroup_id:
|
34
|
+
:param ipgroup_id: 参数解释:待更新的IP地址组的ID。
|
35
35
|
:type ipgroup_id: str
|
36
36
|
:param body: Body of the UpdateIpGroupRequest
|
37
37
|
:type body: :class:`huaweicloudsdkelb.v3.UpdateIpGroupRequestBody`
|
@@ -51,7 +51,7 @@ class UpdateIpGroupRequest:
|
|
51
51
|
def ipgroup_id(self):
|
52
52
|
"""Gets the ipgroup_id of this UpdateIpGroupRequest.
|
53
53
|
|
54
|
-
|
54
|
+
参数解释:待更新的IP地址组的ID。
|
55
55
|
|
56
56
|
:return: The ipgroup_id of this UpdateIpGroupRequest.
|
57
57
|
:rtype: str
|
@@ -62,7 +62,7 @@ class UpdateIpGroupRequest:
|
|
62
62
|
def ipgroup_id(self, ipgroup_id):
|
63
63
|
"""Sets the ipgroup_id of this UpdateIpGroupRequest.
|
64
64
|
|
65
|
-
|
65
|
+
参数解释:待更新的IP地址组的ID。
|
66
66
|
|
67
67
|
:param ipgroup_id: The ipgroup_id of this UpdateIpGroupRequest.
|
68
68
|
:type ipgroup_id: str
|
@@ -34,7 +34,7 @@ class UpdateIpGroupResponse(SdkResponse):
|
|
34
34
|
|
35
35
|
:param ipgroup:
|
36
36
|
:type ipgroup: :class:`huaweicloudsdkelb.v3.IpGroup`
|
37
|
-
:param request_id:
|
37
|
+
:param request_id: 参数解释:请求ID。 注:自动生成 。
|
38
38
|
:type request_id: str
|
39
39
|
"""
|
40
40
|
|
@@ -71,7 +71,7 @@ class UpdateIpGroupResponse(SdkResponse):
|
|
71
71
|
def request_id(self):
|
72
72
|
"""Gets the request_id of this UpdateIpGroupResponse.
|
73
73
|
|
74
|
-
|
74
|
+
参数解释:请求ID。 注:自动生成 。
|
75
75
|
|
76
76
|
:return: The request_id of this UpdateIpGroupResponse.
|
77
77
|
:rtype: str
|
@@ -82,7 +82,7 @@ class UpdateIpGroupResponse(SdkResponse):
|
|
82
82
|
def request_id(self, request_id):
|
83
83
|
"""Sets the request_id of this UpdateIpGroupResponse.
|
84
84
|
|
85
|
-
|
85
|
+
参数解释:请求ID。 注:自动生成 。
|
86
86
|
|
87
87
|
:param request_id: The request_id of this UpdateIpGroupResponse.
|
88
88
|
:type request_id: str
|
@@ -33,11 +33,11 @@ class UpdateIpListOption:
|
|
33
33
|
|
34
34
|
The model defined in huaweicloud sdk
|
35
35
|
|
36
|
-
:param name: IP地址组的名称
|
36
|
+
:param name: 参数解释:IP地址组的名称
|
37
37
|
:type name: str
|
38
|
-
:param ip_list: IP地址组中包含的IP列表。
|
38
|
+
:param ip_list: 参数解释:IP地址组中包含的IP列表。
|
39
39
|
:type ip_list: list[:class:`huaweicloudsdkelb.v3.UpadateIpGroupIpOption`]
|
40
|
-
:param description: IP地址组的描述信息
|
40
|
+
:param description: 参数解释:IP地址组的描述信息
|
41
41
|
:type description: str
|
42
42
|
"""
|
43
43
|
|
@@ -59,7 +59,7 @@ class UpdateIpListOption:
|
|
59
59
|
def name(self):
|
60
60
|
"""Gets the name of this UpdateIpListOption.
|
61
61
|
|
62
|
-
IP地址组的名称
|
62
|
+
参数解释:IP地址组的名称
|
63
63
|
|
64
64
|
:return: The name of this UpdateIpListOption.
|
65
65
|
:rtype: str
|
@@ -70,7 +70,7 @@ class UpdateIpListOption:
|
|
70
70
|
def name(self, name):
|
71
71
|
"""Sets the name of this UpdateIpListOption.
|
72
72
|
|
73
|
-
IP地址组的名称
|
73
|
+
参数解释:IP地址组的名称
|
74
74
|
|
75
75
|
:param name: The name of this UpdateIpListOption.
|
76
76
|
:type name: str
|
@@ -81,7 +81,7 @@ class UpdateIpListOption:
|
|
81
81
|
def ip_list(self):
|
82
82
|
"""Gets the ip_list of this UpdateIpListOption.
|
83
83
|
|
84
|
-
IP地址组中包含的IP列表。
|
84
|
+
参数解释:IP地址组中包含的IP列表。
|
85
85
|
|
86
86
|
:return: The ip_list of this UpdateIpListOption.
|
87
87
|
:rtype: list[:class:`huaweicloudsdkelb.v3.UpadateIpGroupIpOption`]
|
@@ -92,7 +92,7 @@ class UpdateIpListOption:
|
|
92
92
|
def ip_list(self, ip_list):
|
93
93
|
"""Sets the ip_list of this UpdateIpListOption.
|
94
94
|
|
95
|
-
IP地址组中包含的IP列表。
|
95
|
+
参数解释:IP地址组中包含的IP列表。
|
96
96
|
|
97
97
|
:param ip_list: The ip_list of this UpdateIpListOption.
|
98
98
|
:type ip_list: list[:class:`huaweicloudsdkelb.v3.UpadateIpGroupIpOption`]
|
@@ -103,7 +103,7 @@ class UpdateIpListOption:
|
|
103
103
|
def description(self):
|
104
104
|
"""Gets the description of this UpdateIpListOption.
|
105
105
|
|
106
|
-
IP地址组的描述信息
|
106
|
+
参数解释:IP地址组的描述信息
|
107
107
|
|
108
108
|
:return: The description of this UpdateIpListOption.
|
109
109
|
:rtype: str
|
@@ -114,7 +114,7 @@ class UpdateIpListOption:
|
|
114
114
|
def description(self, description):
|
115
115
|
"""Sets the description of this UpdateIpListOption.
|
116
116
|
|
117
|
-
IP地址组的描述信息
|
117
|
+
参数解释:IP地址组的描述信息
|
118
118
|
|
119
119
|
:param description: The description of this UpdateIpListOption.
|
120
120
|
:type description: str
|
@@ -31,7 +31,7 @@ class UpdateIpListRequest:
|
|
31
31
|
|
32
32
|
The model defined in huaweicloud sdk
|
33
33
|
|
34
|
-
:param ipgroup_id: IP地址组ID。
|
34
|
+
:param ipgroup_id: 参数解释:IP地址组ID。
|
35
35
|
:type ipgroup_id: str
|
36
36
|
:param body: Body of the UpdateIpListRequest
|
37
37
|
:type body: :class:`huaweicloudsdkelb.v3.UpdateIpListRequestBody`
|
@@ -51,7 +51,7 @@ class UpdateIpListRequest:
|
|
51
51
|
def ipgroup_id(self):
|
52
52
|
"""Gets the ipgroup_id of this UpdateIpListRequest.
|
53
53
|
|
54
|
-
IP地址组ID。
|
54
|
+
参数解释:IP地址组ID。
|
55
55
|
|
56
56
|
:return: The ipgroup_id of this UpdateIpListRequest.
|
57
57
|
:rtype: str
|
@@ -62,7 +62,7 @@ class UpdateIpListRequest:
|
|
62
62
|
def ipgroup_id(self, ipgroup_id):
|
63
63
|
"""Sets the ipgroup_id of this UpdateIpListRequest.
|
64
64
|
|
65
|
-
IP地址组ID。
|
65
|
+
参数解释:IP地址组ID。
|
66
66
|
|
67
67
|
:param ipgroup_id: The ipgroup_id of this UpdateIpListRequest.
|
68
68
|
:type ipgroup_id: str
|
@@ -34,7 +34,7 @@ class UpdateIpListResponse(SdkResponse):
|
|
34
34
|
|
35
35
|
:param ipgroup:
|
36
36
|
:type ipgroup: :class:`huaweicloudsdkelb.v3.IpGroup`
|
37
|
-
:param request_id:
|
37
|
+
:param request_id: 参数解释:请求ID。 注:自动生成 。
|
38
38
|
:type request_id: str
|
39
39
|
"""
|
40
40
|
|
@@ -71,7 +71,7 @@ class UpdateIpListResponse(SdkResponse):
|
|
71
71
|
def request_id(self):
|
72
72
|
"""Gets the request_id of this UpdateIpListResponse.
|
73
73
|
|
74
|
-
|
74
|
+
参数解释:请求ID。 注:自动生成 。
|
75
75
|
|
76
76
|
:return: The request_id of this UpdateIpListResponse.
|
77
77
|
:rtype: str
|
@@ -82,7 +82,7 @@ class UpdateIpListResponse(SdkResponse):
|
|
82
82
|
def request_id(self, request_id):
|
83
83
|
"""Sets the request_id of this UpdateIpListResponse.
|
84
84
|
|
85
|
-
|
85
|
+
参数解释:请求ID。 注:自动生成 。
|
86
86
|
|
87
87
|
:param request_id: The request_id of this UpdateIpListResponse.
|
88
88
|
:type request_id: str
|
@@ -22,6 +22,8 @@ class UpdateL7PolicyOption:
|
|
22
22
|
'name': 'str',
|
23
23
|
'redirect_listener_id': 'str',
|
24
24
|
'redirect_pool_id': 'str',
|
25
|
+
'redirect_pools_config': 'list[UpdateRedirectPoolsConfig]',
|
26
|
+
'redirect_pools_sticky_session_config': 'UpdateRedirectPoolsStickySessionConfig',
|
25
27
|
'redirect_url_config': 'UpdateRedirectUrlConfig',
|
26
28
|
'fixed_response_config': 'UpdateFixtedResponseConfig',
|
27
29
|
'redirect_pools_extend_config': 'UpdateRedirectPoolsExtendConfig',
|
@@ -35,6 +37,8 @@ class UpdateL7PolicyOption:
|
|
35
37
|
'name': 'name',
|
36
38
|
'redirect_listener_id': 'redirect_listener_id',
|
37
39
|
'redirect_pool_id': 'redirect_pool_id',
|
40
|
+
'redirect_pools_config': 'redirect_pools_config',
|
41
|
+
'redirect_pools_sticky_session_config': 'redirect_pools_sticky_session_config',
|
38
42
|
'redirect_url_config': 'redirect_url_config',
|
39
43
|
'fixed_response_config': 'fixed_response_config',
|
40
44
|
'redirect_pools_extend_config': 'redirect_pools_extend_config',
|
@@ -42,30 +46,34 @@ class UpdateL7PolicyOption:
|
|
42
46
|
'priority': 'priority'
|
43
47
|
}
|
44
48
|
|
45
|
-
def __init__(self, admin_state_up=None, description=None, name=None, redirect_listener_id=None, redirect_pool_id=None, redirect_url_config=None, fixed_response_config=None, redirect_pools_extend_config=None, rules=None, priority=None):
|
49
|
+
def __init__(self, admin_state_up=None, description=None, name=None, redirect_listener_id=None, redirect_pool_id=None, redirect_pools_config=None, redirect_pools_sticky_session_config=None, redirect_url_config=None, fixed_response_config=None, redirect_pools_extend_config=None, rules=None, priority=None):
|
46
50
|
"""UpdateL7PolicyOption
|
47
51
|
|
48
52
|
The model defined in huaweicloud sdk
|
49
53
|
|
50
|
-
:param admin_state_up:
|
54
|
+
:param admin_state_up: 参数解释:转发策略的管理状态。 约束限制:只支持设置为true。
|
51
55
|
:type admin_state_up: bool
|
52
|
-
:param description:
|
56
|
+
:param description: 参数解释:转发策略描述信息。
|
53
57
|
:type description: str
|
54
|
-
:param name:
|
58
|
+
:param name: 参数解释:转发策略名称。
|
55
59
|
:type name: str
|
56
|
-
:param redirect_listener_id:
|
60
|
+
:param redirect_listener_id: 参数解释:转发到的listener的ID。 约束限制: - 当action为REDIRECT_TO_LISTENER时不能更新为空或null。 - 只支持protocol为HTTPS/TERMINATED_HTTPS的listener。 - 不能指定为其他loadbalancer下的listener。 - 当action为REDIRECT_TO_POOL时,创建或更新时不能传入该参数。
|
57
61
|
:type redirect_listener_id: str
|
58
|
-
:param redirect_pool_id:
|
62
|
+
:param redirect_pool_id: 参数解释:转发到pool的ID。 约束限制: - 指定的pool不能是任何listener的default_pool。不能是其他listener的l7policy使用的pool。 - 当action为REDIRECT_TO_POOL时生效,但不能更新为空或null。 - 当action为REDIRECT_TO_LISTENER时,传入会报错。
|
59
63
|
:type redirect_pool_id: str
|
64
|
+
:param redirect_pools_config: 参数解释:转发到多个主机组列表。一个policy最多配置5个pool。
|
65
|
+
:type redirect_pools_config: list[:class:`huaweicloudsdkelb.v3.UpdateRedirectPoolsConfig`]
|
66
|
+
:param redirect_pools_sticky_session_config:
|
67
|
+
:type redirect_pools_sticky_session_config: :class:`huaweicloudsdkelb.v3.UpdateRedirectPoolsStickySessionConfig`
|
60
68
|
:param redirect_url_config:
|
61
69
|
:type redirect_url_config: :class:`huaweicloudsdkelb.v3.UpdateRedirectUrlConfig`
|
62
70
|
:param fixed_response_config:
|
63
71
|
:type fixed_response_config: :class:`huaweicloudsdkelb.v3.UpdateFixtedResponseConfig`
|
64
72
|
:param redirect_pools_extend_config:
|
65
73
|
:type redirect_pools_extend_config: :class:`huaweicloudsdkelb.v3.UpdateRedirectPoolsExtendConfig`
|
66
|
-
:param rules:
|
74
|
+
:param rules: 参数解释:转发策略关联的转发规则对象。 约束限制: - rules列表中最多含有10个rule规则 (若rule中包含conditions字段,一条condition算一个规则), 且列表中type为HOST_NAME,PATH,METHOD,SOURCE_IP的rule不能重复,至多指定一条。 - 仅支持全量替换。
|
67
75
|
:type rules: list[:class:`huaweicloudsdkelb.v3.CreateRuleOption`]
|
68
|
-
:param priority:
|
76
|
+
:param priority: 参数解释:转发策略的优先级。数字越小表示优先级越高。 约束限制: - 同一个监听器下不同转发策略之间不允许重复的优先级数值。 - 当关联的监听器的高级转发策略功能(enhance_l7policy_enable)开启后才会生效,未开启传入该字段会报错。 - 当关联的监听器的高级转发策略功能(enhance_l7policy_enable)未开启,按原有policy的排序逻辑,自动排序。 不同域名优先级独立。相同域名下,按path的compare_type排序, 精确>前缀>正则,匹配类型相同时,path的长度越长优先级越高。 若policy下只有域名rule,没有路径rule,默认path为前缀匹配/。 [- 共享型负载均衡器下的转发策略不支持该字段。](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm) 取值范围: - 当action为REDIRECT_TO_LISTENER时,支持指定为0-10000。 - 其它action取值,支持指定为1-10000。 默认取值: - 若关联的监听器的高级转发策略功能(enhance_l7policy_enable)未开启,且不传入该字段,则新创建的转发策略的优先级的值为1。 - 当action为REDIRECT_TO_LISTENER时,则新创建的转发策略的优先级的值为0。 - 其它action取值,新创建的转发策略的优先级的值为同一监听器下已有转发策略的优先级的最大值+1。 + 若监听器下没有转发策略,则新建的转发策略的优先级为1。 + 若当前已有转发策略的优先级的最大值是10000,则新创建的转发策略会因超出取值范围10000而失败。此时可通过传入指定priority,或调整原有policy的优先级来避免错误。 [不支持该字段,请勿使用。](tag:hcso_dt) [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
|
69
77
|
:type priority: int
|
70
78
|
"""
|
71
79
|
|
@@ -76,6 +84,8 @@ class UpdateL7PolicyOption:
|
|
76
84
|
self._name = None
|
77
85
|
self._redirect_listener_id = None
|
78
86
|
self._redirect_pool_id = None
|
87
|
+
self._redirect_pools_config = None
|
88
|
+
self._redirect_pools_sticky_session_config = None
|
79
89
|
self._redirect_url_config = None
|
80
90
|
self._fixed_response_config = None
|
81
91
|
self._redirect_pools_extend_config = None
|
@@ -93,6 +103,10 @@ class UpdateL7PolicyOption:
|
|
93
103
|
self.redirect_listener_id = redirect_listener_id
|
94
104
|
if redirect_pool_id is not None:
|
95
105
|
self.redirect_pool_id = redirect_pool_id
|
106
|
+
if redirect_pools_config is not None:
|
107
|
+
self.redirect_pools_config = redirect_pools_config
|
108
|
+
if redirect_pools_sticky_session_config is not None:
|
109
|
+
self.redirect_pools_sticky_session_config = redirect_pools_sticky_session_config
|
96
110
|
if redirect_url_config is not None:
|
97
111
|
self.redirect_url_config = redirect_url_config
|
98
112
|
if fixed_response_config is not None:
|
@@ -108,7 +122,7 @@ class UpdateL7PolicyOption:
|
|
108
122
|
def admin_state_up(self):
|
109
123
|
"""Gets the admin_state_up of this UpdateL7PolicyOption.
|
110
124
|
|
111
|
-
|
125
|
+
参数解释:转发策略的管理状态。 约束限制:只支持设置为true。
|
112
126
|
|
113
127
|
:return: The admin_state_up of this UpdateL7PolicyOption.
|
114
128
|
:rtype: bool
|
@@ -119,7 +133,7 @@ class UpdateL7PolicyOption:
|
|
119
133
|
def admin_state_up(self, admin_state_up):
|
120
134
|
"""Sets the admin_state_up of this UpdateL7PolicyOption.
|
121
135
|
|
122
|
-
|
136
|
+
参数解释:转发策略的管理状态。 约束限制:只支持设置为true。
|
123
137
|
|
124
138
|
:param admin_state_up: The admin_state_up of this UpdateL7PolicyOption.
|
125
139
|
:type admin_state_up: bool
|
@@ -130,7 +144,7 @@ class UpdateL7PolicyOption:
|
|
130
144
|
def description(self):
|
131
145
|
"""Gets the description of this UpdateL7PolicyOption.
|
132
146
|
|
133
|
-
|
147
|
+
参数解释:转发策略描述信息。
|
134
148
|
|
135
149
|
:return: The description of this UpdateL7PolicyOption.
|
136
150
|
:rtype: str
|
@@ -141,7 +155,7 @@ class UpdateL7PolicyOption:
|
|
141
155
|
def description(self, description):
|
142
156
|
"""Sets the description of this UpdateL7PolicyOption.
|
143
157
|
|
144
|
-
|
158
|
+
参数解释:转发策略描述信息。
|
145
159
|
|
146
160
|
:param description: The description of this UpdateL7PolicyOption.
|
147
161
|
:type description: str
|
@@ -152,7 +166,7 @@ class UpdateL7PolicyOption:
|
|
152
166
|
def name(self):
|
153
167
|
"""Gets the name of this UpdateL7PolicyOption.
|
154
168
|
|
155
|
-
|
169
|
+
参数解释:转发策略名称。
|
156
170
|
|
157
171
|
:return: The name of this UpdateL7PolicyOption.
|
158
172
|
:rtype: str
|
@@ -163,7 +177,7 @@ class UpdateL7PolicyOption:
|
|
163
177
|
def name(self, name):
|
164
178
|
"""Sets the name of this UpdateL7PolicyOption.
|
165
179
|
|
166
|
-
|
180
|
+
参数解释:转发策略名称。
|
167
181
|
|
168
182
|
:param name: The name of this UpdateL7PolicyOption.
|
169
183
|
:type name: str
|
@@ -174,7 +188,7 @@ class UpdateL7PolicyOption:
|
|
174
188
|
def redirect_listener_id(self):
|
175
189
|
"""Gets the redirect_listener_id of this UpdateL7PolicyOption.
|
176
190
|
|
177
|
-
|
191
|
+
参数解释:转发到的listener的ID。 约束限制: - 当action为REDIRECT_TO_LISTENER时不能更新为空或null。 - 只支持protocol为HTTPS/TERMINATED_HTTPS的listener。 - 不能指定为其他loadbalancer下的listener。 - 当action为REDIRECT_TO_POOL时,创建或更新时不能传入该参数。
|
178
192
|
|
179
193
|
:return: The redirect_listener_id of this UpdateL7PolicyOption.
|
180
194
|
:rtype: str
|
@@ -185,7 +199,7 @@ class UpdateL7PolicyOption:
|
|
185
199
|
def redirect_listener_id(self, redirect_listener_id):
|
186
200
|
"""Sets the redirect_listener_id of this UpdateL7PolicyOption.
|
187
201
|
|
188
|
-
|
202
|
+
参数解释:转发到的listener的ID。 约束限制: - 当action为REDIRECT_TO_LISTENER时不能更新为空或null。 - 只支持protocol为HTTPS/TERMINATED_HTTPS的listener。 - 不能指定为其他loadbalancer下的listener。 - 当action为REDIRECT_TO_POOL时,创建或更新时不能传入该参数。
|
189
203
|
|
190
204
|
:param redirect_listener_id: The redirect_listener_id of this UpdateL7PolicyOption.
|
191
205
|
:type redirect_listener_id: str
|
@@ -196,7 +210,7 @@ class UpdateL7PolicyOption:
|
|
196
210
|
def redirect_pool_id(self):
|
197
211
|
"""Gets the redirect_pool_id of this UpdateL7PolicyOption.
|
198
212
|
|
199
|
-
|
213
|
+
参数解释:转发到pool的ID。 约束限制: - 指定的pool不能是任何listener的default_pool。不能是其他listener的l7policy使用的pool。 - 当action为REDIRECT_TO_POOL时生效,但不能更新为空或null。 - 当action为REDIRECT_TO_LISTENER时,传入会报错。
|
200
214
|
|
201
215
|
:return: The redirect_pool_id of this UpdateL7PolicyOption.
|
202
216
|
:rtype: str
|
@@ -207,13 +221,53 @@ class UpdateL7PolicyOption:
|
|
207
221
|
def redirect_pool_id(self, redirect_pool_id):
|
208
222
|
"""Sets the redirect_pool_id of this UpdateL7PolicyOption.
|
209
223
|
|
210
|
-
|
224
|
+
参数解释:转发到pool的ID。 约束限制: - 指定的pool不能是任何listener的default_pool。不能是其他listener的l7policy使用的pool。 - 当action为REDIRECT_TO_POOL时生效,但不能更新为空或null。 - 当action为REDIRECT_TO_LISTENER时,传入会报错。
|
211
225
|
|
212
226
|
:param redirect_pool_id: The redirect_pool_id of this UpdateL7PolicyOption.
|
213
227
|
:type redirect_pool_id: str
|
214
228
|
"""
|
215
229
|
self._redirect_pool_id = redirect_pool_id
|
216
230
|
|
231
|
+
@property
|
232
|
+
def redirect_pools_config(self):
|
233
|
+
"""Gets the redirect_pools_config of this UpdateL7PolicyOption.
|
234
|
+
|
235
|
+
参数解释:转发到多个主机组列表。一个policy最多配置5个pool。
|
236
|
+
|
237
|
+
:return: The redirect_pools_config of this UpdateL7PolicyOption.
|
238
|
+
:rtype: list[:class:`huaweicloudsdkelb.v3.UpdateRedirectPoolsConfig`]
|
239
|
+
"""
|
240
|
+
return self._redirect_pools_config
|
241
|
+
|
242
|
+
@redirect_pools_config.setter
|
243
|
+
def redirect_pools_config(self, redirect_pools_config):
|
244
|
+
"""Sets the redirect_pools_config of this UpdateL7PolicyOption.
|
245
|
+
|
246
|
+
参数解释:转发到多个主机组列表。一个policy最多配置5个pool。
|
247
|
+
|
248
|
+
:param redirect_pools_config: The redirect_pools_config of this UpdateL7PolicyOption.
|
249
|
+
:type redirect_pools_config: list[:class:`huaweicloudsdkelb.v3.UpdateRedirectPoolsConfig`]
|
250
|
+
"""
|
251
|
+
self._redirect_pools_config = redirect_pools_config
|
252
|
+
|
253
|
+
@property
|
254
|
+
def redirect_pools_sticky_session_config(self):
|
255
|
+
"""Gets the redirect_pools_sticky_session_config of this UpdateL7PolicyOption.
|
256
|
+
|
257
|
+
:return: The redirect_pools_sticky_session_config of this UpdateL7PolicyOption.
|
258
|
+
:rtype: :class:`huaweicloudsdkelb.v3.UpdateRedirectPoolsStickySessionConfig`
|
259
|
+
"""
|
260
|
+
return self._redirect_pools_sticky_session_config
|
261
|
+
|
262
|
+
@redirect_pools_sticky_session_config.setter
|
263
|
+
def redirect_pools_sticky_session_config(self, redirect_pools_sticky_session_config):
|
264
|
+
"""Sets the redirect_pools_sticky_session_config of this UpdateL7PolicyOption.
|
265
|
+
|
266
|
+
:param redirect_pools_sticky_session_config: The redirect_pools_sticky_session_config of this UpdateL7PolicyOption.
|
267
|
+
:type redirect_pools_sticky_session_config: :class:`huaweicloudsdkelb.v3.UpdateRedirectPoolsStickySessionConfig`
|
268
|
+
"""
|
269
|
+
self._redirect_pools_sticky_session_config = redirect_pools_sticky_session_config
|
270
|
+
|
217
271
|
@property
|
218
272
|
def redirect_url_config(self):
|
219
273
|
"""Gets the redirect_url_config of this UpdateL7PolicyOption.
|
@@ -272,7 +326,7 @@ class UpdateL7PolicyOption:
|
|
272
326
|
def rules(self):
|
273
327
|
"""Gets the rules of this UpdateL7PolicyOption.
|
274
328
|
|
275
|
-
|
329
|
+
参数解释:转发策略关联的转发规则对象。 约束限制: - rules列表中最多含有10个rule规则 (若rule中包含conditions字段,一条condition算一个规则), 且列表中type为HOST_NAME,PATH,METHOD,SOURCE_IP的rule不能重复,至多指定一条。 - 仅支持全量替换。
|
276
330
|
|
277
331
|
:return: The rules of this UpdateL7PolicyOption.
|
278
332
|
:rtype: list[:class:`huaweicloudsdkelb.v3.CreateRuleOption`]
|
@@ -283,7 +337,7 @@ class UpdateL7PolicyOption:
|
|
283
337
|
def rules(self, rules):
|
284
338
|
"""Sets the rules of this UpdateL7PolicyOption.
|
285
339
|
|
286
|
-
|
340
|
+
参数解释:转发策略关联的转发规则对象。 约束限制: - rules列表中最多含有10个rule规则 (若rule中包含conditions字段,一条condition算一个规则), 且列表中type为HOST_NAME,PATH,METHOD,SOURCE_IP的rule不能重复,至多指定一条。 - 仅支持全量替换。
|
287
341
|
|
288
342
|
:param rules: The rules of this UpdateL7PolicyOption.
|
289
343
|
:type rules: list[:class:`huaweicloudsdkelb.v3.CreateRuleOption`]
|
@@ -294,7 +348,7 @@ class UpdateL7PolicyOption:
|
|
294
348
|
def priority(self):
|
295
349
|
"""Gets the priority of this UpdateL7PolicyOption.
|
296
350
|
|
297
|
-
|
351
|
+
参数解释:转发策略的优先级。数字越小表示优先级越高。 约束限制: - 同一个监听器下不同转发策略之间不允许重复的优先级数值。 - 当关联的监听器的高级转发策略功能(enhance_l7policy_enable)开启后才会生效,未开启传入该字段会报错。 - 当关联的监听器的高级转发策略功能(enhance_l7policy_enable)未开启,按原有policy的排序逻辑,自动排序。 不同域名优先级独立。相同域名下,按path的compare_type排序, 精确>前缀>正则,匹配类型相同时,path的长度越长优先级越高。 若policy下只有域名rule,没有路径rule,默认path为前缀匹配/。 [- 共享型负载均衡器下的转发策略不支持该字段。](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm) 取值范围: - 当action为REDIRECT_TO_LISTENER时,支持指定为0-10000。 - 其它action取值,支持指定为1-10000。 默认取值: - 若关联的监听器的高级转发策略功能(enhance_l7policy_enable)未开启,且不传入该字段,则新创建的转发策略的优先级的值为1。 - 当action为REDIRECT_TO_LISTENER时,则新创建的转发策略的优先级的值为0。 - 其它action取值,新创建的转发策略的优先级的值为同一监听器下已有转发策略的优先级的最大值+1。 + 若监听器下没有转发策略,则新建的转发策略的优先级为1。 + 若当前已有转发策略的优先级的最大值是10000,则新创建的转发策略会因超出取值范围10000而失败。此时可通过传入指定priority,或调整原有policy的优先级来避免错误。 [不支持该字段,请勿使用。](tag:hcso_dt) [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
|
298
352
|
|
299
353
|
:return: The priority of this UpdateL7PolicyOption.
|
300
354
|
:rtype: int
|
@@ -305,7 +359,7 @@ class UpdateL7PolicyOption:
|
|
305
359
|
def priority(self, priority):
|
306
360
|
"""Sets the priority of this UpdateL7PolicyOption.
|
307
361
|
|
308
|
-
|
362
|
+
参数解释:转发策略的优先级。数字越小表示优先级越高。 约束限制: - 同一个监听器下不同转发策略之间不允许重复的优先级数值。 - 当关联的监听器的高级转发策略功能(enhance_l7policy_enable)开启后才会生效,未开启传入该字段会报错。 - 当关联的监听器的高级转发策略功能(enhance_l7policy_enable)未开启,按原有policy的排序逻辑,自动排序。 不同域名优先级独立。相同域名下,按path的compare_type排序, 精确>前缀>正则,匹配类型相同时,path的长度越长优先级越高。 若policy下只有域名rule,没有路径rule,默认path为前缀匹配/。 [- 共享型负载均衡器下的转发策略不支持该字段。](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm) 取值范围: - 当action为REDIRECT_TO_LISTENER时,支持指定为0-10000。 - 其它action取值,支持指定为1-10000。 默认取值: - 若关联的监听器的高级转发策略功能(enhance_l7policy_enable)未开启,且不传入该字段,则新创建的转发策略的优先级的值为1。 - 当action为REDIRECT_TO_LISTENER时,则新创建的转发策略的优先级的值为0。 - 其它action取值,新创建的转发策略的优先级的值为同一监听器下已有转发策略的优先级的最大值+1。 + 若监听器下没有转发策略,则新建的转发策略的优先级为1。 + 若当前已有转发策略的优先级的最大值是10000,则新创建的转发策略会因超出取值范围10000而失败。此时可通过传入指定priority,或调整原有policy的优先级来避免错误。 [不支持该字段,请勿使用。](tag:hcso_dt) [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
|
309
363
|
|
310
364
|
:param priority: The priority of this UpdateL7PolicyOption.
|
311
365
|
:type priority: int
|
@@ -31,7 +31,7 @@ class UpdateL7PolicyRequest:
|
|
31
31
|
|
32
32
|
The model defined in huaweicloud sdk
|
33
33
|
|
34
|
-
:param l7policy_id:
|
34
|
+
:param l7policy_id: 参数解释:转发策略ID。
|
35
35
|
:type l7policy_id: str
|
36
36
|
:param body: Body of the UpdateL7PolicyRequest
|
37
37
|
:type body: :class:`huaweicloudsdkelb.v3.UpdateL7PolicyRequestBody`
|
@@ -51,7 +51,7 @@ class UpdateL7PolicyRequest:
|
|
51
51
|
def l7policy_id(self):
|
52
52
|
"""Gets the l7policy_id of this UpdateL7PolicyRequest.
|
53
53
|
|
54
|
-
|
54
|
+
参数解释:转发策略ID。
|
55
55
|
|
56
56
|
:return: The l7policy_id of this UpdateL7PolicyRequest.
|
57
57
|
:rtype: str
|
@@ -62,7 +62,7 @@ class UpdateL7PolicyRequest:
|
|
62
62
|
def l7policy_id(self, l7policy_id):
|
63
63
|
"""Sets the l7policy_id of this UpdateL7PolicyRequest.
|
64
64
|
|
65
|
-
|
65
|
+
参数解释:转发策略ID。
|
66
66
|
|
67
67
|
:param l7policy_id: The l7policy_id of this UpdateL7PolicyRequest.
|
68
68
|
:type l7policy_id: str
|
@@ -32,7 +32,7 @@ class UpdateL7PolicyResponse(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 l7policy:
|
38
38
|
:type l7policy: :class:`huaweicloudsdkelb.v3.L7Policy`
|
@@ -53,7 +53,7 @@ class UpdateL7PolicyResponse(SdkResponse):
|
|
53
53
|
def request_id(self):
|
54
54
|
"""Gets the request_id of this UpdateL7PolicyResponse.
|
55
55
|
|
56
|
-
|
56
|
+
参数解释:请求ID。 注:自动生成 。
|
57
57
|
|
58
58
|
:return: The request_id of this UpdateL7PolicyResponse.
|
59
59
|
:rtype: str
|
@@ -64,7 +64,7 @@ class UpdateL7PolicyResponse(SdkResponse):
|
|
64
64
|
def request_id(self, request_id):
|
65
65
|
"""Sets the request_id of this UpdateL7PolicyResponse.
|
66
66
|
|
67
|
-
|
67
|
+
参数解释:请求ID。 注:自动生成 。
|
68
68
|
|
69
69
|
:param request_id: The request_id of this UpdateL7PolicyResponse.
|
70
70
|
:type request_id: str
|
@@ -39,17 +39,17 @@ class UpdateL7RuleOption:
|
|
39
39
|
|
40
40
|
The model defined in huaweicloud sdk
|
41
41
|
|
42
|
-
:param admin_state_up:
|
42
|
+
:param admin_state_up: 参数解释:转发规则的管理状态。 约束限制:只支持设置为true。
|
43
43
|
:type admin_state_up: bool
|
44
|
-
:param compare_type:
|
44
|
+
:param compare_type: 参数解释:转发匹配方式。 约束限制: - type为HOST_NAME时仅支持EQUAL_TO,支持通配符*。 - type为PATH时可以为REGEX,STARTS_WITH,EQUAL_TO。 - type为METHOD、SOURCE_IP时,仅支持EQUAL_TO。 - type为HEADER、QUERY_STRING,仅支持EQUAL_TO,支持通配符*、?。 取值范围: - EQUAL_TO 表示精确匹配。 - REGEX 表示正则匹配。 - STARTS_WITH 表示前缀匹配。
|
45
45
|
:type compare_type: str
|
46
|
-
:param invert:
|
46
|
+
:param invert: 参数解释:是否反向匹配。 取值范围:true、false。 不支持该字段,请勿使用。
|
47
47
|
:type invert: bool
|
48
|
-
:param key:
|
48
|
+
:param key: 参数解释:匹配项的名称,比如转发规则匹配类型是请求头匹配,则key表示请求头参数的名称。 不支持该字段,请勿使用。
|
49
49
|
:type key: str
|
50
|
-
:param value:
|
50
|
+
:param value: 参数解释:匹配项的值。比如转发规则匹配类型是域名匹配,则value表示域名的值。 约束限制:仅当conditions空时该字段生效。 取值范围: - 当转发规则类别type为HOST_NAME时,字符串只能包含英文字母、数字、-.\\*,必须以字母、数字或\\*开头。 若域名中包含\\*,则\\*只能出现在开头且必须以\\*.开始。当\\*开头时表示通配0~任一个字符。 - 当转发规则类别type为PATH时,当转发规则的compare_type为STARTS_WITH、EQUAL_TO时, 字符串只能包含英文字母、数字、_~';@^-%#&$.*+?,=!:|\\/()\\[\\]{},且必须以/开头。 - 当转发规则类别type为METHOD、SOURCE_IP、HEADER,QUERY_STRING时, 该字段无意义,使用conditions来指定key/value。
|
51
51
|
:type value: str
|
52
|
-
:param conditions:
|
52
|
+
:param conditions: 参数解释:转发规则的匹配条件。 约束限制: - 当监听器的高级转发策略功能(enhance_l7policy_enable)开启后才会生效。 - 若转发规则配置了conditions,字段key、字段value的值无意义。 - 同一个rule内的conditions列表中所有key必须相同,value不允许重复。 [不支持该字段,请勿使用。](tag:hcso_dt) [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
|
53
53
|
:type conditions: list[:class:`huaweicloudsdkelb.v3.UpdateRuleCondition`]
|
54
54
|
"""
|
55
55
|
|
@@ -80,7 +80,7 @@ class UpdateL7RuleOption:
|
|
80
80
|
def admin_state_up(self):
|
81
81
|
"""Gets the admin_state_up of this UpdateL7RuleOption.
|
82
82
|
|
83
|
-
|
83
|
+
参数解释:转发规则的管理状态。 约束限制:只支持设置为true。
|
84
84
|
|
85
85
|
:return: The admin_state_up of this UpdateL7RuleOption.
|
86
86
|
:rtype: bool
|
@@ -91,7 +91,7 @@ class UpdateL7RuleOption:
|
|
91
91
|
def admin_state_up(self, admin_state_up):
|
92
92
|
"""Sets the admin_state_up of this UpdateL7RuleOption.
|
93
93
|
|
94
|
-
|
94
|
+
参数解释:转发规则的管理状态。 约束限制:只支持设置为true。
|
95
95
|
|
96
96
|
:param admin_state_up: The admin_state_up of this UpdateL7RuleOption.
|
97
97
|
:type admin_state_up: bool
|
@@ -102,7 +102,7 @@ class UpdateL7RuleOption:
|
|
102
102
|
def compare_type(self):
|
103
103
|
"""Gets the compare_type of this UpdateL7RuleOption.
|
104
104
|
|
105
|
-
|
105
|
+
参数解释:转发匹配方式。 约束限制: - type为HOST_NAME时仅支持EQUAL_TO,支持通配符*。 - type为PATH时可以为REGEX,STARTS_WITH,EQUAL_TO。 - type为METHOD、SOURCE_IP时,仅支持EQUAL_TO。 - type为HEADER、QUERY_STRING,仅支持EQUAL_TO,支持通配符*、?。 取值范围: - EQUAL_TO 表示精确匹配。 - REGEX 表示正则匹配。 - STARTS_WITH 表示前缀匹配。
|
106
106
|
|
107
107
|
:return: The compare_type of this UpdateL7RuleOption.
|
108
108
|
:rtype: str
|
@@ -113,7 +113,7 @@ class UpdateL7RuleOption:
|
|
113
113
|
def compare_type(self, compare_type):
|
114
114
|
"""Sets the compare_type of this UpdateL7RuleOption.
|
115
115
|
|
116
|
-
|
116
|
+
参数解释:转发匹配方式。 约束限制: - type为HOST_NAME时仅支持EQUAL_TO,支持通配符*。 - type为PATH时可以为REGEX,STARTS_WITH,EQUAL_TO。 - type为METHOD、SOURCE_IP时,仅支持EQUAL_TO。 - type为HEADER、QUERY_STRING,仅支持EQUAL_TO,支持通配符*、?。 取值范围: - EQUAL_TO 表示精确匹配。 - REGEX 表示正则匹配。 - STARTS_WITH 表示前缀匹配。
|
117
117
|
|
118
118
|
:param compare_type: The compare_type of this UpdateL7RuleOption.
|
119
119
|
:type compare_type: str
|
@@ -124,7 +124,7 @@ class UpdateL7RuleOption:
|
|
124
124
|
def invert(self):
|
125
125
|
"""Gets the invert of this UpdateL7RuleOption.
|
126
126
|
|
127
|
-
|
127
|
+
参数解释:是否反向匹配。 取值范围:true、false。 不支持该字段,请勿使用。
|
128
128
|
|
129
129
|
:return: The invert of this UpdateL7RuleOption.
|
130
130
|
:rtype: bool
|
@@ -135,7 +135,7 @@ class UpdateL7RuleOption:
|
|
135
135
|
def invert(self, invert):
|
136
136
|
"""Sets the invert of this UpdateL7RuleOption.
|
137
137
|
|
138
|
-
|
138
|
+
参数解释:是否反向匹配。 取值范围:true、false。 不支持该字段,请勿使用。
|
139
139
|
|
140
140
|
:param invert: The invert of this UpdateL7RuleOption.
|
141
141
|
:type invert: bool
|
@@ -146,7 +146,7 @@ class UpdateL7RuleOption:
|
|
146
146
|
def key(self):
|
147
147
|
"""Gets the key of this UpdateL7RuleOption.
|
148
148
|
|
149
|
-
|
149
|
+
参数解释:匹配项的名称,比如转发规则匹配类型是请求头匹配,则key表示请求头参数的名称。 不支持该字段,请勿使用。
|
150
150
|
|
151
151
|
:return: The key of this UpdateL7RuleOption.
|
152
152
|
:rtype: str
|
@@ -157,7 +157,7 @@ class UpdateL7RuleOption:
|
|
157
157
|
def key(self, key):
|
158
158
|
"""Sets the key of this UpdateL7RuleOption.
|
159
159
|
|
160
|
-
|
160
|
+
参数解释:匹配项的名称,比如转发规则匹配类型是请求头匹配,则key表示请求头参数的名称。 不支持该字段,请勿使用。
|
161
161
|
|
162
162
|
:param key: The key of this UpdateL7RuleOption.
|
163
163
|
:type key: str
|
@@ -168,7 +168,7 @@ class UpdateL7RuleOption:
|
|
168
168
|
def value(self):
|
169
169
|
"""Gets the value of this UpdateL7RuleOption.
|
170
170
|
|
171
|
-
|
171
|
+
参数解释:匹配项的值。比如转发规则匹配类型是域名匹配,则value表示域名的值。 约束限制:仅当conditions空时该字段生效。 取值范围: - 当转发规则类别type为HOST_NAME时,字符串只能包含英文字母、数字、-.\\*,必须以字母、数字或\\*开头。 若域名中包含\\*,则\\*只能出现在开头且必须以\\*.开始。当\\*开头时表示通配0~任一个字符。 - 当转发规则类别type为PATH时,当转发规则的compare_type为STARTS_WITH、EQUAL_TO时, 字符串只能包含英文字母、数字、_~';@^-%#&$.*+?,=!:|\\/()\\[\\]{},且必须以/开头。 - 当转发规则类别type为METHOD、SOURCE_IP、HEADER,QUERY_STRING时, 该字段无意义,使用conditions来指定key/value。
|
172
172
|
|
173
173
|
:return: The value of this UpdateL7RuleOption.
|
174
174
|
:rtype: str
|
@@ -179,7 +179,7 @@ class UpdateL7RuleOption:
|
|
179
179
|
def value(self, value):
|
180
180
|
"""Sets the value of this UpdateL7RuleOption.
|
181
181
|
|
182
|
-
|
182
|
+
参数解释:匹配项的值。比如转发规则匹配类型是域名匹配,则value表示域名的值。 约束限制:仅当conditions空时该字段生效。 取值范围: - 当转发规则类别type为HOST_NAME时,字符串只能包含英文字母、数字、-.\\*,必须以字母、数字或\\*开头。 若域名中包含\\*,则\\*只能出现在开头且必须以\\*.开始。当\\*开头时表示通配0~任一个字符。 - 当转发规则类别type为PATH时,当转发规则的compare_type为STARTS_WITH、EQUAL_TO时, 字符串只能包含英文字母、数字、_~';@^-%#&$.*+?,=!:|\\/()\\[\\]{},且必须以/开头。 - 当转发规则类别type为METHOD、SOURCE_IP、HEADER,QUERY_STRING时, 该字段无意义,使用conditions来指定key/value。
|
183
183
|
|
184
184
|
:param value: The value of this UpdateL7RuleOption.
|
185
185
|
:type value: str
|
@@ -190,7 +190,7 @@ class UpdateL7RuleOption:
|
|
190
190
|
def conditions(self):
|
191
191
|
"""Gets the conditions of this UpdateL7RuleOption.
|
192
192
|
|
193
|
-
|
193
|
+
参数解释:转发规则的匹配条件。 约束限制: - 当监听器的高级转发策略功能(enhance_l7policy_enable)开启后才会生效。 - 若转发规则配置了conditions,字段key、字段value的值无意义。 - 同一个rule内的conditions列表中所有key必须相同,value不允许重复。 [不支持该字段,请勿使用。](tag:hcso_dt) [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
|
194
194
|
|
195
195
|
:return: The conditions of this UpdateL7RuleOption.
|
196
196
|
:rtype: list[:class:`huaweicloudsdkelb.v3.UpdateRuleCondition`]
|
@@ -201,7 +201,7 @@ class UpdateL7RuleOption:
|
|
201
201
|
def conditions(self, conditions):
|
202
202
|
"""Sets the conditions of this UpdateL7RuleOption.
|
203
203
|
|
204
|
-
|
204
|
+
参数解释:转发规则的匹配条件。 约束限制: - 当监听器的高级转发策略功能(enhance_l7policy_enable)开启后才会生效。 - 若转发规则配置了conditions,字段key、字段value的值无意义。 - 同一个rule内的conditions列表中所有key必须相同,value不允许重复。 [不支持该字段,请勿使用。](tag:hcso_dt) [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
|
205
205
|
|
206
206
|
:param conditions: The conditions of this UpdateL7RuleOption.
|
207
207
|
:type conditions: list[:class:`huaweicloudsdkelb.v3.UpdateRuleCondition`]
|