huaweicloudsdkelb 3.1.154__py2.py3-none-any.whl → 3.1.155__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/__init__.py +1 -0
- huaweicloudsdkelb/v2/model/__init__.py +1 -0
- huaweicloudsdkelb/v2/model/create_loadbalancer_req.py +28 -3
- huaweicloudsdkelb/v2/model/prepaid_create_option.py +201 -0
- huaweicloudsdkelb/v3/__init__.py +3 -1
- huaweicloudsdkelb/v3/elb_async_client.py +83 -0
- huaweicloudsdkelb/v3/elb_client.py +83 -0
- huaweicloudsdkelb/v3/model/__init__.py +3 -1
- huaweicloudsdkelb/v3/model/batch_member.py +6 -6
- huaweicloudsdkelb/v3/model/batch_update_member.py +6 -6
- huaweicloudsdkelb/v3/model/connection_drain.py +3 -3
- huaweicloudsdkelb/v3/model/create_listener_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_pool_option.py +9 -9
- huaweicloudsdkelb/v3/model/list_all_members_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_certificates_request.py +32 -3
- huaweicloudsdkelb/v3/model/list_members_request.py +3 -3
- huaweicloudsdkelb/v3/model/local_port.py +231 -0
- huaweicloudsdkelb/v3/model/member.py +6 -6
- huaweicloudsdkelb/v3/model/member_info.py +6 -6
- huaweicloudsdkelb/v3/model/pool.py +3 -3
- huaweicloudsdkelb/v3/model/show_load_balancer_ports_request.py +259 -0
- huaweicloudsdkelb/v3/model/show_load_balancer_ports_response.py +145 -0
- huaweicloudsdkelb/v3/model/update_pool_option.py +3 -3
- huaweicloudsdkelb/v3/model/upgrade_v3_request_body.py +3 -28
- {huaweicloudsdkelb-3.1.154.dist-info → huaweicloudsdkelb-3.1.155.dist-info}/METADATA +2 -2
- {huaweicloudsdkelb-3.1.154.dist-info → huaweicloudsdkelb-3.1.155.dist-info}/RECORD +29 -26
- huaweicloudsdkelb/v3/model/upgrade_prepaid_option.py +0 -200
- {huaweicloudsdkelb-3.1.154.dist-info → huaweicloudsdkelb-3.1.155.dist-info}/LICENSE +0 -0
- {huaweicloudsdkelb-3.1.154.dist-info → huaweicloudsdkelb-3.1.155.dist-info}/WHEEL +0 -0
- {huaweicloudsdkelb-3.1.154.dist-info → huaweicloudsdkelb-3.1.155.dist-info}/top_level.txt +0 -0
@@ -153,7 +153,7 @@ class CreateListenerOption:
|
|
153
153
|
:type protection_reason: str
|
154
154
|
:param gzip_enable: 参数解释:ELB是否开启gzip压缩。 [约束限制:仅HTTP/HTTPS类型监听器支持配置。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt) [约束限制:仅HTTP/HTTPS/QUIC类型监听器支持配置。](tag:hws,hws_hk,hws_test,hcs,hcs_sm,hcso,hk_vdf,srg,fcs,fcs_vm,mix,ocb,ctc,cmcc,ct,sbc,hws_ocb,hk_sbc) 取值范围:true,false 默认取值:false
|
155
155
|
:type gzip_enable: bool
|
156
|
-
:param port_ranges: 参数解释:端口监听范围(闭区间),最多指定10个端口组,每个组范围不可有重叠部分。 约束限制: - 仅当protocol_port为0或未传入
|
156
|
+
:param port_ranges: 参数解释:端口监听范围(闭区间),最多指定10个端口组,每个组范围不可有重叠部分。 约束限制: - 仅当protocol_port为0或未传入protocol_port时可以传入该字段。 - 仅TCP, UDP,TLS监听支持该字段
|
157
157
|
:type port_ranges: list[:class:`huaweicloudsdkelb.v3.PortRange`]
|
158
158
|
:param ssl_early_data_enable: 参数解释:监听器0-RTT能力开关。 约束限制:仅HTTPS类型监听器支持配置,需要依赖TLSv1.3安全策略协议。开启 ssl_early_data 后,有重放攻击的风险,请谨慎开启。 取值范围:true,false 默认取值:false
|
159
159
|
:type ssl_early_data_enable: bool
|
@@ -900,7 +900,7 @@ class CreateListenerOption:
|
|
900
900
|
def port_ranges(self):
|
901
901
|
r"""Gets the port_ranges of this CreateListenerOption.
|
902
902
|
|
903
|
-
参数解释:端口监听范围(闭区间),最多指定10个端口组,每个组范围不可有重叠部分。 约束限制: - 仅当protocol_port为0或未传入
|
903
|
+
参数解释:端口监听范围(闭区间),最多指定10个端口组,每个组范围不可有重叠部分。 约束限制: - 仅当protocol_port为0或未传入protocol_port时可以传入该字段。 - 仅TCP, UDP,TLS监听支持该字段
|
904
904
|
|
905
905
|
:return: The port_ranges of this CreateListenerOption.
|
906
906
|
:rtype: list[:class:`huaweicloudsdkelb.v3.PortRange`]
|
@@ -911,7 +911,7 @@ class CreateListenerOption:
|
|
911
911
|
def port_ranges(self, port_ranges):
|
912
912
|
r"""Sets the port_ranges of this CreateListenerOption.
|
913
913
|
|
914
|
-
参数解释:端口监听范围(闭区间),最多指定10个端口组,每个组范围不可有重叠部分。 约束限制: - 仅当protocol_port为0或未传入
|
914
|
+
参数解释:端口监听范围(闭区间),最多指定10个端口组,每个组范围不可有重叠部分。 约束限制: - 仅当protocol_port为0或未传入protocol_port时可以传入该字段。 - 仅TCP, UDP,TLS监听支持该字段
|
915
915
|
|
916
916
|
:param port_ranges: The port_ranges of this CreateListenerOption.
|
917
917
|
:type port_ranges: list[:class:`huaweicloudsdkelb.v3.PortRange`]
|
@@ -79,9 +79,9 @@ class CreatePoolOption:
|
|
79
79
|
:type description: str
|
80
80
|
: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:tm,hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC_CID。](tag:dt)
|
81
81
|
:type lb_algorithm: str
|
82
|
-
:param listener_id: 参数解释:后端服务器组关联的监听器的ID。 约束限制: - listener_id,loadbalancer_id,type至少指定一个。 [- 独享型实例的后端服务器组loadbalancer_id和listener_id
|
82
|
+
:param listener_id: 参数解释:后端服务器组关联的监听器的ID。 约束限制: - listener_id,loadbalancer_id,type至少指定一个。 [- 独享型实例的后端服务器组loadbalancer_id和listener_id可以都不指定,但共享型实例至少指定一个。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt,hk_tm)
|
83
83
|
:type listener_id: str
|
84
|
-
:param loadbalancer_id: 参数解释:后端服务器组关联的负载均衡器ID。 约束限制: - listener_id,loadbalancer_id,type至少指定一个。 [- 独享型实例的后端服务器组loadbalancer_id和listener_id
|
84
|
+
:param loadbalancer_id: 参数解释:后端服务器组关联的负载均衡器ID。 约束限制: - listener_id,loadbalancer_id,type至少指定一个。 [- 独享型实例的后端服务器组loadbalancer_id和listener_id可以都不指定,但共享型实例至少指定一个。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt,hk_tm)
|
85
85
|
:type loadbalancer_id: str
|
86
86
|
:param name: 参数解释:后端服务器组的名称。
|
87
87
|
:type name: str
|
@@ -93,7 +93,7 @@ class CreatePoolOption:
|
|
93
93
|
:type session_persistence: :class:`huaweicloudsdkelb.v3.CreatePoolSessionPersistenceOption`
|
94
94
|
:param slow_start:
|
95
95
|
:type slow_start: :class:`huaweicloudsdkelb.v3.CreatePoolSlowStartOption`
|
96
|
-
:param member_deletion_protection_enable:
|
96
|
+
:param member_deletion_protection_enable: 参数解释:是否开启后端服务器移除保护。开关开启后,不允许从该ELB后端服务器组下移除后端服务器。 约束限制: - 开关开启后,移除member会报错拦截,涉及如下API: + 级联删除负载均衡器(DELETE /v3/{project_id}/elb/loadbalancers/{loadbalancer_id}/force-elb) + 级联删除负载均衡器及关联EIP(POST /v3/{project_id}/elb/loadbalancers/{loadbalancer_id}/delete-cascade) + 级联删除监听器(DELETE /v3/{project_id}/elb/listeners/{listener_id}/force) + 级联删除后端服务器组(DELETE /v3/{project_id}/elb/pools/{pool_id}/delete-cascade) + 删除后端服务器(DELETE /v3/{project_id}/elb/pools/{pool_id}/members/{member_id}) + 批量删除后端服务器(POST /v3/{project_id}/elb/pools/{pool_id}/members/batch-delete) 取值范围:false不开启,true开启。 默认取值:false > 退场时需要先关闭所有资源的删除保护开关。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42) [荷兰region不支持该字段,请勿使用。](tag:dt)
|
97
97
|
:type member_deletion_protection_enable: bool
|
98
98
|
:param vpc_id: 参数解释:后端服务器组关联的虚拟私有云的ID。 约束限制: - 只能挂载到该虚拟私有云下。 - 只能添加该虚拟私有云下的后端服务器或跨VPC的后端服务器。 - type必须指定为instance。 [- pool的protocol为IP时,必须指定vpc_id,且与LB的vpc_id相同。](tag:hws_eu) - 若未指定vpc_id,则后续添加后端服务器时,vpc_id由后端服务器所在的虚拟私有云确定。
|
99
99
|
:type vpc_id: str
|
@@ -274,7 +274,7 @@ class CreatePoolOption:
|
|
274
274
|
def listener_id(self):
|
275
275
|
r"""Gets the listener_id of this CreatePoolOption.
|
276
276
|
|
277
|
-
参数解释:后端服务器组关联的监听器的ID。 约束限制: - listener_id,loadbalancer_id,type至少指定一个。 [- 独享型实例的后端服务器组loadbalancer_id和listener_id
|
277
|
+
参数解释:后端服务器组关联的监听器的ID。 约束限制: - listener_id,loadbalancer_id,type至少指定一个。 [- 独享型实例的后端服务器组loadbalancer_id和listener_id可以都不指定,但共享型实例至少指定一个。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt,hk_tm)
|
278
278
|
|
279
279
|
:return: The listener_id of this CreatePoolOption.
|
280
280
|
:rtype: str
|
@@ -285,7 +285,7 @@ class CreatePoolOption:
|
|
285
285
|
def listener_id(self, listener_id):
|
286
286
|
r"""Sets the listener_id of this CreatePoolOption.
|
287
287
|
|
288
|
-
参数解释:后端服务器组关联的监听器的ID。 约束限制: - listener_id,loadbalancer_id,type至少指定一个。 [- 独享型实例的后端服务器组loadbalancer_id和listener_id
|
288
|
+
参数解释:后端服务器组关联的监听器的ID。 约束限制: - listener_id,loadbalancer_id,type至少指定一个。 [- 独享型实例的后端服务器组loadbalancer_id和listener_id可以都不指定,但共享型实例至少指定一个。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt,hk_tm)
|
289
289
|
|
290
290
|
:param listener_id: The listener_id of this CreatePoolOption.
|
291
291
|
:type listener_id: str
|
@@ -296,7 +296,7 @@ class CreatePoolOption:
|
|
296
296
|
def loadbalancer_id(self):
|
297
297
|
r"""Gets the loadbalancer_id of this CreatePoolOption.
|
298
298
|
|
299
|
-
参数解释:后端服务器组关联的负载均衡器ID。 约束限制: - listener_id,loadbalancer_id,type至少指定一个。 [- 独享型实例的后端服务器组loadbalancer_id和listener_id
|
299
|
+
参数解释:后端服务器组关联的负载均衡器ID。 约束限制: - listener_id,loadbalancer_id,type至少指定一个。 [- 独享型实例的后端服务器组loadbalancer_id和listener_id可以都不指定,但共享型实例至少指定一个。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt,hk_tm)
|
300
300
|
|
301
301
|
:return: The loadbalancer_id of this CreatePoolOption.
|
302
302
|
:rtype: str
|
@@ -307,7 +307,7 @@ class CreatePoolOption:
|
|
307
307
|
def loadbalancer_id(self, loadbalancer_id):
|
308
308
|
r"""Sets the loadbalancer_id of this CreatePoolOption.
|
309
309
|
|
310
|
-
参数解释:后端服务器组关联的负载均衡器ID。 约束限制: - listener_id,loadbalancer_id,type至少指定一个。 [- 独享型实例的后端服务器组loadbalancer_id和listener_id
|
310
|
+
参数解释:后端服务器组关联的负载均衡器ID。 约束限制: - listener_id,loadbalancer_id,type至少指定一个。 [- 独享型实例的后端服务器组loadbalancer_id和listener_id可以都不指定,但共享型实例至少指定一个。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt,hk_tm)
|
311
311
|
|
312
312
|
:param loadbalancer_id: The loadbalancer_id of this CreatePoolOption.
|
313
313
|
:type loadbalancer_id: str
|
@@ -420,7 +420,7 @@ class CreatePoolOption:
|
|
420
420
|
def member_deletion_protection_enable(self):
|
421
421
|
r"""Gets the member_deletion_protection_enable of this CreatePoolOption.
|
422
422
|
|
423
|
-
|
423
|
+
参数解释:是否开启后端服务器移除保护。开关开启后,不允许从该ELB后端服务器组下移除后端服务器。 约束限制: - 开关开启后,移除member会报错拦截,涉及如下API: + 级联删除负载均衡器(DELETE /v3/{project_id}/elb/loadbalancers/{loadbalancer_id}/force-elb) + 级联删除负载均衡器及关联EIP(POST /v3/{project_id}/elb/loadbalancers/{loadbalancer_id}/delete-cascade) + 级联删除监听器(DELETE /v3/{project_id}/elb/listeners/{listener_id}/force) + 级联删除后端服务器组(DELETE /v3/{project_id}/elb/pools/{pool_id}/delete-cascade) + 删除后端服务器(DELETE /v3/{project_id}/elb/pools/{pool_id}/members/{member_id}) + 批量删除后端服务器(POST /v3/{project_id}/elb/pools/{pool_id}/members/batch-delete) 取值范围:false不开启,true开启。 默认取值:false > 退场时需要先关闭所有资源的删除保护开关。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42) [荷兰region不支持该字段,请勿使用。](tag:dt)
|
424
424
|
|
425
425
|
:return: The member_deletion_protection_enable of this CreatePoolOption.
|
426
426
|
:rtype: bool
|
@@ -431,7 +431,7 @@ class CreatePoolOption:
|
|
431
431
|
def member_deletion_protection_enable(self, member_deletion_protection_enable):
|
432
432
|
r"""Sets the member_deletion_protection_enable of this CreatePoolOption.
|
433
433
|
|
434
|
-
|
434
|
+
参数解释:是否开启后端服务器移除保护。开关开启后,不允许从该ELB后端服务器组下移除后端服务器。 约束限制: - 开关开启后,移除member会报错拦截,涉及如下API: + 级联删除负载均衡器(DELETE /v3/{project_id}/elb/loadbalancers/{loadbalancer_id}/force-elb) + 级联删除负载均衡器及关联EIP(POST /v3/{project_id}/elb/loadbalancers/{loadbalancer_id}/delete-cascade) + 级联删除监听器(DELETE /v3/{project_id}/elb/listeners/{listener_id}/force) + 级联删除后端服务器组(DELETE /v3/{project_id}/elb/pools/{pool_id}/delete-cascade) + 删除后端服务器(DELETE /v3/{project_id}/elb/pools/{pool_id}/members/{member_id}) + 批量删除后端服务器(POST /v3/{project_id}/elb/pools/{pool_id}/members/batch-delete) 取值范围:false不开启,true开启。 默认取值:false > 退场时需要先关闭所有资源的删除保护开关。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42) [荷兰region不支持该字段,请勿使用。](tag:dt)
|
435
435
|
|
436
436
|
:param member_deletion_protection_enable: The member_deletion_protection_enable of this CreatePoolOption.
|
437
437
|
:type member_deletion_protection_enable: bool
|
@@ -77,7 +77,7 @@ class ListAllMembersRequest:
|
|
77
77
|
:type protocol_port: list[int]
|
78
78
|
:param id: 后端服务器ID。 支持多值查询,查询条件格式:*id=xxx&id=xxx*。
|
79
79
|
:type id: list[str]
|
80
|
-
:param operating_status: 后端服务器的健康状态。 取值: - ONLINE,后端服务器正常运行。 - NO_MONITOR,后端服务器无健康检查。 - OFFLINE,已下线。 支持多值查询,查询条件格式:*operating_status=xxx&operating_status=*。
|
80
|
+
:param operating_status: 后端服务器的健康状态。 取值: - INITIAL:初始化中,表示负载均衡实例配置了健康检查,但查不到数据。 - ONLINE,后端服务器正常运行。 - NO_MONITOR,后端服务器无健康检查。 - OFFLINE,已下线。 支持多值查询,查询条件格式:*operating_status=xxx&operating_status=*。
|
81
81
|
:type operating_status: list[str]
|
82
82
|
:param enterprise_project_id: 参数解释:所属的企业项目ID。 如果enterprise_project_id不传值,默认查询所有企业项目下的资源,鉴权按照细粒度权限鉴权,必须在用户组下分配elb:members:list权限。 如果enterprise_project_id传值,鉴权按照企业项目权限鉴权,分为传入具体eps_id和all_granted_eps两种场景,前者查询指定eps_id的eps下的资源,后者查询的是所有有list权限的eps下的资源。 支持多值查询,查询条件格式: *enterprise_project_id=xxx&enterprise_project_id=xxx*。 [不支持该字段,请勿使用。](tag:dt,hcso_dt)
|
83
83
|
:type enterprise_project_id: list[str]
|
@@ -363,7 +363,7 @@ class ListAllMembersRequest:
|
|
363
363
|
def operating_status(self):
|
364
364
|
r"""Gets the operating_status of this ListAllMembersRequest.
|
365
365
|
|
366
|
-
后端服务器的健康状态。 取值: - ONLINE,后端服务器正常运行。 - NO_MONITOR,后端服务器无健康检查。 - OFFLINE,已下线。 支持多值查询,查询条件格式:*operating_status=xxx&operating_status=*。
|
366
|
+
后端服务器的健康状态。 取值: - INITIAL:初始化中,表示负载均衡实例配置了健康检查,但查不到数据。 - ONLINE,后端服务器正常运行。 - NO_MONITOR,后端服务器无健康检查。 - OFFLINE,已下线。 支持多值查询,查询条件格式:*operating_status=xxx&operating_status=*。
|
367
367
|
|
368
368
|
:return: The operating_status of this ListAllMembersRequest.
|
369
369
|
:rtype: list[str]
|
@@ -374,7 +374,7 @@ class ListAllMembersRequest:
|
|
374
374
|
def operating_status(self, operating_status):
|
375
375
|
r"""Sets the operating_status of this ListAllMembersRequest.
|
376
376
|
|
377
|
-
后端服务器的健康状态。 取值: - ONLINE,后端服务器正常运行。 - NO_MONITOR,后端服务器无健康检查。 - OFFLINE,已下线。 支持多值查询,查询条件格式:*operating_status=xxx&operating_status=*。
|
377
|
+
后端服务器的健康状态。 取值: - INITIAL:初始化中,表示负载均衡实例配置了健康检查,但查不到数据。 - ONLINE,后端服务器正常运行。 - NO_MONITOR,后端服务器无健康检查。 - OFFLINE,已下线。 支持多值查询,查询条件格式:*operating_status=xxx&operating_status=*。
|
378
378
|
|
379
379
|
:param operating_status: The operating_status of this ListAllMembersRequest.
|
380
380
|
:type operating_status: list[str]
|
@@ -31,7 +31,8 @@ class ListCertificatesRequest:
|
|
31
31
|
'fingerprint': 'list[str]',
|
32
32
|
'source': 'list[str]',
|
33
33
|
'protection_status': 'list[str]',
|
34
|
-
'protection_reason': 'list[str]'
|
34
|
+
'protection_reason': 'list[str]',
|
35
|
+
'enterprise_project_id': 'list[str]'
|
35
36
|
}
|
36
37
|
|
37
38
|
attribute_map = {
|
@@ -49,10 +50,11 @@ class ListCertificatesRequest:
|
|
49
50
|
'fingerprint': 'fingerprint',
|
50
51
|
'source': 'source',
|
51
52
|
'protection_status': 'protection_status',
|
52
|
-
'protection_reason': 'protection_reason'
|
53
|
+
'protection_reason': 'protection_reason',
|
54
|
+
'enterprise_project_id': 'enterprise_project_id'
|
53
55
|
}
|
54
56
|
|
55
|
-
def __init__(self, marker=None, limit=None, page_reverse=None, id=None, name=None, description=None, admin_state_up=None, domain=None, type=None, scm_certificate_id=None, common_name=None, fingerprint=None, source=None, protection_status=None, protection_reason=None):
|
57
|
+
def __init__(self, marker=None, limit=None, page_reverse=None, id=None, name=None, description=None, admin_state_up=None, domain=None, type=None, scm_certificate_id=None, common_name=None, fingerprint=None, source=None, protection_status=None, protection_reason=None, enterprise_project_id=None):
|
56
58
|
r"""ListCertificatesRequest
|
57
59
|
|
58
60
|
The model defined in huaweicloud sdk
|
@@ -87,6 +89,8 @@ class ListCertificatesRequest:
|
|
87
89
|
:type protection_status: list[str]
|
88
90
|
:param protection_reason: 设置修改保护的原因。 支持多值查询,查询条件格式:protection_reason=xxx&protection_reason=xxx。
|
89
91
|
:type protection_reason: list[str]
|
92
|
+
:param enterprise_project_id: 参数解释:所属的企业项目ID。 如果enterprise_project_id不传值,默认查询所有企业项目下的资源,鉴权按照细粒度权限鉴权,必须在用户组下分配elb:certificates:list权限。 如果enterprise_project_id传值,鉴权按照企业项目权限鉴权,分为传入具体eps_id和all_granted_eps两种场景,前者查询指定eps_id的eps下的资源,后者查询的是所有有list权限的eps下的资源。 支持多值查询,查询条件格式: *enterprise_project_id=xxx&enterprise_project_id=xxx*。 [不支持该字段,请勿使用。](tag:dt,hcso_dt)
|
93
|
+
:type enterprise_project_id: list[str]
|
90
94
|
"""
|
91
95
|
|
92
96
|
|
@@ -106,6 +110,7 @@ class ListCertificatesRequest:
|
|
106
110
|
self._source = None
|
107
111
|
self._protection_status = None
|
108
112
|
self._protection_reason = None
|
113
|
+
self._enterprise_project_id = None
|
109
114
|
self.discriminator = None
|
110
115
|
|
111
116
|
if marker is not None:
|
@@ -138,6 +143,8 @@ class ListCertificatesRequest:
|
|
138
143
|
self.protection_status = protection_status
|
139
144
|
if protection_reason is not None:
|
140
145
|
self.protection_reason = protection_reason
|
146
|
+
if enterprise_project_id is not None:
|
147
|
+
self.enterprise_project_id = enterprise_project_id
|
141
148
|
|
142
149
|
@property
|
143
150
|
def marker(self):
|
@@ -469,6 +476,28 @@ class ListCertificatesRequest:
|
|
469
476
|
"""
|
470
477
|
self._protection_reason = protection_reason
|
471
478
|
|
479
|
+
@property
|
480
|
+
def enterprise_project_id(self):
|
481
|
+
r"""Gets the enterprise_project_id of this ListCertificatesRequest.
|
482
|
+
|
483
|
+
参数解释:所属的企业项目ID。 如果enterprise_project_id不传值,默认查询所有企业项目下的资源,鉴权按照细粒度权限鉴权,必须在用户组下分配elb:certificates:list权限。 如果enterprise_project_id传值,鉴权按照企业项目权限鉴权,分为传入具体eps_id和all_granted_eps两种场景,前者查询指定eps_id的eps下的资源,后者查询的是所有有list权限的eps下的资源。 支持多值查询,查询条件格式: *enterprise_project_id=xxx&enterprise_project_id=xxx*。 [不支持该字段,请勿使用。](tag:dt,hcso_dt)
|
484
|
+
|
485
|
+
:return: The enterprise_project_id of this ListCertificatesRequest.
|
486
|
+
:rtype: list[str]
|
487
|
+
"""
|
488
|
+
return self._enterprise_project_id
|
489
|
+
|
490
|
+
@enterprise_project_id.setter
|
491
|
+
def enterprise_project_id(self, enterprise_project_id):
|
492
|
+
r"""Sets the enterprise_project_id of this ListCertificatesRequest.
|
493
|
+
|
494
|
+
参数解释:所属的企业项目ID。 如果enterprise_project_id不传值,默认查询所有企业项目下的资源,鉴权按照细粒度权限鉴权,必须在用户组下分配elb:certificates:list权限。 如果enterprise_project_id传值,鉴权按照企业项目权限鉴权,分为传入具体eps_id和all_granted_eps两种场景,前者查询指定eps_id的eps下的资源,后者查询的是所有有list权限的eps下的资源。 支持多值查询,查询条件格式: *enterprise_project_id=xxx&enterprise_project_id=xxx*。 [不支持该字段,请勿使用。](tag:dt,hcso_dt)
|
495
|
+
|
496
|
+
:param enterprise_project_id: The enterprise_project_id of this ListCertificatesRequest.
|
497
|
+
:type enterprise_project_id: list[str]
|
498
|
+
"""
|
499
|
+
self._enterprise_project_id = enterprise_project_id
|
500
|
+
|
472
501
|
def to_dict(self):
|
473
502
|
"""Returns the model properties as a dict"""
|
474
503
|
result = {}
|
@@ -83,7 +83,7 @@ class ListMembersRequest:
|
|
83
83
|
:type protocol_port: list[int]
|
84
84
|
:param id: 后端服务器ID。 支持多值查询,查询条件格式:*id=xxx&id=xxx*。
|
85
85
|
:type id: list[str]
|
86
|
-
:param operating_status: 后端服务器的健康状态。 取值: - ONLINE:后端服务器正常。 - NO_MONITOR:后端服务器所在的服务器组没有健康检查器。 - OFFLINE:后端服务器关联的ECS服务器不存在或已关机。 支持多值查询,查询条件格式:*operating_status=xxx&operating_status=xxx*。
|
86
|
+
:param operating_status: 后端服务器的健康状态。 取值: - INITIAL:初始化中,表示负载均衡实例配置了健康检查,但查不到数据。 - ONLINE:后端服务器正常。 - NO_MONITOR:后端服务器所在的服务器组没有健康检查器。 - OFFLINE:后端服务器关联的ECS服务器不存在或已关机。 支持多值查询,查询条件格式:*operating_status=xxx&operating_status=xxx*。
|
87
87
|
:type operating_status: list[str]
|
88
88
|
:param enterprise_project_id: 参数解释:所属的企业项目ID。 如果enterprise_project_id不传值,默认查询所有企业项目下的资源,鉴权按照细粒度权限鉴权,必须在用户组下分配elb:members:list权限。 如果enterprise_project_id传值,鉴权按照企业项目权限鉴权,分为传入具体eps_id和all_granted_eps两种场景,前者查询指定eps_id的eps下的资源,后者查询的是所有有list权限的eps下的资源。 支持多值查询,查询条件格式: *enterprise_project_id=xxx&enterprise_project_id=xxx*。 [不支持该字段,请勿使用。](tag:dt,hcso_dt)
|
89
89
|
:type enterprise_project_id: list[str]
|
@@ -398,7 +398,7 @@ class ListMembersRequest:
|
|
398
398
|
def operating_status(self):
|
399
399
|
r"""Gets the operating_status of this ListMembersRequest.
|
400
400
|
|
401
|
-
后端服务器的健康状态。 取值: - ONLINE:后端服务器正常。 - NO_MONITOR:后端服务器所在的服务器组没有健康检查器。 - OFFLINE:后端服务器关联的ECS服务器不存在或已关机。 支持多值查询,查询条件格式:*operating_status=xxx&operating_status=xxx*。
|
401
|
+
后端服务器的健康状态。 取值: - INITIAL:初始化中,表示负载均衡实例配置了健康检查,但查不到数据。 - ONLINE:后端服务器正常。 - NO_MONITOR:后端服务器所在的服务器组没有健康检查器。 - OFFLINE:后端服务器关联的ECS服务器不存在或已关机。 支持多值查询,查询条件格式:*operating_status=xxx&operating_status=xxx*。
|
402
402
|
|
403
403
|
:return: The operating_status of this ListMembersRequest.
|
404
404
|
:rtype: list[str]
|
@@ -409,7 +409,7 @@ class ListMembersRequest:
|
|
409
409
|
def operating_status(self, operating_status):
|
410
410
|
r"""Sets the operating_status of this ListMembersRequest.
|
411
411
|
|
412
|
-
后端服务器的健康状态。 取值: - ONLINE:后端服务器正常。 - NO_MONITOR:后端服务器所在的服务器组没有健康检查器。 - OFFLINE:后端服务器关联的ECS服务器不存在或已关机。 支持多值查询,查询条件格式:*operating_status=xxx&operating_status=xxx*。
|
412
|
+
后端服务器的健康状态。 取值: - INITIAL:初始化中,表示负载均衡实例配置了健康检查,但查不到数据。 - ONLINE:后端服务器正常。 - NO_MONITOR:后端服务器所在的服务器组没有健康检查器。 - OFFLINE:后端服务器关联的ECS服务器不存在或已关机。 支持多值查询,查询条件格式:*operating_status=xxx&operating_status=xxx*。
|
413
413
|
|
414
414
|
:param operating_status: The operating_status of this ListMembersRequest.
|
415
415
|
:type operating_status: list[str]
|
@@ -0,0 +1,231 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class LocalPort:
|
9
|
+
|
10
|
+
"""
|
11
|
+
Attributes:
|
12
|
+
openapi_types (dict): The key is attribute name
|
13
|
+
and the value is attribute type.
|
14
|
+
attribute_map (dict): The key is attribute name
|
15
|
+
and the value is json key in definition.
|
16
|
+
"""
|
17
|
+
sensitive_list = []
|
18
|
+
|
19
|
+
openapi_types = {
|
20
|
+
'port_id': 'str',
|
21
|
+
'ip_address': 'str',
|
22
|
+
'ipv6_address': 'str',
|
23
|
+
'type': 'str',
|
24
|
+
'virsubnet_id': 'str'
|
25
|
+
}
|
26
|
+
|
27
|
+
attribute_map = {
|
28
|
+
'port_id': 'port_id',
|
29
|
+
'ip_address': 'ip_address',
|
30
|
+
'ipv6_address': 'ipv6_address',
|
31
|
+
'type': 'type',
|
32
|
+
'virsubnet_id': 'virsubnet_id'
|
33
|
+
}
|
34
|
+
|
35
|
+
def __init__(self, port_id=None, ip_address=None, ipv6_address=None, type=None, virsubnet_id=None):
|
36
|
+
r"""LocalPort
|
37
|
+
|
38
|
+
The model defined in huaweicloud sdk
|
39
|
+
|
40
|
+
:param port_id: port ID。
|
41
|
+
:type port_id: str
|
42
|
+
:param ip_address: port IPv4地址。
|
43
|
+
:type ip_address: str
|
44
|
+
:param ipv6_address: port IPv6地址。
|
45
|
+
:type ipv6_address: str
|
46
|
+
:param type: port 类型。 取值范围: - l4_hc:四层dnat转发时健康检查使用的地址。 - l4 四层fullnat 转发时健康检查及业务转发使用的地址。 - l7 七层健康检查及业务转发使用的地址。
|
47
|
+
:type type: str
|
48
|
+
:param virsubnet_id: port 虚拟子网ID。
|
49
|
+
:type virsubnet_id: str
|
50
|
+
"""
|
51
|
+
|
52
|
+
|
53
|
+
|
54
|
+
self._port_id = None
|
55
|
+
self._ip_address = None
|
56
|
+
self._ipv6_address = None
|
57
|
+
self._type = None
|
58
|
+
self._virsubnet_id = None
|
59
|
+
self.discriminator = None
|
60
|
+
|
61
|
+
if port_id is not None:
|
62
|
+
self.port_id = port_id
|
63
|
+
if ip_address is not None:
|
64
|
+
self.ip_address = ip_address
|
65
|
+
if ipv6_address is not None:
|
66
|
+
self.ipv6_address = ipv6_address
|
67
|
+
if type is not None:
|
68
|
+
self.type = type
|
69
|
+
if virsubnet_id is not None:
|
70
|
+
self.virsubnet_id = virsubnet_id
|
71
|
+
|
72
|
+
@property
|
73
|
+
def port_id(self):
|
74
|
+
r"""Gets the port_id of this LocalPort.
|
75
|
+
|
76
|
+
port ID。
|
77
|
+
|
78
|
+
:return: The port_id of this LocalPort.
|
79
|
+
:rtype: str
|
80
|
+
"""
|
81
|
+
return self._port_id
|
82
|
+
|
83
|
+
@port_id.setter
|
84
|
+
def port_id(self, port_id):
|
85
|
+
r"""Sets the port_id of this LocalPort.
|
86
|
+
|
87
|
+
port ID。
|
88
|
+
|
89
|
+
:param port_id: The port_id of this LocalPort.
|
90
|
+
:type port_id: str
|
91
|
+
"""
|
92
|
+
self._port_id = port_id
|
93
|
+
|
94
|
+
@property
|
95
|
+
def ip_address(self):
|
96
|
+
r"""Gets the ip_address of this LocalPort.
|
97
|
+
|
98
|
+
port IPv4地址。
|
99
|
+
|
100
|
+
:return: The ip_address of this LocalPort.
|
101
|
+
:rtype: str
|
102
|
+
"""
|
103
|
+
return self._ip_address
|
104
|
+
|
105
|
+
@ip_address.setter
|
106
|
+
def ip_address(self, ip_address):
|
107
|
+
r"""Sets the ip_address of this LocalPort.
|
108
|
+
|
109
|
+
port IPv4地址。
|
110
|
+
|
111
|
+
:param ip_address: The ip_address of this LocalPort.
|
112
|
+
:type ip_address: str
|
113
|
+
"""
|
114
|
+
self._ip_address = ip_address
|
115
|
+
|
116
|
+
@property
|
117
|
+
def ipv6_address(self):
|
118
|
+
r"""Gets the ipv6_address of this LocalPort.
|
119
|
+
|
120
|
+
port IPv6地址。
|
121
|
+
|
122
|
+
:return: The ipv6_address of this LocalPort.
|
123
|
+
:rtype: str
|
124
|
+
"""
|
125
|
+
return self._ipv6_address
|
126
|
+
|
127
|
+
@ipv6_address.setter
|
128
|
+
def ipv6_address(self, ipv6_address):
|
129
|
+
r"""Sets the ipv6_address of this LocalPort.
|
130
|
+
|
131
|
+
port IPv6地址。
|
132
|
+
|
133
|
+
:param ipv6_address: The ipv6_address of this LocalPort.
|
134
|
+
:type ipv6_address: str
|
135
|
+
"""
|
136
|
+
self._ipv6_address = ipv6_address
|
137
|
+
|
138
|
+
@property
|
139
|
+
def type(self):
|
140
|
+
r"""Gets the type of this LocalPort.
|
141
|
+
|
142
|
+
port 类型。 取值范围: - l4_hc:四层dnat转发时健康检查使用的地址。 - l4 四层fullnat 转发时健康检查及业务转发使用的地址。 - l7 七层健康检查及业务转发使用的地址。
|
143
|
+
|
144
|
+
:return: The type of this LocalPort.
|
145
|
+
:rtype: str
|
146
|
+
"""
|
147
|
+
return self._type
|
148
|
+
|
149
|
+
@type.setter
|
150
|
+
def type(self, type):
|
151
|
+
r"""Sets the type of this LocalPort.
|
152
|
+
|
153
|
+
port 类型。 取值范围: - l4_hc:四层dnat转发时健康检查使用的地址。 - l4 四层fullnat 转发时健康检查及业务转发使用的地址。 - l7 七层健康检查及业务转发使用的地址。
|
154
|
+
|
155
|
+
:param type: The type of this LocalPort.
|
156
|
+
:type type: str
|
157
|
+
"""
|
158
|
+
self._type = type
|
159
|
+
|
160
|
+
@property
|
161
|
+
def virsubnet_id(self):
|
162
|
+
r"""Gets the virsubnet_id of this LocalPort.
|
163
|
+
|
164
|
+
port 虚拟子网ID。
|
165
|
+
|
166
|
+
:return: The virsubnet_id of this LocalPort.
|
167
|
+
:rtype: str
|
168
|
+
"""
|
169
|
+
return self._virsubnet_id
|
170
|
+
|
171
|
+
@virsubnet_id.setter
|
172
|
+
def virsubnet_id(self, virsubnet_id):
|
173
|
+
r"""Sets the virsubnet_id of this LocalPort.
|
174
|
+
|
175
|
+
port 虚拟子网ID。
|
176
|
+
|
177
|
+
:param virsubnet_id: The virsubnet_id of this LocalPort.
|
178
|
+
:type virsubnet_id: str
|
179
|
+
"""
|
180
|
+
self._virsubnet_id = virsubnet_id
|
181
|
+
|
182
|
+
def to_dict(self):
|
183
|
+
"""Returns the model properties as a dict"""
|
184
|
+
result = {}
|
185
|
+
|
186
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
187
|
+
value = getattr(self, attr)
|
188
|
+
if isinstance(value, list):
|
189
|
+
result[attr] = list(map(
|
190
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
191
|
+
value
|
192
|
+
))
|
193
|
+
elif hasattr(value, "to_dict"):
|
194
|
+
result[attr] = value.to_dict()
|
195
|
+
elif isinstance(value, dict):
|
196
|
+
result[attr] = dict(map(
|
197
|
+
lambda item: (item[0], item[1].to_dict())
|
198
|
+
if hasattr(item[1], "to_dict") else item,
|
199
|
+
value.items()
|
200
|
+
))
|
201
|
+
else:
|
202
|
+
if attr in self.sensitive_list:
|
203
|
+
result[attr] = "****"
|
204
|
+
else:
|
205
|
+
result[attr] = value
|
206
|
+
|
207
|
+
return result
|
208
|
+
|
209
|
+
def to_str(self):
|
210
|
+
"""Returns the string representation of the model"""
|
211
|
+
import simplejson as json
|
212
|
+
if six.PY2:
|
213
|
+
import sys
|
214
|
+
reload(sys)
|
215
|
+
sys.setdefaultencoding("utf-8")
|
216
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
217
|
+
|
218
|
+
def __repr__(self):
|
219
|
+
"""For `print`"""
|
220
|
+
return self.to_str()
|
221
|
+
|
222
|
+
def __eq__(self, other):
|
223
|
+
"""Returns true if both objects are equal"""
|
224
|
+
if not isinstance(other, LocalPort):
|
225
|
+
return False
|
226
|
+
|
227
|
+
return self.__dict__ == other.__dict__
|
228
|
+
|
229
|
+
def __ne__(self, other):
|
230
|
+
"""Returns true if both objects are not equal"""
|
231
|
+
return not self == other
|
@@ -81,9 +81,9 @@ class Member:
|
|
81
81
|
:type address: str
|
82
82
|
:param ip_version: 参数解释:当前后端服务器的IP地址版本,由后端系统自动根据传入的address字段确定。 取值范围:v4、v6。
|
83
83
|
:type ip_version: str
|
84
|
-
:param operating_status: 参数解释:后端服务器的健康状态。当status非空时,以status字段中监听器粒度的健康检查状态优先。 取值范围: - ONLINE:后端服务器正常。 - NO_MONITOR:后端服务器所在的服务器组没有健康检查器。 - OFFLINE:后端服务器关联的ECS服务器不存在或已关机。
|
84
|
+
:param operating_status: 参数解释:后端服务器的健康状态。当status非空时,以status字段中监听器粒度的健康检查状态优先。 取值范围: - INITIAL:初始化中,表示负载均衡实例配置了健康检查,但查不到数据。 - ONLINE:后端服务器正常。 - NO_MONITOR:后端服务器所在的服务器组没有健康检查器。 - OFFLINE:后端服务器关联的ECS服务器不存在或已关机。
|
85
85
|
:type operating_status: str
|
86
|
-
:param status: 参数解释:后端服务器监听器粒度的的健康状态。 约束限制: - 若绑定的监听器在该字段中,则以该字段中监听器对应的
|
86
|
+
:param status: 参数解释:后端服务器监听器粒度的的健康状态。 约束限制: - 若绑定的监听器在该字段中,则以该字段中监听器对应的operating_status为准。 - 若绑定的监听器不在该字段中,则以外层的operating_status为准。
|
87
87
|
:type status: list[:class:`huaweicloudsdkelb.v3.MemberStatus`]
|
88
88
|
:param reason:
|
89
89
|
:type reason: :class:`huaweicloudsdkelb.v3.MemberHealthCheckFailedReason`
|
@@ -366,7 +366,7 @@ class Member:
|
|
366
366
|
def operating_status(self):
|
367
367
|
r"""Gets the operating_status of this Member.
|
368
368
|
|
369
|
-
参数解释:后端服务器的健康状态。当status非空时,以status字段中监听器粒度的健康检查状态优先。 取值范围: - ONLINE:后端服务器正常。 - NO_MONITOR:后端服务器所在的服务器组没有健康检查器。 - OFFLINE:后端服务器关联的ECS服务器不存在或已关机。
|
369
|
+
参数解释:后端服务器的健康状态。当status非空时,以status字段中监听器粒度的健康检查状态优先。 取值范围: - INITIAL:初始化中,表示负载均衡实例配置了健康检查,但查不到数据。 - ONLINE:后端服务器正常。 - NO_MONITOR:后端服务器所在的服务器组没有健康检查器。 - OFFLINE:后端服务器关联的ECS服务器不存在或已关机。
|
370
370
|
|
371
371
|
:return: The operating_status of this Member.
|
372
372
|
:rtype: str
|
@@ -377,7 +377,7 @@ class Member:
|
|
377
377
|
def operating_status(self, operating_status):
|
378
378
|
r"""Sets the operating_status of this Member.
|
379
379
|
|
380
|
-
参数解释:后端服务器的健康状态。当status非空时,以status字段中监听器粒度的健康检查状态优先。 取值范围: - ONLINE:后端服务器正常。 - NO_MONITOR:后端服务器所在的服务器组没有健康检查器。 - OFFLINE:后端服务器关联的ECS服务器不存在或已关机。
|
380
|
+
参数解释:后端服务器的健康状态。当status非空时,以status字段中监听器粒度的健康检查状态优先。 取值范围: - INITIAL:初始化中,表示负载均衡实例配置了健康检查,但查不到数据。 - ONLINE:后端服务器正常。 - NO_MONITOR:后端服务器所在的服务器组没有健康检查器。 - OFFLINE:后端服务器关联的ECS服务器不存在或已关机。
|
381
381
|
|
382
382
|
:param operating_status: The operating_status of this Member.
|
383
383
|
:type operating_status: str
|
@@ -388,7 +388,7 @@ class Member:
|
|
388
388
|
def status(self):
|
389
389
|
r"""Gets the status of this Member.
|
390
390
|
|
391
|
-
参数解释:后端服务器监听器粒度的的健康状态。 约束限制: - 若绑定的监听器在该字段中,则以该字段中监听器对应的
|
391
|
+
参数解释:后端服务器监听器粒度的的健康状态。 约束限制: - 若绑定的监听器在该字段中,则以该字段中监听器对应的operating_status为准。 - 若绑定的监听器不在该字段中,则以外层的operating_status为准。
|
392
392
|
|
393
393
|
:return: The status of this Member.
|
394
394
|
:rtype: list[:class:`huaweicloudsdkelb.v3.MemberStatus`]
|
@@ -399,7 +399,7 @@ class Member:
|
|
399
399
|
def status(self, status):
|
400
400
|
r"""Sets the status of this Member.
|
401
401
|
|
402
|
-
参数解释:后端服务器监听器粒度的的健康状态。 约束限制: - 若绑定的监听器在该字段中,则以该字段中监听器对应的
|
402
|
+
参数解释:后端服务器监听器粒度的的健康状态。 约束限制: - 若绑定的监听器在该字段中,则以该字段中监听器对应的operating_status为准。 - 若绑定的监听器不在该字段中,则以外层的operating_status为准。
|
403
403
|
|
404
404
|
:param status: The status of this Member.
|
405
405
|
:type status: list[:class:`huaweicloudsdkelb.v3.MemberStatus`]
|
@@ -97,9 +97,9 @@ class MemberInfo:
|
|
97
97
|
:type device_owner: str
|
98
98
|
:param device_id: 关联的ECS ID,为空表示后端服务器未关联到ECS。 不支持该字段,请勿使用。
|
99
99
|
:type device_id: str
|
100
|
-
:param operating_status: 后端服务器的健康状态。当status非空时,以status字段中监听器粒度的健康检查状态优先。 取值: - ONLINE:后端服务器正常。 - NO_MONITOR:后端服务器所在的服务器组没有健康检查器。 - OFFLINE:后端服务器关联的ECS服务器不存在或已关机。
|
100
|
+
:param operating_status: 后端服务器的健康状态。当status非空时,以status字段中监听器粒度的健康检查状态优先。 取值: - INITIAL:初始化中,表示负载均衡实例配置了健康检查,但查不到数据。 - ONLINE:后端服务器正常。 - NO_MONITOR:后端服务器所在的服务器组没有健康检查器。 - OFFLINE:后端服务器关联的ECS服务器不存在或已关机。
|
101
101
|
:type operating_status: str
|
102
|
-
:param status: 后端服务器监听器粒度的的健康状态。 若绑定的监听器在该字段中,则以该字段中监听器对应的
|
102
|
+
:param status: 后端服务器监听器粒度的的健康状态。 若绑定的监听器在该字段中,则以该字段中监听器对应的operating_status为准。 若绑定的监听器不在该字段中,则以外层的operating_status为准。
|
103
103
|
:type status: list[:class:`huaweicloudsdkelb.v3.MemberStatus`]
|
104
104
|
:param loadbalancer_id: 所属负载均衡器ID。 不支持该字段,请勿使用。
|
105
105
|
:type loadbalancer_id: str
|
@@ -467,7 +467,7 @@ class MemberInfo:
|
|
467
467
|
def operating_status(self):
|
468
468
|
r"""Gets the operating_status of this MemberInfo.
|
469
469
|
|
470
|
-
后端服务器的健康状态。当status非空时,以status字段中监听器粒度的健康检查状态优先。 取值: - ONLINE:后端服务器正常。 - NO_MONITOR:后端服务器所在的服务器组没有健康检查器。 - OFFLINE:后端服务器关联的ECS服务器不存在或已关机。
|
470
|
+
后端服务器的健康状态。当status非空时,以status字段中监听器粒度的健康检查状态优先。 取值: - INITIAL:初始化中,表示负载均衡实例配置了健康检查,但查不到数据。 - ONLINE:后端服务器正常。 - NO_MONITOR:后端服务器所在的服务器组没有健康检查器。 - OFFLINE:后端服务器关联的ECS服务器不存在或已关机。
|
471
471
|
|
472
472
|
:return: The operating_status of this MemberInfo.
|
473
473
|
:rtype: str
|
@@ -478,7 +478,7 @@ class MemberInfo:
|
|
478
478
|
def operating_status(self, operating_status):
|
479
479
|
r"""Sets the operating_status of this MemberInfo.
|
480
480
|
|
481
|
-
后端服务器的健康状态。当status非空时,以status字段中监听器粒度的健康检查状态优先。 取值: - ONLINE:后端服务器正常。 - NO_MONITOR:后端服务器所在的服务器组没有健康检查器。 - OFFLINE:后端服务器关联的ECS服务器不存在或已关机。
|
481
|
+
后端服务器的健康状态。当status非空时,以status字段中监听器粒度的健康检查状态优先。 取值: - INITIAL:初始化中,表示负载均衡实例配置了健康检查,但查不到数据。 - ONLINE:后端服务器正常。 - NO_MONITOR:后端服务器所在的服务器组没有健康检查器。 - OFFLINE:后端服务器关联的ECS服务器不存在或已关机。
|
482
482
|
|
483
483
|
:param operating_status: The operating_status of this MemberInfo.
|
484
484
|
:type operating_status: str
|
@@ -489,7 +489,7 @@ class MemberInfo:
|
|
489
489
|
def status(self):
|
490
490
|
r"""Gets the status of this MemberInfo.
|
491
491
|
|
492
|
-
后端服务器监听器粒度的的健康状态。 若绑定的监听器在该字段中,则以该字段中监听器对应的
|
492
|
+
后端服务器监听器粒度的的健康状态。 若绑定的监听器在该字段中,则以该字段中监听器对应的operating_status为准。 若绑定的监听器不在该字段中,则以外层的operating_status为准。
|
493
493
|
|
494
494
|
:return: The status of this MemberInfo.
|
495
495
|
:rtype: list[:class:`huaweicloudsdkelb.v3.MemberStatus`]
|
@@ -500,7 +500,7 @@ class MemberInfo:
|
|
500
500
|
def status(self, status):
|
501
501
|
r"""Sets the status of this MemberInfo.
|
502
502
|
|
503
|
-
后端服务器监听器粒度的的健康状态。 若绑定的监听器在该字段中,则以该字段中监听器对应的
|
503
|
+
后端服务器监听器粒度的的健康状态。 若绑定的监听器在该字段中,则以该字段中监听器对应的operating_status为准。 若绑定的监听器不在该字段中,则以外层的operating_status为准。
|
504
504
|
|
505
505
|
:param status: The status of this MemberInfo.
|
506
506
|
:type status: list[:class:`huaweicloudsdkelb.v3.MemberStatus`]
|
@@ -113,7 +113,7 @@ class Pool:
|
|
113
113
|
:type ip_version: str
|
114
114
|
:param slow_start:
|
115
115
|
:type slow_start: :class:`huaweicloudsdkelb.v3.SlowStart`
|
116
|
-
:param member_deletion_protection_enable:
|
116
|
+
:param member_deletion_protection_enable: 参数解释:是否开启后端服务器移除保护。开关开启后,不允许从该ELB后端服务器组下移除后端服务器。 约束限制: - 开关开启后,移除member会报错拦截,涉及如下API: + 级联删除负载均衡器(DELETE /v3/{project_id}/elb/loadbalancers/{loadbalancer_id}/force-elb) + 级联删除负载均衡器及关联EIP(POST /v3/{project_id}/elb/loadbalancers/{loadbalancer_id}/delete-cascade) + 级联删除监听器(DELETE /v3/{project_id}/elb/listeners/{listener_id}/force) + 级联删除后端服务器组(DELETE /v3/{project_id}/elb/pools/{pool_id}/delete-cascade) + 删除后端服务器(DELETE /v3/{project_id}/elb/pools/{pool_id}/members/{member_id}) + 批量删除后端服务器(POST /v3/{project_id}/elb/pools/{pool_id}/members/batch-delete) 取值范围:false不开启,true开启。 默认取值:false > 退场时需要先关闭所有资源的删除保护开关。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42) [荷兰region不支持该字段,请勿使用。](tag:dt)
|
117
117
|
:type member_deletion_protection_enable: bool
|
118
118
|
: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,srg,fcs,dt,hk_tm)
|
119
119
|
:type created_at: str
|
@@ -535,7 +535,7 @@ class Pool:
|
|
535
535
|
def member_deletion_protection_enable(self):
|
536
536
|
r"""Gets the member_deletion_protection_enable of this Pool.
|
537
537
|
|
538
|
-
|
538
|
+
参数解释:是否开启后端服务器移除保护。开关开启后,不允许从该ELB后端服务器组下移除后端服务器。 约束限制: - 开关开启后,移除member会报错拦截,涉及如下API: + 级联删除负载均衡器(DELETE /v3/{project_id}/elb/loadbalancers/{loadbalancer_id}/force-elb) + 级联删除负载均衡器及关联EIP(POST /v3/{project_id}/elb/loadbalancers/{loadbalancer_id}/delete-cascade) + 级联删除监听器(DELETE /v3/{project_id}/elb/listeners/{listener_id}/force) + 级联删除后端服务器组(DELETE /v3/{project_id}/elb/pools/{pool_id}/delete-cascade) + 删除后端服务器(DELETE /v3/{project_id}/elb/pools/{pool_id}/members/{member_id}) + 批量删除后端服务器(POST /v3/{project_id}/elb/pools/{pool_id}/members/batch-delete) 取值范围:false不开启,true开启。 默认取值:false > 退场时需要先关闭所有资源的删除保护开关。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42) [荷兰region不支持该字段,请勿使用。](tag:dt)
|
539
539
|
|
540
540
|
:return: The member_deletion_protection_enable of this Pool.
|
541
541
|
:rtype: bool
|
@@ -546,7 +546,7 @@ class Pool:
|
|
546
546
|
def member_deletion_protection_enable(self, member_deletion_protection_enable):
|
547
547
|
r"""Sets the member_deletion_protection_enable of this Pool.
|
548
548
|
|
549
|
-
|
549
|
+
参数解释:是否开启后端服务器移除保护。开关开启后,不允许从该ELB后端服务器组下移除后端服务器。 约束限制: - 开关开启后,移除member会报错拦截,涉及如下API: + 级联删除负载均衡器(DELETE /v3/{project_id}/elb/loadbalancers/{loadbalancer_id}/force-elb) + 级联删除负载均衡器及关联EIP(POST /v3/{project_id}/elb/loadbalancers/{loadbalancer_id}/delete-cascade) + 级联删除监听器(DELETE /v3/{project_id}/elb/listeners/{listener_id}/force) + 级联删除后端服务器组(DELETE /v3/{project_id}/elb/pools/{pool_id}/delete-cascade) + 删除后端服务器(DELETE /v3/{project_id}/elb/pools/{pool_id}/members/{member_id}) + 批量删除后端服务器(POST /v3/{project_id}/elb/pools/{pool_id}/members/batch-delete) 取值范围:false不开启,true开启。 默认取值:false > 退场时需要先关闭所有资源的删除保护开关。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42) [荷兰region不支持该字段,请勿使用。](tag:dt)
|
550
550
|
|
551
551
|
:param member_deletion_protection_enable: The member_deletion_protection_enable of this Pool.
|
552
552
|
:type member_deletion_protection_enable: bool
|