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
@@ -79,57 +79,57 @@ class Pool:
|
|
79
79
|
|
80
80
|
The model defined in huaweicloud sdk
|
81
81
|
|
82
|
-
:param admin_state_up:
|
82
|
+
:param admin_state_up: 参数解释:后端服务器组的管理状态。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
|
83
83
|
:type admin_state_up: bool
|
84
|
-
:param description:
|
84
|
+
:param description: 参数解释:后端服务器组的描述信息。
|
85
85
|
:type description: str
|
86
|
-
:param healthmonitor_id:
|
86
|
+
:param healthmonitor_id: 参数解释:后端服务器组关联的健康检查的ID。
|
87
87
|
:type healthmonitor_id: str
|
88
|
-
:param id:
|
88
|
+
:param id: 参数解释:后端服务器组的ID。
|
89
89
|
:type id: str
|
90
|
-
:param lb_algorithm:
|
90
|
+
:param lb_algorithm: 参数解释:后端服务器组的负载均衡算法。 约束限制: - 当该字段的取值为SOURCE_IP或QUIC_CID时,后端服务器组绑定的后端服务器的weight字段无效。 - 只有pool的protocol为QUIC时,才支持QUIC_CID算法。 取值范围: - 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) [不支持QUIC_CID算法。](tag:hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC_CID。](tag:dt,dt_test)
|
91
91
|
:type lb_algorithm: str
|
92
|
-
:param listeners:
|
92
|
+
:param listeners: 参数解释:后端服务器组关联的监听器ID列表。
|
93
93
|
:type listeners: list[:class:`huaweicloudsdkelb.v3.ListenerRef`]
|
94
|
-
:param loadbalancers:
|
94
|
+
:param loadbalancers: 参数解释:后端服务器组关联的负载均衡器ID列表。
|
95
95
|
:type loadbalancers: list[:class:`huaweicloudsdkelb.v3.LoadBalancerRef`]
|
96
|
-
:param members:
|
96
|
+
:param members: 参数解释:后端服务器组中的后端服务器ID列表。
|
97
97
|
:type members: list[:class:`huaweicloudsdkelb.v3.MemberRef`]
|
98
|
-
:param name:
|
98
|
+
:param name: 参数解释:后端服务器组的名称。
|
99
99
|
:type name: str
|
100
|
-
:param project_id:
|
100
|
+
:param project_id: 参数解释:后端服务器组所在的项目ID。
|
101
101
|
:type project_id: str
|
102
|
-
:param protocol:
|
102
|
+
:param protocol: 参数解释:后端服务器组的后端协议。 约束限制: - listener的protocol为UDP时,pool的protocol必须为UDP或QUIC。 - listener的protocol为TCP时pool的protocol必须为TCP。 [- listener的protocol为IP时,pool的protocol必须为IP。](tag:hws_eu) - listener的protocol为HTTP时,pool的protocol必须为HTTP。 - listener的protocol为HTTPS时,pool的protocol必须为HTTP、HTTPS或GRPC。 - listener的protocol为TERMINATED_HTTPS时,pool的protocol必须为HTTP。 - listener的protocol为QUIC时,pool的protocol必须为HTTP、HTTPS或GRPC。 - listener的protocol为TLS时,pool的protocol必须为TLS或TCP。 - 若pool的protocol为QUIC,则必须开启session_persistence且type为SOURCE_IP。 - 若pool的protocol为GRPC,关联监听器必须开启HTTP2。 - 若pool的protocol为TCP,则pool的ip_version字段取值必须是4。 取值范围:TCP、UDP、[IP、](tag:hws_eu)TLS、GRPC、HTTP、HTTPS和QUIC。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC。](tag:dt,dt_test)
|
103
103
|
:type protocol: str
|
104
104
|
:param session_persistence:
|
105
105
|
:type session_persistence: :class:`huaweicloudsdkelb.v3.SessionPersistence`
|
106
|
-
:param ip_version:
|
106
|
+
:param ip_version: 参数解释:后端服务器组支持的IP版本。 [取值范围: - 共享型:固定为v4; - 独享型:取值dualstack、v4。当协议为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。当协议为TCP/UDP时,ip_version为dualstack,表示双栈。当协议为HTTP时,ip_version为v4。](tag:hcso_dt) [不支持IPv6,只会返回v4。](tag:dt,dt_test)
|
107
107
|
:type ip_version: str
|
108
108
|
:param slow_start:
|
109
109
|
:type slow_start: :class:`huaweicloudsdkelb.v3.SlowStart`
|
110
|
-
:param member_deletion_protection_enable:
|
110
|
+
:param member_deletion_protection_enable: 参数解释:是否开启误删保护。 取值范围:false不开启,true开启。 > 退场时需要先关闭所有资源的删除保护开关。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42) [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
|
111
111
|
:type member_deletion_protection_enable: bool
|
112
|
-
:param created_at:
|
112
|
+
: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)
|
113
113
|
:type created_at: str
|
114
|
-
:param updated_at:
|
114
|
+
: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)
|
115
115
|
:type updated_at: str
|
116
|
-
:param vpc_id:
|
116
|
+
:param vpc_id: 参数解释:后端服务器组关联的虚拟私有云的ID。
|
117
117
|
:type vpc_id: str
|
118
|
-
:param type:
|
118
|
+
:param type: 参数解释:后端服务器组的类型。 取值范围: - instance:允许任意类型的后端,type指定为该类型时,vpc_id是必选字段。 - ip:只能添加跨VPC后端,type指定为该类型时,vpc_id不允许指定。[pool的protocol为IP时,type不允许设置为ip。](tag:hws_eu)] - 空字符串(\"\"):允许任意类型的后端
|
119
119
|
:type type: str
|
120
|
-
:param protection_status:
|
120
|
+
:param protection_status: 参数解释:修改保护状态,。 取值范围: - nonProtection: 不保护。 - consoleProtection: 控制台修改保护。 默认取值:nonProtection
|
121
121
|
:type protection_status: str
|
122
|
-
:param protection_reason:
|
122
|
+
:param protection_reason: 参数解释:设置保护的原因。 参数限制:仅当protection_status为consoleProtection时有效。
|
123
123
|
:type protection_reason: str
|
124
|
-
:param any_port_enable:
|
124
|
+
:param any_port_enable: 参数解释:后端是否开启端口透传。开启后,后端服务器端口与前端监听器端口保持一致。关闭后,请求会转发给后端服务器protocol_port字段指定端口。取值:false不开启,true开启。 约束限制: - 仅QUIC,TCP,UDP的pool支持。
|
125
125
|
:type any_port_enable: bool
|
126
126
|
:param connection_drain:
|
127
127
|
:type connection_drain: :class:`huaweicloudsdkelb.v3.ConnectionDrain`
|
128
|
-
:param enterprise_project_id: IP地址组所在的企业项目ID。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
|
128
|
+
:param enterprise_project_id: 参数解释:IP地址组所在的企业项目ID。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
|
129
129
|
:type enterprise_project_id: str
|
130
130
|
:param pool_health:
|
131
131
|
:type pool_health: :class:`huaweicloudsdkelb.v3.PoolHealth`
|
132
|
-
:param public_border_group:
|
132
|
+
:param public_border_group: 参数解释:可用区组,如:center
|
133
133
|
:type public_border_group: str
|
134
134
|
"""
|
135
135
|
|
@@ -203,7 +203,7 @@ class Pool:
|
|
203
203
|
def admin_state_up(self):
|
204
204
|
"""Gets the admin_state_up of this Pool.
|
205
205
|
|
206
|
-
|
206
|
+
参数解释:后端服务器组的管理状态。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
|
207
207
|
|
208
208
|
:return: The admin_state_up of this Pool.
|
209
209
|
:rtype: bool
|
@@ -214,7 +214,7 @@ class Pool:
|
|
214
214
|
def admin_state_up(self, admin_state_up):
|
215
215
|
"""Sets the admin_state_up of this Pool.
|
216
216
|
|
217
|
-
|
217
|
+
参数解释:后端服务器组的管理状态。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
|
218
218
|
|
219
219
|
:param admin_state_up: The admin_state_up of this Pool.
|
220
220
|
:type admin_state_up: bool
|
@@ -225,7 +225,7 @@ class Pool:
|
|
225
225
|
def description(self):
|
226
226
|
"""Gets the description of this Pool.
|
227
227
|
|
228
|
-
|
228
|
+
参数解释:后端服务器组的描述信息。
|
229
229
|
|
230
230
|
:return: The description of this Pool.
|
231
231
|
:rtype: str
|
@@ -236,7 +236,7 @@ class Pool:
|
|
236
236
|
def description(self, description):
|
237
237
|
"""Sets the description of this Pool.
|
238
238
|
|
239
|
-
|
239
|
+
参数解释:后端服务器组的描述信息。
|
240
240
|
|
241
241
|
:param description: The description of this Pool.
|
242
242
|
:type description: str
|
@@ -247,7 +247,7 @@ class Pool:
|
|
247
247
|
def healthmonitor_id(self):
|
248
248
|
"""Gets the healthmonitor_id of this Pool.
|
249
249
|
|
250
|
-
|
250
|
+
参数解释:后端服务器组关联的健康检查的ID。
|
251
251
|
|
252
252
|
:return: The healthmonitor_id of this Pool.
|
253
253
|
:rtype: str
|
@@ -258,7 +258,7 @@ class Pool:
|
|
258
258
|
def healthmonitor_id(self, healthmonitor_id):
|
259
259
|
"""Sets the healthmonitor_id of this Pool.
|
260
260
|
|
261
|
-
|
261
|
+
参数解释:后端服务器组关联的健康检查的ID。
|
262
262
|
|
263
263
|
:param healthmonitor_id: The healthmonitor_id of this Pool.
|
264
264
|
:type healthmonitor_id: str
|
@@ -269,7 +269,7 @@ class Pool:
|
|
269
269
|
def id(self):
|
270
270
|
"""Gets the id of this Pool.
|
271
271
|
|
272
|
-
|
272
|
+
参数解释:后端服务器组的ID。
|
273
273
|
|
274
274
|
:return: The id of this Pool.
|
275
275
|
:rtype: str
|
@@ -280,7 +280,7 @@ class Pool:
|
|
280
280
|
def id(self, id):
|
281
281
|
"""Sets the id of this Pool.
|
282
282
|
|
283
|
-
|
283
|
+
参数解释:后端服务器组的ID。
|
284
284
|
|
285
285
|
:param id: The id of this Pool.
|
286
286
|
:type id: str
|
@@ -291,7 +291,7 @@ class Pool:
|
|
291
291
|
def lb_algorithm(self):
|
292
292
|
"""Gets the lb_algorithm of this Pool.
|
293
293
|
|
294
|
-
|
294
|
+
参数解释:后端服务器组的负载均衡算法。 约束限制: - 当该字段的取值为SOURCE_IP或QUIC_CID时,后端服务器组绑定的后端服务器的weight字段无效。 - 只有pool的protocol为QUIC时,才支持QUIC_CID算法。 取值范围: - 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) [不支持QUIC_CID算法。](tag:hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC_CID。](tag:dt,dt_test)
|
295
295
|
|
296
296
|
:return: The lb_algorithm of this Pool.
|
297
297
|
:rtype: str
|
@@ -302,7 +302,7 @@ class Pool:
|
|
302
302
|
def lb_algorithm(self, lb_algorithm):
|
303
303
|
"""Sets the lb_algorithm of this Pool.
|
304
304
|
|
305
|
-
|
305
|
+
参数解释:后端服务器组的负载均衡算法。 约束限制: - 当该字段的取值为SOURCE_IP或QUIC_CID时,后端服务器组绑定的后端服务器的weight字段无效。 - 只有pool的protocol为QUIC时,才支持QUIC_CID算法。 取值范围: - 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) [不支持QUIC_CID算法。](tag:hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC_CID。](tag:dt,dt_test)
|
306
306
|
|
307
307
|
:param lb_algorithm: The lb_algorithm of this Pool.
|
308
308
|
:type lb_algorithm: str
|
@@ -313,7 +313,7 @@ class Pool:
|
|
313
313
|
def listeners(self):
|
314
314
|
"""Gets the listeners of this Pool.
|
315
315
|
|
316
|
-
|
316
|
+
参数解释:后端服务器组关联的监听器ID列表。
|
317
317
|
|
318
318
|
:return: The listeners of this Pool.
|
319
319
|
:rtype: list[:class:`huaweicloudsdkelb.v3.ListenerRef`]
|
@@ -324,7 +324,7 @@ class Pool:
|
|
324
324
|
def listeners(self, listeners):
|
325
325
|
"""Sets the listeners of this Pool.
|
326
326
|
|
327
|
-
|
327
|
+
参数解释:后端服务器组关联的监听器ID列表。
|
328
328
|
|
329
329
|
:param listeners: The listeners of this Pool.
|
330
330
|
:type listeners: list[:class:`huaweicloudsdkelb.v3.ListenerRef`]
|
@@ -335,7 +335,7 @@ class Pool:
|
|
335
335
|
def loadbalancers(self):
|
336
336
|
"""Gets the loadbalancers of this Pool.
|
337
337
|
|
338
|
-
|
338
|
+
参数解释:后端服务器组关联的负载均衡器ID列表。
|
339
339
|
|
340
340
|
:return: The loadbalancers of this Pool.
|
341
341
|
:rtype: list[:class:`huaweicloudsdkelb.v3.LoadBalancerRef`]
|
@@ -346,7 +346,7 @@ class Pool:
|
|
346
346
|
def loadbalancers(self, loadbalancers):
|
347
347
|
"""Sets the loadbalancers of this Pool.
|
348
348
|
|
349
|
-
|
349
|
+
参数解释:后端服务器组关联的负载均衡器ID列表。
|
350
350
|
|
351
351
|
:param loadbalancers: The loadbalancers of this Pool.
|
352
352
|
:type loadbalancers: list[:class:`huaweicloudsdkelb.v3.LoadBalancerRef`]
|
@@ -357,7 +357,7 @@ class Pool:
|
|
357
357
|
def members(self):
|
358
358
|
"""Gets the members of this Pool.
|
359
359
|
|
360
|
-
|
360
|
+
参数解释:后端服务器组中的后端服务器ID列表。
|
361
361
|
|
362
362
|
:return: The members of this Pool.
|
363
363
|
:rtype: list[:class:`huaweicloudsdkelb.v3.MemberRef`]
|
@@ -368,7 +368,7 @@ class Pool:
|
|
368
368
|
def members(self, members):
|
369
369
|
"""Sets the members of this Pool.
|
370
370
|
|
371
|
-
|
371
|
+
参数解释:后端服务器组中的后端服务器ID列表。
|
372
372
|
|
373
373
|
:param members: The members of this Pool.
|
374
374
|
:type members: list[:class:`huaweicloudsdkelb.v3.MemberRef`]
|
@@ -379,7 +379,7 @@ class Pool:
|
|
379
379
|
def name(self):
|
380
380
|
"""Gets the name of this Pool.
|
381
381
|
|
382
|
-
|
382
|
+
参数解释:后端服务器组的名称。
|
383
383
|
|
384
384
|
:return: The name of this Pool.
|
385
385
|
:rtype: str
|
@@ -390,7 +390,7 @@ class Pool:
|
|
390
390
|
def name(self, name):
|
391
391
|
"""Sets the name of this Pool.
|
392
392
|
|
393
|
-
|
393
|
+
参数解释:后端服务器组的名称。
|
394
394
|
|
395
395
|
:param name: The name of this Pool.
|
396
396
|
:type name: str
|
@@ -401,7 +401,7 @@ class Pool:
|
|
401
401
|
def project_id(self):
|
402
402
|
"""Gets the project_id of this Pool.
|
403
403
|
|
404
|
-
|
404
|
+
参数解释:后端服务器组所在的项目ID。
|
405
405
|
|
406
406
|
:return: The project_id of this Pool.
|
407
407
|
:rtype: str
|
@@ -412,7 +412,7 @@ class Pool:
|
|
412
412
|
def project_id(self, project_id):
|
413
413
|
"""Sets the project_id of this Pool.
|
414
414
|
|
415
|
-
|
415
|
+
参数解释:后端服务器组所在的项目ID。
|
416
416
|
|
417
417
|
:param project_id: The project_id of this Pool.
|
418
418
|
:type project_id: str
|
@@ -423,7 +423,7 @@ class Pool:
|
|
423
423
|
def protocol(self):
|
424
424
|
"""Gets the protocol of this Pool.
|
425
425
|
|
426
|
-
|
426
|
+
参数解释:后端服务器组的后端协议。 约束限制: - listener的protocol为UDP时,pool的protocol必须为UDP或QUIC。 - listener的protocol为TCP时pool的protocol必须为TCP。 [- listener的protocol为IP时,pool的protocol必须为IP。](tag:hws_eu) - listener的protocol为HTTP时,pool的protocol必须为HTTP。 - listener的protocol为HTTPS时,pool的protocol必须为HTTP、HTTPS或GRPC。 - listener的protocol为TERMINATED_HTTPS时,pool的protocol必须为HTTP。 - listener的protocol为QUIC时,pool的protocol必须为HTTP、HTTPS或GRPC。 - listener的protocol为TLS时,pool的protocol必须为TLS或TCP。 - 若pool的protocol为QUIC,则必须开启session_persistence且type为SOURCE_IP。 - 若pool的protocol为GRPC,关联监听器必须开启HTTP2。 - 若pool的protocol为TCP,则pool的ip_version字段取值必须是4。 取值范围:TCP、UDP、[IP、](tag:hws_eu)TLS、GRPC、HTTP、HTTPS和QUIC。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC。](tag:dt,dt_test)
|
427
427
|
|
428
428
|
:return: The protocol of this Pool.
|
429
429
|
:rtype: str
|
@@ -434,7 +434,7 @@ class Pool:
|
|
434
434
|
def protocol(self, protocol):
|
435
435
|
"""Sets the protocol of this Pool.
|
436
436
|
|
437
|
-
|
437
|
+
参数解释:后端服务器组的后端协议。 约束限制: - listener的protocol为UDP时,pool的protocol必须为UDP或QUIC。 - listener的protocol为TCP时pool的protocol必须为TCP。 [- listener的protocol为IP时,pool的protocol必须为IP。](tag:hws_eu) - listener的protocol为HTTP时,pool的protocol必须为HTTP。 - listener的protocol为HTTPS时,pool的protocol必须为HTTP、HTTPS或GRPC。 - listener的protocol为TERMINATED_HTTPS时,pool的protocol必须为HTTP。 - listener的protocol为QUIC时,pool的protocol必须为HTTP、HTTPS或GRPC。 - listener的protocol为TLS时,pool的protocol必须为TLS或TCP。 - 若pool的protocol为QUIC,则必须开启session_persistence且type为SOURCE_IP。 - 若pool的protocol为GRPC,关联监听器必须开启HTTP2。 - 若pool的protocol为TCP,则pool的ip_version字段取值必须是4。 取值范围:TCP、UDP、[IP、](tag:hws_eu)TLS、GRPC、HTTP、HTTPS和QUIC。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC。](tag:dt,dt_test)
|
438
438
|
|
439
439
|
:param protocol: The protocol of this Pool.
|
440
440
|
:type protocol: str
|
@@ -463,7 +463,7 @@ class Pool:
|
|
463
463
|
def ip_version(self):
|
464
464
|
"""Gets the ip_version of this Pool.
|
465
465
|
|
466
|
-
|
466
|
+
参数解释:后端服务器组支持的IP版本。 [取值范围: - 共享型:固定为v4; - 独享型:取值dualstack、v4。当协议为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。当协议为TCP/UDP时,ip_version为dualstack,表示双栈。当协议为HTTP时,ip_version为v4。](tag:hcso_dt) [不支持IPv6,只会返回v4。](tag:dt,dt_test)
|
467
467
|
|
468
468
|
:return: The ip_version of this Pool.
|
469
469
|
:rtype: str
|
@@ -474,7 +474,7 @@ class Pool:
|
|
474
474
|
def ip_version(self, ip_version):
|
475
475
|
"""Sets the ip_version of this Pool.
|
476
476
|
|
477
|
-
|
477
|
+
参数解释:后端服务器组支持的IP版本。 [取值范围: - 共享型:固定为v4; - 独享型:取值dualstack、v4。当协议为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。当协议为TCP/UDP时,ip_version为dualstack,表示双栈。当协议为HTTP时,ip_version为v4。](tag:hcso_dt) [不支持IPv6,只会返回v4。](tag:dt,dt_test)
|
478
478
|
|
479
479
|
:param ip_version: The ip_version of this Pool.
|
480
480
|
:type ip_version: str
|
@@ -503,7 +503,7 @@ class Pool:
|
|
503
503
|
def member_deletion_protection_enable(self):
|
504
504
|
"""Gets the member_deletion_protection_enable of this Pool.
|
505
505
|
|
506
|
-
|
506
|
+
参数解释:是否开启误删保护。 取值范围:false不开启,true开启。 > 退场时需要先关闭所有资源的删除保护开关。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42) [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
|
507
507
|
|
508
508
|
:return: The member_deletion_protection_enable of this Pool.
|
509
509
|
:rtype: bool
|
@@ -514,7 +514,7 @@ class Pool:
|
|
514
514
|
def member_deletion_protection_enable(self, member_deletion_protection_enable):
|
515
515
|
"""Sets the member_deletion_protection_enable of this Pool.
|
516
516
|
|
517
|
-
|
517
|
+
参数解释:是否开启误删保护。 取值范围:false不开启,true开启。 > 退场时需要先关闭所有资源的删除保护开关。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42) [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
|
518
518
|
|
519
519
|
:param member_deletion_protection_enable: The member_deletion_protection_enable of this Pool.
|
520
520
|
:type member_deletion_protection_enable: bool
|
@@ -525,7 +525,7 @@ class Pool:
|
|
525
525
|
def created_at(self):
|
526
526
|
"""Gets the created_at of this Pool.
|
527
527
|
|
528
|
-
|
528
|
+
参数解释:创建时间。 取值范围:格式: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)
|
529
529
|
|
530
530
|
:return: The created_at of this Pool.
|
531
531
|
:rtype: str
|
@@ -536,7 +536,7 @@ class Pool:
|
|
536
536
|
def created_at(self, created_at):
|
537
537
|
"""Sets the created_at of this Pool.
|
538
538
|
|
539
|
-
|
539
|
+
参数解释:创建时间。 取值范围:格式: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)
|
540
540
|
|
541
541
|
:param created_at: The created_at of this Pool.
|
542
542
|
:type created_at: str
|
@@ -547,7 +547,7 @@ class Pool:
|
|
547
547
|
def updated_at(self):
|
548
548
|
"""Gets the updated_at of this Pool.
|
549
549
|
|
550
|
-
|
550
|
+
参数解释:更新时间。 取值范围:格式: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)
|
551
551
|
|
552
552
|
:return: The updated_at of this Pool.
|
553
553
|
:rtype: str
|
@@ -558,7 +558,7 @@ class Pool:
|
|
558
558
|
def updated_at(self, updated_at):
|
559
559
|
"""Sets the updated_at of this Pool.
|
560
560
|
|
561
|
-
|
561
|
+
参数解释:更新时间。 取值范围:格式: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)
|
562
562
|
|
563
563
|
:param updated_at: The updated_at of this Pool.
|
564
564
|
:type updated_at: str
|
@@ -569,7 +569,7 @@ class Pool:
|
|
569
569
|
def vpc_id(self):
|
570
570
|
"""Gets the vpc_id of this Pool.
|
571
571
|
|
572
|
-
|
572
|
+
参数解释:后端服务器组关联的虚拟私有云的ID。
|
573
573
|
|
574
574
|
:return: The vpc_id of this Pool.
|
575
575
|
:rtype: str
|
@@ -580,7 +580,7 @@ class Pool:
|
|
580
580
|
def vpc_id(self, vpc_id):
|
581
581
|
"""Sets the vpc_id of this Pool.
|
582
582
|
|
583
|
-
|
583
|
+
参数解释:后端服务器组关联的虚拟私有云的ID。
|
584
584
|
|
585
585
|
:param vpc_id: The vpc_id of this Pool.
|
586
586
|
:type vpc_id: str
|
@@ -591,7 +591,7 @@ class Pool:
|
|
591
591
|
def type(self):
|
592
592
|
"""Gets the type of this Pool.
|
593
593
|
|
594
|
-
|
594
|
+
参数解释:后端服务器组的类型。 取值范围: - instance:允许任意类型的后端,type指定为该类型时,vpc_id是必选字段。 - ip:只能添加跨VPC后端,type指定为该类型时,vpc_id不允许指定。[pool的protocol为IP时,type不允许设置为ip。](tag:hws_eu)] - 空字符串(\"\"):允许任意类型的后端
|
595
595
|
|
596
596
|
:return: The type of this Pool.
|
597
597
|
:rtype: str
|
@@ -602,7 +602,7 @@ class Pool:
|
|
602
602
|
def type(self, type):
|
603
603
|
"""Sets the type of this Pool.
|
604
604
|
|
605
|
-
|
605
|
+
参数解释:后端服务器组的类型。 取值范围: - instance:允许任意类型的后端,type指定为该类型时,vpc_id是必选字段。 - ip:只能添加跨VPC后端,type指定为该类型时,vpc_id不允许指定。[pool的protocol为IP时,type不允许设置为ip。](tag:hws_eu)] - 空字符串(\"\"):允许任意类型的后端
|
606
606
|
|
607
607
|
:param type: The type of this Pool.
|
608
608
|
:type type: str
|
@@ -613,7 +613,7 @@ class Pool:
|
|
613
613
|
def protection_status(self):
|
614
614
|
"""Gets the protection_status of this Pool.
|
615
615
|
|
616
|
-
|
616
|
+
参数解释:修改保护状态,。 取值范围: - nonProtection: 不保护。 - consoleProtection: 控制台修改保护。 默认取值:nonProtection
|
617
617
|
|
618
618
|
:return: The protection_status of this Pool.
|
619
619
|
:rtype: str
|
@@ -624,7 +624,7 @@ class Pool:
|
|
624
624
|
def protection_status(self, protection_status):
|
625
625
|
"""Sets the protection_status of this Pool.
|
626
626
|
|
627
|
-
|
627
|
+
参数解释:修改保护状态,。 取值范围: - nonProtection: 不保护。 - consoleProtection: 控制台修改保护。 默认取值:nonProtection
|
628
628
|
|
629
629
|
:param protection_status: The protection_status of this Pool.
|
630
630
|
:type protection_status: str
|
@@ -635,7 +635,7 @@ class Pool:
|
|
635
635
|
def protection_reason(self):
|
636
636
|
"""Gets the protection_reason of this Pool.
|
637
637
|
|
638
|
-
|
638
|
+
参数解释:设置保护的原因。 参数限制:仅当protection_status为consoleProtection时有效。
|
639
639
|
|
640
640
|
:return: The protection_reason of this Pool.
|
641
641
|
:rtype: str
|
@@ -646,7 +646,7 @@ class Pool:
|
|
646
646
|
def protection_reason(self, protection_reason):
|
647
647
|
"""Sets the protection_reason of this Pool.
|
648
648
|
|
649
|
-
|
649
|
+
参数解释:设置保护的原因。 参数限制:仅当protection_status为consoleProtection时有效。
|
650
650
|
|
651
651
|
:param protection_reason: The protection_reason of this Pool.
|
652
652
|
:type protection_reason: str
|
@@ -657,7 +657,7 @@ class Pool:
|
|
657
657
|
def any_port_enable(self):
|
658
658
|
"""Gets the any_port_enable of this Pool.
|
659
659
|
|
660
|
-
|
660
|
+
参数解释:后端是否开启端口透传。开启后,后端服务器端口与前端监听器端口保持一致。关闭后,请求会转发给后端服务器protocol_port字段指定端口。取值:false不开启,true开启。 约束限制: - 仅QUIC,TCP,UDP的pool支持。
|
661
661
|
|
662
662
|
:return: The any_port_enable of this Pool.
|
663
663
|
:rtype: bool
|
@@ -668,7 +668,7 @@ class Pool:
|
|
668
668
|
def any_port_enable(self, any_port_enable):
|
669
669
|
"""Sets the any_port_enable of this Pool.
|
670
670
|
|
671
|
-
|
671
|
+
参数解释:后端是否开启端口透传。开启后,后端服务器端口与前端监听器端口保持一致。关闭后,请求会转发给后端服务器protocol_port字段指定端口。取值:false不开启,true开启。 约束限制: - 仅QUIC,TCP,UDP的pool支持。
|
672
672
|
|
673
673
|
:param any_port_enable: The any_port_enable of this Pool.
|
674
674
|
:type any_port_enable: bool
|
@@ -697,7 +697,7 @@ class Pool:
|
|
697
697
|
def enterprise_project_id(self):
|
698
698
|
"""Gets the enterprise_project_id of this Pool.
|
699
699
|
|
700
|
-
IP地址组所在的企业项目ID。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
|
700
|
+
参数解释:IP地址组所在的企业项目ID。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
|
701
701
|
|
702
702
|
:return: The enterprise_project_id of this Pool.
|
703
703
|
:rtype: str
|
@@ -708,7 +708,7 @@ class Pool:
|
|
708
708
|
def enterprise_project_id(self, enterprise_project_id):
|
709
709
|
"""Sets the enterprise_project_id of this Pool.
|
710
710
|
|
711
|
-
IP地址组所在的企业项目ID。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
|
711
|
+
参数解释:IP地址组所在的企业项目ID。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
|
712
712
|
|
713
713
|
:param enterprise_project_id: The enterprise_project_id of this Pool.
|
714
714
|
:type enterprise_project_id: str
|
@@ -737,7 +737,7 @@ class Pool:
|
|
737
737
|
def public_border_group(self):
|
738
738
|
"""Gets the public_border_group of this Pool.
|
739
739
|
|
740
|
-
|
740
|
+
参数解释:可用区组,如:center
|
741
741
|
|
742
742
|
:return: The public_border_group of this Pool.
|
743
743
|
:rtype: str
|
@@ -748,7 +748,7 @@ class Pool:
|
|
748
748
|
def public_border_group(self, public_border_group):
|
749
749
|
"""Sets the public_border_group of this Pool.
|
750
750
|
|
751
|
-
|
751
|
+
参数解释:可用区组,如:center
|
752
752
|
|
753
753
|
:param public_border_group: The public_border_group of this Pool.
|
754
754
|
:type public_border_group: str
|
@@ -29,7 +29,7 @@ class PoolHealth:
|
|
29
29
|
|
30
30
|
The model defined in huaweicloud sdk
|
31
31
|
|
32
|
-
:param minimum_healthy_member_count:
|
32
|
+
:param minimum_healthy_member_count: 参数解释:当健康检查在线的member个数小于该个数,判定pool的state为不健康。 取值范围: - 0:默认值,不生效。 - 1:全下线转发生效。
|
33
33
|
:type minimum_healthy_member_count: int
|
34
34
|
"""
|
35
35
|
|
@@ -45,7 +45,7 @@ class PoolHealth:
|
|
45
45
|
def minimum_healthy_member_count(self):
|
46
46
|
"""Gets the minimum_healthy_member_count of this PoolHealth.
|
47
47
|
|
48
|
-
|
48
|
+
参数解释:当健康检查在线的member个数小于该个数,判定pool的state为不健康。 取值范围: - 0:默认值,不生效。 - 1:全下线转发生效。
|
49
49
|
|
50
50
|
:return: The minimum_healthy_member_count of this PoolHealth.
|
51
51
|
:rtype: int
|
@@ -56,7 +56,7 @@ class PoolHealth:
|
|
56
56
|
def minimum_healthy_member_count(self, minimum_healthy_member_count):
|
57
57
|
"""Sets the minimum_healthy_member_count of this PoolHealth.
|
58
58
|
|
59
|
-
|
59
|
+
参数解释:当健康检查在线的member个数小于该个数,判定pool的state为不健康。 取值范围: - 0:默认值,不生效。 - 1:全下线转发生效。
|
60
60
|
|
61
61
|
:param minimum_healthy_member_count: The minimum_healthy_member_count of this PoolHealth.
|
62
62
|
:type minimum_healthy_member_count: int
|
@@ -71,11 +71,11 @@ class Quota:
|
|
71
71
|
:type l7policy: int
|
72
72
|
:param condition_per_policy: 单个转发策略下所有转发规则的condition总数配额。 取值: - 大于等于0:表示当前配额数量。 - -1:表示无配额限制。
|
73
73
|
:type condition_per_policy: int
|
74
|
-
:param pool:
|
74
|
+
:param pool: 后端服务器组配额。 取值: - 大于等于0:表示当前配额数量。 - -1:表示无配额限制。
|
75
75
|
:type pool: int
|
76
76
|
:param healthmonitor: 健康检查配额。 取值: - 大于等于0:表示当前配额数量。 - -1:表示无配额限制。
|
77
77
|
:type healthmonitor: int
|
78
|
-
:param member:
|
78
|
+
:param member: 后端服务器配额。 取值: - 大于等于0:表示当前配额数量。 - -1:表示无配额限制。
|
79
79
|
:type member: int
|
80
80
|
:param members_per_pool: 单个pool下的member的配额。 取值: - 大于等于0:表示当前配额数量。 - -1:表示无配额限制。
|
81
81
|
:type members_per_pool: int
|
@@ -266,7 +266,7 @@ class Quota:
|
|
266
266
|
def pool(self):
|
267
267
|
"""Gets the pool of this Quota.
|
268
268
|
|
269
|
-
|
269
|
+
后端服务器组配额。 取值: - 大于等于0:表示当前配额数量。 - -1:表示无配额限制。
|
270
270
|
|
271
271
|
:return: The pool of this Quota.
|
272
272
|
:rtype: int
|
@@ -277,7 +277,7 @@ class Quota:
|
|
277
277
|
def pool(self, pool):
|
278
278
|
"""Sets the pool of this Quota.
|
279
279
|
|
280
|
-
|
280
|
+
后端服务器组配额。 取值: - 大于等于0:表示当前配额数量。 - -1:表示无配额限制。
|
281
281
|
|
282
282
|
:param pool: The pool of this Quota.
|
283
283
|
:type pool: int
|
@@ -310,7 +310,7 @@ class Quota:
|
|
310
310
|
def member(self):
|
311
311
|
"""Gets the member of this Quota.
|
312
312
|
|
313
|
-
|
313
|
+
后端服务器配额。 取值: - 大于等于0:表示当前配额数量。 - -1:表示无配额限制。
|
314
314
|
|
315
315
|
:return: The member of this Quota.
|
316
316
|
:rtype: int
|
@@ -321,7 +321,7 @@ class Quota:
|
|
321
321
|
def member(self, member):
|
322
322
|
"""Sets the member of this Quota.
|
323
323
|
|
324
|
-
|
324
|
+
后端服务器配额。 取值: - 大于等于0:表示当前配额数量。 - -1:表示无配额限制。
|
325
325
|
|
326
326
|
:param member: The member of this Quota.
|
327
327
|
:type member: int
|