huaweicloudsdkelb 3.1.115__py2.py3-none-any.whl → 3.1.117__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- huaweicloudsdkelb/v2/elb_async_client.py +2 -0
- huaweicloudsdkelb/v2/elb_client.py +2 -0
- huaweicloudsdkelb/v2/model/list_members_request.py +32 -3
- huaweicloudsdkelb/v3/elb_async_client.py +5 -1
- huaweicloudsdkelb/v3/elb_client.py +5 -1
- huaweicloudsdkelb/v3/model/availability_zone.py +3 -3
- huaweicloudsdkelb/v3/model/batch_add_available_zones_request.py +3 -3
- huaweicloudsdkelb/v3/model/batch_create_members_option.py +12 -12
- huaweicloudsdkelb/v3/model/batch_member.py +21 -21
- huaweicloudsdkelb/v3/model/batch_update_member.py +24 -24
- huaweicloudsdkelb/v3/model/batch_update_members_option.py +6 -6
- huaweicloudsdkelb/v3/model/connection_drain.py +6 -6
- huaweicloudsdkelb/v3/model/create_health_monitor_option.py +12 -12
- huaweicloudsdkelb/v3/model/create_l7_policy_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_listener_option.py +6 -6
- huaweicloudsdkelb/v3/model/create_load_balancer_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_master_slave_health_monitor_option.py +6 -6
- huaweicloudsdkelb/v3/model/create_master_slave_member_option.py +12 -12
- huaweicloudsdkelb/v3/model/create_master_slave_pool_option.py +30 -30
- huaweicloudsdkelb/v3/model/create_member_option.py +18 -18
- huaweicloudsdkelb/v3/model/create_pool_option.py +48 -48
- huaweicloudsdkelb/v3/model/create_pool_response.py +3 -3
- huaweicloudsdkelb/v3/model/create_pool_session_persistence_option.py +9 -9
- huaweicloudsdkelb/v3/model/create_pool_slow_start_option.py +6 -6
- huaweicloudsdkelb/v3/model/delete_member_request.py +3 -3
- huaweicloudsdkelb/v3/model/flavor.py +3 -3
- huaweicloudsdkelb/v3/model/health_monitor.py +12 -12
- huaweicloudsdkelb/v3/model/l7_policy.py +3 -3
- huaweicloudsdkelb/v3/model/list_all_members_request.py +21 -21
- huaweicloudsdkelb/v3/model/list_availability_zones_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_availability_zones_response.py +3 -3
- huaweicloudsdkelb/v3/model/list_flavors_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_health_monitors_request.py +6 -6
- huaweicloudsdkelb/v3/model/list_l7_policies_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_listeners_request.py +12 -12
- huaweicloudsdkelb/v3/model/list_load_balancers_request.py +9 -9
- huaweicloudsdkelb/v3/model/list_master_slave_pools_request.py +36 -36
- huaweicloudsdkelb/v3/model/list_members_request.py +21 -21
- huaweicloudsdkelb/v3/model/list_pools_request.py +39 -39
- huaweicloudsdkelb/v3/model/listener.py +12 -12
- huaweicloudsdkelb/v3/model/listener_insert_headers.py +30 -30
- huaweicloudsdkelb/v3/model/listener_member_info.py +3 -3
- huaweicloudsdkelb/v3/model/load_balancer.py +9 -9
- huaweicloudsdkelb/v3/model/load_balancer_status.py +3 -3
- huaweicloudsdkelb/v3/model/master_slave_health_monitor.py +6 -6
- huaweicloudsdkelb/v3/model/master_slave_member.py +18 -18
- huaweicloudsdkelb/v3/model/master_slave_pool.py +33 -33
- huaweicloudsdkelb/v3/model/member.py +21 -21
- huaweicloudsdkelb/v3/model/member_info.py +24 -24
- huaweicloudsdkelb/v3/model/member_ref.py +3 -3
- huaweicloudsdkelb/v3/model/member_status.py +3 -3
- huaweicloudsdkelb/v3/model/pool.py +66 -66
- huaweicloudsdkelb/v3/model/pool_health.py +3 -3
- huaweicloudsdkelb/v3/model/quota.py +6 -6
- huaweicloudsdkelb/v3/model/session_persistence.py +9 -9
- huaweicloudsdkelb/v3/model/slow_start.py +6 -6
- huaweicloudsdkelb/v3/model/update_health_monitor_option.py +9 -9
- huaweicloudsdkelb/v3/model/update_listener_option.py +6 -6
- huaweicloudsdkelb/v3/model/update_load_balancer_option.py +12 -12
- huaweicloudsdkelb/v3/model/update_member_option.py +9 -9
- huaweicloudsdkelb/v3/model/update_pool_option.py +15 -15
- huaweicloudsdkelb/v3/model/update_rule_condition.py +3 -3
- {huaweicloudsdkelb-3.1.115.dist-info → huaweicloudsdkelb-3.1.117.dist-info}/METADATA +2 -2
- {huaweicloudsdkelb-3.1.115.dist-info → huaweicloudsdkelb-3.1.117.dist-info}/RECORD +67 -67
- {huaweicloudsdkelb-3.1.115.dist-info → huaweicloudsdkelb-3.1.117.dist-info}/LICENSE +0 -0
- {huaweicloudsdkelb-3.1.115.dist-info → huaweicloudsdkelb-3.1.117.dist-info}/WHEEL +0 -0
- {huaweicloudsdkelb-3.1.115.dist-info → huaweicloudsdkelb-3.1.117.dist-info}/top_level.txt +0 -0
@@ -33,11 +33,11 @@ class SessionPersistence:
|
|
33
33
|
|
34
34
|
The model defined in huaweicloud sdk
|
35
35
|
|
36
|
-
:param cookie_name: cookie名称。 [共享型LB,支持字母、数字、中划线(-)和下划线(_),最大长度64个字符。 独享型LB,支持字母、数字、中划线(-)、下划线(_)和点号(.),最大长度255个字符。](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm) [
|
36
|
+
:param cookie_name: 参数解释:cookie名称。 约束限制: - 只有当type为APP_COOKIE时才有效。其他情况下传该字段会报错。 [取值范围: - 共享型LB,支持字母、数字、中划线(-)和下划线(_),最大长度64个字符。 - 独享型LB,支持字母、数字、中划线(-)、下划线(_)和点号(.),最大长度255个字符。](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm) [取值范围:支持字母、数字、中划线(-)、下划线(_)和点号(.),最大长度255个字符。](tag:hws_eu,hcso_dt) [不支持该字段,请勿使用。](tag:hws_eu,hcso_dt)
|
37
37
|
:type cookie_name: str
|
38
|
-
:param type:
|
38
|
+
:param type: 参数解释:会话保持类型。 [约束限制: - 当pool的protocol为TCP、UDP,无论type取值如何,都会被忽略,会话保持只按SOURCE_IP生效。 - 当pool的protocol为HTTP、HTTPS时。如果是独享型负载均衡器的pool,则type只能为HTTP_COOKIE,其他取值会话保持失效。如果是共享型负载均衡器的pool,则type可以为HTTP_COOKIE和APP_COOKIE,其他取值会话保持失效。 - 若pool的protocol为QUIC,则必须开启session_persistence且type为SOURCE_IP。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt) [约束限制: - 当pool的protocol为TCP、UDP,无论type取值如何,都会被忽略,会话保持只按SOURCE_IP生效。 - 当pool的protocol为HTTP、HTTPS时。type只能为HTTP_COOKIE,其他取值会话保持失效。](tag:hws_eu,hcso_dt) 取值范围:SOURCE_IP、HTTP_COOKIE、APP_COOKIE。 [荷兰region不支持QUIC。](tag:dt,dt_test) [不支持QUIC。](tag:tm)
|
39
39
|
:type type: str
|
40
|
-
:param persistence_timeout:
|
40
|
+
:param persistence_timeout: 参数解释:会话保持的时间。当type为APP_COOKIE时不生效。 取值范围: - 若pool的protocol为TCP、UDP和QUIC则范围为[1,60](分钟),默认值1; - 若pool的protocol为HTTP和HTTPS则范围为[1,1440](分钟),默认值1440。 [荷兰region不支持QUIC。](tag:dt,dt_test)
|
41
41
|
:type persistence_timeout: int
|
42
42
|
"""
|
43
43
|
|
@@ -58,7 +58,7 @@ class SessionPersistence:
|
|
58
58
|
def cookie_name(self):
|
59
59
|
"""Gets the cookie_name of this SessionPersistence.
|
60
60
|
|
61
|
-
cookie名称。 [共享型LB,支持字母、数字、中划线(-)和下划线(_),最大长度64个字符。 独享型LB,支持字母、数字、中划线(-)、下划线(_)和点号(.),最大长度255个字符。](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm) [
|
61
|
+
参数解释:cookie名称。 约束限制: - 只有当type为APP_COOKIE时才有效。其他情况下传该字段会报错。 [取值范围: - 共享型LB,支持字母、数字、中划线(-)和下划线(_),最大长度64个字符。 - 独享型LB,支持字母、数字、中划线(-)、下划线(_)和点号(.),最大长度255个字符。](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm) [取值范围:支持字母、数字、中划线(-)、下划线(_)和点号(.),最大长度255个字符。](tag:hws_eu,hcso_dt) [不支持该字段,请勿使用。](tag:hws_eu,hcso_dt)
|
62
62
|
|
63
63
|
:return: The cookie_name of this SessionPersistence.
|
64
64
|
:rtype: str
|
@@ -69,7 +69,7 @@ class SessionPersistence:
|
|
69
69
|
def cookie_name(self, cookie_name):
|
70
70
|
"""Sets the cookie_name of this SessionPersistence.
|
71
71
|
|
72
|
-
cookie名称。 [共享型LB,支持字母、数字、中划线(-)和下划线(_),最大长度64个字符。 独享型LB,支持字母、数字、中划线(-)、下划线(_)和点号(.),最大长度255个字符。](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm) [
|
72
|
+
参数解释:cookie名称。 约束限制: - 只有当type为APP_COOKIE时才有效。其他情况下传该字段会报错。 [取值范围: - 共享型LB,支持字母、数字、中划线(-)和下划线(_),最大长度64个字符。 - 独享型LB,支持字母、数字、中划线(-)、下划线(_)和点号(.),最大长度255个字符。](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm) [取值范围:支持字母、数字、中划线(-)、下划线(_)和点号(.),最大长度255个字符。](tag:hws_eu,hcso_dt) [不支持该字段,请勿使用。](tag:hws_eu,hcso_dt)
|
73
73
|
|
74
74
|
:param cookie_name: The cookie_name of this SessionPersistence.
|
75
75
|
:type cookie_name: str
|
@@ -80,7 +80,7 @@ class SessionPersistence:
|
|
80
80
|
def type(self):
|
81
81
|
"""Gets the type of this SessionPersistence.
|
82
82
|
|
83
|
-
|
83
|
+
参数解释:会话保持类型。 [约束限制: - 当pool的protocol为TCP、UDP,无论type取值如何,都会被忽略,会话保持只按SOURCE_IP生效。 - 当pool的protocol为HTTP、HTTPS时。如果是独享型负载均衡器的pool,则type只能为HTTP_COOKIE,其他取值会话保持失效。如果是共享型负载均衡器的pool,则type可以为HTTP_COOKIE和APP_COOKIE,其他取值会话保持失效。 - 若pool的protocol为QUIC,则必须开启session_persistence且type为SOURCE_IP。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt) [约束限制: - 当pool的protocol为TCP、UDP,无论type取值如何,都会被忽略,会话保持只按SOURCE_IP生效。 - 当pool的protocol为HTTP、HTTPS时。type只能为HTTP_COOKIE,其他取值会话保持失效。](tag:hws_eu,hcso_dt) 取值范围:SOURCE_IP、HTTP_COOKIE、APP_COOKIE。 [荷兰region不支持QUIC。](tag:dt,dt_test) [不支持QUIC。](tag:tm)
|
84
84
|
|
85
85
|
:return: The type of this SessionPersistence.
|
86
86
|
:rtype: str
|
@@ -91,7 +91,7 @@ class SessionPersistence:
|
|
91
91
|
def type(self, type):
|
92
92
|
"""Sets the type of this SessionPersistence.
|
93
93
|
|
94
|
-
|
94
|
+
参数解释:会话保持类型。 [约束限制: - 当pool的protocol为TCP、UDP,无论type取值如何,都会被忽略,会话保持只按SOURCE_IP生效。 - 当pool的protocol为HTTP、HTTPS时。如果是独享型负载均衡器的pool,则type只能为HTTP_COOKIE,其他取值会话保持失效。如果是共享型负载均衡器的pool,则type可以为HTTP_COOKIE和APP_COOKIE,其他取值会话保持失效。 - 若pool的protocol为QUIC,则必须开启session_persistence且type为SOURCE_IP。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt) [约束限制: - 当pool的protocol为TCP、UDP,无论type取值如何,都会被忽略,会话保持只按SOURCE_IP生效。 - 当pool的protocol为HTTP、HTTPS时。type只能为HTTP_COOKIE,其他取值会话保持失效。](tag:hws_eu,hcso_dt) 取值范围:SOURCE_IP、HTTP_COOKIE、APP_COOKIE。 [荷兰region不支持QUIC。](tag:dt,dt_test) [不支持QUIC。](tag:tm)
|
95
95
|
|
96
96
|
:param type: The type of this SessionPersistence.
|
97
97
|
:type type: str
|
@@ -102,7 +102,7 @@ class SessionPersistence:
|
|
102
102
|
def persistence_timeout(self):
|
103
103
|
"""Gets the persistence_timeout of this SessionPersistence.
|
104
104
|
|
105
|
-
|
105
|
+
参数解释:会话保持的时间。当type为APP_COOKIE时不生效。 取值范围: - 若pool的protocol为TCP、UDP和QUIC则范围为[1,60](分钟),默认值1; - 若pool的protocol为HTTP和HTTPS则范围为[1,1440](分钟),默认值1440。 [荷兰region不支持QUIC。](tag:dt,dt_test)
|
106
106
|
|
107
107
|
:return: The persistence_timeout of this SessionPersistence.
|
108
108
|
:rtype: int
|
@@ -113,7 +113,7 @@ class SessionPersistence:
|
|
113
113
|
def persistence_timeout(self, persistence_timeout):
|
114
114
|
"""Sets the persistence_timeout of this SessionPersistence.
|
115
115
|
|
116
|
-
|
116
|
+
参数解释:会话保持的时间。当type为APP_COOKIE时不生效。 取值范围: - 若pool的protocol为TCP、UDP和QUIC则范围为[1,60](分钟),默认值1; - 若pool的protocol为HTTP和HTTPS则范围为[1,1440](分钟),默认值1440。 [荷兰region不支持QUIC。](tag:dt,dt_test)
|
117
117
|
|
118
118
|
:param persistence_timeout: The persistence_timeout of this SessionPersistence.
|
119
119
|
:type persistence_timeout: int
|
@@ -31,9 +31,9 @@ class SlowStart:
|
|
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 duration:
|
36
|
+
:param duration: 参数解释:慢启动的持续时间。 取值范围:30-1200,单位:秒。 默认取值:30
|
37
37
|
:type duration: int
|
38
38
|
"""
|
39
39
|
|
@@ -50,7 +50,7 @@ class SlowStart:
|
|
50
50
|
def enable(self):
|
51
51
|
"""Gets the enable of this SlowStart.
|
52
52
|
|
53
|
-
|
53
|
+
参数解释:慢启动的开关。 取值范围: - true:开启。 - false:关闭。 默认取值:false
|
54
54
|
|
55
55
|
:return: The enable of this SlowStart.
|
56
56
|
:rtype: bool
|
@@ -61,7 +61,7 @@ class SlowStart:
|
|
61
61
|
def enable(self, enable):
|
62
62
|
"""Sets the enable of this SlowStart.
|
63
63
|
|
64
|
-
|
64
|
+
参数解释:慢启动的开关。 取值范围: - true:开启。 - false:关闭。 默认取值:false
|
65
65
|
|
66
66
|
:param enable: The enable of this SlowStart.
|
67
67
|
:type enable: bool
|
@@ -72,7 +72,7 @@ class SlowStart:
|
|
72
72
|
def duration(self):
|
73
73
|
"""Gets the duration of this SlowStart.
|
74
74
|
|
75
|
-
|
75
|
+
参数解释:慢启动的持续时间。 取值范围:30-1200,单位:秒。 默认取值:30
|
76
76
|
|
77
77
|
:return: The duration of this SlowStart.
|
78
78
|
:rtype: int
|
@@ -83,7 +83,7 @@ class SlowStart:
|
|
83
83
|
def duration(self, duration):
|
84
84
|
"""Sets the duration of this SlowStart.
|
85
85
|
|
86
|
-
|
86
|
+
参数解释:慢启动的持续时间。 取值范围:30-1200,单位:秒。 默认取值:30
|
87
87
|
|
88
88
|
:param duration: The duration of this SlowStart.
|
89
89
|
:type duration: int
|
@@ -57,7 +57,7 @@ class UpdateHealthMonitorOption:
|
|
57
57
|
:type delay: int
|
58
58
|
:param domain_name: 发送健康检查请求的域名。 取值:以数字或字母开头,只能包含数字、字母、’-’、’.’。 不能传空,但可传null或不传,表示使用负载均衡器的vip作为http请求的目的地址。 使用说明:当type为HTTP/HTTPS时生效。
|
59
59
|
:type domain_name: str
|
60
|
-
:param expected_codes: 期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 仅支持HTTP/HTTPS/
|
60
|
+
:param expected_codes: 期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 仅支持HTTP/HTTPS/GRPC设置该字段,其他协议设置不会生效。
|
61
61
|
:type expected_codes: str
|
62
62
|
:param http_method: HTTP请求方法。 取值:GET、HEAD、POST,默认GET。 使用说明:当type为HTTP/HTTPS时生效。
|
63
63
|
:type http_method: str
|
@@ -65,7 +65,7 @@ class UpdateHealthMonitorOption:
|
|
65
65
|
:type max_retries: int
|
66
66
|
:param max_retries_down: 健康检查连续失败多少次后,将后端服务器的健康检查状态由ONLINE判定为OFFLINE。取值范围:1-10。
|
67
67
|
:type max_retries_down: int
|
68
|
-
:param monitor_port: 健康检查端口号。取值:1-65535,不可传入空,但可传入null
|
68
|
+
:param monitor_port: 健康检查端口号。取值:1-65535,不可传入空,但可传入null,表示使用后端服务器端口号。[当pool协议为IP时,monitor_port必须指定为非0值。](tag:hws_eu)
|
69
69
|
:type monitor_port: int
|
70
70
|
:param name: 健康检查名称。
|
71
71
|
:type name: str
|
@@ -73,7 +73,7 @@ class UpdateHealthMonitorOption:
|
|
73
73
|
:type timeout: int
|
74
74
|
:param url_path: 健康检查请求的请求路径。以\"/\"开头,默认为\"/\"。 支持使用字母、数字和短划线(-)、正斜线(/)、半角句号(.)、百分号(%)、半角问号(?)、井号(#)和and(&)以及扩展字符集_;~!()*[]@$^:',+ 使用说明:当type为HTTP/HTTPS时生效。
|
75
75
|
:type url_path: str
|
76
|
-
:param type: 健康检查请求协议。 取值:TCP、UDP_CONNECT、HTTP、HTTPS、TLS和
|
76
|
+
:param type: 健康检查请求协议。 取值:TCP、UDP_CONNECT、HTTP、HTTPS、TLS和GRPC。 使用说明: - 若pool的protocol为QUIC,则type只能是UDP_CONNECT。 - 若pool的protocol为UDP,则type只能UDP_CONNECT。 - 若pool的protocol为TCP,则type可以是TCP、HTTP、HTTPS。 [- 若pool的protocol为IP,则type可以是TCP、HTTP、HTTPS。](tag:hws_eu) - 若pool的protocol为HTTP,则type可以是TCP、HTTP、HTTPS、TLS、GRPC。 - 若pool的protocol为HTTPS,则type可以是TCP、HTTP、HTTPS、TLS、GRPC。 - 若pool的protocol为GRPC,则type可以是TCP、HTTP、HTTPS、TLS、GRPC。 - 若pool的protocol为TLS,则type可以是TCP、HTTP、HTTPS、TLS、GRPC。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC。](tag:dt,dt_test)
|
77
77
|
:type type: str
|
78
78
|
"""
|
79
79
|
|
@@ -188,7 +188,7 @@ class UpdateHealthMonitorOption:
|
|
188
188
|
def expected_codes(self):
|
189
189
|
"""Gets the expected_codes of this UpdateHealthMonitorOption.
|
190
190
|
|
191
|
-
期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 仅支持HTTP/HTTPS/
|
191
|
+
期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 仅支持HTTP/HTTPS/GRPC设置该字段,其他协议设置不会生效。
|
192
192
|
|
193
193
|
:return: The expected_codes of this UpdateHealthMonitorOption.
|
194
194
|
:rtype: str
|
@@ -199,7 +199,7 @@ class UpdateHealthMonitorOption:
|
|
199
199
|
def expected_codes(self, expected_codes):
|
200
200
|
"""Sets the expected_codes of this UpdateHealthMonitorOption.
|
201
201
|
|
202
|
-
期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 仅支持HTTP/HTTPS/
|
202
|
+
期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 仅支持HTTP/HTTPS/GRPC设置该字段,其他协议设置不会生效。
|
203
203
|
|
204
204
|
:param expected_codes: The expected_codes of this UpdateHealthMonitorOption.
|
205
205
|
:type expected_codes: str
|
@@ -276,7 +276,7 @@ class UpdateHealthMonitorOption:
|
|
276
276
|
def monitor_port(self):
|
277
277
|
"""Gets the monitor_port of this UpdateHealthMonitorOption.
|
278
278
|
|
279
|
-
健康检查端口号。取值:1-65535,不可传入空,但可传入null
|
279
|
+
健康检查端口号。取值:1-65535,不可传入空,但可传入null,表示使用后端服务器端口号。[当pool协议为IP时,monitor_port必须指定为非0值。](tag:hws_eu)
|
280
280
|
|
281
281
|
:return: The monitor_port of this UpdateHealthMonitorOption.
|
282
282
|
:rtype: int
|
@@ -287,7 +287,7 @@ class UpdateHealthMonitorOption:
|
|
287
287
|
def monitor_port(self, monitor_port):
|
288
288
|
"""Sets the monitor_port of this UpdateHealthMonitorOption.
|
289
289
|
|
290
|
-
健康检查端口号。取值:1-65535,不可传入空,但可传入null
|
290
|
+
健康检查端口号。取值:1-65535,不可传入空,但可传入null,表示使用后端服务器端口号。[当pool协议为IP时,monitor_port必须指定为非0值。](tag:hws_eu)
|
291
291
|
|
292
292
|
:param monitor_port: The monitor_port of this UpdateHealthMonitorOption.
|
293
293
|
:type monitor_port: int
|
@@ -364,7 +364,7 @@ class UpdateHealthMonitorOption:
|
|
364
364
|
def type(self):
|
365
365
|
"""Gets the type of this UpdateHealthMonitorOption.
|
366
366
|
|
367
|
-
健康检查请求协议。 取值:TCP、UDP_CONNECT、HTTP、HTTPS、TLS和
|
367
|
+
健康检查请求协议。 取值:TCP、UDP_CONNECT、HTTP、HTTPS、TLS和GRPC。 使用说明: - 若pool的protocol为QUIC,则type只能是UDP_CONNECT。 - 若pool的protocol为UDP,则type只能UDP_CONNECT。 - 若pool的protocol为TCP,则type可以是TCP、HTTP、HTTPS。 [- 若pool的protocol为IP,则type可以是TCP、HTTP、HTTPS。](tag:hws_eu) - 若pool的protocol为HTTP,则type可以是TCP、HTTP、HTTPS、TLS、GRPC。 - 若pool的protocol为HTTPS,则type可以是TCP、HTTP、HTTPS、TLS、GRPC。 - 若pool的protocol为GRPC,则type可以是TCP、HTTP、HTTPS、TLS、GRPC。 - 若pool的protocol为TLS,则type可以是TCP、HTTP、HTTPS、TLS、GRPC。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC。](tag:dt,dt_test)
|
368
368
|
|
369
369
|
:return: The type of this UpdateHealthMonitorOption.
|
370
370
|
:rtype: str
|
@@ -375,7 +375,7 @@ class UpdateHealthMonitorOption:
|
|
375
375
|
def type(self, type):
|
376
376
|
"""Sets the type of this UpdateHealthMonitorOption.
|
377
377
|
|
378
|
-
健康检查请求协议。 取值:TCP、UDP_CONNECT、HTTP、HTTPS、TLS和
|
378
|
+
健康检查请求协议。 取值:TCP、UDP_CONNECT、HTTP、HTTPS、TLS和GRPC。 使用说明: - 若pool的protocol为QUIC,则type只能是UDP_CONNECT。 - 若pool的protocol为UDP,则type只能UDP_CONNECT。 - 若pool的protocol为TCP,则type可以是TCP、HTTP、HTTPS。 [- 若pool的protocol为IP,则type可以是TCP、HTTP、HTTPS。](tag:hws_eu) - 若pool的protocol为HTTP,则type可以是TCP、HTTP、HTTPS、TLS、GRPC。 - 若pool的protocol为HTTPS,则type可以是TCP、HTTP、HTTPS、TLS、GRPC。 - 若pool的protocol为GRPC,则type可以是TCP、HTTP、HTTPS、TLS、GRPC。 - 若pool的protocol为TLS,则type可以是TCP、HTTP、HTTPS、TLS、GRPC。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC。](tag:dt,dt_test)
|
379
379
|
|
380
380
|
:param type: The type of this UpdateHealthMonitorOption.
|
381
381
|
:type type: str
|
@@ -81,7 +81,7 @@ class UpdateListenerOption:
|
|
81
81
|
:type admin_state_up: bool
|
82
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
86
|
:param default_tls_container_ref: 参数解释:监听器使用的服务器证书ID。 约束限制:当监听器协议为HTTPS时,该字段必传,且对应的证书的type必须是server类型。
|
87
87
|
:type default_tls_container_ref: str
|
@@ -97,7 +97,7 @@ class UpdateListenerOption:
|
|
97
97
|
:type sni_container_refs: list[str]
|
98
98
|
:param sni_match_algo: 参数解释:监听器使用的SNI证书泛域名匹配方式。 取值范围: - longest_suffix表示最长尾缀匹配。 - wildcard表示标准域名分级匹配。 默认取值:wildcard。
|
99
99
|
:type sni_match_algo: str
|
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)
|
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
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
|
@@ -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
|
@@ -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
|
-
参数解释:监听器使用的安全策略。 [约束限制: - 仅对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)
|
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
|
-
参数解释:监听器使用的安全策略。 [约束限制: - 仅对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)
|
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
|
@@ -73,17 +73,17 @@ class UpdateLoadBalancerOption:
|
|
73
73
|
:type description: str
|
74
74
|
:param ipv6_vip_virsubnet_id: 参数解释:双栈类型负载均衡器所在子网的IPv6网络ID,也称为该负载均衡器实例的前端子网。可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_network_id得到。 通过更新ipv6_vip_virsubnet_id可以更新负载均衡器所在IPv6子网,且负载均衡器的内网IPv6地址将发生变化。 约束限制: - ipv6_vip_virsubnet_id 对应的子网必须属于当前负载均衡器所在VPC,且子网需开启支持IPv6。 - 只有guaranteed是true的负载均衡器才支持更新ipv6_vip_virsubnet_id。 - *传入为null表示解绑IPv6子网。* - 更新IPv6子网不会导致IPv4子网发生变化。 [不支持IPv6,请勿使用。](tag:dt,dt_test)
|
75
75
|
:type ipv6_vip_virsubnet_id: str
|
76
|
-
:param vip_subnet_cidr_id: 参数解释:负载均衡器所在的IPv4子网ID,也称为该负载均衡器实例的前端子网。可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_subnet_id得到。 通过更新vip_subnet_cidr_id可以更新负载均衡器所在IPv4子网,并且负载均衡器的内网IPv4地址将发生变化。 约束限制: - 若同时设置了vip_address,则必须保证vip_address对应的IP在vip_subnet_cidr_id的子网网段中。 - vip_subnet_cidr_id对应的子网必须属于当前负载均衡器vpc_id对应的VPC。 - 只有guaranteed是true的负载均衡器才支持更新vip_subnet_cidr_id。 - *传入null表示解绑IPv4子网。* - 更新
|
76
|
+
:param vip_subnet_cidr_id: 参数解释:负载均衡器所在的IPv4子网ID,也称为该负载均衡器实例的前端子网。可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_subnet_id得到。 通过更新vip_subnet_cidr_id可以更新负载均衡器所在IPv4子网,并且负载均衡器的内网IPv4地址将发生变化。 约束限制: - 若同时设置了vip_address,则必须保证vip_address对应的IP在vip_subnet_cidr_id的子网网段中。 - vip_subnet_cidr_id对应的子网必须属于当前负载均衡器vpc_id对应的VPC。 - 只有guaranteed是true的负载均衡器才支持更新vip_subnet_cidr_id。 - *传入null表示解绑IPv4子网。* - 更新IPv6子网不会导致IPv4子网发生变化。
|
77
77
|
:type vip_subnet_cidr_id: str
|
78
78
|
:param vip_address: 参数解释:负载均衡器的IPv4虚拟IP。 约束限制:该地址必须包含在所在子网的IPv4网段内,且未被占用。 注:仅当guaranteed是true的场合,才支持更新。
|
79
79
|
:type vip_address: str
|
80
|
-
:param l4_flavor_id: 参数解释:网络型规格ID。 [约束限制: - 可以通过GET https://{ELB_Endpoint}/v3/{project_id}/elb/flavors?type=L4 响应参数中的id得到。 - 仅当guaranteed是true的场合,才支持更新。 - 可以支持规格改大改小,注意改小过程中可能会造成部分长连接中断,影响部分链接的新建, - autoscaling.enable=true时,修改无意义,不生效。 - 当传入的规格类型为L4,表示该实例为固定规格实例,按规格计费。 - 当传入的规格类型为L4_elastic_max,表示该实例为弹性实例,按LCU计费。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,dt)
|
80
|
+
:param l4_flavor_id: 参数解释:网络型规格ID。 [约束限制: - 可以通过GET https://{ELB_Endpoint}/v3/{project_id}/elb/flavors?type=L4 响应参数中的id得到。 - 仅当guaranteed是true的场合,才支持更新。 - 可以支持规格改大改小,注意改小过程中可能会造成部分长连接中断,影响部分链接的新建, - autoscaling.enable=true时,修改无意义,不生效。 - 当传入的规格类型为L4,表示该实例为固定规格实例,按规格计费。 - 当传入的规格类型为L4_elastic_max,表示该实例为弹性实例,按LCU计费。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,dt) [网关型LB不支持指定l4_flavor_id。](tag:hws_eu) [只支持设置为l4_flavor.elb.shared。](tag:hcso_dt) [hcso场景下所有LB实例共享带宽,该字段无效,请勿使用。](tag:hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
81
81
|
:type l4_flavor_id: str
|
82
|
-
:param l7_flavor_id: 参数解释:应用型ID。 [约束限制: - 可以通过GET https://{ELB_Endpoint}/v3/{project_id}/elb/flavors?type=L7 响应参数中的id得到。 - 仅当guaranteed是true的场合,才支持更新。 - 可以支持规格改大改小,注意改小过程中可能会造成部分长连接中断,影响部分链接的新建, - autoscaling.enable=true时,修改无意义,不生效。 - 当传入的规格类型为L7,表示该实例为固定规格实例,按规格计费。 - 当传入的规格类型为L7_elastic_max,表示该实例为弹性实例,按LCU计费。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,dt)
|
82
|
+
:param l7_flavor_id: 参数解释:应用型ID。 [约束限制: - 可以通过GET https://{ELB_Endpoint}/v3/{project_id}/elb/flavors?type=L7 响应参数中的id得到。 - 仅当guaranteed是true的场合,才支持更新。 - 可以支持规格改大改小,注意改小过程中可能会造成部分长连接中断,影响部分链接的新建, - autoscaling.enable=true时,修改无意义,不生效。 - 当传入的规格类型为L7,表示该实例为固定规格实例,按规格计费。 - 当传入的规格类型为L7_elastic_max,表示该实例为弹性实例,按LCU计费。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,dt) [网关型LB不支持指定l7_flavor_id。](tag:hws_eu) [只支持设置为l7_flavor.elb.shared。](tag:hcso_dt) [所有LB实例共享带宽,该字段无效,请勿使用。](tag:hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
83
83
|
:type l7_flavor_id: str
|
84
84
|
:param ipv6_bandwidth:
|
85
85
|
:type ipv6_bandwidth: :class:`huaweicloudsdkelb.v3.BandwidthRef`
|
86
|
-
:param ip_target_enable: 参数解释:是否启用跨VPC后端转发。 开启跨VPC后端转发后,后端服务器组不仅支持添加云上VPC内的服务器,还支持添加其他VPC、其他公有云、云下数据中心的服务器。 约束限制: - 使用共享VPC的实例使用此特性时,需确保共享资源所有者已开通VPC对等连接,否则通信异常。
|
86
|
+
:param ip_target_enable: 参数解释:是否启用跨VPC后端转发。 开启跨VPC后端转发后,后端服务器组不仅支持添加云上VPC内的服务器,还支持添加其他VPC、其他公有云、云下数据中心的服务器。 约束限制: - 开启后不能关闭。 - 使用共享VPC的实例使用此特性时,需确保共享资源所有者已开通VPC对等连接,否则通信异常。 [- 仅独享型负载均衡器支持该特性。](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt) [- 网关型LB不支持该特性。](tag:hws_eu) 取值范围: - true:开启。 - false:不开启。 [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
|
87
87
|
:type ip_target_enable: bool
|
88
88
|
:param elb_virsubnet_ids: 参数解释:下联面子网的网络ID列表。 可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_network_id得到。 约束限制: - 已绑定的下联面子网也在传参elb_virsubnet_ids列表中,则绑定关系保留。 - 已绑定的下联面子网若不在传参elb_virsubnet_ids列表中, 则将移除LB与该下联面子网的关联关系。但不允许移除已被ELB使用的子网,否则将报错,不做任何修改。 - 在传参elb_virsubnet_ids列表中但不在已绑定的下联面子网列表中,则将新增LB与下联面的绑定关系。 - 所有elb_virsubnet_ids中的ID同属于该LB所在的VPC。 - 不支持边缘云子网。
|
89
89
|
:type elb_virsubnet_ids: list[str]
|
@@ -259,7 +259,7 @@ class UpdateLoadBalancerOption:
|
|
259
259
|
def vip_subnet_cidr_id(self):
|
260
260
|
"""Gets the vip_subnet_cidr_id of this UpdateLoadBalancerOption.
|
261
261
|
|
262
|
-
参数解释:负载均衡器所在的IPv4子网ID,也称为该负载均衡器实例的前端子网。可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_subnet_id得到。 通过更新vip_subnet_cidr_id可以更新负载均衡器所在IPv4子网,并且负载均衡器的内网IPv4地址将发生变化。 约束限制: - 若同时设置了vip_address,则必须保证vip_address对应的IP在vip_subnet_cidr_id的子网网段中。 - vip_subnet_cidr_id对应的子网必须属于当前负载均衡器vpc_id对应的VPC。 - 只有guaranteed是true的负载均衡器才支持更新vip_subnet_cidr_id。 - *传入null表示解绑IPv4子网。* - 更新
|
262
|
+
参数解释:负载均衡器所在的IPv4子网ID,也称为该负载均衡器实例的前端子网。可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_subnet_id得到。 通过更新vip_subnet_cidr_id可以更新负载均衡器所在IPv4子网,并且负载均衡器的内网IPv4地址将发生变化。 约束限制: - 若同时设置了vip_address,则必须保证vip_address对应的IP在vip_subnet_cidr_id的子网网段中。 - vip_subnet_cidr_id对应的子网必须属于当前负载均衡器vpc_id对应的VPC。 - 只有guaranteed是true的负载均衡器才支持更新vip_subnet_cidr_id。 - *传入null表示解绑IPv4子网。* - 更新IPv6子网不会导致IPv4子网发生变化。
|
263
263
|
|
264
264
|
:return: The vip_subnet_cidr_id of this UpdateLoadBalancerOption.
|
265
265
|
:rtype: str
|
@@ -270,7 +270,7 @@ class UpdateLoadBalancerOption:
|
|
270
270
|
def vip_subnet_cidr_id(self, vip_subnet_cidr_id):
|
271
271
|
"""Sets the vip_subnet_cidr_id of this UpdateLoadBalancerOption.
|
272
272
|
|
273
|
-
参数解释:负载均衡器所在的IPv4子网ID,也称为该负载均衡器实例的前端子网。可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_subnet_id得到。 通过更新vip_subnet_cidr_id可以更新负载均衡器所在IPv4子网,并且负载均衡器的内网IPv4地址将发生变化。 约束限制: - 若同时设置了vip_address,则必须保证vip_address对应的IP在vip_subnet_cidr_id的子网网段中。 - vip_subnet_cidr_id对应的子网必须属于当前负载均衡器vpc_id对应的VPC。 - 只有guaranteed是true的负载均衡器才支持更新vip_subnet_cidr_id。 - *传入null表示解绑IPv4子网。* - 更新
|
273
|
+
参数解释:负载均衡器所在的IPv4子网ID,也称为该负载均衡器实例的前端子网。可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_subnet_id得到。 通过更新vip_subnet_cidr_id可以更新负载均衡器所在IPv4子网,并且负载均衡器的内网IPv4地址将发生变化。 约束限制: - 若同时设置了vip_address,则必须保证vip_address对应的IP在vip_subnet_cidr_id的子网网段中。 - vip_subnet_cidr_id对应的子网必须属于当前负载均衡器vpc_id对应的VPC。 - 只有guaranteed是true的负载均衡器才支持更新vip_subnet_cidr_id。 - *传入null表示解绑IPv4子网。* - 更新IPv6子网不会导致IPv4子网发生变化。
|
274
274
|
|
275
275
|
:param vip_subnet_cidr_id: The vip_subnet_cidr_id of this UpdateLoadBalancerOption.
|
276
276
|
:type vip_subnet_cidr_id: str
|
@@ -303,7 +303,7 @@ class UpdateLoadBalancerOption:
|
|
303
303
|
def l4_flavor_id(self):
|
304
304
|
"""Gets the l4_flavor_id of this UpdateLoadBalancerOption.
|
305
305
|
|
306
|
-
参数解释:网络型规格ID。 [约束限制: - 可以通过GET https://{ELB_Endpoint}/v3/{project_id}/elb/flavors?type=L4 响应参数中的id得到。 - 仅当guaranteed是true的场合,才支持更新。 - 可以支持规格改大改小,注意改小过程中可能会造成部分长连接中断,影响部分链接的新建, - autoscaling.enable=true时,修改无意义,不生效。 - 当传入的规格类型为L4,表示该实例为固定规格实例,按规格计费。 - 当传入的规格类型为L4_elastic_max,表示该实例为弹性实例,按LCU计费。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,dt)
|
306
|
+
参数解释:网络型规格ID。 [约束限制: - 可以通过GET https://{ELB_Endpoint}/v3/{project_id}/elb/flavors?type=L4 响应参数中的id得到。 - 仅当guaranteed是true的场合,才支持更新。 - 可以支持规格改大改小,注意改小过程中可能会造成部分长连接中断,影响部分链接的新建, - autoscaling.enable=true时,修改无意义,不生效。 - 当传入的规格类型为L4,表示该实例为固定规格实例,按规格计费。 - 当传入的规格类型为L4_elastic_max,表示该实例为弹性实例,按LCU计费。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,dt) [网关型LB不支持指定l4_flavor_id。](tag:hws_eu) [只支持设置为l4_flavor.elb.shared。](tag:hcso_dt) [hcso场景下所有LB实例共享带宽,该字段无效,请勿使用。](tag:hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
307
307
|
|
308
308
|
:return: The l4_flavor_id of this UpdateLoadBalancerOption.
|
309
309
|
:rtype: str
|
@@ -314,7 +314,7 @@ class UpdateLoadBalancerOption:
|
|
314
314
|
def l4_flavor_id(self, l4_flavor_id):
|
315
315
|
"""Sets the l4_flavor_id of this UpdateLoadBalancerOption.
|
316
316
|
|
317
|
-
参数解释:网络型规格ID。 [约束限制: - 可以通过GET https://{ELB_Endpoint}/v3/{project_id}/elb/flavors?type=L4 响应参数中的id得到。 - 仅当guaranteed是true的场合,才支持更新。 - 可以支持规格改大改小,注意改小过程中可能会造成部分长连接中断,影响部分链接的新建, - autoscaling.enable=true时,修改无意义,不生效。 - 当传入的规格类型为L4,表示该实例为固定规格实例,按规格计费。 - 当传入的规格类型为L4_elastic_max,表示该实例为弹性实例,按LCU计费。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,dt)
|
317
|
+
参数解释:网络型规格ID。 [约束限制: - 可以通过GET https://{ELB_Endpoint}/v3/{project_id}/elb/flavors?type=L4 响应参数中的id得到。 - 仅当guaranteed是true的场合,才支持更新。 - 可以支持规格改大改小,注意改小过程中可能会造成部分长连接中断,影响部分链接的新建, - autoscaling.enable=true时,修改无意义,不生效。 - 当传入的规格类型为L4,表示该实例为固定规格实例,按规格计费。 - 当传入的规格类型为L4_elastic_max,表示该实例为弹性实例,按LCU计费。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,dt) [网关型LB不支持指定l4_flavor_id。](tag:hws_eu) [只支持设置为l4_flavor.elb.shared。](tag:hcso_dt) [hcso场景下所有LB实例共享带宽,该字段无效,请勿使用。](tag:hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
318
318
|
|
319
319
|
:param l4_flavor_id: The l4_flavor_id of this UpdateLoadBalancerOption.
|
320
320
|
:type l4_flavor_id: str
|
@@ -325,7 +325,7 @@ class UpdateLoadBalancerOption:
|
|
325
325
|
def l7_flavor_id(self):
|
326
326
|
"""Gets the l7_flavor_id of this UpdateLoadBalancerOption.
|
327
327
|
|
328
|
-
参数解释:应用型ID。 [约束限制: - 可以通过GET https://{ELB_Endpoint}/v3/{project_id}/elb/flavors?type=L7 响应参数中的id得到。 - 仅当guaranteed是true的场合,才支持更新。 - 可以支持规格改大改小,注意改小过程中可能会造成部分长连接中断,影响部分链接的新建, - autoscaling.enable=true时,修改无意义,不生效。 - 当传入的规格类型为L7,表示该实例为固定规格实例,按规格计费。 - 当传入的规格类型为L7_elastic_max,表示该实例为弹性实例,按LCU计费。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,dt)
|
328
|
+
参数解释:应用型ID。 [约束限制: - 可以通过GET https://{ELB_Endpoint}/v3/{project_id}/elb/flavors?type=L7 响应参数中的id得到。 - 仅当guaranteed是true的场合,才支持更新。 - 可以支持规格改大改小,注意改小过程中可能会造成部分长连接中断,影响部分链接的新建, - autoscaling.enable=true时,修改无意义,不生效。 - 当传入的规格类型为L7,表示该实例为固定规格实例,按规格计费。 - 当传入的规格类型为L7_elastic_max,表示该实例为弹性实例,按LCU计费。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,dt) [网关型LB不支持指定l7_flavor_id。](tag:hws_eu) [只支持设置为l7_flavor.elb.shared。](tag:hcso_dt) [所有LB实例共享带宽,该字段无效,请勿使用。](tag:hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
329
329
|
|
330
330
|
:return: The l7_flavor_id of this UpdateLoadBalancerOption.
|
331
331
|
:rtype: str
|
@@ -336,7 +336,7 @@ class UpdateLoadBalancerOption:
|
|
336
336
|
def l7_flavor_id(self, l7_flavor_id):
|
337
337
|
"""Sets the l7_flavor_id of this UpdateLoadBalancerOption.
|
338
338
|
|
339
|
-
参数解释:应用型ID。 [约束限制: - 可以通过GET https://{ELB_Endpoint}/v3/{project_id}/elb/flavors?type=L7 响应参数中的id得到。 - 仅当guaranteed是true的场合,才支持更新。 - 可以支持规格改大改小,注意改小过程中可能会造成部分长连接中断,影响部分链接的新建, - autoscaling.enable=true时,修改无意义,不生效。 - 当传入的规格类型为L7,表示该实例为固定规格实例,按规格计费。 - 当传入的规格类型为L7_elastic_max,表示该实例为弹性实例,按LCU计费。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,dt)
|
339
|
+
参数解释:应用型ID。 [约束限制: - 可以通过GET https://{ELB_Endpoint}/v3/{project_id}/elb/flavors?type=L7 响应参数中的id得到。 - 仅当guaranteed是true的场合,才支持更新。 - 可以支持规格改大改小,注意改小过程中可能会造成部分长连接中断,影响部分链接的新建, - autoscaling.enable=true时,修改无意义,不生效。 - 当传入的规格类型为L7,表示该实例为固定规格实例,按规格计费。 - 当传入的规格类型为L7_elastic_max,表示该实例为弹性实例,按LCU计费。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,dt) [网关型LB不支持指定l7_flavor_id。](tag:hws_eu) [只支持设置为l7_flavor.elb.shared。](tag:hcso_dt) [所有LB实例共享带宽,该字段无效,请勿使用。](tag:hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
340
340
|
|
341
341
|
:param l7_flavor_id: The l7_flavor_id of this UpdateLoadBalancerOption.
|
342
342
|
:type l7_flavor_id: str
|
@@ -365,7 +365,7 @@ class UpdateLoadBalancerOption:
|
|
365
365
|
def ip_target_enable(self):
|
366
366
|
"""Gets the ip_target_enable of this UpdateLoadBalancerOption.
|
367
367
|
|
368
|
-
参数解释:是否启用跨VPC后端转发。 开启跨VPC后端转发后,后端服务器组不仅支持添加云上VPC内的服务器,还支持添加其他VPC、其他公有云、云下数据中心的服务器。 约束限制: - 使用共享VPC的实例使用此特性时,需确保共享资源所有者已开通VPC对等连接,否则通信异常。
|
368
|
+
参数解释:是否启用跨VPC后端转发。 开启跨VPC后端转发后,后端服务器组不仅支持添加云上VPC内的服务器,还支持添加其他VPC、其他公有云、云下数据中心的服务器。 约束限制: - 开启后不能关闭。 - 使用共享VPC的实例使用此特性时,需确保共享资源所有者已开通VPC对等连接,否则通信异常。 [- 仅独享型负载均衡器支持该特性。](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt) [- 网关型LB不支持该特性。](tag:hws_eu) 取值范围: - true:开启。 - false:不开启。 [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
|
369
369
|
|
370
370
|
:return: The ip_target_enable of this UpdateLoadBalancerOption.
|
371
371
|
:rtype: bool
|
@@ -376,7 +376,7 @@ class UpdateLoadBalancerOption:
|
|
376
376
|
def ip_target_enable(self, ip_target_enable):
|
377
377
|
"""Sets the ip_target_enable of this UpdateLoadBalancerOption.
|
378
378
|
|
379
|
-
参数解释:是否启用跨VPC后端转发。 开启跨VPC后端转发后,后端服务器组不仅支持添加云上VPC内的服务器,还支持添加其他VPC、其他公有云、云下数据中心的服务器。 约束限制: - 使用共享VPC的实例使用此特性时,需确保共享资源所有者已开通VPC对等连接,否则通信异常。
|
379
|
+
参数解释:是否启用跨VPC后端转发。 开启跨VPC后端转发后,后端服务器组不仅支持添加云上VPC内的服务器,还支持添加其他VPC、其他公有云、云下数据中心的服务器。 约束限制: - 开启后不能关闭。 - 使用共享VPC的实例使用此特性时,需确保共享资源所有者已开通VPC对等连接,否则通信异常。 [- 仅独享型负载均衡器支持该特性。](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt) [- 网关型LB不支持该特性。](tag:hws_eu) 取值范围: - true:开启。 - false:不开启。 [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
|
380
380
|
|
381
381
|
:param ip_target_enable: The ip_target_enable of this UpdateLoadBalancerOption.
|
382
382
|
:type ip_target_enable: bool
|
@@ -35,11 +35,11 @@ class UpdateMemberOption:
|
|
35
35
|
|
36
36
|
The model defined in huaweicloud sdk
|
37
37
|
|
38
|
-
:param admin_state_up:
|
38
|
+
:param admin_state_up: 后端服务器的管理状态。 取值:true、false。 虽然创建、更新请求支持该字段,但实际取值决定于后端服务器对应的弹性云服务器是否存在。若存在,该值为true,否则,该值为false。 请勿传入该字段。
|
39
39
|
:type admin_state_up: bool
|
40
|
-
:param name:
|
40
|
+
:param name: 后端服务器名称。
|
41
41
|
:type name: str
|
42
|
-
:param weight:
|
42
|
+
:param weight: 后端服务器的权重,请求将根据pool配置的负载均衡算法和后端服务器的权重进行负载分发。 权重值越大,分发的请求越多。权重为0的后端不再接受新的请求。 取值:0-100,默认1。 使用说明:若所在pool的lb_algorithm取值为SOURCE_IP或QUIC_CID,该字段无效。
|
43
43
|
:type weight: int
|
44
44
|
:param protocol_port: 后端服务器端口。 在开启端口透传的pool下的member,该字段无法更新。 [网关型LB,即pool协议为IP时,protocol_port必须设置为0。](tag:hws_eu)
|
45
45
|
:type protocol_port: int
|
@@ -66,7 +66,7 @@ class UpdateMemberOption:
|
|
66
66
|
def admin_state_up(self):
|
67
67
|
"""Gets the admin_state_up of this UpdateMemberOption.
|
68
68
|
|
69
|
-
|
69
|
+
后端服务器的管理状态。 取值:true、false。 虽然创建、更新请求支持该字段,但实际取值决定于后端服务器对应的弹性云服务器是否存在。若存在,该值为true,否则,该值为false。 请勿传入该字段。
|
70
70
|
|
71
71
|
:return: The admin_state_up of this UpdateMemberOption.
|
72
72
|
:rtype: bool
|
@@ -77,7 +77,7 @@ class UpdateMemberOption:
|
|
77
77
|
def admin_state_up(self, admin_state_up):
|
78
78
|
"""Sets the admin_state_up of this UpdateMemberOption.
|
79
79
|
|
80
|
-
|
80
|
+
后端服务器的管理状态。 取值:true、false。 虽然创建、更新请求支持该字段,但实际取值决定于后端服务器对应的弹性云服务器是否存在。若存在,该值为true,否则,该值为false。 请勿传入该字段。
|
81
81
|
|
82
82
|
:param admin_state_up: The admin_state_up of this UpdateMemberOption.
|
83
83
|
:type admin_state_up: bool
|
@@ -88,7 +88,7 @@ class UpdateMemberOption:
|
|
88
88
|
def name(self):
|
89
89
|
"""Gets the name of this UpdateMemberOption.
|
90
90
|
|
91
|
-
|
91
|
+
后端服务器名称。
|
92
92
|
|
93
93
|
:return: The name of this UpdateMemberOption.
|
94
94
|
:rtype: str
|
@@ -99,7 +99,7 @@ class UpdateMemberOption:
|
|
99
99
|
def name(self, name):
|
100
100
|
"""Sets the name of this UpdateMemberOption.
|
101
101
|
|
102
|
-
|
102
|
+
后端服务器名称。
|
103
103
|
|
104
104
|
:param name: The name of this UpdateMemberOption.
|
105
105
|
:type name: str
|
@@ -110,7 +110,7 @@ class UpdateMemberOption:
|
|
110
110
|
def weight(self):
|
111
111
|
"""Gets the weight of this UpdateMemberOption.
|
112
112
|
|
113
|
-
|
113
|
+
后端服务器的权重,请求将根据pool配置的负载均衡算法和后端服务器的权重进行负载分发。 权重值越大,分发的请求越多。权重为0的后端不再接受新的请求。 取值:0-100,默认1。 使用说明:若所在pool的lb_algorithm取值为SOURCE_IP或QUIC_CID,该字段无效。
|
114
114
|
|
115
115
|
:return: The weight of this UpdateMemberOption.
|
116
116
|
:rtype: int
|
@@ -121,7 +121,7 @@ class UpdateMemberOption:
|
|
121
121
|
def weight(self, weight):
|
122
122
|
"""Sets the weight of this UpdateMemberOption.
|
123
123
|
|
124
|
-
|
124
|
+
后端服务器的权重,请求将根据pool配置的负载均衡算法和后端服务器的权重进行负载分发。 权重值越大,分发的请求越多。权重为0的后端不再接受新的请求。 取值:0-100,默认1。 使用说明:若所在pool的lb_algorithm取值为SOURCE_IP或QUIC_CID,该字段无效。
|
125
125
|
|
126
126
|
:param weight: The weight of this UpdateMemberOption.
|
127
127
|
:type weight: int
|
@@ -55,13 +55,13 @@ class UpdatePoolOption:
|
|
55
55
|
|
56
56
|
The model defined in huaweicloud sdk
|
57
57
|
|
58
|
-
:param admin_state_up:
|
58
|
+
:param admin_state_up: 后端服务器组的管理状态,只支持更新为true。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
|
59
59
|
:type admin_state_up: bool
|
60
|
-
:param description:
|
60
|
+
:param description: 后端服务器组的描述信息。
|
61
61
|
:type description: str
|
62
|
-
:param lb_algorithm:
|
62
|
+
:param lb_algorithm: 后端服务器组的负载均衡算法。 取值: - ROUND_ROBIN:加权轮询算法。 - LEAST_CONNECTIONS:加权最少连接算法。 - SOURCE_IP:源IP算法。 - QUIC_CID:连接ID算法。 [- 2_TUPLE_HASH:二元组hash算法,仅IP类型的pool支持。 - 3_TUPLE_HASH:三元组hash算法,仅IP类型的pool支持。 - 5_TUPLE_HASH:五元组hash算法,仅IP类型的pool支持。 - IP型pool不指定该字段时,默认设置为5_TUPLE_HASH。](tag:hws_eu) 使用说明: - 当该字段的取值为SOURCE_IP或QUIC_CID时,后端服务器组绑定的后端服务器的weight字段无效。 - 只有pool的protocol为QUIC时,才支持QUIC_CID算法。 [不支持QUIC_CID。](tag:tm,hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC_CID。](tag:dt,dt_test)
|
63
63
|
:type lb_algorithm: str
|
64
|
-
:param name:
|
64
|
+
:param name: 后端服务器组的名称。
|
65
65
|
:type name: str
|
66
66
|
:param session_persistence:
|
67
67
|
:type session_persistence: :class:`huaweicloudsdkelb.v3.UpdatePoolSessionPersistenceOption`
|
@@ -69,7 +69,7 @@ class UpdatePoolOption:
|
|
69
69
|
:type slow_start: :class:`huaweicloudsdkelb.v3.UpdatePoolSlowStartOption`
|
70
70
|
:param member_deletion_protection_enable: 是否开启删除保护。 取值:false不开启,true开启。 > 退场时需要先关闭所有资源的删除保护开关。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42) [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
|
71
71
|
:type member_deletion_protection_enable: bool
|
72
|
-
:param vpc_id:
|
72
|
+
:param vpc_id: 后端服务器组关联的虚拟私有云的ID。 [- pool的protocol为IP时,必须指定vpc_id,且与LB的vpc_id相同。](tag:hws_eu) 只有vpc_id为空时允许更新。
|
73
73
|
:type vpc_id: str
|
74
74
|
:param type: 后端服务器组的类型。 取值: - instance:允许任意类型的后端,type指定为该类型时,vpc_id是必选字段。 - ip:只能添加跨VPC后端,type指定为该类型时,vpc_id不允许指定。[pool的protocol为IP时,type不允许设置为ip。](tag:hws_eu)] - 空字符串(\"\"):允许任意类型的后端 使用说明: - 只有type为空时允许更新,不允许从非空更新为空。
|
75
75
|
:type type: str
|
@@ -136,7 +136,7 @@ class UpdatePoolOption:
|
|
136
136
|
def admin_state_up(self):
|
137
137
|
"""Gets the admin_state_up of this UpdatePoolOption.
|
138
138
|
|
139
|
-
|
139
|
+
后端服务器组的管理状态,只支持更新为true。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
|
140
140
|
|
141
141
|
:return: The admin_state_up of this UpdatePoolOption.
|
142
142
|
:rtype: bool
|
@@ -147,7 +147,7 @@ class UpdatePoolOption:
|
|
147
147
|
def admin_state_up(self, admin_state_up):
|
148
148
|
"""Sets the admin_state_up of this UpdatePoolOption.
|
149
149
|
|
150
|
-
|
150
|
+
后端服务器组的管理状态,只支持更新为true。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
|
151
151
|
|
152
152
|
:param admin_state_up: The admin_state_up of this UpdatePoolOption.
|
153
153
|
:type admin_state_up: bool
|
@@ -158,7 +158,7 @@ class UpdatePoolOption:
|
|
158
158
|
def description(self):
|
159
159
|
"""Gets the description of this UpdatePoolOption.
|
160
160
|
|
161
|
-
|
161
|
+
后端服务器组的描述信息。
|
162
162
|
|
163
163
|
:return: The description of this UpdatePoolOption.
|
164
164
|
:rtype: str
|
@@ -169,7 +169,7 @@ class UpdatePoolOption:
|
|
169
169
|
def description(self, description):
|
170
170
|
"""Sets the description of this UpdatePoolOption.
|
171
171
|
|
172
|
-
|
172
|
+
后端服务器组的描述信息。
|
173
173
|
|
174
174
|
:param description: The description of this UpdatePoolOption.
|
175
175
|
:type description: str
|
@@ -180,7 +180,7 @@ class UpdatePoolOption:
|
|
180
180
|
def lb_algorithm(self):
|
181
181
|
"""Gets the lb_algorithm of this UpdatePoolOption.
|
182
182
|
|
183
|
-
|
183
|
+
后端服务器组的负载均衡算法。 取值: - ROUND_ROBIN:加权轮询算法。 - LEAST_CONNECTIONS:加权最少连接算法。 - SOURCE_IP:源IP算法。 - QUIC_CID:连接ID算法。 [- 2_TUPLE_HASH:二元组hash算法,仅IP类型的pool支持。 - 3_TUPLE_HASH:三元组hash算法,仅IP类型的pool支持。 - 5_TUPLE_HASH:五元组hash算法,仅IP类型的pool支持。 - IP型pool不指定该字段时,默认设置为5_TUPLE_HASH。](tag:hws_eu) 使用说明: - 当该字段的取值为SOURCE_IP或QUIC_CID时,后端服务器组绑定的后端服务器的weight字段无效。 - 只有pool的protocol为QUIC时,才支持QUIC_CID算法。 [不支持QUIC_CID。](tag:tm,hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC_CID。](tag:dt,dt_test)
|
184
184
|
|
185
185
|
:return: The lb_algorithm of this UpdatePoolOption.
|
186
186
|
:rtype: str
|
@@ -191,7 +191,7 @@ class UpdatePoolOption:
|
|
191
191
|
def lb_algorithm(self, lb_algorithm):
|
192
192
|
"""Sets the lb_algorithm of this UpdatePoolOption.
|
193
193
|
|
194
|
-
|
194
|
+
后端服务器组的负载均衡算法。 取值: - ROUND_ROBIN:加权轮询算法。 - LEAST_CONNECTIONS:加权最少连接算法。 - SOURCE_IP:源IP算法。 - QUIC_CID:连接ID算法。 [- 2_TUPLE_HASH:二元组hash算法,仅IP类型的pool支持。 - 3_TUPLE_HASH:三元组hash算法,仅IP类型的pool支持。 - 5_TUPLE_HASH:五元组hash算法,仅IP类型的pool支持。 - IP型pool不指定该字段时,默认设置为5_TUPLE_HASH。](tag:hws_eu) 使用说明: - 当该字段的取值为SOURCE_IP或QUIC_CID时,后端服务器组绑定的后端服务器的weight字段无效。 - 只有pool的protocol为QUIC时,才支持QUIC_CID算法。 [不支持QUIC_CID。](tag:tm,hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC_CID。](tag:dt,dt_test)
|
195
195
|
|
196
196
|
:param lb_algorithm: The lb_algorithm of this UpdatePoolOption.
|
197
197
|
:type lb_algorithm: str
|
@@ -202,7 +202,7 @@ class UpdatePoolOption:
|
|
202
202
|
def name(self):
|
203
203
|
"""Gets the name of this UpdatePoolOption.
|
204
204
|
|
205
|
-
|
205
|
+
后端服务器组的名称。
|
206
206
|
|
207
207
|
:return: The name of this UpdatePoolOption.
|
208
208
|
:rtype: str
|
@@ -213,7 +213,7 @@ class UpdatePoolOption:
|
|
213
213
|
def name(self, name):
|
214
214
|
"""Sets the name of this UpdatePoolOption.
|
215
215
|
|
216
|
-
|
216
|
+
后端服务器组的名称。
|
217
217
|
|
218
218
|
:param name: The name of this UpdatePoolOption.
|
219
219
|
:type name: str
|
@@ -282,7 +282,7 @@ class UpdatePoolOption:
|
|
282
282
|
def vpc_id(self):
|
283
283
|
"""Gets the vpc_id of this UpdatePoolOption.
|
284
284
|
|
285
|
-
|
285
|
+
后端服务器组关联的虚拟私有云的ID。 [- pool的protocol为IP时,必须指定vpc_id,且与LB的vpc_id相同。](tag:hws_eu) 只有vpc_id为空时允许更新。
|
286
286
|
|
287
287
|
:return: The vpc_id of this UpdatePoolOption.
|
288
288
|
:rtype: str
|
@@ -293,7 +293,7 @@ class UpdatePoolOption:
|
|
293
293
|
def vpc_id(self, vpc_id):
|
294
294
|
"""Sets the vpc_id of this UpdatePoolOption.
|
295
295
|
|
296
|
-
|
296
|
+
后端服务器组关联的虚拟私有云的ID。 [- pool的protocol为IP时,必须指定vpc_id,且与LB的vpc_id相同。](tag:hws_eu) 只有vpc_id为空时允许更新。
|
297
297
|
|
298
298
|
:param vpc_id: The vpc_id of this UpdatePoolOption.
|
299
299
|
:type vpc_id: str
|