huaweicloudsdkelb 3.1.116__py2.py3-none-any.whl → 3.1.117__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- huaweicloudsdkelb/v2/elb_async_client.py +2 -0
- huaweicloudsdkelb/v2/elb_client.py +2 -0
- huaweicloudsdkelb/v2/model/list_members_request.py +32 -3
- huaweicloudsdkelb/v3/elb_async_client.py +5 -1
- huaweicloudsdkelb/v3/elb_client.py +5 -1
- huaweicloudsdkelb/v3/model/availability_zone.py +3 -3
- huaweicloudsdkelb/v3/model/batch_add_available_zones_request.py +3 -3
- huaweicloudsdkelb/v3/model/batch_create_members_option.py +12 -12
- huaweicloudsdkelb/v3/model/batch_member.py +21 -21
- huaweicloudsdkelb/v3/model/batch_update_member.py +24 -24
- huaweicloudsdkelb/v3/model/batch_update_members_option.py +6 -6
- huaweicloudsdkelb/v3/model/connection_drain.py +6 -6
- huaweicloudsdkelb/v3/model/create_health_monitor_option.py +12 -12
- huaweicloudsdkelb/v3/model/create_l7_policy_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_listener_option.py +6 -6
- huaweicloudsdkelb/v3/model/create_load_balancer_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_master_slave_health_monitor_option.py +6 -6
- huaweicloudsdkelb/v3/model/create_master_slave_member_option.py +12 -12
- huaweicloudsdkelb/v3/model/create_master_slave_pool_option.py +30 -30
- huaweicloudsdkelb/v3/model/create_member_option.py +18 -18
- huaweicloudsdkelb/v3/model/create_pool_option.py +48 -48
- huaweicloudsdkelb/v3/model/create_pool_response.py +3 -3
- huaweicloudsdkelb/v3/model/create_pool_session_persistence_option.py +9 -9
- huaweicloudsdkelb/v3/model/create_pool_slow_start_option.py +6 -6
- huaweicloudsdkelb/v3/model/delete_member_request.py +3 -3
- huaweicloudsdkelb/v3/model/flavor.py +3 -3
- huaweicloudsdkelb/v3/model/health_monitor.py +12 -12
- huaweicloudsdkelb/v3/model/l7_policy.py +3 -3
- huaweicloudsdkelb/v3/model/list_all_members_request.py +21 -21
- huaweicloudsdkelb/v3/model/list_availability_zones_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_availability_zones_response.py +3 -3
- huaweicloudsdkelb/v3/model/list_flavors_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_health_monitors_request.py +6 -6
- huaweicloudsdkelb/v3/model/list_l7_policies_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_listeners_request.py +12 -12
- huaweicloudsdkelb/v3/model/list_load_balancers_request.py +9 -9
- huaweicloudsdkelb/v3/model/list_master_slave_pools_request.py +36 -36
- huaweicloudsdkelb/v3/model/list_members_request.py +21 -21
- huaweicloudsdkelb/v3/model/list_pools_request.py +39 -39
- huaweicloudsdkelb/v3/model/listener.py +12 -12
- huaweicloudsdkelb/v3/model/listener_insert_headers.py +30 -30
- huaweicloudsdkelb/v3/model/listener_member_info.py +3 -3
- huaweicloudsdkelb/v3/model/load_balancer.py +9 -9
- huaweicloudsdkelb/v3/model/load_balancer_status.py +3 -3
- huaweicloudsdkelb/v3/model/master_slave_health_monitor.py +6 -6
- huaweicloudsdkelb/v3/model/master_slave_member.py +18 -18
- huaweicloudsdkelb/v3/model/master_slave_pool.py +33 -33
- huaweicloudsdkelb/v3/model/member.py +21 -21
- huaweicloudsdkelb/v3/model/member_info.py +24 -24
- huaweicloudsdkelb/v3/model/member_ref.py +3 -3
- huaweicloudsdkelb/v3/model/member_status.py +3 -3
- huaweicloudsdkelb/v3/model/pool.py +66 -66
- huaweicloudsdkelb/v3/model/pool_health.py +3 -3
- huaweicloudsdkelb/v3/model/quota.py +6 -6
- huaweicloudsdkelb/v3/model/session_persistence.py +9 -9
- huaweicloudsdkelb/v3/model/slow_start.py +6 -6
- huaweicloudsdkelb/v3/model/update_health_monitor_option.py +9 -9
- huaweicloudsdkelb/v3/model/update_listener_option.py +6 -6
- huaweicloudsdkelb/v3/model/update_load_balancer_option.py +12 -12
- huaweicloudsdkelb/v3/model/update_member_option.py +9 -9
- huaweicloudsdkelb/v3/model/update_pool_option.py +15 -15
- huaweicloudsdkelb/v3/model/update_rule_condition.py +3 -3
- {huaweicloudsdkelb-3.1.116.dist-info → huaweicloudsdkelb-3.1.117.dist-info}/METADATA +2 -2
- {huaweicloudsdkelb-3.1.116.dist-info → huaweicloudsdkelb-3.1.117.dist-info}/RECORD +67 -67
- {huaweicloudsdkelb-3.1.116.dist-info → huaweicloudsdkelb-3.1.117.dist-info}/LICENSE +0 -0
- {huaweicloudsdkelb-3.1.116.dist-info → huaweicloudsdkelb-3.1.117.dist-info}/WHEEL +0 -0
- {huaweicloudsdkelb-3.1.116.dist-info → huaweicloudsdkelb-3.1.117.dist-info}/top_level.txt +0 -0
@@ -33,7 +33,7 @@ class ListenerMemberInfo:
|
|
33
33
|
|
34
34
|
:param listener_id: 后端服务器关联的监听器id。
|
35
35
|
:type listener_id: str
|
36
|
-
:param operating_status:
|
36
|
+
:param operating_status: 后端服务器的健康状态。 取值: - ONLINE:后端服务器正常。 - NO_MONITOR:后端服务器所在的服务器组没有健康检查器。 - OFFLINE:后端服务器关联的ECS服务器不存在或已关机或服务异常。
|
37
37
|
:type operating_status: str
|
38
38
|
"""
|
39
39
|
|
@@ -72,7 +72,7 @@ class ListenerMemberInfo:
|
|
72
72
|
def operating_status(self):
|
73
73
|
"""Gets the operating_status of this ListenerMemberInfo.
|
74
74
|
|
75
|
-
|
75
|
+
后端服务器的健康状态。 取值: - ONLINE:后端服务器正常。 - NO_MONITOR:后端服务器所在的服务器组没有健康检查器。 - OFFLINE:后端服务器关联的ECS服务器不存在或已关机或服务异常。
|
76
76
|
|
77
77
|
:return: The operating_status of this ListenerMemberInfo.
|
78
78
|
:rtype: str
|
@@ -83,7 +83,7 @@ class ListenerMemberInfo:
|
|
83
83
|
def operating_status(self, operating_status):
|
84
84
|
"""Sets the operating_status of this ListenerMemberInfo.
|
85
85
|
|
86
|
-
|
86
|
+
后端服务器的健康状态。 取值: - ONLINE:后端服务器正常。 - NO_MONITOR:后端服务器所在的服务器组没有健康检查器。 - OFFLINE:后端服务器关联的ECS服务器不存在或已关机或服务异常。
|
87
87
|
|
88
88
|
:param operating_status: The operating_status of this ListenerMemberInfo.
|
89
89
|
:type operating_status: str
|
@@ -127,7 +127,7 @@ class LoadBalancer:
|
|
127
127
|
:type admin_state_up: bool
|
128
128
|
:param provider: 参数解释:负载均衡器的生产者名称。固定为vlb。
|
129
129
|
:type provider: str
|
130
|
-
:param pools:
|
130
|
+
:param pools: 参数解释:负载均衡器直接关联的后端服务器组的ID列表。
|
131
131
|
:type pools: list[:class:`huaweicloudsdkelb.v3.PoolRef`]
|
132
132
|
:param listeners: 参数解释:负载均衡器关联的监听器的ID列表。
|
133
133
|
:type listeners: list[:class:`huaweicloudsdkelb.v3.ListenerRef`]
|
@@ -183,13 +183,13 @@ class LoadBalancer:
|
|
183
183
|
:type elb_virsubnet_ids: list[str]
|
184
184
|
:param elb_virsubnet_type: 参数解释:下联面子网类型。 取值范围: - ipv4:ipv4 - dualstack:双栈
|
185
185
|
:type elb_virsubnet_type: str
|
186
|
-
:param ip_target_enable: 参数解释:是否启用跨VPC后端转发。 开启跨VPC后端转发后,后端服务器组不仅支持添加云上VPC内的服务器,还支持添加其他VPC、其他公有云、云下数据中心的服务器。 约束限制: - 开启后不能关闭。 - 使用共享VPC的实例使用此特性时,需确保共享资源所有者已开通VPC对等连接,否则通信异常。 [- 仅独享型负载均衡器支持该特性。
|
186
|
+
: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)
|
187
187
|
:type ip_target_enable: bool
|
188
188
|
:param frozen_scene: 参数解释:负载均衡器的冻结场景。 [若负载均衡器有多个冻结场景,用逗号分隔。 取值范围: - POLICE:公安冻结场景。 - ILLEGAL:违规冻结场景。 - VERIFY:客户未实名认证冻结场景。 - PARTNER:合作伙伴冻结(合作伙伴冻结子客户资源)。 - AREAR:欠费冻结场景。](tag:hws,hws_hk) [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,ocb,hws_ocb)
|
189
189
|
:type frozen_scene: str
|
190
190
|
:param ipv6_bandwidth:
|
191
191
|
:type ipv6_bandwidth: :class:`huaweicloudsdkelb.v3.BandwidthRef`
|
192
|
-
:param deletion_protection_enable: 参数解释:是否开启删除保护。 约束限制: - 仅当前局点启用删除保护特性后才会返回该字段。 - 退场时需要先关闭所有资源的删除保护开关。 取值范围: - false:不开启。 - true:开启。
|
192
|
+
:param deletion_protection_enable: 参数解释:是否开启删除保护。 约束限制: - 仅当前局点启用删除保护特性后才会返回该字段。 - 退场时需要先关闭所有资源的删除保护开关。 取值范围: - false:不开启。 - true:开启。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42) [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
|
193
193
|
:type deletion_protection_enable: bool
|
194
194
|
:param autoscaling:
|
195
195
|
:type autoscaling: :class:`huaweicloudsdkelb.v3.AutoscalingRef`
|
@@ -427,7 +427,7 @@ class LoadBalancer:
|
|
427
427
|
def pools(self):
|
428
428
|
"""Gets the pools of this LoadBalancer.
|
429
429
|
|
430
|
-
|
430
|
+
参数解释:负载均衡器直接关联的后端服务器组的ID列表。
|
431
431
|
|
432
432
|
:return: The pools of this LoadBalancer.
|
433
433
|
:rtype: list[:class:`huaweicloudsdkelb.v3.PoolRef`]
|
@@ -438,7 +438,7 @@ class LoadBalancer:
|
|
438
438
|
def pools(self, pools):
|
439
439
|
"""Sets the pools of this LoadBalancer.
|
440
440
|
|
441
|
-
|
441
|
+
参数解释:负载均衡器直接关联的后端服务器组的ID列表。
|
442
442
|
|
443
443
|
:param pools: The pools of this LoadBalancer.
|
444
444
|
:type pools: list[:class:`huaweicloudsdkelb.v3.PoolRef`]
|
@@ -1043,7 +1043,7 @@ class LoadBalancer:
|
|
1043
1043
|
def ip_target_enable(self):
|
1044
1044
|
"""Gets the ip_target_enable of this LoadBalancer.
|
1045
1045
|
|
1046
|
-
参数解释:是否启用跨VPC后端转发。 开启跨VPC后端转发后,后端服务器组不仅支持添加云上VPC内的服务器,还支持添加其他VPC、其他公有云、云下数据中心的服务器。 约束限制: - 开启后不能关闭。 - 使用共享VPC的实例使用此特性时,需确保共享资源所有者已开通VPC对等连接,否则通信异常。 [- 仅独享型负载均衡器支持该特性。
|
1046
|
+
参数解释:是否启用跨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)
|
1047
1047
|
|
1048
1048
|
:return: The ip_target_enable of this LoadBalancer.
|
1049
1049
|
:rtype: bool
|
@@ -1054,7 +1054,7 @@ class LoadBalancer:
|
|
1054
1054
|
def ip_target_enable(self, ip_target_enable):
|
1055
1055
|
"""Sets the ip_target_enable of this LoadBalancer.
|
1056
1056
|
|
1057
|
-
参数解释:是否启用跨VPC后端转发。 开启跨VPC后端转发后,后端服务器组不仅支持添加云上VPC内的服务器,还支持添加其他VPC、其他公有云、云下数据中心的服务器。 约束限制: - 开启后不能关闭。 - 使用共享VPC的实例使用此特性时,需确保共享资源所有者已开通VPC对等连接,否则通信异常。 [- 仅独享型负载均衡器支持该特性。
|
1057
|
+
参数解释:是否启用跨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)
|
1058
1058
|
|
1059
1059
|
:param ip_target_enable: The ip_target_enable of this LoadBalancer.
|
1060
1060
|
:type ip_target_enable: bool
|
@@ -1105,7 +1105,7 @@ class LoadBalancer:
|
|
1105
1105
|
def deletion_protection_enable(self):
|
1106
1106
|
"""Gets the deletion_protection_enable of this LoadBalancer.
|
1107
1107
|
|
1108
|
-
参数解释:是否开启删除保护。 约束限制: - 仅当前局点启用删除保护特性后才会返回该字段。 - 退场时需要先关闭所有资源的删除保护开关。 取值范围: - false:不开启。 - true:开启。
|
1108
|
+
参数解释:是否开启删除保护。 约束限制: - 仅当前局点启用删除保护特性后才会返回该字段。 - 退场时需要先关闭所有资源的删除保护开关。 取值范围: - false:不开启。 - true:开启。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42) [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
|
1109
1109
|
|
1110
1110
|
:return: The deletion_protection_enable of this LoadBalancer.
|
1111
1111
|
:rtype: bool
|
@@ -1116,7 +1116,7 @@ class LoadBalancer:
|
|
1116
1116
|
def deletion_protection_enable(self, deletion_protection_enable):
|
1117
1117
|
"""Sets the deletion_protection_enable of this LoadBalancer.
|
1118
1118
|
|
1119
|
-
参数解释:是否开启删除保护。 约束限制: - 仅当前局点启用删除保护特性后才会返回该字段。 - 退场时需要先关闭所有资源的删除保护开关。 取值范围: - false:不开启。 - true:开启。
|
1119
|
+
参数解释:是否开启删除保护。 约束限制: - 仅当前局点启用删除保护特性后才会返回该字段。 - 退场时需要先关闭所有资源的删除保护开关。 取值范围: - false:不开启。 - true:开启。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42) [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
|
1120
1120
|
|
1121
1121
|
:param deletion_protection_enable: The deletion_protection_enable of this LoadBalancer.
|
1122
1122
|
:type deletion_protection_enable: bool
|
@@ -45,7 +45,7 @@ class LoadBalancerStatus:
|
|
45
45
|
:type provisioning_status: str
|
46
46
|
:param listeners: 负载均衡器关联的监听器列表。
|
47
47
|
:type listeners: list[:class:`huaweicloudsdkelb.v3.LoadBalancerStatusListener`]
|
48
|
-
:param pools:
|
48
|
+
:param pools: 负载均衡器关联的后端服务器组列表。
|
49
49
|
:type pools: list[:class:`huaweicloudsdkelb.v3.LoadBalancerStatusPool`]
|
50
50
|
:param id: 负载均衡器ID。
|
51
51
|
:type id: str
|
@@ -140,7 +140,7 @@ class LoadBalancerStatus:
|
|
140
140
|
def pools(self):
|
141
141
|
"""Gets the pools of this LoadBalancerStatus.
|
142
142
|
|
143
|
-
|
143
|
+
负载均衡器关联的后端服务器组列表。
|
144
144
|
|
145
145
|
:return: The pools of this LoadBalancerStatus.
|
146
146
|
:rtype: list[:class:`huaweicloudsdkelb.v3.LoadBalancerStatusPool`]
|
@@ -151,7 +151,7 @@ class LoadBalancerStatus:
|
|
151
151
|
def pools(self, pools):
|
152
152
|
"""Sets the pools of this LoadBalancerStatus.
|
153
153
|
|
154
|
-
|
154
|
+
负载均衡器关联的后端服务器组列表。
|
155
155
|
|
156
156
|
:param pools: The pools of this LoadBalancerStatus.
|
157
157
|
:type pools: list[:class:`huaweicloudsdkelb.v3.LoadBalancerStatusPool`]
|
@@ -59,7 +59,7 @@ class MasterSlaveHealthMonitor:
|
|
59
59
|
:type delay: int
|
60
60
|
:param domain_name: 发送健康检查请求的域名。 取值:以数字或字母开头,只能包含数字、字母、’-’、’.’。 默认为空,表示使用负载均衡器的vip作为http请求的目的地址。 使用说明:当type为HTTP/HTTPS时生效。
|
61
61
|
:type domain_name: str
|
62
|
-
:param expected_codes: 期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 默认值:200。 仅支持HTTP/HTTPS/
|
62
|
+
:param expected_codes: 期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 默认值:200。 仅支持HTTP/HTTPS/GRPC设置该字段,其他协议设置不会生效。
|
63
63
|
:type expected_codes: str
|
64
64
|
:param http_method: HTTP请求方法。 取值:GET、HEAD、POST,默认GET。 使用说明:当type为HTTP/HTTPS时生效。
|
65
65
|
:type http_method: str
|
@@ -69,7 +69,7 @@ class MasterSlaveHealthMonitor:
|
|
69
69
|
:type max_retries: int
|
70
70
|
:param max_retries_down: 健康检查连续失败多少次后,将后端服务器的健康检查状态由ONLINE判定为OFFLINE。取值范围:1-10,默认3。
|
71
71
|
:type max_retries_down: int
|
72
|
-
:param monitor_port: 健康检查端口号。取值:1-65535
|
72
|
+
:param monitor_port: 健康检查端口号。取值:1-65535,默认为空,表示使用后端服务器端口号。
|
73
73
|
:type monitor_port: int
|
74
74
|
:param name: 健康检查名称。
|
75
75
|
:type name: str
|
@@ -182,7 +182,7 @@ class MasterSlaveHealthMonitor:
|
|
182
182
|
def expected_codes(self):
|
183
183
|
"""Gets the expected_codes of this MasterSlaveHealthMonitor.
|
184
184
|
|
185
|
-
期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 默认值:200。 仅支持HTTP/HTTPS/
|
185
|
+
期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 默认值:200。 仅支持HTTP/HTTPS/GRPC设置该字段,其他协议设置不会生效。
|
186
186
|
|
187
187
|
:return: The expected_codes of this MasterSlaveHealthMonitor.
|
188
188
|
:rtype: str
|
@@ -193,7 +193,7 @@ class MasterSlaveHealthMonitor:
|
|
193
193
|
def expected_codes(self, expected_codes):
|
194
194
|
"""Sets the expected_codes of this MasterSlaveHealthMonitor.
|
195
195
|
|
196
|
-
期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 默认值:200。 仅支持HTTP/HTTPS/
|
196
|
+
期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 默认值:200。 仅支持HTTP/HTTPS/GRPC设置该字段,其他协议设置不会生效。
|
197
197
|
|
198
198
|
:param expected_codes: The expected_codes of this MasterSlaveHealthMonitor.
|
199
199
|
:type expected_codes: str
|
@@ -292,7 +292,7 @@ class MasterSlaveHealthMonitor:
|
|
292
292
|
def monitor_port(self):
|
293
293
|
"""Gets the monitor_port of this MasterSlaveHealthMonitor.
|
294
294
|
|
295
|
-
健康检查端口号。取值:1-65535
|
295
|
+
健康检查端口号。取值:1-65535,默认为空,表示使用后端服务器端口号。
|
296
296
|
|
297
297
|
:return: The monitor_port of this MasterSlaveHealthMonitor.
|
298
298
|
:rtype: int
|
@@ -303,7 +303,7 @@ class MasterSlaveHealthMonitor:
|
|
303
303
|
def monitor_port(self, monitor_port):
|
304
304
|
"""Sets the monitor_port of this MasterSlaveHealthMonitor.
|
305
305
|
|
306
|
-
健康检查端口号。取值:1-65535
|
306
|
+
健康检查端口号。取值:1-65535,默认为空,表示使用后端服务器端口号。
|
307
307
|
|
308
308
|
:param monitor_port: The monitor_port of this MasterSlaveHealthMonitor.
|
309
309
|
:type monitor_port: int
|
@@ -59,13 +59,13 @@ class MasterSlaveMember:
|
|
59
59
|
:type id: str
|
60
60
|
:param name: 后端服务器名称。
|
61
61
|
:type name: str
|
62
|
-
:param admin_state_up:
|
62
|
+
:param admin_state_up: 后端服务器的管理状态。 取值:true、false。 虽然创建、更新请求支持该字段,但实际取值决定于后端服务器对应的弹性云服务器是否存在。若存在,该值为true,否则,该值为false。
|
63
63
|
:type admin_state_up: bool
|
64
|
-
:param subnet_cidr_id:
|
64
|
+
:param subnet_cidr_id: 后端服务器所在子网的IPv4子网ID或IPv6子网ID。 若所属的LB的跨VPC后端转发特性已开启,则该字段可以不传,表示添加跨VPC的后端服务器。此时address必须为IPv4地址,所在的pool的协议必须为UDP/TCP/TLS/HTTP/HTTPS/QUIC/GRPC。 使用说明:该子网和关联的负载均衡器的子网必须在同一VPC下。 [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt,dt_test)
|
65
65
|
:type subnet_cidr_id: str
|
66
66
|
:param protocol_port: 后端服务器业务端口。 >在开启端口透传的pool下创建member传该字段不生效,可不传该字段。
|
67
67
|
:type protocol_port: int
|
68
|
-
:param address: 后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP地址可以是私网IPv4或IPv6。 但必须在subnet_cidr_id
|
68
|
+
:param address: 后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP地址可以是私网IPv4或IPv6。 但必须在subnet_cidr_id对应的子网网段中。 [不支持IPv6,请勿设置为IPv6地址。](tag:dt,dt_test)
|
69
69
|
:type address: str
|
70
70
|
:param ip_version: 当前后端服务器的IP地址版本,由后端系统自动根据传入的address字段确定。取值:v4、v6。
|
71
71
|
:type ip_version: str
|
@@ -73,15 +73,15 @@ class MasterSlaveMember:
|
|
73
73
|
:type device_owner: str
|
74
74
|
:param device_id: 关联的ECS ID,为空表示后端服务器未关联到ECS。 不支持该字段,请勿使用。
|
75
75
|
:type device_id: str
|
76
|
-
:param operating_status:
|
76
|
+
:param operating_status: 后端服务器的健康状态。 取值: - ONLINE:后端服务器正常。 - NO_MONITOR:后端服务器所在的服务器组没有健康检查器。 - OFFLINE:后端服务器关联的ECS服务器不存在或已关机。
|
77
77
|
:type operating_status: str
|
78
|
-
:param member_type:
|
78
|
+
:param member_type: 后端服务器的类型。 取值: - ip:跨VPC的member。 - instance:关联到ECS的member。
|
79
79
|
:type member_type: str
|
80
80
|
:param instance_id: member关联的实例ID。空表示member关联的实例为非真实设备 (如:跨VPC场景)
|
81
81
|
:type instance_id: str
|
82
82
|
:param role: 后端服务器的主备状态。
|
83
83
|
:type role: str
|
84
|
-
:param status:
|
84
|
+
:param status: 后端服务器监听器粒度的的健康状态。 若绑定的监听器在该字段中,则以该字段中监听器对应的operating_status为准。 若绑定的监听器不在该字段中,则以外层的operating_status为准。
|
85
85
|
:type status: list[:class:`huaweicloudsdkelb.v3.ListenerMemberInfo`]
|
86
86
|
"""
|
87
87
|
|
@@ -166,7 +166,7 @@ class MasterSlaveMember:
|
|
166
166
|
def admin_state_up(self):
|
167
167
|
"""Gets the admin_state_up of this MasterSlaveMember.
|
168
168
|
|
169
|
-
|
169
|
+
后端服务器的管理状态。 取值:true、false。 虽然创建、更新请求支持该字段,但实际取值决定于后端服务器对应的弹性云服务器是否存在。若存在,该值为true,否则,该值为false。
|
170
170
|
|
171
171
|
:return: The admin_state_up of this MasterSlaveMember.
|
172
172
|
:rtype: bool
|
@@ -177,7 +177,7 @@ class MasterSlaveMember:
|
|
177
177
|
def admin_state_up(self, admin_state_up):
|
178
178
|
"""Sets the admin_state_up of this MasterSlaveMember.
|
179
179
|
|
180
|
-
|
180
|
+
后端服务器的管理状态。 取值:true、false。 虽然创建、更新请求支持该字段,但实际取值决定于后端服务器对应的弹性云服务器是否存在。若存在,该值为true,否则,该值为false。
|
181
181
|
|
182
182
|
:param admin_state_up: The admin_state_up of this MasterSlaveMember.
|
183
183
|
:type admin_state_up: bool
|
@@ -188,7 +188,7 @@ class MasterSlaveMember:
|
|
188
188
|
def subnet_cidr_id(self):
|
189
189
|
"""Gets the subnet_cidr_id of this MasterSlaveMember.
|
190
190
|
|
191
|
-
|
191
|
+
后端服务器所在子网的IPv4子网ID或IPv6子网ID。 若所属的LB的跨VPC后端转发特性已开启,则该字段可以不传,表示添加跨VPC的后端服务器。此时address必须为IPv4地址,所在的pool的协议必须为UDP/TCP/TLS/HTTP/HTTPS/QUIC/GRPC。 使用说明:该子网和关联的负载均衡器的子网必须在同一VPC下。 [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt,dt_test)
|
192
192
|
|
193
193
|
:return: The subnet_cidr_id of this MasterSlaveMember.
|
194
194
|
:rtype: str
|
@@ -199,7 +199,7 @@ class MasterSlaveMember:
|
|
199
199
|
def subnet_cidr_id(self, subnet_cidr_id):
|
200
200
|
"""Sets the subnet_cidr_id of this MasterSlaveMember.
|
201
201
|
|
202
|
-
|
202
|
+
后端服务器所在子网的IPv4子网ID或IPv6子网ID。 若所属的LB的跨VPC后端转发特性已开启,则该字段可以不传,表示添加跨VPC的后端服务器。此时address必须为IPv4地址,所在的pool的协议必须为UDP/TCP/TLS/HTTP/HTTPS/QUIC/GRPC。 使用说明:该子网和关联的负载均衡器的子网必须在同一VPC下。 [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt,dt_test)
|
203
203
|
|
204
204
|
:param subnet_cidr_id: The subnet_cidr_id of this MasterSlaveMember.
|
205
205
|
:type subnet_cidr_id: str
|
@@ -232,7 +232,7 @@ class MasterSlaveMember:
|
|
232
232
|
def address(self):
|
233
233
|
"""Gets the address of this MasterSlaveMember.
|
234
234
|
|
235
|
-
后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP地址可以是私网IPv4或IPv6。 但必须在subnet_cidr_id
|
235
|
+
后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP地址可以是私网IPv4或IPv6。 但必须在subnet_cidr_id对应的子网网段中。 [不支持IPv6,请勿设置为IPv6地址。](tag:dt,dt_test)
|
236
236
|
|
237
237
|
:return: The address of this MasterSlaveMember.
|
238
238
|
:rtype: str
|
@@ -243,7 +243,7 @@ class MasterSlaveMember:
|
|
243
243
|
def address(self, address):
|
244
244
|
"""Sets the address of this MasterSlaveMember.
|
245
245
|
|
246
|
-
后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP地址可以是私网IPv4或IPv6。 但必须在subnet_cidr_id
|
246
|
+
后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP地址可以是私网IPv4或IPv6。 但必须在subnet_cidr_id对应的子网网段中。 [不支持IPv6,请勿设置为IPv6地址。](tag:dt,dt_test)
|
247
247
|
|
248
248
|
:param address: The address of this MasterSlaveMember.
|
249
249
|
:type address: str
|
@@ -320,7 +320,7 @@ class MasterSlaveMember:
|
|
320
320
|
def operating_status(self):
|
321
321
|
"""Gets the operating_status of this MasterSlaveMember.
|
322
322
|
|
323
|
-
|
323
|
+
后端服务器的健康状态。 取值: - ONLINE:后端服务器正常。 - NO_MONITOR:后端服务器所在的服务器组没有健康检查器。 - OFFLINE:后端服务器关联的ECS服务器不存在或已关机。
|
324
324
|
|
325
325
|
:return: The operating_status of this MasterSlaveMember.
|
326
326
|
:rtype: str
|
@@ -331,7 +331,7 @@ class MasterSlaveMember:
|
|
331
331
|
def operating_status(self, operating_status):
|
332
332
|
"""Sets the operating_status of this MasterSlaveMember.
|
333
333
|
|
334
|
-
|
334
|
+
后端服务器的健康状态。 取值: - ONLINE:后端服务器正常。 - NO_MONITOR:后端服务器所在的服务器组没有健康检查器。 - OFFLINE:后端服务器关联的ECS服务器不存在或已关机。
|
335
335
|
|
336
336
|
:param operating_status: The operating_status of this MasterSlaveMember.
|
337
337
|
:type operating_status: str
|
@@ -342,7 +342,7 @@ class MasterSlaveMember:
|
|
342
342
|
def member_type(self):
|
343
343
|
"""Gets the member_type of this MasterSlaveMember.
|
344
344
|
|
345
|
-
|
345
|
+
后端服务器的类型。 取值: - ip:跨VPC的member。 - instance:关联到ECS的member。
|
346
346
|
|
347
347
|
:return: The member_type of this MasterSlaveMember.
|
348
348
|
:rtype: str
|
@@ -353,7 +353,7 @@ class MasterSlaveMember:
|
|
353
353
|
def member_type(self, member_type):
|
354
354
|
"""Sets the member_type of this MasterSlaveMember.
|
355
355
|
|
356
|
-
|
356
|
+
后端服务器的类型。 取值: - ip:跨VPC的member。 - instance:关联到ECS的member。
|
357
357
|
|
358
358
|
:param member_type: The member_type of this MasterSlaveMember.
|
359
359
|
:type member_type: str
|
@@ -408,7 +408,7 @@ class MasterSlaveMember:
|
|
408
408
|
def status(self):
|
409
409
|
"""Gets the status of this MasterSlaveMember.
|
410
410
|
|
411
|
-
|
411
|
+
后端服务器监听器粒度的的健康状态。 若绑定的监听器在该字段中,则以该字段中监听器对应的operating_status为准。 若绑定的监听器不在该字段中,则以外层的operating_status为准。
|
412
412
|
|
413
413
|
:return: The status of this MasterSlaveMember.
|
414
414
|
:rtype: list[:class:`huaweicloudsdkelb.v3.ListenerMemberInfo`]
|
@@ -419,7 +419,7 @@ class MasterSlaveMember:
|
|
419
419
|
def status(self, status):
|
420
420
|
"""Sets the status of this MasterSlaveMember.
|
421
421
|
|
422
|
-
|
422
|
+
后端服务器监听器粒度的的健康状态。 若绑定的监听器在该字段中,则以该字段中监听器对应的operating_status为准。 若绑定的监听器不在该字段中,则以外层的operating_status为准。
|
423
423
|
|
424
424
|
:param status: The status of this MasterSlaveMember.
|
425
425
|
:type status: list[:class:`huaweicloudsdkelb.v3.ListenerMemberInfo`]
|
@@ -65,33 +65,33 @@ class MasterSlavePool:
|
|
65
65
|
|
66
66
|
The model defined in huaweicloud sdk
|
67
67
|
|
68
|
-
:param description:
|
68
|
+
:param description: 后端服务器组的描述信息。
|
69
69
|
:type description: str
|
70
|
-
:param id:
|
70
|
+
:param id: 后端服务器组的ID。
|
71
71
|
:type id: str
|
72
|
-
:param lb_algorithm:
|
72
|
+
:param lb_algorithm: 后端服务器组的负载均衡算法。 取值: - ROUND_ROBIN:加权轮询算法。 - LEAST_CONNECTIONS:加权最少连接算法。 - SOURCE_IP:源IP算法。 - QUIC_CID:连接ID算法。 使用说明: - 当该字段的取值为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)
|
73
73
|
:type lb_algorithm: str
|
74
|
-
:param listeners:
|
74
|
+
:param listeners: 后端服务器组关联的监听器ID列表。
|
75
75
|
:type listeners: list[:class:`huaweicloudsdkelb.v3.ListenerRef`]
|
76
|
-
:param loadbalancers:
|
76
|
+
:param loadbalancers: 后端服务器组关联的负载均衡器ID列表。
|
77
77
|
:type loadbalancers: list[:class:`huaweicloudsdkelb.v3.LoadBalancerRef`]
|
78
|
-
:param members:
|
78
|
+
:param members: 后端服务器组中的后端服务器列表。
|
79
79
|
:type members: list[:class:`huaweicloudsdkelb.v3.MasterSlaveMember`]
|
80
|
-
:param name:
|
80
|
+
:param name: 后端服务器组的名称。
|
81
81
|
:type name: str
|
82
|
-
:param project_id:
|
82
|
+
:param project_id: 后端服务器组所在的项目ID。
|
83
83
|
:type project_id: str
|
84
|
-
:param protocol:
|
84
|
+
:param protocol: 后端服务器组的后端协议。 取值:TCP、UDP、QUIC、TLS。 使用说明: - listener的protocol为UDP时,pool的protocol必须为UDP或QUIC。 - listener的protocol为TCP时,pool的protocol必须为TCP。 - listener的protocol为TLS时,pool的protocol必须为TLS或TCP。 - 其他协议监听器不支持主备后端服务器组。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC。](tag:dt,dt_test)
|
85
85
|
:type protocol: str
|
86
86
|
:param session_persistence:
|
87
87
|
:type session_persistence: :class:`huaweicloudsdkelb.v3.SessionPersistence`
|
88
|
-
:param ip_version:
|
88
|
+
:param ip_version: 后端服务器组支持的IP版本。 [取值: - 共享型:固定为v4; - 独享型:取值dualstack、v4、v6。当协议为TCP/UDP时,ip_version为dualstack,表示双栈。 当协议为HTTP时,ip_version为v4。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs) [取值:dualstack、v4、v6。当协议为TCP/UDP时,ip_version为dualstack,表示双栈。 当协议为HTTP时,ip_version为v4。](tag:hcso_dt) [不支持IPv6,只会返回v4。](tag:dt,dt_test)
|
89
89
|
:type ip_version: str
|
90
90
|
:param created_at: 创建时间。格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
|
91
91
|
:type created_at: str
|
92
92
|
:param updated_at: 更新时间。格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
|
93
93
|
:type updated_at: str
|
94
|
-
:param vpc_id:
|
94
|
+
:param vpc_id: 后端服务器组关联的虚拟私有云的ID。
|
95
95
|
:type vpc_id: str
|
96
96
|
:param type: 后端服务器组的类型。 取值: - instance:允许任意类型的后端,type指定为该类型时,vpc_id是必选字段。 - ip:只能添加跨VPC后端,type指定为该类型时,vpc_id不允许指定。 - 空字符串(\"\"):允许任意类型的后端
|
97
97
|
:type type: str
|
@@ -154,7 +154,7 @@ class MasterSlavePool:
|
|
154
154
|
def description(self):
|
155
155
|
"""Gets the description of this MasterSlavePool.
|
156
156
|
|
157
|
-
|
157
|
+
后端服务器组的描述信息。
|
158
158
|
|
159
159
|
:return: The description of this MasterSlavePool.
|
160
160
|
:rtype: str
|
@@ -165,7 +165,7 @@ class MasterSlavePool:
|
|
165
165
|
def description(self, description):
|
166
166
|
"""Sets the description of this MasterSlavePool.
|
167
167
|
|
168
|
-
|
168
|
+
后端服务器组的描述信息。
|
169
169
|
|
170
170
|
:param description: The description of this MasterSlavePool.
|
171
171
|
:type description: str
|
@@ -176,7 +176,7 @@ class MasterSlavePool:
|
|
176
176
|
def id(self):
|
177
177
|
"""Gets the id of this MasterSlavePool.
|
178
178
|
|
179
|
-
|
179
|
+
后端服务器组的ID。
|
180
180
|
|
181
181
|
:return: The id of this MasterSlavePool.
|
182
182
|
:rtype: str
|
@@ -187,7 +187,7 @@ class MasterSlavePool:
|
|
187
187
|
def id(self, id):
|
188
188
|
"""Sets the id of this MasterSlavePool.
|
189
189
|
|
190
|
-
|
190
|
+
后端服务器组的ID。
|
191
191
|
|
192
192
|
:param id: The id of this MasterSlavePool.
|
193
193
|
:type id: str
|
@@ -198,7 +198,7 @@ class MasterSlavePool:
|
|
198
198
|
def lb_algorithm(self):
|
199
199
|
"""Gets the lb_algorithm of this MasterSlavePool.
|
200
200
|
|
201
|
-
|
201
|
+
后端服务器组的负载均衡算法。 取值: - ROUND_ROBIN:加权轮询算法。 - LEAST_CONNECTIONS:加权最少连接算法。 - SOURCE_IP:源IP算法。 - QUIC_CID:连接ID算法。 使用说明: - 当该字段的取值为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)
|
202
202
|
|
203
203
|
:return: The lb_algorithm of this MasterSlavePool.
|
204
204
|
:rtype: str
|
@@ -209,7 +209,7 @@ class MasterSlavePool:
|
|
209
209
|
def lb_algorithm(self, lb_algorithm):
|
210
210
|
"""Sets the lb_algorithm of this MasterSlavePool.
|
211
211
|
|
212
|
-
|
212
|
+
后端服务器组的负载均衡算法。 取值: - ROUND_ROBIN:加权轮询算法。 - LEAST_CONNECTIONS:加权最少连接算法。 - SOURCE_IP:源IP算法。 - QUIC_CID:连接ID算法。 使用说明: - 当该字段的取值为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)
|
213
213
|
|
214
214
|
:param lb_algorithm: The lb_algorithm of this MasterSlavePool.
|
215
215
|
:type lb_algorithm: str
|
@@ -220,7 +220,7 @@ class MasterSlavePool:
|
|
220
220
|
def listeners(self):
|
221
221
|
"""Gets the listeners of this MasterSlavePool.
|
222
222
|
|
223
|
-
|
223
|
+
后端服务器组关联的监听器ID列表。
|
224
224
|
|
225
225
|
:return: The listeners of this MasterSlavePool.
|
226
226
|
:rtype: list[:class:`huaweicloudsdkelb.v3.ListenerRef`]
|
@@ -231,7 +231,7 @@ class MasterSlavePool:
|
|
231
231
|
def listeners(self, listeners):
|
232
232
|
"""Sets the listeners of this MasterSlavePool.
|
233
233
|
|
234
|
-
|
234
|
+
后端服务器组关联的监听器ID列表。
|
235
235
|
|
236
236
|
:param listeners: The listeners of this MasterSlavePool.
|
237
237
|
:type listeners: list[:class:`huaweicloudsdkelb.v3.ListenerRef`]
|
@@ -242,7 +242,7 @@ class MasterSlavePool:
|
|
242
242
|
def loadbalancers(self):
|
243
243
|
"""Gets the loadbalancers of this MasterSlavePool.
|
244
244
|
|
245
|
-
|
245
|
+
后端服务器组关联的负载均衡器ID列表。
|
246
246
|
|
247
247
|
:return: The loadbalancers of this MasterSlavePool.
|
248
248
|
:rtype: list[:class:`huaweicloudsdkelb.v3.LoadBalancerRef`]
|
@@ -253,7 +253,7 @@ class MasterSlavePool:
|
|
253
253
|
def loadbalancers(self, loadbalancers):
|
254
254
|
"""Sets the loadbalancers of this MasterSlavePool.
|
255
255
|
|
256
|
-
|
256
|
+
后端服务器组关联的负载均衡器ID列表。
|
257
257
|
|
258
258
|
:param loadbalancers: The loadbalancers of this MasterSlavePool.
|
259
259
|
:type loadbalancers: list[:class:`huaweicloudsdkelb.v3.LoadBalancerRef`]
|
@@ -264,7 +264,7 @@ class MasterSlavePool:
|
|
264
264
|
def members(self):
|
265
265
|
"""Gets the members of this MasterSlavePool.
|
266
266
|
|
267
|
-
|
267
|
+
后端服务器组中的后端服务器列表。
|
268
268
|
|
269
269
|
:return: The members of this MasterSlavePool.
|
270
270
|
:rtype: list[:class:`huaweicloudsdkelb.v3.MasterSlaveMember`]
|
@@ -275,7 +275,7 @@ class MasterSlavePool:
|
|
275
275
|
def members(self, members):
|
276
276
|
"""Sets the members of this MasterSlavePool.
|
277
277
|
|
278
|
-
|
278
|
+
后端服务器组中的后端服务器列表。
|
279
279
|
|
280
280
|
:param members: The members of this MasterSlavePool.
|
281
281
|
:type members: list[:class:`huaweicloudsdkelb.v3.MasterSlaveMember`]
|
@@ -286,7 +286,7 @@ class MasterSlavePool:
|
|
286
286
|
def name(self):
|
287
287
|
"""Gets the name of this MasterSlavePool.
|
288
288
|
|
289
|
-
|
289
|
+
后端服务器组的名称。
|
290
290
|
|
291
291
|
:return: The name of this MasterSlavePool.
|
292
292
|
:rtype: str
|
@@ -297,7 +297,7 @@ class MasterSlavePool:
|
|
297
297
|
def name(self, name):
|
298
298
|
"""Sets the name of this MasterSlavePool.
|
299
299
|
|
300
|
-
|
300
|
+
后端服务器组的名称。
|
301
301
|
|
302
302
|
:param name: The name of this MasterSlavePool.
|
303
303
|
:type name: str
|
@@ -308,7 +308,7 @@ class MasterSlavePool:
|
|
308
308
|
def project_id(self):
|
309
309
|
"""Gets the project_id of this MasterSlavePool.
|
310
310
|
|
311
|
-
|
311
|
+
后端服务器组所在的项目ID。
|
312
312
|
|
313
313
|
:return: The project_id of this MasterSlavePool.
|
314
314
|
:rtype: str
|
@@ -319,7 +319,7 @@ class MasterSlavePool:
|
|
319
319
|
def project_id(self, project_id):
|
320
320
|
"""Sets the project_id of this MasterSlavePool.
|
321
321
|
|
322
|
-
|
322
|
+
后端服务器组所在的项目ID。
|
323
323
|
|
324
324
|
:param project_id: The project_id of this MasterSlavePool.
|
325
325
|
:type project_id: str
|
@@ -330,7 +330,7 @@ class MasterSlavePool:
|
|
330
330
|
def protocol(self):
|
331
331
|
"""Gets the protocol of this MasterSlavePool.
|
332
332
|
|
333
|
-
|
333
|
+
后端服务器组的后端协议。 取值:TCP、UDP、QUIC、TLS。 使用说明: - listener的protocol为UDP时,pool的protocol必须为UDP或QUIC。 - listener的protocol为TCP时,pool的protocol必须为TCP。 - listener的protocol为TLS时,pool的protocol必须为TLS或TCP。 - 其他协议监听器不支持主备后端服务器组。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC。](tag:dt,dt_test)
|
334
334
|
|
335
335
|
:return: The protocol of this MasterSlavePool.
|
336
336
|
:rtype: str
|
@@ -341,7 +341,7 @@ class MasterSlavePool:
|
|
341
341
|
def protocol(self, protocol):
|
342
342
|
"""Sets the protocol of this MasterSlavePool.
|
343
343
|
|
344
|
-
|
344
|
+
后端服务器组的后端协议。 取值:TCP、UDP、QUIC、TLS。 使用说明: - listener的protocol为UDP时,pool的protocol必须为UDP或QUIC。 - listener的protocol为TCP时,pool的protocol必须为TCP。 - listener的protocol为TLS时,pool的protocol必须为TLS或TCP。 - 其他协议监听器不支持主备后端服务器组。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC。](tag:dt,dt_test)
|
345
345
|
|
346
346
|
:param protocol: The protocol of this MasterSlavePool.
|
347
347
|
:type protocol: str
|
@@ -370,7 +370,7 @@ class MasterSlavePool:
|
|
370
370
|
def ip_version(self):
|
371
371
|
"""Gets the ip_version of this MasterSlavePool.
|
372
372
|
|
373
|
-
|
373
|
+
后端服务器组支持的IP版本。 [取值: - 共享型:固定为v4; - 独享型:取值dualstack、v4、v6。当协议为TCP/UDP时,ip_version为dualstack,表示双栈。 当协议为HTTP时,ip_version为v4。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs) [取值:dualstack、v4、v6。当协议为TCP/UDP时,ip_version为dualstack,表示双栈。 当协议为HTTP时,ip_version为v4。](tag:hcso_dt) [不支持IPv6,只会返回v4。](tag:dt,dt_test)
|
374
374
|
|
375
375
|
:return: The ip_version of this MasterSlavePool.
|
376
376
|
:rtype: str
|
@@ -381,7 +381,7 @@ class MasterSlavePool:
|
|
381
381
|
def ip_version(self, ip_version):
|
382
382
|
"""Sets the ip_version of this MasterSlavePool.
|
383
383
|
|
384
|
-
|
384
|
+
后端服务器组支持的IP版本。 [取值: - 共享型:固定为v4; - 独享型:取值dualstack、v4、v6。当协议为TCP/UDP时,ip_version为dualstack,表示双栈。 当协议为HTTP时,ip_version为v4。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs) [取值:dualstack、v4、v6。当协议为TCP/UDP时,ip_version为dualstack,表示双栈。 当协议为HTTP时,ip_version为v4。](tag:hcso_dt) [不支持IPv6,只会返回v4。](tag:dt,dt_test)
|
385
385
|
|
386
386
|
:param ip_version: The ip_version of this MasterSlavePool.
|
387
387
|
:type ip_version: str
|
@@ -436,7 +436,7 @@ class MasterSlavePool:
|
|
436
436
|
def vpc_id(self):
|
437
437
|
"""Gets the vpc_id of this MasterSlavePool.
|
438
438
|
|
439
|
-
|
439
|
+
后端服务器组关联的虚拟私有云的ID。
|
440
440
|
|
441
441
|
:return: The vpc_id of this MasterSlavePool.
|
442
442
|
:rtype: str
|
@@ -447,7 +447,7 @@ class MasterSlavePool:
|
|
447
447
|
def vpc_id(self, vpc_id):
|
448
448
|
"""Sets the vpc_id of this MasterSlavePool.
|
449
449
|
|
450
|
-
|
450
|
+
后端服务器组关联的虚拟私有云的ID。
|
451
451
|
|
452
452
|
:param vpc_id: The vpc_id of this MasterSlavePool.
|
453
453
|
:type vpc_id: str
|