huaweicloudsdkelb 3.1.109__py2.py3-none-any.whl → 3.1.110__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- huaweicloudsdkelb/v3/elb_async_client.py +1 -1
- huaweicloudsdkelb/v3/elb_client.py +1 -1
- huaweicloudsdkelb/v3/model/autoscaling_ref.py +6 -6
- huaweicloudsdkelb/v3/model/availability_zone.py +15 -15
- huaweicloudsdkelb/v3/model/bandwidth_ref.py +3 -3
- huaweicloudsdkelb/v3/model/batch_create_members_option.py +6 -6
- huaweicloudsdkelb/v3/model/batch_create_members_request.py +3 -3
- huaweicloudsdkelb/v3/model/batch_delete_members_request.py +3 -3
- huaweicloudsdkelb/v3/model/batch_member.py +6 -6
- huaweicloudsdkelb/v3/model/batch_update_members_option.py +3 -3
- huaweicloudsdkelb/v3/model/batch_update_members_request.py +3 -3
- huaweicloudsdkelb/v3/model/batch_update_policies_priority_request_body.py +3 -3
- huaweicloudsdkelb/v3/model/batch_update_priority_request_body.py +6 -6
- huaweicloudsdkelb/v3/model/create_fixted_response_config.py +9 -9
- huaweicloudsdkelb/v3/model/create_health_monitor_option.py +12 -12
- huaweicloudsdkelb/v3/model/create_insert_header_config.py +9 -9
- huaweicloudsdkelb/v3/model/create_insert_headers_config.py +3 -3
- huaweicloudsdkelb/v3/model/create_ip_group_ip_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_l7_policy_option.py +39 -39
- huaweicloudsdkelb/v3/model/create_l7_policy_response.py +3 -3
- huaweicloudsdkelb/v3/model/create_l7_policy_rule_option.py +21 -21
- huaweicloudsdkelb/v3/model/create_l7_rule_request.py +3 -3
- huaweicloudsdkelb/v3/model/create_l7_rule_response.py +3 -3
- huaweicloudsdkelb/v3/model/create_listener_ip_group_option.py +9 -9
- huaweicloudsdkelb/v3/model/create_listener_option.py +84 -84
- huaweicloudsdkelb/v3/model/create_listener_quic_config_option.py +6 -6
- huaweicloudsdkelb/v3/model/create_listener_response.py +3 -3
- huaweicloudsdkelb/v3/model/create_load_balancer_bandwidth_option.py +6 -6
- huaweicloudsdkelb/v3/model/create_load_balancer_option.py +45 -45
- huaweicloudsdkelb/v3/model/create_load_balancer_public_ip_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_load_balancer_response.py +9 -9
- huaweicloudsdkelb/v3/model/create_loadbalancer_autoscaling_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_master_slave_health_monitor_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_member_option.py +21 -21
- huaweicloudsdkelb/v3/model/create_member_request.py +3 -3
- huaweicloudsdkelb/v3/model/create_member_response.py +3 -3
- huaweicloudsdkelb/v3/model/create_pool_option.py +12 -12
- huaweicloudsdkelb/v3/model/create_pool_session_persistence_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_redirect_pools_config.py +6 -6
- huaweicloudsdkelb/v3/model/create_redirect_pools_extend_config.py +3 -3
- huaweicloudsdkelb/v3/model/create_redirect_pools_sticky_session_config.py +6 -6
- huaweicloudsdkelb/v3/model/create_redirect_url_config.py +18 -18
- huaweicloudsdkelb/v3/model/create_remove_header_config.py +3 -3
- huaweicloudsdkelb/v3/model/create_remove_headers_config.py +3 -3
- huaweicloudsdkelb/v3/model/create_rewrite_url_config.py +9 -9
- huaweicloudsdkelb/v3/model/create_rule_condition.py +6 -6
- huaweicloudsdkelb/v3/model/create_rule_option.py +24 -24
- huaweicloudsdkelb/v3/model/create_traffic_limit_config.py +9 -9
- huaweicloudsdkelb/v3/model/delete_l7_policy_request.py +3 -3
- huaweicloudsdkelb/v3/model/delete_master_slave_pool_request.py +3 -3
- huaweicloudsdkelb/v3/model/delete_member_request.py +3 -3
- huaweicloudsdkelb/v3/model/delete_pool_request.py +3 -3
- huaweicloudsdkelb/v3/model/eip_info.py +9 -9
- huaweicloudsdkelb/v3/model/fixted_response_config.py +9 -9
- huaweicloudsdkelb/v3/model/flavor.py +6 -6
- huaweicloudsdkelb/v3/model/flavor_info.py +18 -18
- huaweicloudsdkelb/v3/model/global_eip_info.py +9 -9
- huaweicloudsdkelb/v3/model/health_monitor.py +12 -12
- huaweicloudsdkelb/v3/model/insert_header_config.py +9 -9
- huaweicloudsdkelb/v3/model/insert_headers_config.py +3 -3
- huaweicloudsdkelb/v3/model/l7_policy.py +51 -51
- huaweicloudsdkelb/v3/model/l7_rule.py +36 -36
- huaweicloudsdkelb/v3/model/list_availability_zones_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_availability_zones_response.py +38 -9
- huaweicloudsdkelb/v3/model/list_flavors_request.py +9 -9
- huaweicloudsdkelb/v3/model/list_health_monitors_request.py +9 -9
- huaweicloudsdkelb/v3/model/list_l7_policies_request.py +48 -48
- huaweicloudsdkelb/v3/model/list_l7_policies_response.py +6 -6
- huaweicloudsdkelb/v3/model/list_l7_rules_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_l7_rules_response.py +6 -6
- huaweicloudsdkelb/v3/model/list_listeners_request.py +9 -9
- huaweicloudsdkelb/v3/model/list_listeners_response.py +6 -6
- huaweicloudsdkelb/v3/model/list_load_balancers_request.py +6 -6
- huaweicloudsdkelb/v3/model/list_master_slave_pools_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_members_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_pools_request.py +3 -3
- huaweicloudsdkelb/v3/model/listener.py +96 -96
- huaweicloudsdkelb/v3/model/listener_insert_headers.py +27 -27
- huaweicloudsdkelb/v3/model/listener_ip_group.py +9 -9
- huaweicloudsdkelb/v3/model/listener_quic_config.py +6 -6
- huaweicloudsdkelb/v3/model/load_balancer.py +129 -129
- huaweicloudsdkelb/v3/model/load_balancer_ref.py +3 -3
- huaweicloudsdkelb/v3/model/load_balancer_status_pool.py +3 -3
- huaweicloudsdkelb/v3/model/logtank.py +3 -3
- huaweicloudsdkelb/v3/model/master_slave_health_monitor.py +6 -6
- huaweicloudsdkelb/v3/model/member.py +45 -45
- huaweicloudsdkelb/v3/model/member_info.py +6 -6
- huaweicloudsdkelb/v3/model/member_status.py +6 -6
- huaweicloudsdkelb/v3/model/pool.py +6 -6
- huaweicloudsdkelb/v3/model/pool_ref.py +3 -3
- huaweicloudsdkelb/v3/model/prepaid_create_option.py +3 -3
- huaweicloudsdkelb/v3/model/public_ip_info.py +9 -9
- huaweicloudsdkelb/v3/model/quota.py +3 -3
- huaweicloudsdkelb/v3/model/redirect_pools_config.py +6 -6
- huaweicloudsdkelb/v3/model/redirect_pools_extend_config.py +3 -3
- huaweicloudsdkelb/v3/model/redirect_pools_sticky_session_config.py +6 -6
- huaweicloudsdkelb/v3/model/redirect_url_config.py +18 -18
- huaweicloudsdkelb/v3/model/remove_header_config.py +3 -3
- huaweicloudsdkelb/v3/model/remove_headers_config.py +3 -3
- huaweicloudsdkelb/v3/model/rewrite_url_config.py +9 -9
- huaweicloudsdkelb/v3/model/rule_condition.py +6 -6
- huaweicloudsdkelb/v3/model/rule_ref.py +3 -3
- huaweicloudsdkelb/v3/model/show_l7_policy_request.py +3 -3
- huaweicloudsdkelb/v3/model/show_l7_policy_response.py +3 -3
- huaweicloudsdkelb/v3/model/show_l7_rule_response.py +3 -3
- huaweicloudsdkelb/v3/model/show_listener_response.py +3 -3
- huaweicloudsdkelb/v3/model/show_load_balancer_response.py +3 -3
- huaweicloudsdkelb/v3/model/show_load_balancer_status_response.py +3 -3
- huaweicloudsdkelb/v3/model/show_master_slave_pool_request.py +3 -3
- huaweicloudsdkelb/v3/model/show_member_request.py +3 -3
- huaweicloudsdkelb/v3/model/show_pool_request.py +3 -3
- huaweicloudsdkelb/v3/model/tag.py +6 -6
- huaweicloudsdkelb/v3/model/traffic_limit_config.py +9 -9
- huaweicloudsdkelb/v3/model/upadate_ip_group_ip_option.py +3 -3
- huaweicloudsdkelb/v3/model/update_fixted_response_config.py +9 -9
- huaweicloudsdkelb/v3/model/update_health_monitor_option.py +12 -12
- huaweicloudsdkelb/v3/model/update_insert_header_config.py +9 -9
- huaweicloudsdkelb/v3/model/update_insert_headers_config.py +3 -3
- huaweicloudsdkelb/v3/model/update_l7_policy_option.py +24 -24
- huaweicloudsdkelb/v3/model/update_l7_policy_request.py +3 -3
- huaweicloudsdkelb/v3/model/update_l7_policy_response.py +3 -3
- huaweicloudsdkelb/v3/model/update_l7_rule_option.py +18 -18
- huaweicloudsdkelb/v3/model/update_l7_rule_response.py +3 -3
- huaweicloudsdkelb/v3/model/update_listener_ip_group_option.py +9 -9
- huaweicloudsdkelb/v3/model/update_listener_option.py +66 -66
- huaweicloudsdkelb/v3/model/update_listener_quic_config_option.py +6 -6
- huaweicloudsdkelb/v3/model/update_listener_response.py +3 -3
- huaweicloudsdkelb/v3/model/update_load_balancer_option.py +48 -48
- huaweicloudsdkelb/v3/model/update_load_balancer_response.py +9 -9
- huaweicloudsdkelb/v3/model/update_loadbalancer_autoscaling_option.py +6 -6
- huaweicloudsdkelb/v3/model/update_member_option.py +3 -3
- huaweicloudsdkelb/v3/model/update_member_request.py +3 -3
- huaweicloudsdkelb/v3/model/update_pool_option.py +9 -9
- huaweicloudsdkelb/v3/model/update_pool_request.py +3 -3
- huaweicloudsdkelb/v3/model/update_pool_session_persistence_option.py +3 -3
- huaweicloudsdkelb/v3/model/update_redirect_pools_config.py +6 -6
- huaweicloudsdkelb/v3/model/update_redirect_pools_extend_config.py +3 -3
- huaweicloudsdkelb/v3/model/update_redirect_pools_sticky_session_config.py +6 -6
- huaweicloudsdkelb/v3/model/update_redirect_url_config.py +18 -18
- huaweicloudsdkelb/v3/model/update_remove_header_config.py +3 -3
- huaweicloudsdkelb/v3/model/update_remove_headers_config.py +3 -3
- huaweicloudsdkelb/v3/model/update_rewrite_url_config.py +9 -9
- huaweicloudsdkelb/v3/model/update_rule_condition.py +6 -6
- huaweicloudsdkelb/v3/model/update_traffic_limit_config.py +9 -9
- {huaweicloudsdkelb-3.1.109.dist-info → huaweicloudsdkelb-3.1.110.dist-info}/METADATA +2 -2
- {huaweicloudsdkelb-3.1.109.dist-info → huaweicloudsdkelb-3.1.110.dist-info}/RECORD +149 -149
- {huaweicloudsdkelb-3.1.109.dist-info → huaweicloudsdkelb-3.1.110.dist-info}/LICENSE +0 -0
- {huaweicloudsdkelb-3.1.109.dist-info → huaweicloudsdkelb-3.1.110.dist-info}/WHEEL +0 -0
- {huaweicloudsdkelb-3.1.109.dist-info → huaweicloudsdkelb-3.1.110.dist-info}/top_level.txt +0 -0
@@ -905,7 +905,7 @@ class ElbAsyncClient(Client):
|
|
905
905
|
6. 若要创建网络型负载均衡器,则需要传入l4_flavor_id(网络型规格ID);若要创建应用型负载均衡器,则需要传入l7_flavor_id(应用型规格ID);若要创建网络型+应用型负载均衡器,则需要传入l4_flavor_id和l7_flavor_id。
|
906
906
|
7. 若要创建包周期负载均衡器,则需要传入prepaid_options,否则创建按需计费负载均衡器。
|
907
907
|
8. 按需计费分为固定规格计费和弹性规格计费,根据创建时所选规格的类型决定计费方式。具体规格说明见创建LB请求参数l4_flavor_id和l7_flavor_id。
|
908
|
-
[9.若要创建gateway类型的负载均衡器,指定loadbalancer_type=“gateway”,不支持指定vip_address,ipv6_vip_address
|
908
|
+
[9.若要创建gateway类型的负载均衡器,指定loadbalancer_type=“gateway”,不支持指定vip_address,ipv6_vip_address;vip_subnet_cidr_id和ipv6_subnet_cidr_id两者不能同时为空,如果两者都传入,必须属于同一子网。 不支持公网类型。如果要指定规格,则从请求参数gw_flavor_id传入。](tag:hws_eu)
|
909
909
|
|
910
910
|
Please refer to HUAWEI cloud API Explorer for details.
|
911
911
|
|
@@ -905,7 +905,7 @@ class ElbClient(Client):
|
|
905
905
|
6. 若要创建网络型负载均衡器,则需要传入l4_flavor_id(网络型规格ID);若要创建应用型负载均衡器,则需要传入l7_flavor_id(应用型规格ID);若要创建网络型+应用型负载均衡器,则需要传入l4_flavor_id和l7_flavor_id。
|
906
906
|
7. 若要创建包周期负载均衡器,则需要传入prepaid_options,否则创建按需计费负载均衡器。
|
907
907
|
8. 按需计费分为固定规格计费和弹性规格计费,根据创建时所选规格的类型决定计费方式。具体规格说明见创建LB请求参数l4_flavor_id和l7_flavor_id。
|
908
|
-
[9.若要创建gateway类型的负载均衡器,指定loadbalancer_type=“gateway”,不支持指定vip_address,ipv6_vip_address
|
908
|
+
[9.若要创建gateway类型的负载均衡器,指定loadbalancer_type=“gateway”,不支持指定vip_address,ipv6_vip_address;vip_subnet_cidr_id和ipv6_subnet_cidr_id两者不能同时为空,如果两者都传入,必须属于同一子网。 不支持公网类型。如果要指定规格,则从请求参数gw_flavor_id传入。](tag:hws_eu)
|
909
909
|
|
910
910
|
Please refer to HUAWEI cloud API Explorer for details.
|
911
911
|
|
@@ -31,9 +31,9 @@ class AutoscalingRef:
|
|
31
31
|
|
32
32
|
The model defined in huaweicloud sdk
|
33
33
|
|
34
|
-
:param enable:
|
34
|
+
:param enable: 参数解释:当前负载均衡器是否开启弹性扩缩容。 取值范围: - true:开启。 - false:不开启。 默认取值:false
|
35
35
|
:type enable: bool
|
36
|
-
:param min_l7_flavor_id:
|
36
|
+
:param min_l7_flavor_id: 参数解释:弹性扩缩容的最小七层规格ID(规格类型L7_elastic)。 约束限制:有七层监听器时,该字段不能为空。 > 该字段已经废弃,但仍然保留兼容性支持,建议不要使用该字段。如果传入该字段,创建的弹性实例将会有保底规格并产生对应保底规格的费用。
|
37
37
|
:type min_l7_flavor_id: str
|
38
38
|
"""
|
39
39
|
|
@@ -51,7 +51,7 @@ class AutoscalingRef:
|
|
51
51
|
def enable(self):
|
52
52
|
"""Gets the enable of this AutoscalingRef.
|
53
53
|
|
54
|
-
|
54
|
+
参数解释:当前负载均衡器是否开启弹性扩缩容。 取值范围: - true:开启。 - false:不开启。 默认取值:false
|
55
55
|
|
56
56
|
:return: The enable of this AutoscalingRef.
|
57
57
|
:rtype: bool
|
@@ -62,7 +62,7 @@ class AutoscalingRef:
|
|
62
62
|
def enable(self, enable):
|
63
63
|
"""Sets the enable of this AutoscalingRef.
|
64
64
|
|
65
|
-
|
65
|
+
参数解释:当前负载均衡器是否开启弹性扩缩容。 取值范围: - true:开启。 - false:不开启。 默认取值:false
|
66
66
|
|
67
67
|
:param enable: The enable of this AutoscalingRef.
|
68
68
|
:type enable: bool
|
@@ -73,7 +73,7 @@ class AutoscalingRef:
|
|
73
73
|
def min_l7_flavor_id(self):
|
74
74
|
"""Gets the min_l7_flavor_id of this AutoscalingRef.
|
75
75
|
|
76
|
-
|
76
|
+
参数解释:弹性扩缩容的最小七层规格ID(规格类型L7_elastic)。 约束限制:有七层监听器时,该字段不能为空。 > 该字段已经废弃,但仍然保留兼容性支持,建议不要使用该字段。如果传入该字段,创建的弹性实例将会有保底规格并产生对应保底规格的费用。
|
77
77
|
|
78
78
|
:return: The min_l7_flavor_id of this AutoscalingRef.
|
79
79
|
:rtype: str
|
@@ -84,7 +84,7 @@ class AutoscalingRef:
|
|
84
84
|
def min_l7_flavor_id(self, min_l7_flavor_id):
|
85
85
|
"""Sets the min_l7_flavor_id of this AutoscalingRef.
|
86
86
|
|
87
|
-
|
87
|
+
参数解释:弹性扩缩容的最小七层规格ID(规格类型L7_elastic)。 约束限制:有七层监听器时,该字段不能为空。 > 该字段已经废弃,但仍然保留兼容性支持,建议不要使用该字段。如果传入该字段,创建的弹性实例将会有保底规格并产生对应保底规格的费用。
|
88
88
|
|
89
89
|
:param min_l7_flavor_id: The min_l7_flavor_id of this AutoscalingRef.
|
90
90
|
:type min_l7_flavor_id: str
|
@@ -37,15 +37,15 @@ class AvailabilityZone:
|
|
37
37
|
|
38
38
|
The model defined in huaweicloud sdk
|
39
39
|
|
40
|
-
:param code:
|
40
|
+
:param code: 参数解释:可用区唯一编码。
|
41
41
|
:type code: str
|
42
|
-
:param state:
|
42
|
+
:param state: 参数解释:可用区状态。 取值范围:ACTIVE。
|
43
43
|
:type state: str
|
44
|
-
:param protocol: [
|
44
|
+
:param protocol: [参数解释:未售罄的LB规格类别。 取值范围:L4 表示网络型LB未售罄;L7 表示应用型LB未售罄。](tag:hws,hk,hws_eu,otc,tlf,ctc,sbc,g42,cmcc,hk_g42,dt_test,mix,hk_sbc,hws_ocb,dt) [参数解释:LB规格类别。 取值范围:L4 表示网络型LB;L7 表示应用型LB。](tag:ocb,tm,fcs,fcs_dt,hcso,hcso_dt,hk_vdf)
|
45
45
|
:type protocol: list[str]
|
46
|
-
:param public_border_group:
|
46
|
+
:param public_border_group: 参数解释:可用区组,如:center
|
47
47
|
:type public_border_group: str
|
48
|
-
:param category:
|
48
|
+
:param category: 参数解释:范围编码。 取值范围:0表示center,21表示homezone。
|
49
49
|
:type category: int
|
50
50
|
"""
|
51
51
|
|
@@ -68,7 +68,7 @@ class AvailabilityZone:
|
|
68
68
|
def code(self):
|
69
69
|
"""Gets the code of this AvailabilityZone.
|
70
70
|
|
71
|
-
|
71
|
+
参数解释:可用区唯一编码。
|
72
72
|
|
73
73
|
:return: The code of this AvailabilityZone.
|
74
74
|
:rtype: str
|
@@ -79,7 +79,7 @@ class AvailabilityZone:
|
|
79
79
|
def code(self, code):
|
80
80
|
"""Sets the code of this AvailabilityZone.
|
81
81
|
|
82
|
-
|
82
|
+
参数解释:可用区唯一编码。
|
83
83
|
|
84
84
|
:param code: The code of this AvailabilityZone.
|
85
85
|
:type code: str
|
@@ -90,7 +90,7 @@ class AvailabilityZone:
|
|
90
90
|
def state(self):
|
91
91
|
"""Gets the state of this AvailabilityZone.
|
92
92
|
|
93
|
-
|
93
|
+
参数解释:可用区状态。 取值范围:ACTIVE。
|
94
94
|
|
95
95
|
:return: The state of this AvailabilityZone.
|
96
96
|
:rtype: str
|
@@ -101,7 +101,7 @@ class AvailabilityZone:
|
|
101
101
|
def state(self, state):
|
102
102
|
"""Sets the state of this AvailabilityZone.
|
103
103
|
|
104
|
-
|
104
|
+
参数解释:可用区状态。 取值范围:ACTIVE。
|
105
105
|
|
106
106
|
:param state: The state of this AvailabilityZone.
|
107
107
|
:type state: str
|
@@ -112,7 +112,7 @@ class AvailabilityZone:
|
|
112
112
|
def protocol(self):
|
113
113
|
"""Gets the protocol of this AvailabilityZone.
|
114
114
|
|
115
|
-
[
|
115
|
+
[参数解释:未售罄的LB规格类别。 取值范围:L4 表示网络型LB未售罄;L7 表示应用型LB未售罄。](tag:hws,hk,hws_eu,otc,tlf,ctc,sbc,g42,cmcc,hk_g42,dt_test,mix,hk_sbc,hws_ocb,dt) [参数解释:LB规格类别。 取值范围:L4 表示网络型LB;L7 表示应用型LB。](tag:ocb,tm,fcs,fcs_dt,hcso,hcso_dt,hk_vdf)
|
116
116
|
|
117
117
|
:return: The protocol of this AvailabilityZone.
|
118
118
|
:rtype: list[str]
|
@@ -123,7 +123,7 @@ class AvailabilityZone:
|
|
123
123
|
def protocol(self, protocol):
|
124
124
|
"""Sets the protocol of this AvailabilityZone.
|
125
125
|
|
126
|
-
[
|
126
|
+
[参数解释:未售罄的LB规格类别。 取值范围:L4 表示网络型LB未售罄;L7 表示应用型LB未售罄。](tag:hws,hk,hws_eu,otc,tlf,ctc,sbc,g42,cmcc,hk_g42,dt_test,mix,hk_sbc,hws_ocb,dt) [参数解释:LB规格类别。 取值范围:L4 表示网络型LB;L7 表示应用型LB。](tag:ocb,tm,fcs,fcs_dt,hcso,hcso_dt,hk_vdf)
|
127
127
|
|
128
128
|
:param protocol: The protocol of this AvailabilityZone.
|
129
129
|
:type protocol: list[str]
|
@@ -134,7 +134,7 @@ class AvailabilityZone:
|
|
134
134
|
def public_border_group(self):
|
135
135
|
"""Gets the public_border_group of this AvailabilityZone.
|
136
136
|
|
137
|
-
|
137
|
+
参数解释:可用区组,如:center
|
138
138
|
|
139
139
|
:return: The public_border_group of this AvailabilityZone.
|
140
140
|
:rtype: str
|
@@ -145,7 +145,7 @@ class AvailabilityZone:
|
|
145
145
|
def public_border_group(self, public_border_group):
|
146
146
|
"""Sets the public_border_group of this AvailabilityZone.
|
147
147
|
|
148
|
-
|
148
|
+
参数解释:可用区组,如:center
|
149
149
|
|
150
150
|
:param public_border_group: The public_border_group of this AvailabilityZone.
|
151
151
|
:type public_border_group: str
|
@@ -156,7 +156,7 @@ class AvailabilityZone:
|
|
156
156
|
def category(self):
|
157
157
|
"""Gets the category of this AvailabilityZone.
|
158
158
|
|
159
|
-
|
159
|
+
参数解释:范围编码。 取值范围:0表示center,21表示homezone。
|
160
160
|
|
161
161
|
:return: The category of this AvailabilityZone.
|
162
162
|
:rtype: int
|
@@ -167,7 +167,7 @@ class AvailabilityZone:
|
|
167
167
|
def category(self, category):
|
168
168
|
"""Sets the category of this AvailabilityZone.
|
169
169
|
|
170
|
-
|
170
|
+
参数解释:范围编码。 取值范围:0表示center,21表示homezone。
|
171
171
|
|
172
172
|
:param category: The category of this AvailabilityZone.
|
173
173
|
:type category: int
|
@@ -29,7 +29,7 @@ class BandwidthRef:
|
|
29
29
|
|
30
30
|
The model defined in huaweicloud sdk
|
31
31
|
|
32
|
-
:param id:
|
32
|
+
:param id: 参数解释:共享带宽的ID。
|
33
33
|
:type id: str
|
34
34
|
"""
|
35
35
|
|
@@ -44,7 +44,7 @@ class BandwidthRef:
|
|
44
44
|
def id(self):
|
45
45
|
"""Gets the id of this BandwidthRef.
|
46
46
|
|
47
|
-
|
47
|
+
参数解释:共享带宽的ID。
|
48
48
|
|
49
49
|
:return: The id of this BandwidthRef.
|
50
50
|
:rtype: str
|
@@ -55,7 +55,7 @@ class BandwidthRef:
|
|
55
55
|
def id(self, id):
|
56
56
|
"""Sets the id of this BandwidthRef.
|
57
57
|
|
58
|
-
|
58
|
+
参数解释:共享带宽的ID。
|
59
59
|
|
60
60
|
:param id: The id of this BandwidthRef.
|
61
61
|
:type id: str
|
@@ -41,9 +41,9 @@ class BatchCreateMembersOption:
|
|
41
41
|
:type name: str
|
42
42
|
:param address: 后端云服务器的对应的IP地址,这个IP必须在subnet_cidr_id字段的子网网段中。例如:192.168.3.11。 subnet_cidr_id为空代表添加跨VPC后端,此时address必须为ipv4地址。
|
43
43
|
:type address: str
|
44
|
-
:param protocol_port:
|
44
|
+
:param protocol_port: 后端服务器端口。 在开启端口透传的pool下的member,该字段无法更新。 [网关型LB,即pool协议为IP时,protocol_port必须设置为0。](tag:hws_eu)
|
45
45
|
:type protocol_port: int
|
46
|
-
:param subnet_cidr_id: 后端云服务器所在的子网,可以是IPv4或IPv6子网。若是IPv4子网,使用对应子网的子网ID(neutron_subnet_id);若是IPv6子网,使用对应子网的网络ID(neutron_network_id)。 ipv4子网的子网ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_subnet_id得到 ipv6子网的网络ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_network_id得到 使用说明: - 该子网和关联的负载均衡器的子网必须在同一VPC下。 - 若所属LB的跨VPC后端转发已开启(ip_target_enable=true),则该字段可以不传,表示添加跨VPC的后端服务器。 此时address必须为IPv4地址,所在的pool的协议必须为TCP/HTTP/HTTPS。 - 若所属LB未开启跨VPC后端转发,该参数必填。 [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt,dt_test)
|
46
|
+
:param subnet_cidr_id: 后端云服务器所在的子网,可以是IPv4或IPv6子网。若是IPv4子网,使用对应子网的子网ID(neutron_subnet_id);若是IPv6子网,使用对应子网的网络ID(neutron_network_id)。 ipv4子网的子网ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_subnet_id得到 ipv6子网的网络ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_network_id得到 使用说明: - 该子网和关联的负载均衡器的子网必须在同一VPC下。 - 若所属LB的跨VPC后端转发已开启(ip_target_enable=true),则该字段可以不传,表示添加跨VPC的后端服务器。 此时address必须为IPv4地址,所在的pool的协议必须为TCP/HTTP/HTTPS。 - 若所属LB未开启跨VPC后端转发,该参数必填。 [- 网关型LB,即pool协议为IP时,必须指定该子网,且必须和负载均衡器的子网在同一个VPC下,但不能相同。](tag:hws_eu) [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt,dt_test)
|
47
47
|
:type subnet_cidr_id: str
|
48
48
|
:param weight: 后端云服务器的权重,请求将根据pool配置的负载均衡算法和后端云服务器的权重进行负载分发。 权重值越大,分发的请求越多。权重为0的后端不再接受新的请求。 取值:0-100,默认1。 使用说明:若所在pool的lb_algorithm取值为SOURCE_IP,该字段无效。
|
49
49
|
:type weight: int
|
@@ -115,7 +115,7 @@ class BatchCreateMembersOption:
|
|
115
115
|
def protocol_port(self):
|
116
116
|
"""Gets the protocol_port of this BatchCreateMembersOption.
|
117
117
|
|
118
|
-
|
118
|
+
后端服务器端口。 在开启端口透传的pool下的member,该字段无法更新。 [网关型LB,即pool协议为IP时,protocol_port必须设置为0。](tag:hws_eu)
|
119
119
|
|
120
120
|
:return: The protocol_port of this BatchCreateMembersOption.
|
121
121
|
:rtype: int
|
@@ -126,7 +126,7 @@ class BatchCreateMembersOption:
|
|
126
126
|
def protocol_port(self, protocol_port):
|
127
127
|
"""Sets the protocol_port of this BatchCreateMembersOption.
|
128
128
|
|
129
|
-
|
129
|
+
后端服务器端口。 在开启端口透传的pool下的member,该字段无法更新。 [网关型LB,即pool协议为IP时,protocol_port必须设置为0。](tag:hws_eu)
|
130
130
|
|
131
131
|
:param protocol_port: The protocol_port of this BatchCreateMembersOption.
|
132
132
|
:type protocol_port: int
|
@@ -137,7 +137,7 @@ class BatchCreateMembersOption:
|
|
137
137
|
def subnet_cidr_id(self):
|
138
138
|
"""Gets the subnet_cidr_id of this BatchCreateMembersOption.
|
139
139
|
|
140
|
-
后端云服务器所在的子网,可以是IPv4或IPv6子网。若是IPv4子网,使用对应子网的子网ID(neutron_subnet_id);若是IPv6子网,使用对应子网的网络ID(neutron_network_id)。 ipv4子网的子网ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_subnet_id得到 ipv6子网的网络ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_network_id得到 使用说明: - 该子网和关联的负载均衡器的子网必须在同一VPC下。 - 若所属LB的跨VPC后端转发已开启(ip_target_enable=true),则该字段可以不传,表示添加跨VPC的后端服务器。 此时address必须为IPv4地址,所在的pool的协议必须为TCP/HTTP/HTTPS。 - 若所属LB未开启跨VPC后端转发,该参数必填。 [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt,dt_test)
|
140
|
+
后端云服务器所在的子网,可以是IPv4或IPv6子网。若是IPv4子网,使用对应子网的子网ID(neutron_subnet_id);若是IPv6子网,使用对应子网的网络ID(neutron_network_id)。 ipv4子网的子网ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_subnet_id得到 ipv6子网的网络ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_network_id得到 使用说明: - 该子网和关联的负载均衡器的子网必须在同一VPC下。 - 若所属LB的跨VPC后端转发已开启(ip_target_enable=true),则该字段可以不传,表示添加跨VPC的后端服务器。 此时address必须为IPv4地址,所在的pool的协议必须为TCP/HTTP/HTTPS。 - 若所属LB未开启跨VPC后端转发,该参数必填。 [- 网关型LB,即pool协议为IP时,必须指定该子网,且必须和负载均衡器的子网在同一个VPC下,但不能相同。](tag:hws_eu) [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt,dt_test)
|
141
141
|
|
142
142
|
:return: The subnet_cidr_id of this BatchCreateMembersOption.
|
143
143
|
:rtype: str
|
@@ -148,7 +148,7 @@ class BatchCreateMembersOption:
|
|
148
148
|
def subnet_cidr_id(self, subnet_cidr_id):
|
149
149
|
"""Sets the subnet_cidr_id of this BatchCreateMembersOption.
|
150
150
|
|
151
|
-
后端云服务器所在的子网,可以是IPv4或IPv6子网。若是IPv4子网,使用对应子网的子网ID(neutron_subnet_id);若是IPv6子网,使用对应子网的网络ID(neutron_network_id)。 ipv4子网的子网ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_subnet_id得到 ipv6子网的网络ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_network_id得到 使用说明: - 该子网和关联的负载均衡器的子网必须在同一VPC下。 - 若所属LB的跨VPC后端转发已开启(ip_target_enable=true),则该字段可以不传,表示添加跨VPC的后端服务器。 此时address必须为IPv4地址,所在的pool的协议必须为TCP/HTTP/HTTPS。 - 若所属LB未开启跨VPC后端转发,该参数必填。 [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt,dt_test)
|
151
|
+
后端云服务器所在的子网,可以是IPv4或IPv6子网。若是IPv4子网,使用对应子网的子网ID(neutron_subnet_id);若是IPv6子网,使用对应子网的网络ID(neutron_network_id)。 ipv4子网的子网ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_subnet_id得到 ipv6子网的网络ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_network_id得到 使用说明: - 该子网和关联的负载均衡器的子网必须在同一VPC下。 - 若所属LB的跨VPC后端转发已开启(ip_target_enable=true),则该字段可以不传,表示添加跨VPC的后端服务器。 此时address必须为IPv4地址,所在的pool的协议必须为TCP/HTTP/HTTPS。 - 若所属LB未开启跨VPC后端转发,该参数必填。 [- 网关型LB,即pool协议为IP时,必须指定该子网,且必须和负载均衡器的子网在同一个VPC下,但不能相同。](tag:hws_eu) [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt,dt_test)
|
152
152
|
|
153
153
|
:param subnet_cidr_id: The subnet_cidr_id of this BatchCreateMembersOption.
|
154
154
|
:type subnet_cidr_id: str
|
@@ -31,7 +31,7 @@ class BatchCreateMembersRequest:
|
|
31
31
|
|
32
32
|
The model defined in huaweicloud sdk
|
33
33
|
|
34
|
-
:param pool_id:
|
34
|
+
:param pool_id: 参数解释:后端服务器组ID。
|
35
35
|
:type pool_id: str
|
36
36
|
:param body: Body of the BatchCreateMembersRequest
|
37
37
|
:type body: :class:`huaweicloudsdkelb.v3.BatchCreateMembersRequestBody`
|
@@ -51,7 +51,7 @@ class BatchCreateMembersRequest:
|
|
51
51
|
def pool_id(self):
|
52
52
|
"""Gets the pool_id of this BatchCreateMembersRequest.
|
53
53
|
|
54
|
-
|
54
|
+
参数解释:后端服务器组ID。
|
55
55
|
|
56
56
|
:return: The pool_id of this BatchCreateMembersRequest.
|
57
57
|
:rtype: str
|
@@ -62,7 +62,7 @@ class BatchCreateMembersRequest:
|
|
62
62
|
def pool_id(self, pool_id):
|
63
63
|
"""Sets the pool_id of this BatchCreateMembersRequest.
|
64
64
|
|
65
|
-
|
65
|
+
参数解释:后端服务器组ID。
|
66
66
|
|
67
67
|
:param pool_id: The pool_id of this BatchCreateMembersRequest.
|
68
68
|
:type pool_id: str
|
@@ -31,7 +31,7 @@ class BatchDeleteMembersRequest:
|
|
31
31
|
|
32
32
|
The model defined in huaweicloud sdk
|
33
33
|
|
34
|
-
:param pool_id:
|
34
|
+
:param pool_id: 参数解释:后端服务器组ID。
|
35
35
|
:type pool_id: str
|
36
36
|
:param body: Body of the BatchDeleteMembersRequest
|
37
37
|
:type body: :class:`huaweicloudsdkelb.v3.BatchDeleteMembersRequestBody`
|
@@ -51,7 +51,7 @@ class BatchDeleteMembersRequest:
|
|
51
51
|
def pool_id(self):
|
52
52
|
"""Gets the pool_id of this BatchDeleteMembersRequest.
|
53
53
|
|
54
|
-
|
54
|
+
参数解释:后端服务器组ID。
|
55
55
|
|
56
56
|
:return: The pool_id of this BatchDeleteMembersRequest.
|
57
57
|
:rtype: str
|
@@ -62,7 +62,7 @@ class BatchDeleteMembersRequest:
|
|
62
62
|
def pool_id(self, pool_id):
|
63
63
|
"""Sets the pool_id of this BatchDeleteMembersRequest.
|
64
64
|
|
65
|
-
|
65
|
+
参数解释:后端服务器组ID。
|
66
66
|
|
67
67
|
:param pool_id: The pool_id of this BatchDeleteMembersRequest.
|
68
68
|
:type pool_id: str
|
@@ -67,9 +67,9 @@ class BatchMember:
|
|
67
67
|
:type project_id: str
|
68
68
|
:param admin_state_up: 后端云服务器的管理状态。 取值:true、false。 虽然创建、更新请求支持该字段,但实际取值决定于后端云服务器对应的弹性云服务器是否存在。若存在,该值为true,否则,该值为false。
|
69
69
|
:type admin_state_up: bool
|
70
|
-
:param subnet_cidr_id: 后端云服务器所在的子网,可以是IPv4或IPv6子网。若是IPv4子网,使用对应子网的子网ID(neutron_subnet_id);若是IPv6子网,使用对应子网的网络ID(neutron_network_id)。 ipv4子网的子网ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_subnet_id得到 ipv6子网的网络ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_network_id得到 使用说明: - 该子网和关联的负载均衡器的子网必须在同一VPC下。 - 若所属LB的跨VPC后端转发已开启(ip_target_enable=true),则该字段可以不传,表示添加跨VPC的后端服务器。 此时address必须为IPv4地址,所在的pool的协议必须为TCP/HTTP/HTTPS。 - 若所属LB未开启跨VPC后端转发,该参数必填。
|
70
|
+
:param subnet_cidr_id: 后端云服务器所在的子网,可以是IPv4或IPv6子网。若是IPv4子网,使用对应子网的子网ID(neutron_subnet_id);若是IPv6子网,使用对应子网的网络ID(neutron_network_id)。 ipv4子网的子网ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_subnet_id得到 ipv6子网的网络ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_network_id得到 使用说明: - 该子网和关联的负载均衡器的子网必须在同一VPC下。 - 若所属LB的跨VPC后端转发已开启(ip_target_enable=true),则该字段可以不传,表示添加跨VPC的后端服务器。 此时address必须为IPv4地址,所在的pool的协议必须为TCP/HTTP/HTTPS。 - 若所属LB未开启跨VPC后端转发,该参数必填。 [- 网关型LB,即pool协议为IP时,必须指定该子网,且必须和负载均衡器的子网在同一个VPC下,但不能相同。](tag:hws_eu) [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt,dt_test)
|
71
71
|
:type subnet_cidr_id: str
|
72
|
-
:param protocol_port: 后端服务器业务端口。 >在开启端口透传的pool下创建member传该字段不生效,可不传该字段。
|
72
|
+
:param protocol_port: 后端服务器业务端口。 [网关型LB,即pool协议为IP时,protocol_port必须设置为0。](tag:hws_eu) >在开启端口透传的pool下创建member传该字段不生效,可不传该字段。
|
73
73
|
:type protocol_port: int
|
74
74
|
:param weight: 后端云服务器的权重,请求将根据pool配置的负载均衡算法和后端云服务器的权重进行负载分发。 权重值越大,分发的请求越多。权重为0的后端不再接受新的请求。 取值:0-100,默认1。 使用说明: - 若所在pool的lb_algorithm取值为SOURCE_IP,该字段无效。
|
75
75
|
:type weight: int
|
@@ -228,7 +228,7 @@ class BatchMember:
|
|
228
228
|
def subnet_cidr_id(self):
|
229
229
|
"""Gets the subnet_cidr_id of this BatchMember.
|
230
230
|
|
231
|
-
后端云服务器所在的子网,可以是IPv4或IPv6子网。若是IPv4子网,使用对应子网的子网ID(neutron_subnet_id);若是IPv6子网,使用对应子网的网络ID(neutron_network_id)。 ipv4子网的子网ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_subnet_id得到 ipv6子网的网络ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_network_id得到 使用说明: - 该子网和关联的负载均衡器的子网必须在同一VPC下。 - 若所属LB的跨VPC后端转发已开启(ip_target_enable=true),则该字段可以不传,表示添加跨VPC的后端服务器。 此时address必须为IPv4地址,所在的pool的协议必须为TCP/HTTP/HTTPS。 - 若所属LB未开启跨VPC后端转发,该参数必填。
|
231
|
+
后端云服务器所在的子网,可以是IPv4或IPv6子网。若是IPv4子网,使用对应子网的子网ID(neutron_subnet_id);若是IPv6子网,使用对应子网的网络ID(neutron_network_id)。 ipv4子网的子网ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_subnet_id得到 ipv6子网的网络ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_network_id得到 使用说明: - 该子网和关联的负载均衡器的子网必须在同一VPC下。 - 若所属LB的跨VPC后端转发已开启(ip_target_enable=true),则该字段可以不传,表示添加跨VPC的后端服务器。 此时address必须为IPv4地址,所在的pool的协议必须为TCP/HTTP/HTTPS。 - 若所属LB未开启跨VPC后端转发,该参数必填。 [- 网关型LB,即pool协议为IP时,必须指定该子网,且必须和负载均衡器的子网在同一个VPC下,但不能相同。](tag:hws_eu) [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt,dt_test)
|
232
232
|
|
233
233
|
:return: The subnet_cidr_id of this BatchMember.
|
234
234
|
:rtype: str
|
@@ -239,7 +239,7 @@ class BatchMember:
|
|
239
239
|
def subnet_cidr_id(self, subnet_cidr_id):
|
240
240
|
"""Sets the subnet_cidr_id of this BatchMember.
|
241
241
|
|
242
|
-
后端云服务器所在的子网,可以是IPv4或IPv6子网。若是IPv4子网,使用对应子网的子网ID(neutron_subnet_id);若是IPv6子网,使用对应子网的网络ID(neutron_network_id)。 ipv4子网的子网ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_subnet_id得到 ipv6子网的网络ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_network_id得到 使用说明: - 该子网和关联的负载均衡器的子网必须在同一VPC下。 - 若所属LB的跨VPC后端转发已开启(ip_target_enable=true),则该字段可以不传,表示添加跨VPC的后端服务器。 此时address必须为IPv4地址,所在的pool的协议必须为TCP/HTTP/HTTPS。 - 若所属LB未开启跨VPC后端转发,该参数必填。
|
242
|
+
后端云服务器所在的子网,可以是IPv4或IPv6子网。若是IPv4子网,使用对应子网的子网ID(neutron_subnet_id);若是IPv6子网,使用对应子网的网络ID(neutron_network_id)。 ipv4子网的子网ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_subnet_id得到 ipv6子网的网络ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_network_id得到 使用说明: - 该子网和关联的负载均衡器的子网必须在同一VPC下。 - 若所属LB的跨VPC后端转发已开启(ip_target_enable=true),则该字段可以不传,表示添加跨VPC的后端服务器。 此时address必须为IPv4地址,所在的pool的协议必须为TCP/HTTP/HTTPS。 - 若所属LB未开启跨VPC后端转发,该参数必填。 [- 网关型LB,即pool协议为IP时,必须指定该子网,且必须和负载均衡器的子网在同一个VPC下,但不能相同。](tag:hws_eu) [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt,dt_test)
|
243
243
|
|
244
244
|
:param subnet_cidr_id: The subnet_cidr_id of this BatchMember.
|
245
245
|
:type subnet_cidr_id: str
|
@@ -250,7 +250,7 @@ class BatchMember:
|
|
250
250
|
def protocol_port(self):
|
251
251
|
"""Gets the protocol_port of this BatchMember.
|
252
252
|
|
253
|
-
后端服务器业务端口。 >在开启端口透传的pool下创建member传该字段不生效,可不传该字段。
|
253
|
+
后端服务器业务端口。 [网关型LB,即pool协议为IP时,protocol_port必须设置为0。](tag:hws_eu) >在开启端口透传的pool下创建member传该字段不生效,可不传该字段。
|
254
254
|
|
255
255
|
:return: The protocol_port of this BatchMember.
|
256
256
|
:rtype: int
|
@@ -261,7 +261,7 @@ class BatchMember:
|
|
261
261
|
def protocol_port(self, protocol_port):
|
262
262
|
"""Sets the protocol_port of this BatchMember.
|
263
263
|
|
264
|
-
后端服务器业务端口。 >在开启端口透传的pool下创建member传该字段不生效,可不传该字段。
|
264
|
+
后端服务器业务端口。 [网关型LB,即pool协议为IP时,protocol_port必须设置为0。](tag:hws_eu) >在开启端口透传的pool下创建member传该字段不生效,可不传该字段。
|
265
265
|
|
266
266
|
:param protocol_port: The protocol_port of this BatchMember.
|
267
267
|
:type protocol_port: int
|
@@ -43,7 +43,7 @@ class BatchUpdateMembersOption:
|
|
43
43
|
:type admin_state_up: bool
|
44
44
|
:param name: 后端服务器名称。
|
45
45
|
:type name: str
|
46
|
-
:param protocol_port:
|
46
|
+
:param protocol_port: 后端服务器端口。 在开启端口透传的pool下的member,该字段无法更新。 [网关型LB,即pool协议为IP时,protocol_port必须设置为0。](tag:hws_eu)
|
47
47
|
:type protocol_port: int
|
48
48
|
:param weight: 后端云服务器的权重,请求按权重在同一后端云服务器组下的后端云服务器间分发。权重为0的后端不再接受新的请求。当后端云服务器所在的后端云服务器组的lb_algorithm的取值为SOURCE_IP时,该字段无效。
|
49
49
|
:type weight: int
|
@@ -138,7 +138,7 @@ class BatchUpdateMembersOption:
|
|
138
138
|
def protocol_port(self):
|
139
139
|
"""Gets the protocol_port of this BatchUpdateMembersOption.
|
140
140
|
|
141
|
-
|
141
|
+
后端服务器端口。 在开启端口透传的pool下的member,该字段无法更新。 [网关型LB,即pool协议为IP时,protocol_port必须设置为0。](tag:hws_eu)
|
142
142
|
|
143
143
|
:return: The protocol_port of this BatchUpdateMembersOption.
|
144
144
|
:rtype: int
|
@@ -149,7 +149,7 @@ class BatchUpdateMembersOption:
|
|
149
149
|
def protocol_port(self, protocol_port):
|
150
150
|
"""Sets the protocol_port of this BatchUpdateMembersOption.
|
151
151
|
|
152
|
-
|
152
|
+
后端服务器端口。 在开启端口透传的pool下的member,该字段无法更新。 [网关型LB,即pool协议为IP时,protocol_port必须设置为0。](tag:hws_eu)
|
153
153
|
|
154
154
|
:param protocol_port: The protocol_port of this BatchUpdateMembersOption.
|
155
155
|
:type protocol_port: int
|
@@ -31,7 +31,7 @@ class BatchUpdateMembersRequest:
|
|
31
31
|
|
32
32
|
The model defined in huaweicloud sdk
|
33
33
|
|
34
|
-
:param pool_id:
|
34
|
+
:param pool_id: 参数解释:后端服务器组ID。
|
35
35
|
:type pool_id: str
|
36
36
|
:param body: Body of the BatchUpdateMembersRequest
|
37
37
|
:type body: :class:`huaweicloudsdkelb.v3.BatchUpdateMembersRequestBody`
|
@@ -51,7 +51,7 @@ class BatchUpdateMembersRequest:
|
|
51
51
|
def pool_id(self):
|
52
52
|
"""Gets the pool_id of this BatchUpdateMembersRequest.
|
53
53
|
|
54
|
-
|
54
|
+
参数解释:后端服务器组ID。
|
55
55
|
|
56
56
|
:return: The pool_id of this BatchUpdateMembersRequest.
|
57
57
|
:rtype: str
|
@@ -62,7 +62,7 @@ class BatchUpdateMembersRequest:
|
|
62
62
|
def pool_id(self, pool_id):
|
63
63
|
"""Sets the pool_id of this BatchUpdateMembersRequest.
|
64
64
|
|
65
|
-
|
65
|
+
参数解释:后端服务器组ID。
|
66
66
|
|
67
67
|
:param pool_id: The pool_id of this BatchUpdateMembersRequest.
|
68
68
|
:type pool_id: str
|
@@ -29,7 +29,7 @@ class BatchUpdatePoliciesPriorityRequestBody:
|
|
29
29
|
|
30
30
|
The model defined in huaweicloud sdk
|
31
31
|
|
32
|
-
:param l7policies:
|
32
|
+
:param l7policies: 参数解释:转发策略的结构体。
|
33
33
|
:type l7policies: list[:class:`huaweicloudsdkelb.v3.BatchUpdatePriorityRequestBody`]
|
34
34
|
"""
|
35
35
|
|
@@ -45,7 +45,7 @@ class BatchUpdatePoliciesPriorityRequestBody:
|
|
45
45
|
def l7policies(self):
|
46
46
|
"""Gets the l7policies of this BatchUpdatePoliciesPriorityRequestBody.
|
47
47
|
|
48
|
-
|
48
|
+
参数解释:转发策略的结构体。
|
49
49
|
|
50
50
|
:return: The l7policies of this BatchUpdatePoliciesPriorityRequestBody.
|
51
51
|
:rtype: list[:class:`huaweicloudsdkelb.v3.BatchUpdatePriorityRequestBody`]
|
@@ -56,7 +56,7 @@ class BatchUpdatePoliciesPriorityRequestBody:
|
|
56
56
|
def l7policies(self, l7policies):
|
57
57
|
"""Sets the l7policies of this BatchUpdatePoliciesPriorityRequestBody.
|
58
58
|
|
59
|
-
|
59
|
+
参数解释:转发策略的结构体。
|
60
60
|
|
61
61
|
:param l7policies: The l7policies of this BatchUpdatePoliciesPriorityRequestBody.
|
62
62
|
:type l7policies: list[:class:`huaweicloudsdkelb.v3.BatchUpdatePriorityRequestBody`]
|
@@ -31,9 +31,9 @@ class BatchUpdatePriorityRequestBody:
|
|
31
31
|
|
32
32
|
The model defined in huaweicloud sdk
|
33
33
|
|
34
|
-
:param id:
|
34
|
+
:param id: 参数解释:待更新的l7policy的ID。
|
35
35
|
:type id: str
|
36
|
-
:param priority:
|
36
|
+
: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)
|
37
37
|
:type priority: int
|
38
38
|
"""
|
39
39
|
|
@@ -50,7 +50,7 @@ class BatchUpdatePriorityRequestBody:
|
|
50
50
|
def id(self):
|
51
51
|
"""Gets the id of this BatchUpdatePriorityRequestBody.
|
52
52
|
|
53
|
-
|
53
|
+
参数解释:待更新的l7policy的ID。
|
54
54
|
|
55
55
|
:return: The id of this BatchUpdatePriorityRequestBody.
|
56
56
|
:rtype: str
|
@@ -61,7 +61,7 @@ class BatchUpdatePriorityRequestBody:
|
|
61
61
|
def id(self, id):
|
62
62
|
"""Sets the id of this BatchUpdatePriorityRequestBody.
|
63
63
|
|
64
|
-
|
64
|
+
参数解释:待更新的l7policy的ID。
|
65
65
|
|
66
66
|
:param id: The id of this BatchUpdatePriorityRequestBody.
|
67
67
|
:type id: str
|
@@ -72,7 +72,7 @@ class BatchUpdatePriorityRequestBody:
|
|
72
72
|
def priority(self):
|
73
73
|
"""Gets the priority of this BatchUpdatePriorityRequestBody.
|
74
74
|
|
75
|
-
|
75
|
+
参数解释:转发策略的优先级。数字越小表示优先级越高。 约束限制: - 同一个监听器下不同转发策略之间不允许重复的优先级数值。 - 当关联的监听器的高级转发策略功能(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)
|
76
76
|
|
77
77
|
:return: The priority of this BatchUpdatePriorityRequestBody.
|
78
78
|
:rtype: int
|
@@ -83,7 +83,7 @@ class BatchUpdatePriorityRequestBody:
|
|
83
83
|
def priority(self, priority):
|
84
84
|
"""Sets the priority of this BatchUpdatePriorityRequestBody.
|
85
85
|
|
86
|
-
|
86
|
+
参数解释:转发策略的优先级。数字越小表示优先级越高。 约束限制: - 同一个监听器下不同转发策略之间不允许重复的优先级数值。 - 当关联的监听器的高级转发策略功能(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)
|
87
87
|
|
88
88
|
:param priority: The priority of this BatchUpdatePriorityRequestBody.
|
89
89
|
:type priority: int
|
@@ -39,11 +39,11 @@ class CreateFixtedResponseConfig:
|
|
39
39
|
|
40
40
|
The model defined in huaweicloud sdk
|
41
41
|
|
42
|
-
:param status_code:
|
42
|
+
:param status_code: 参数解释:返回码。 取值范围:200-299,400-499,500-599。
|
43
43
|
:type status_code: str
|
44
|
-
:param content_type:
|
44
|
+
:param content_type: 参数解释:返回body的格式。 取值范围: - text/plain - text/css - text/html - application/javascript - application/json 默认取值:text/plain
|
45
45
|
:type content_type: str
|
46
|
-
:param message_body:
|
46
|
+
:param message_body: 参数解释:返回消息内容。
|
47
47
|
:type message_body: str
|
48
48
|
:param insert_headers_config:
|
49
49
|
:type insert_headers_config: :class:`huaweicloudsdkelb.v3.CreateInsertHeadersConfig`
|
@@ -79,7 +79,7 @@ class CreateFixtedResponseConfig:
|
|
79
79
|
def status_code(self):
|
80
80
|
"""Gets the status_code of this CreateFixtedResponseConfig.
|
81
81
|
|
82
|
-
|
82
|
+
参数解释:返回码。 取值范围:200-299,400-499,500-599。
|
83
83
|
|
84
84
|
:return: The status_code of this CreateFixtedResponseConfig.
|
85
85
|
:rtype: str
|
@@ -90,7 +90,7 @@ class CreateFixtedResponseConfig:
|
|
90
90
|
def status_code(self, status_code):
|
91
91
|
"""Sets the status_code of this CreateFixtedResponseConfig.
|
92
92
|
|
93
|
-
|
93
|
+
参数解释:返回码。 取值范围:200-299,400-499,500-599。
|
94
94
|
|
95
95
|
:param status_code: The status_code of this CreateFixtedResponseConfig.
|
96
96
|
:type status_code: str
|
@@ -101,7 +101,7 @@ class CreateFixtedResponseConfig:
|
|
101
101
|
def content_type(self):
|
102
102
|
"""Gets the content_type of this CreateFixtedResponseConfig.
|
103
103
|
|
104
|
-
|
104
|
+
参数解释:返回body的格式。 取值范围: - text/plain - text/css - text/html - application/javascript - application/json 默认取值:text/plain
|
105
105
|
|
106
106
|
:return: The content_type of this CreateFixtedResponseConfig.
|
107
107
|
:rtype: str
|
@@ -112,7 +112,7 @@ class CreateFixtedResponseConfig:
|
|
112
112
|
def content_type(self, content_type):
|
113
113
|
"""Sets the content_type of this CreateFixtedResponseConfig.
|
114
114
|
|
115
|
-
|
115
|
+
参数解释:返回body的格式。 取值范围: - text/plain - text/css - text/html - application/javascript - application/json 默认取值:text/plain
|
116
116
|
|
117
117
|
:param content_type: The content_type of this CreateFixtedResponseConfig.
|
118
118
|
:type content_type: str
|
@@ -123,7 +123,7 @@ class CreateFixtedResponseConfig:
|
|
123
123
|
def message_body(self):
|
124
124
|
"""Gets the message_body of this CreateFixtedResponseConfig.
|
125
125
|
|
126
|
-
|
126
|
+
参数解释:返回消息内容。
|
127
127
|
|
128
128
|
:return: The message_body of this CreateFixtedResponseConfig.
|
129
129
|
:rtype: str
|
@@ -134,7 +134,7 @@ class CreateFixtedResponseConfig:
|
|
134
134
|
def message_body(self, message_body):
|
135
135
|
"""Sets the message_body of this CreateFixtedResponseConfig.
|
136
136
|
|
137
|
-
|
137
|
+
参数解释:返回消息内容。
|
138
138
|
|
139
139
|
:param message_body: The message_body of this CreateFixtedResponseConfig.
|
140
140
|
:type message_body: str
|