huaweicloudsdkelb 3.1.131__py2.py3-none-any.whl → 3.1.133__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- huaweicloudsdkelb/v3/__init__.py +39 -0
- huaweicloudsdkelb/v3/elb_async_client.py +742 -22
- huaweicloudsdkelb/v3/elb_client.py +742 -22
- huaweicloudsdkelb/v3/model/__init__.py +39 -0
- huaweicloudsdkelb/v3/model/availability_zone.py +6 -6
- huaweicloudsdkelb/v3/model/base_job.py +347 -0
- huaweicloudsdkelb/v3/model/batch_add_available_zones_response.py +6 -6
- huaweicloudsdkelb/v3/model/batch_create_load_balancer_option.py +1022 -0
- huaweicloudsdkelb/v3/model/batch_create_load_balancers_request.py +111 -0
- huaweicloudsdkelb/v3/model/batch_create_load_balancers_request_body.py +110 -0
- huaweicloudsdkelb/v3/model/batch_create_load_balancers_response.py +203 -0
- huaweicloudsdkelb/v3/model/batch_member.py +38 -13
- huaweicloudsdkelb/v3/model/batch_update_member.py +32 -7
- huaweicloudsdkelb/v3/model/batch_update_priority_request_body.py +3 -3
- huaweicloudsdkelb/v3/model/certificate_info.py +39 -10
- huaweicloudsdkelb/v3/model/clone_loadbalancer_request.py +139 -0
- huaweicloudsdkelb/v3/model/clone_loadbalancer_request_body.py +139 -0
- huaweicloudsdkelb/v3/model/clone_loadbalancer_response.py +174 -0
- huaweicloudsdkelb/v3/model/clone_loadbalancer_response_body_loadbalancer_list.py +115 -0
- huaweicloudsdkelb/v3/model/cors_config.py +260 -0
- huaweicloudsdkelb/v3/model/count_preoccupy_ip_num_request.py +73 -15
- huaweicloudsdkelb/v3/model/create_certificate_option.py +35 -6
- huaweicloudsdkelb/v3/model/create_cors_config.py +260 -0
- huaweicloudsdkelb/v3/model/create_health_monitor_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_l7_policy_option.py +6 -6
- huaweicloudsdkelb/v3/model/create_listener_option.py +126 -39
- huaweicloudsdkelb/v3/model/create_load_balancer_bandwidth_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_load_balancer_option.py +36 -36
- huaweicloudsdkelb/v3/model/create_load_balancer_public_ip_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_load_balancer_response.py +6 -6
- huaweicloudsdkelb/v3/model/create_master_slave_member_option.py +2 -1
- huaweicloudsdkelb/v3/model/create_master_slave_pool_option.py +31 -6
- huaweicloudsdkelb/v3/model/create_member_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_pool_option.py +46 -21
- huaweicloudsdkelb/v3/model/create_pool_session_persistence_option.py +6 -6
- huaweicloudsdkelb/v3/model/create_redirect_pools_extend_config.py +28 -3
- huaweicloudsdkelb/v3/model/create_redirect_url_config.py +3 -3
- huaweicloudsdkelb/v3/model/delete_load_balancer_cascade_option.py +144 -0
- huaweicloudsdkelb/v3/model/delete_load_balancer_cascade_request.py +139 -0
- huaweicloudsdkelb/v3/model/delete_load_balancer_cascade_request_body.py +110 -0
- huaweicloudsdkelb/v3/model/delete_load_balancer_cascade_response.py +85 -0
- huaweicloudsdkelb/v3/model/delete_pool_cascade_request.py +114 -0
- huaweicloudsdkelb/v3/model/delete_pool_cascade_response.py +85 -0
- huaweicloudsdkelb/v3/model/feature_config.py +394 -0
- huaweicloudsdkelb/v3/model/flavor.py +9 -9
- huaweicloudsdkelb/v3/model/global_eip_info.py +3 -3
- huaweicloudsdkelb/v3/model/health_monitor.py +9 -9
- huaweicloudsdkelb/v3/model/job_entities.py +144 -0
- huaweicloudsdkelb/v3/model/l7_policy.py +44 -15
- huaweicloudsdkelb/v3/model/l7_rule.py +9 -9
- huaweicloudsdkelb/v3/model/list_all_members_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_availability_zones_request.py +35 -6
- huaweicloudsdkelb/v3/model/list_certificates_request.py +30 -1
- huaweicloudsdkelb/v3/model/list_feature_configs_request.py +115 -0
- huaweicloudsdkelb/v3/model/list_feature_configs_response.py +170 -0
- huaweicloudsdkelb/v3/model/list_flavors_request.py +119 -3
- huaweicloudsdkelb/v3/model/list_health_monitors_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_ip_groups_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_jobs_request.py +260 -0
- huaweicloudsdkelb/v3/model/list_jobs_response.py +145 -0
- huaweicloudsdkelb/v3/model/list_l7_policies_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_l7_rules_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_listeners_request.py +79 -21
- huaweicloudsdkelb/v3/model/list_load_balancers_request.py +15 -15
- huaweicloudsdkelb/v3/model/list_loadbalancer_feature_request.py +114 -0
- huaweicloudsdkelb/v3/model/list_loadbalancer_feature_response.py +145 -0
- huaweicloudsdkelb/v3/model/list_logtanks_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_master_slave_pools_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_members_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_pools_request.py +67 -9
- huaweicloudsdkelb/v3/model/list_quota_details_request.py +3 -3
- huaweicloudsdkelb/v3/model/listener.py +154 -39
- huaweicloudsdkelb/v3/model/load_balancer.py +21 -21
- huaweicloudsdkelb/v3/model/load_balancer_status_policy.py +3 -3
- huaweicloudsdkelb/v3/model/loadbalancer_feature.py +170 -0
- huaweicloudsdkelb/v3/model/main_job.py +376 -0
- huaweicloudsdkelb/v3/model/master_slave_member.py +26 -1
- huaweicloudsdkelb/v3/model/master_slave_pool.py +37 -12
- huaweicloudsdkelb/v3/model/member.py +32 -7
- huaweicloudsdkelb/v3/model/member_health_check_failed_reason.py +170 -0
- huaweicloudsdkelb/v3/model/member_info.py +34 -9
- huaweicloudsdkelb/v3/model/member_status.py +28 -3
- huaweicloudsdkelb/v3/model/pool.py +43 -18
- huaweicloudsdkelb/v3/model/quic_cid_hash_strategy.py +142 -0
- huaweicloudsdkelb/v3/model/quota.py +87 -3
- huaweicloudsdkelb/v3/model/quota_info.py +3 -3
- huaweicloudsdkelb/v3/model/redirect_pools_extend_config.py +28 -3
- huaweicloudsdkelb/v3/model/session_persistence.py +6 -6
- huaweicloudsdkelb/v3/model/show_ip_group_related_listeners_request.py +114 -0
- huaweicloudsdkelb/v3/model/show_ip_group_related_listeners_response.py +116 -0
- huaweicloudsdkelb/v3/model/show_job_request.py +114 -0
- huaweicloudsdkelb/v3/model/show_job_response.py +141 -0
- huaweicloudsdkelb/v3/model/sub_job.py +376 -0
- huaweicloudsdkelb/v3/model/target_loadbalancer_param.py +434 -0
- huaweicloudsdkelb/v3/model/update_certificate_option.py +35 -6
- huaweicloudsdkelb/v3/model/update_health_monitor_option.py +3 -3
- huaweicloudsdkelb/v3/model/update_l7_policy_option.py +3 -3
- huaweicloudsdkelb/v3/model/update_listener_option.py +120 -33
- huaweicloudsdkelb/v3/model/update_load_balancer_option.py +15 -15
- huaweicloudsdkelb/v3/model/update_load_balancer_response.py +6 -6
- huaweicloudsdkelb/v3/model/update_pool_option.py +31 -6
- huaweicloudsdkelb/v3/model/update_pool_session_persistence_option.py +6 -6
- huaweicloudsdkelb/v3/model/update_redirect_pools_extend_config.py +28 -3
- huaweicloudsdkelb/v3/model/upgrade_loadbalancer_request.py +139 -0
- huaweicloudsdkelb/v3/model/upgrade_loadbalancer_response.py +145 -0
- huaweicloudsdkelb/v3/model/upgrade_prepaid_option.py +200 -0
- huaweicloudsdkelb/v3/model/upgrade_v3_request_body.py +313 -0
- {huaweicloudsdkelb-3.1.131.dist-info → huaweicloudsdkelb-3.1.133.dist-info}/METADATA +2 -2
- {huaweicloudsdkelb-3.1.131.dist-info → huaweicloudsdkelb-3.1.133.dist-info}/RECORD +112 -73
- {huaweicloudsdkelb-3.1.131.dist-info → huaweicloudsdkelb-3.1.133.dist-info}/LICENSE +0 -0
- {huaweicloudsdkelb-3.1.131.dist-info → huaweicloudsdkelb-3.1.133.dist-info}/WHEEL +0 -0
- {huaweicloudsdkelb-3.1.131.dist-info → huaweicloudsdkelb-3.1.133.dist-info}/top_level.txt +0 -0
@@ -44,7 +44,9 @@ class ListListenersRequest:
|
|
44
44
|
'proxy_protocol_enable': 'bool',
|
45
45
|
'enhance_l7policy_enable': 'bool',
|
46
46
|
'member_instance_id': 'list[str]',
|
47
|
-
'protection_status': 'list[str]'
|
47
|
+
'protection_status': 'list[str]',
|
48
|
+
'ssl_early_data_enable': 'bool',
|
49
|
+
'nat64_enable': 'bool'
|
48
50
|
}
|
49
51
|
|
50
52
|
attribute_map = {
|
@@ -75,10 +77,12 @@ class ListListenersRequest:
|
|
75
77
|
'proxy_protocol_enable': 'proxy_protocol_enable',
|
76
78
|
'enhance_l7policy_enable': 'enhance_l7policy_enable',
|
77
79
|
'member_instance_id': 'member_instance_id',
|
78
|
-
'protection_status': 'protection_status'
|
80
|
+
'protection_status': 'protection_status',
|
81
|
+
'ssl_early_data_enable': 'ssl_early_data_enable',
|
82
|
+
'nat64_enable': 'nat64_enable'
|
79
83
|
}
|
80
84
|
|
81
|
-
def __init__(self, limit=None, marker=None, page_reverse=None, protocol_port=None, protocol=None, description=None, default_tls_container_ref=None, client_ca_tls_container_ref=None, admin_state_up=None, connection_limit=None, default_pool_id=None, id=None, name=None, http2_enable=None, loadbalancer_id=None, tls_ciphers_policy=None, member_address=None, member_device_id=None, enterprise_project_id=None, enable_member_retry=None, member_timeout=None, client_timeout=None, keepalive_timeout=None, transparent_client_ip_enable=None, proxy_protocol_enable=None, enhance_l7policy_enable=None, member_instance_id=None, protection_status=None):
|
85
|
+
def __init__(self, limit=None, marker=None, page_reverse=None, protocol_port=None, protocol=None, description=None, default_tls_container_ref=None, client_ca_tls_container_ref=None, admin_state_up=None, connection_limit=None, default_pool_id=None, id=None, name=None, http2_enable=None, loadbalancer_id=None, tls_ciphers_policy=None, member_address=None, member_device_id=None, enterprise_project_id=None, enable_member_retry=None, member_timeout=None, client_timeout=None, keepalive_timeout=None, transparent_client_ip_enable=None, proxy_protocol_enable=None, enhance_l7policy_enable=None, member_instance_id=None, protection_status=None, ssl_early_data_enable=None, nat64_enable=None):
|
82
86
|
"""ListListenersRequest
|
83
87
|
|
84
88
|
The model defined in huaweicloud sdk
|
@@ -91,7 +95,7 @@ class ListListenersRequest:
|
|
91
95
|
:type page_reverse: bool
|
92
96
|
:param protocol_port: 监听器的前端监听端口。 [当监听器的protocol为IP时,前端端口固定为0。](tag:hws_eu) 支持多值查询,查询条件格式:*protocol_port=xxx&protocol_port=xxx*。
|
93
97
|
:type protocol_port: list[str]
|
94
|
-
:param protocol: 监听器的监听协议。 [取值:TCP、UDP、HTTP、HTTPS、TERMINATED_HTTPS、QUIC、TLS。 说明:TERMINATED_HTTPS为共享型LB上的监听器独有的协议。](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,fcs,dt) [取值:TCP、UDP、HTTP、HTTPS。](tag:hcso_dt) [取值:TCP、UDP、IP、HTTP、HTTPS。IP为网关型LB上的监听器独有的协议。](tag:hws_eu) 支持多值查询,查询条件格式:*protocol=xxx&protocol=xxx*。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test)
|
98
|
+
:param protocol: 监听器的监听协议。 [取值:TCP、UDP、HTTP、HTTPS、TERMINATED_HTTPS、QUIC、TLS。 说明:TERMINATED_HTTPS为共享型LB上的监听器独有的协议。](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,srg,fcs,dt) [取值:TCP、UDP、HTTP、HTTPS。](tag:hcso_dt) [取值:TCP、UDP、IP、HTTP、HTTPS。IP为网关型LB上的监听器独有的协议。](tag:hws_eu) 支持多值查询,查询条件格式:*protocol=xxx&protocol=xxx*。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test)
|
95
99
|
:type protocol: list[str]
|
96
100
|
:param description: 监听器的描述信息。 支持多值查询,查询条件格式:*description=xxx&description=xxx*。
|
97
101
|
:type description: list[str]
|
@@ -119,17 +123,17 @@ class ListListenersRequest:
|
|
119
123
|
:type member_address: list[str]
|
120
124
|
:param member_device_id: 后端服务器对应的弹性云服务器的ID。仅用于查询条件,不作为响应参数字段。 支持多值查询,查询条件格式:*member_device_id=xxx&member_device_id=xxx*。
|
121
125
|
:type member_device_id: list[str]
|
122
|
-
:param enterprise_project_id:
|
126
|
+
:param enterprise_project_id: 参数解释:所属的企业项目ID。 如果enterprise_project_id不传值,默认查询所有企业项目下的资源,鉴权按照细粒度权限鉴权,必须在用户组下分配elb:listeners:list权限。 如果enterprise_project_id传值,鉴权按照企业项目权限鉴权,分为传入具体eps_id和all_granted_eps两种场景,前者查询指定eps_id的eps下的资源,后者查询的是所有有list权限的eps下的资源。 支持多值查询,查询条件格式: *enterprise_project_id=xxx&enterprise_project_id=xxx*。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
|
123
127
|
:type enterprise_project_id: list[str]
|
124
128
|
:param enable_member_retry: 是否开启后端服务器的重试。 取值:true 开启重试,false 不开启重试。
|
125
129
|
:type enable_member_retry: bool
|
126
|
-
:param member_timeout: 等待后端服务器响应超时时间。请求转发后端服务器后,在等待超时member_timeout时长没有响应,负载均衡将终止等待,并返回
|
130
|
+
:param member_timeout: 等待后端服务器响应超时时间。请求转发后端服务器后,在等待超时member_timeout时长没有响应,负载均衡将终止等待,并返回HTTP504错误码。 取值:1-300s。 支持多值查询,查询条件格式:*member_timeout=xxx&member_timeout=xxx*。
|
127
131
|
:type member_timeout: list[int]
|
128
|
-
:param client_timeout: 等待客户端请求超时时间,包括两种情况: - 读取整个客户端请求头的超时时长:如果客户端未在超时时长内发送完整个请求头,则请求将被中断 - 两个连续body体的数据包到达LB的时间间隔,超出client_timeout将会断开连接。 取值:1-
|
132
|
+
:param client_timeout: 等待客户端请求超时时间,包括两种情况: - 读取整个客户端请求头的超时时长:如果客户端未在超时时长内发送完整个请求头,则请求将被中断 - 两个连续body体的数据包到达LB的时间间隔,超出client_timeout将会断开连接。 取值:1-300s。 支持多值查询,查询条件格式:*client_timeout=xxx&client_timeout=xxx*。
|
129
133
|
:type client_timeout: list[int]
|
130
|
-
:param keepalive_timeout:
|
134
|
+
:param keepalive_timeout: 参数解释:客户端连接空闲超时时间。在超过keepalive_timeout时长一直没有请求,负载均衡会暂时中断当前连接,直到下一次请求时重新建立新的连接。 约束限制:共享型实例的UDP监听器不支持此字段。 取值范围: - TCP监听器[和IP监听器](tag:hws_eu):10-4000s,默认值为300s。 - 若为HTTP/HTTPS/TERMINATED_HTTPS监听器,取值范围为(0-4000s)默认值为60s。 支持多值查询,查询条件格式:*keepalive_timeout=xxx&keepalive_timeout=xxx*。
|
131
135
|
:type keepalive_timeout: list[int]
|
132
|
-
:param transparent_client_ip_enable: 是否透传客户端IP地址。开启后客户端IP地址将透传到后端服务器。 [仅作用于共享型LB的TCP/UDP监听器。取值:true开启,false不开启。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
|
136
|
+
:param transparent_client_ip_enable: 是否透传客户端IP地址。开启后客户端IP地址将透传到后端服务器。 [仅作用于共享型LB的TCP/UDP监听器。取值:true开启,false不开启。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt,hk_tm)
|
133
137
|
:type transparent_client_ip_enable: bool
|
134
138
|
:param proxy_protocol_enable: 是否开启proxy_protocol。仅TLS监听器可指定,其他协议的监听器该字段不生效,proxy_protocol不开启。
|
135
139
|
:type proxy_protocol_enable: bool
|
@@ -139,6 +143,10 @@ class ListListenersRequest:
|
|
139
143
|
:type member_instance_id: list[str]
|
140
144
|
:param protection_status: 修改保护状态, 取值: - nonProtection: 不保护,默认值为nonProtection - consoleProtection: 控制台修改保护
|
141
145
|
:type protection_status: list[str]
|
146
|
+
:param ssl_early_data_enable: 参数解释:监听器0-RTT能力开关。
|
147
|
+
:type ssl_early_data_enable: bool
|
148
|
+
:param nat64_enable: 是否开启nat64地址族转换功能。 取值:true 开启,false 不开启。
|
149
|
+
:type nat64_enable: bool
|
142
150
|
"""
|
143
151
|
|
144
152
|
|
@@ -171,6 +179,8 @@ class ListListenersRequest:
|
|
171
179
|
self._enhance_l7policy_enable = None
|
172
180
|
self._member_instance_id = None
|
173
181
|
self._protection_status = None
|
182
|
+
self._ssl_early_data_enable = None
|
183
|
+
self._nat64_enable = None
|
174
184
|
self.discriminator = None
|
175
185
|
|
176
186
|
if limit is not None:
|
@@ -229,6 +239,10 @@ class ListListenersRequest:
|
|
229
239
|
self.member_instance_id = member_instance_id
|
230
240
|
if protection_status is not None:
|
231
241
|
self.protection_status = protection_status
|
242
|
+
if ssl_early_data_enable is not None:
|
243
|
+
self.ssl_early_data_enable = ssl_early_data_enable
|
244
|
+
if nat64_enable is not None:
|
245
|
+
self.nat64_enable = nat64_enable
|
232
246
|
|
233
247
|
@property
|
234
248
|
def limit(self):
|
@@ -322,7 +336,7 @@ class ListListenersRequest:
|
|
322
336
|
def protocol(self):
|
323
337
|
"""Gets the protocol of this ListListenersRequest.
|
324
338
|
|
325
|
-
监听器的监听协议。 [取值:TCP、UDP、HTTP、HTTPS、TERMINATED_HTTPS、QUIC、TLS。 说明:TERMINATED_HTTPS为共享型LB上的监听器独有的协议。](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,fcs,dt) [取值:TCP、UDP、HTTP、HTTPS。](tag:hcso_dt) [取值:TCP、UDP、IP、HTTP、HTTPS。IP为网关型LB上的监听器独有的协议。](tag:hws_eu) 支持多值查询,查询条件格式:*protocol=xxx&protocol=xxx*。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test)
|
339
|
+
监听器的监听协议。 [取值:TCP、UDP、HTTP、HTTPS、TERMINATED_HTTPS、QUIC、TLS。 说明:TERMINATED_HTTPS为共享型LB上的监听器独有的协议。](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,srg,fcs,dt) [取值:TCP、UDP、HTTP、HTTPS。](tag:hcso_dt) [取值:TCP、UDP、IP、HTTP、HTTPS。IP为网关型LB上的监听器独有的协议。](tag:hws_eu) 支持多值查询,查询条件格式:*protocol=xxx&protocol=xxx*。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test)
|
326
340
|
|
327
341
|
:return: The protocol of this ListListenersRequest.
|
328
342
|
:rtype: list[str]
|
@@ -333,7 +347,7 @@ class ListListenersRequest:
|
|
333
347
|
def protocol(self, protocol):
|
334
348
|
"""Sets the protocol of this ListListenersRequest.
|
335
349
|
|
336
|
-
监听器的监听协议。 [取值:TCP、UDP、HTTP、HTTPS、TERMINATED_HTTPS、QUIC、TLS。 说明:TERMINATED_HTTPS为共享型LB上的监听器独有的协议。](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,fcs,dt) [取值:TCP、UDP、HTTP、HTTPS。](tag:hcso_dt) [取值:TCP、UDP、IP、HTTP、HTTPS。IP为网关型LB上的监听器独有的协议。](tag:hws_eu) 支持多值查询,查询条件格式:*protocol=xxx&protocol=xxx*。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test)
|
350
|
+
监听器的监听协议。 [取值:TCP、UDP、HTTP、HTTPS、TERMINATED_HTTPS、QUIC、TLS。 说明:TERMINATED_HTTPS为共享型LB上的监听器独有的协议。](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,srg,fcs,dt) [取值:TCP、UDP、HTTP、HTTPS。](tag:hcso_dt) [取值:TCP、UDP、IP、HTTP、HTTPS。IP为网关型LB上的监听器独有的协议。](tag:hws_eu) 支持多值查询,查询条件格式:*protocol=xxx&protocol=xxx*。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt,dt_test)
|
337
351
|
|
338
352
|
:param protocol: The protocol of this ListListenersRequest.
|
339
353
|
:type protocol: list[str]
|
@@ -630,7 +644,7 @@ class ListListenersRequest:
|
|
630
644
|
def enterprise_project_id(self):
|
631
645
|
"""Gets the enterprise_project_id of this ListListenersRequest.
|
632
646
|
|
633
|
-
|
647
|
+
参数解释:所属的企业项目ID。 如果enterprise_project_id不传值,默认查询所有企业项目下的资源,鉴权按照细粒度权限鉴权,必须在用户组下分配elb:listeners:list权限。 如果enterprise_project_id传值,鉴权按照企业项目权限鉴权,分为传入具体eps_id和all_granted_eps两种场景,前者查询指定eps_id的eps下的资源,后者查询的是所有有list权限的eps下的资源。 支持多值查询,查询条件格式: *enterprise_project_id=xxx&enterprise_project_id=xxx*。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
|
634
648
|
|
635
649
|
:return: The enterprise_project_id of this ListListenersRequest.
|
636
650
|
:rtype: list[str]
|
@@ -641,7 +655,7 @@ class ListListenersRequest:
|
|
641
655
|
def enterprise_project_id(self, enterprise_project_id):
|
642
656
|
"""Sets the enterprise_project_id of this ListListenersRequest.
|
643
657
|
|
644
|
-
|
658
|
+
参数解释:所属的企业项目ID。 如果enterprise_project_id不传值,默认查询所有企业项目下的资源,鉴权按照细粒度权限鉴权,必须在用户组下分配elb:listeners:list权限。 如果enterprise_project_id传值,鉴权按照企业项目权限鉴权,分为传入具体eps_id和all_granted_eps两种场景,前者查询指定eps_id的eps下的资源,后者查询的是所有有list权限的eps下的资源。 支持多值查询,查询条件格式: *enterprise_project_id=xxx&enterprise_project_id=xxx*。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
|
645
659
|
|
646
660
|
:param enterprise_project_id: The enterprise_project_id of this ListListenersRequest.
|
647
661
|
:type enterprise_project_id: list[str]
|
@@ -674,7 +688,7 @@ class ListListenersRequest:
|
|
674
688
|
def member_timeout(self):
|
675
689
|
"""Gets the member_timeout of this ListListenersRequest.
|
676
690
|
|
677
|
-
等待后端服务器响应超时时间。请求转发后端服务器后,在等待超时member_timeout时长没有响应,负载均衡将终止等待,并返回
|
691
|
+
等待后端服务器响应超时时间。请求转发后端服务器后,在等待超时member_timeout时长没有响应,负载均衡将终止等待,并返回HTTP504错误码。 取值:1-300s。 支持多值查询,查询条件格式:*member_timeout=xxx&member_timeout=xxx*。
|
678
692
|
|
679
693
|
:return: The member_timeout of this ListListenersRequest.
|
680
694
|
:rtype: list[int]
|
@@ -685,7 +699,7 @@ class ListListenersRequest:
|
|
685
699
|
def member_timeout(self, member_timeout):
|
686
700
|
"""Sets the member_timeout of this ListListenersRequest.
|
687
701
|
|
688
|
-
等待后端服务器响应超时时间。请求转发后端服务器后,在等待超时member_timeout时长没有响应,负载均衡将终止等待,并返回
|
702
|
+
等待后端服务器响应超时时间。请求转发后端服务器后,在等待超时member_timeout时长没有响应,负载均衡将终止等待,并返回HTTP504错误码。 取值:1-300s。 支持多值查询,查询条件格式:*member_timeout=xxx&member_timeout=xxx*。
|
689
703
|
|
690
704
|
:param member_timeout: The member_timeout of this ListListenersRequest.
|
691
705
|
:type member_timeout: list[int]
|
@@ -696,7 +710,7 @@ class ListListenersRequest:
|
|
696
710
|
def client_timeout(self):
|
697
711
|
"""Gets the client_timeout of this ListListenersRequest.
|
698
712
|
|
699
|
-
等待客户端请求超时时间,包括两种情况: - 读取整个客户端请求头的超时时长:如果客户端未在超时时长内发送完整个请求头,则请求将被中断 - 两个连续body体的数据包到达LB的时间间隔,超出client_timeout将会断开连接。 取值:1-
|
713
|
+
等待客户端请求超时时间,包括两种情况: - 读取整个客户端请求头的超时时长:如果客户端未在超时时长内发送完整个请求头,则请求将被中断 - 两个连续body体的数据包到达LB的时间间隔,超出client_timeout将会断开连接。 取值:1-300s。 支持多值查询,查询条件格式:*client_timeout=xxx&client_timeout=xxx*。
|
700
714
|
|
701
715
|
:return: The client_timeout of this ListListenersRequest.
|
702
716
|
:rtype: list[int]
|
@@ -707,7 +721,7 @@ class ListListenersRequest:
|
|
707
721
|
def client_timeout(self, client_timeout):
|
708
722
|
"""Sets the client_timeout of this ListListenersRequest.
|
709
723
|
|
710
|
-
等待客户端请求超时时间,包括两种情况: - 读取整个客户端请求头的超时时长:如果客户端未在超时时长内发送完整个请求头,则请求将被中断 - 两个连续body体的数据包到达LB的时间间隔,超出client_timeout将会断开连接。 取值:1-
|
724
|
+
等待客户端请求超时时间,包括两种情况: - 读取整个客户端请求头的超时时长:如果客户端未在超时时长内发送完整个请求头,则请求将被中断 - 两个连续body体的数据包到达LB的时间间隔,超出client_timeout将会断开连接。 取值:1-300s。 支持多值查询,查询条件格式:*client_timeout=xxx&client_timeout=xxx*。
|
711
725
|
|
712
726
|
:param client_timeout: The client_timeout of this ListListenersRequest.
|
713
727
|
:type client_timeout: list[int]
|
@@ -718,7 +732,7 @@ class ListListenersRequest:
|
|
718
732
|
def keepalive_timeout(self):
|
719
733
|
"""Gets the keepalive_timeout of this ListListenersRequest.
|
720
734
|
|
721
|
-
|
735
|
+
参数解释:客户端连接空闲超时时间。在超过keepalive_timeout时长一直没有请求,负载均衡会暂时中断当前连接,直到下一次请求时重新建立新的连接。 约束限制:共享型实例的UDP监听器不支持此字段。 取值范围: - TCP监听器[和IP监听器](tag:hws_eu):10-4000s,默认值为300s。 - 若为HTTP/HTTPS/TERMINATED_HTTPS监听器,取值范围为(0-4000s)默认值为60s。 支持多值查询,查询条件格式:*keepalive_timeout=xxx&keepalive_timeout=xxx*。
|
722
736
|
|
723
737
|
:return: The keepalive_timeout of this ListListenersRequest.
|
724
738
|
:rtype: list[int]
|
@@ -729,7 +743,7 @@ class ListListenersRequest:
|
|
729
743
|
def keepalive_timeout(self, keepalive_timeout):
|
730
744
|
"""Sets the keepalive_timeout of this ListListenersRequest.
|
731
745
|
|
732
|
-
|
746
|
+
参数解释:客户端连接空闲超时时间。在超过keepalive_timeout时长一直没有请求,负载均衡会暂时中断当前连接,直到下一次请求时重新建立新的连接。 约束限制:共享型实例的UDP监听器不支持此字段。 取值范围: - TCP监听器[和IP监听器](tag:hws_eu):10-4000s,默认值为300s。 - 若为HTTP/HTTPS/TERMINATED_HTTPS监听器,取值范围为(0-4000s)默认值为60s。 支持多值查询,查询条件格式:*keepalive_timeout=xxx&keepalive_timeout=xxx*。
|
733
747
|
|
734
748
|
:param keepalive_timeout: The keepalive_timeout of this ListListenersRequest.
|
735
749
|
:type keepalive_timeout: list[int]
|
@@ -740,7 +754,7 @@ class ListListenersRequest:
|
|
740
754
|
def transparent_client_ip_enable(self):
|
741
755
|
"""Gets the transparent_client_ip_enable of this ListListenersRequest.
|
742
756
|
|
743
|
-
是否透传客户端IP地址。开启后客户端IP地址将透传到后端服务器。 [仅作用于共享型LB的TCP/UDP监听器。取值:true开启,false不开启。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
|
757
|
+
是否透传客户端IP地址。开启后客户端IP地址将透传到后端服务器。 [仅作用于共享型LB的TCP/UDP监听器。取值:true开启,false不开启。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt,hk_tm)
|
744
758
|
|
745
759
|
:return: The transparent_client_ip_enable of this ListListenersRequest.
|
746
760
|
:rtype: bool
|
@@ -751,7 +765,7 @@ class ListListenersRequest:
|
|
751
765
|
def transparent_client_ip_enable(self, transparent_client_ip_enable):
|
752
766
|
"""Sets the transparent_client_ip_enable of this ListListenersRequest.
|
753
767
|
|
754
|
-
是否透传客户端IP地址。开启后客户端IP地址将透传到后端服务器。 [仅作用于共享型LB的TCP/UDP监听器。取值:true开启,false不开启。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
|
768
|
+
是否透传客户端IP地址。开启后客户端IP地址将透传到后端服务器。 [仅作用于共享型LB的TCP/UDP监听器。取值:true开启,false不开启。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt,hk_tm)
|
755
769
|
|
756
770
|
:param transparent_client_ip_enable: The transparent_client_ip_enable of this ListListenersRequest.
|
757
771
|
:type transparent_client_ip_enable: bool
|
@@ -846,6 +860,50 @@ class ListListenersRequest:
|
|
846
860
|
"""
|
847
861
|
self._protection_status = protection_status
|
848
862
|
|
863
|
+
@property
|
864
|
+
def ssl_early_data_enable(self):
|
865
|
+
"""Gets the ssl_early_data_enable of this ListListenersRequest.
|
866
|
+
|
867
|
+
参数解释:监听器0-RTT能力开关。
|
868
|
+
|
869
|
+
:return: The ssl_early_data_enable of this ListListenersRequest.
|
870
|
+
:rtype: bool
|
871
|
+
"""
|
872
|
+
return self._ssl_early_data_enable
|
873
|
+
|
874
|
+
@ssl_early_data_enable.setter
|
875
|
+
def ssl_early_data_enable(self, ssl_early_data_enable):
|
876
|
+
"""Sets the ssl_early_data_enable of this ListListenersRequest.
|
877
|
+
|
878
|
+
参数解释:监听器0-RTT能力开关。
|
879
|
+
|
880
|
+
:param ssl_early_data_enable: The ssl_early_data_enable of this ListListenersRequest.
|
881
|
+
:type ssl_early_data_enable: bool
|
882
|
+
"""
|
883
|
+
self._ssl_early_data_enable = ssl_early_data_enable
|
884
|
+
|
885
|
+
@property
|
886
|
+
def nat64_enable(self):
|
887
|
+
"""Gets the nat64_enable of this ListListenersRequest.
|
888
|
+
|
889
|
+
是否开启nat64地址族转换功能。 取值:true 开启,false 不开启。
|
890
|
+
|
891
|
+
:return: The nat64_enable of this ListListenersRequest.
|
892
|
+
:rtype: bool
|
893
|
+
"""
|
894
|
+
return self._nat64_enable
|
895
|
+
|
896
|
+
@nat64_enable.setter
|
897
|
+
def nat64_enable(self, nat64_enable):
|
898
|
+
"""Sets the nat64_enable of this ListListenersRequest.
|
899
|
+
|
900
|
+
是否开启nat64地址族转换功能。 取值:true 开启,false 不开启。
|
901
|
+
|
902
|
+
:param nat64_enable: The nat64_enable of this ListListenersRequest.
|
903
|
+
:type nat64_enable: bool
|
904
|
+
"""
|
905
|
+
self._nat64_enable = nat64_enable
|
906
|
+
|
849
907
|
def to_dict(self):
|
850
908
|
"""Returns the model properties as a dict"""
|
851
909
|
result = {}
|
@@ -139,21 +139,21 @@ class ListLoadBalancersRequest:
|
|
139
139
|
:type publicips: list[str]
|
140
140
|
:param availability_zone_list: 负载均衡器所在可用区列表。 支持多值查询,查询条件格式: *availability_zone_list=xxx&availability_zone_list=xxx*。
|
141
141
|
:type availability_zone_list: list[str]
|
142
|
-
:param l4_flavor_id: 网络型规格ID。 支持多值查询,查询条件格式:*l4_flavor_id=xxx&l4_flavor_id=xxx*。 [不支持该字段,请勿使用。](tag:
|
142
|
+
:param l4_flavor_id: 网络型规格ID。 支持多值查询,查询条件格式:*l4_flavor_id=xxx&l4_flavor_id=xxx*。 [不支持该字段,请勿使用。](tag:hk_vdf,srg,fcs)
|
143
143
|
:type l4_flavor_id: list[str]
|
144
144
|
:param l4_scale_flavor_id: 四层弹性Flavor ID。 支持多值查询,查询条件格式:*l4_scale_flavor_id=xxx&l4_scale_flavor_id=xxx*。 不支持该字段,请勿使用。
|
145
145
|
:type l4_scale_flavor_id: list[str]
|
146
|
-
:param l7_flavor_id: 应用型规格ID。 支持多值查询,查询条件格式:*l7_flavor_id=xxx&l7_flavor_id=xxx*。 [不支持该字段,请勿使用。](tag:
|
146
|
+
:param l7_flavor_id: 应用型规格ID。 支持多值查询,查询条件格式:*l7_flavor_id=xxx&l7_flavor_id=xxx*。 [不支持该字段,请勿使用。](tag:hk_vdf,srg,fcs)
|
147
147
|
:type l7_flavor_id: list[str]
|
148
148
|
:param l7_scale_flavor_id: 七层弹性Flavor ID。 支持多值查询,查询条件格式:*l7_scale_flavor_id=xxx&l7_scale_flavor_id=xxx*。 不支持该字段,请勿使用。
|
149
149
|
:type l7_scale_flavor_id: list[str]
|
150
|
-
:param billing_info: 资源账单信息。 支持多值查询,查询条件格式:*billing_info=xxx&billing_info=xxx*。 [不支持该字段,请勿使用。](tag:hws_hk,hws_eu,hws_test,
|
150
|
+
:param billing_info: 资源账单信息。 支持多值查询,查询条件格式:*billing_info=xxx&billing_info=xxx*。 [不支持该字段,请勿使用。](tag:hws_hk,hws_eu,hws_eu_wb,hws_test,fcs,dt,hcso_dt,ctc,cmcc,tm,sbc,hk_sbc,hk_tm,hk_vdf,srg)
|
151
151
|
:type billing_info: list[str]
|
152
152
|
:param member_device_id: 负载均衡器中的后端服务器对应的弹性云服务器的ID。仅用于查询条件,不作为响应参数字段。 支持多值查询,查询条件格式:*member_device_id=xxx&member_device_id=xxx*。
|
153
153
|
:type member_device_id: list[str]
|
154
154
|
:param member_address: 负载均衡器中的后端服务器对应的弹性云服务器的IP地址。仅用于查询条件,不作为响应参数字段。 支持多值查询,查询条件格式:*member_address=xxx&member_address=xxx*。
|
155
155
|
:type member_address: list[str]
|
156
|
-
:param enterprise_project_id:
|
156
|
+
:param enterprise_project_id: 参数解释:负载均衡器所属的企业项目ID。 如果enterprise_project_id不传值,默认查询所有企业项目下的资源,鉴权按照细粒度权限鉴权,必须在用户组下分配elb:loadbalancers:list权限。 如果enterprise_project_id传值,鉴权按照企业项目权限鉴权,分为传入具体eps_id和all_granted_eps两种场景,前者查询指定eps_id的eps下的资源,后者查询的是所有有list权限的eps下的资源。 支持多值查询,查询条件格式: *enterprise_project_id=xxx&enterprise_project_id=xxx*。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
|
157
157
|
:type enterprise_project_id: list[str]
|
158
158
|
:param ip_version: IP版本信息。 取值:4代表IPv4,6代表IPv6。 支持多值查询,查询条件格式:*ip_version=xxx&ip_version=xxx*。 [不支持IPv6,请勿设置为6。](tag:dt,dt_test)
|
159
159
|
:type ip_version: list[int]
|
@@ -161,7 +161,7 @@ class ListLoadBalancersRequest:
|
|
161
161
|
:type deletion_protection_enable: bool
|
162
162
|
:param elb_virsubnet_type: 下联面子网类型。 取值: - ipv4:ipv4。 - dualstack:双栈。 支持多值查询,查询条件格式: *elb_virsubnet_type=ipv4&elb_virsubnet_type=dualstack*。
|
163
163
|
:type elb_virsubnet_type: list[str]
|
164
|
-
:param autoscaling: 是否开启弹性扩缩容。示例如下: \"autoscaling\": { \"enable\": \"true\" } 支持多值查询,查询条件格式: *autoscaling=enable=true&autoscaling=enable=false*。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42,hcso,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
164
|
+
:param autoscaling: 是否开启弹性扩缩容。示例如下: \"autoscaling\": { \"enable\": \"true\" } 支持多值查询,查询条件格式: *autoscaling=enable=true&autoscaling=enable=false*。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42,hcso,srg,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
165
165
|
:type autoscaling: list[str]
|
166
166
|
:param protection_status: 修改保护状态, 取值: - nonProtection: 不保护,默认值为nonProtection - consoleProtection: 控制台修改保护
|
167
167
|
:type protection_status: list[str]
|
@@ -730,7 +730,7 @@ class ListLoadBalancersRequest:
|
|
730
730
|
def l4_flavor_id(self):
|
731
731
|
"""Gets the l4_flavor_id of this ListLoadBalancersRequest.
|
732
732
|
|
733
|
-
网络型规格ID。 支持多值查询,查询条件格式:*l4_flavor_id=xxx&l4_flavor_id=xxx*。 [不支持该字段,请勿使用。](tag:
|
733
|
+
网络型规格ID。 支持多值查询,查询条件格式:*l4_flavor_id=xxx&l4_flavor_id=xxx*。 [不支持该字段,请勿使用。](tag:hk_vdf,srg,fcs)
|
734
734
|
|
735
735
|
:return: The l4_flavor_id of this ListLoadBalancersRequest.
|
736
736
|
:rtype: list[str]
|
@@ -741,7 +741,7 @@ class ListLoadBalancersRequest:
|
|
741
741
|
def l4_flavor_id(self, l4_flavor_id):
|
742
742
|
"""Sets the l4_flavor_id of this ListLoadBalancersRequest.
|
743
743
|
|
744
|
-
网络型规格ID。 支持多值查询,查询条件格式:*l4_flavor_id=xxx&l4_flavor_id=xxx*。 [不支持该字段,请勿使用。](tag:
|
744
|
+
网络型规格ID。 支持多值查询,查询条件格式:*l4_flavor_id=xxx&l4_flavor_id=xxx*。 [不支持该字段,请勿使用。](tag:hk_vdf,srg,fcs)
|
745
745
|
|
746
746
|
:param l4_flavor_id: The l4_flavor_id of this ListLoadBalancersRequest.
|
747
747
|
:type l4_flavor_id: list[str]
|
@@ -774,7 +774,7 @@ class ListLoadBalancersRequest:
|
|
774
774
|
def l7_flavor_id(self):
|
775
775
|
"""Gets the l7_flavor_id of this ListLoadBalancersRequest.
|
776
776
|
|
777
|
-
应用型规格ID。 支持多值查询,查询条件格式:*l7_flavor_id=xxx&l7_flavor_id=xxx*。 [不支持该字段,请勿使用。](tag:
|
777
|
+
应用型规格ID。 支持多值查询,查询条件格式:*l7_flavor_id=xxx&l7_flavor_id=xxx*。 [不支持该字段,请勿使用。](tag:hk_vdf,srg,fcs)
|
778
778
|
|
779
779
|
:return: The l7_flavor_id of this ListLoadBalancersRequest.
|
780
780
|
:rtype: list[str]
|
@@ -785,7 +785,7 @@ class ListLoadBalancersRequest:
|
|
785
785
|
def l7_flavor_id(self, l7_flavor_id):
|
786
786
|
"""Sets the l7_flavor_id of this ListLoadBalancersRequest.
|
787
787
|
|
788
|
-
应用型规格ID。 支持多值查询,查询条件格式:*l7_flavor_id=xxx&l7_flavor_id=xxx*。 [不支持该字段,请勿使用。](tag:
|
788
|
+
应用型规格ID。 支持多值查询,查询条件格式:*l7_flavor_id=xxx&l7_flavor_id=xxx*。 [不支持该字段,请勿使用。](tag:hk_vdf,srg,fcs)
|
789
789
|
|
790
790
|
:param l7_flavor_id: The l7_flavor_id of this ListLoadBalancersRequest.
|
791
791
|
:type l7_flavor_id: list[str]
|
@@ -818,7 +818,7 @@ class ListLoadBalancersRequest:
|
|
818
818
|
def billing_info(self):
|
819
819
|
"""Gets the billing_info of this ListLoadBalancersRequest.
|
820
820
|
|
821
|
-
资源账单信息。 支持多值查询,查询条件格式:*billing_info=xxx&billing_info=xxx*。 [不支持该字段,请勿使用。](tag:hws_hk,hws_eu,hws_test,
|
821
|
+
资源账单信息。 支持多值查询,查询条件格式:*billing_info=xxx&billing_info=xxx*。 [不支持该字段,请勿使用。](tag:hws_hk,hws_eu,hws_eu_wb,hws_test,fcs,dt,hcso_dt,ctc,cmcc,tm,sbc,hk_sbc,hk_tm,hk_vdf,srg)
|
822
822
|
|
823
823
|
:return: The billing_info of this ListLoadBalancersRequest.
|
824
824
|
:rtype: list[str]
|
@@ -829,7 +829,7 @@ class ListLoadBalancersRequest:
|
|
829
829
|
def billing_info(self, billing_info):
|
830
830
|
"""Sets the billing_info of this ListLoadBalancersRequest.
|
831
831
|
|
832
|
-
资源账单信息。 支持多值查询,查询条件格式:*billing_info=xxx&billing_info=xxx*。 [不支持该字段,请勿使用。](tag:hws_hk,hws_eu,hws_test,
|
832
|
+
资源账单信息。 支持多值查询,查询条件格式:*billing_info=xxx&billing_info=xxx*。 [不支持该字段,请勿使用。](tag:hws_hk,hws_eu,hws_eu_wb,hws_test,fcs,dt,hcso_dt,ctc,cmcc,tm,sbc,hk_sbc,hk_tm,hk_vdf,srg)
|
833
833
|
|
834
834
|
:param billing_info: The billing_info of this ListLoadBalancersRequest.
|
835
835
|
:type billing_info: list[str]
|
@@ -884,7 +884,7 @@ class ListLoadBalancersRequest:
|
|
884
884
|
def enterprise_project_id(self):
|
885
885
|
"""Gets the enterprise_project_id of this ListLoadBalancersRequest.
|
886
886
|
|
887
|
-
|
887
|
+
参数解释:负载均衡器所属的企业项目ID。 如果enterprise_project_id不传值,默认查询所有企业项目下的资源,鉴权按照细粒度权限鉴权,必须在用户组下分配elb:loadbalancers:list权限。 如果enterprise_project_id传值,鉴权按照企业项目权限鉴权,分为传入具体eps_id和all_granted_eps两种场景,前者查询指定eps_id的eps下的资源,后者查询的是所有有list权限的eps下的资源。 支持多值查询,查询条件格式: *enterprise_project_id=xxx&enterprise_project_id=xxx*。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
|
888
888
|
|
889
889
|
:return: The enterprise_project_id of this ListLoadBalancersRequest.
|
890
890
|
:rtype: list[str]
|
@@ -895,7 +895,7 @@ class ListLoadBalancersRequest:
|
|
895
895
|
def enterprise_project_id(self, enterprise_project_id):
|
896
896
|
"""Sets the enterprise_project_id of this ListLoadBalancersRequest.
|
897
897
|
|
898
|
-
|
898
|
+
参数解释:负载均衡器所属的企业项目ID。 如果enterprise_project_id不传值,默认查询所有企业项目下的资源,鉴权按照细粒度权限鉴权,必须在用户组下分配elb:loadbalancers:list权限。 如果enterprise_project_id传值,鉴权按照企业项目权限鉴权,分为传入具体eps_id和all_granted_eps两种场景,前者查询指定eps_id的eps下的资源,后者查询的是所有有list权限的eps下的资源。 支持多值查询,查询条件格式: *enterprise_project_id=xxx&enterprise_project_id=xxx*。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
|
899
899
|
|
900
900
|
:param enterprise_project_id: The enterprise_project_id of this ListLoadBalancersRequest.
|
901
901
|
:type enterprise_project_id: list[str]
|
@@ -972,7 +972,7 @@ class ListLoadBalancersRequest:
|
|
972
972
|
def autoscaling(self):
|
973
973
|
"""Gets the autoscaling of this ListLoadBalancersRequest.
|
974
974
|
|
975
|
-
是否开启弹性扩缩容。示例如下: \"autoscaling\": { \"enable\": \"true\" } 支持多值查询,查询条件格式: *autoscaling=enable=true&autoscaling=enable=false*。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42,hcso,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
975
|
+
是否开启弹性扩缩容。示例如下: \"autoscaling\": { \"enable\": \"true\" } 支持多值查询,查询条件格式: *autoscaling=enable=true&autoscaling=enable=false*。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42,hcso,srg,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
976
976
|
|
977
977
|
:return: The autoscaling of this ListLoadBalancersRequest.
|
978
978
|
:rtype: list[str]
|
@@ -983,7 +983,7 @@ class ListLoadBalancersRequest:
|
|
983
983
|
def autoscaling(self, autoscaling):
|
984
984
|
"""Sets the autoscaling of this ListLoadBalancersRequest.
|
985
985
|
|
986
|
-
是否开启弹性扩缩容。示例如下: \"autoscaling\": { \"enable\": \"true\" } 支持多值查询,查询条件格式: *autoscaling=enable=true&autoscaling=enable=false*。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42,hcso,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
986
|
+
是否开启弹性扩缩容。示例如下: \"autoscaling\": { \"enable\": \"true\" } 支持多值查询,查询条件格式: *autoscaling=enable=true&autoscaling=enable=false*。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42,hcso,srg,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
987
987
|
|
988
988
|
:param autoscaling: The autoscaling of this ListLoadBalancersRequest.
|
989
989
|
:type autoscaling: list[str]
|
@@ -0,0 +1,114 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class ListLoadbalancerFeatureRequest:
|
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
|
+
'loadbalancer_id': 'str'
|
21
|
+
}
|
22
|
+
|
23
|
+
attribute_map = {
|
24
|
+
'loadbalancer_id': 'loadbalancer_id'
|
25
|
+
}
|
26
|
+
|
27
|
+
def __init__(self, loadbalancer_id=None):
|
28
|
+
"""ListLoadbalancerFeatureRequest
|
29
|
+
|
30
|
+
The model defined in huaweicloud sdk
|
31
|
+
|
32
|
+
:param loadbalancer_id: ELB实例ID。
|
33
|
+
:type loadbalancer_id: str
|
34
|
+
"""
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
self._loadbalancer_id = None
|
39
|
+
self.discriminator = None
|
40
|
+
|
41
|
+
self.loadbalancer_id = loadbalancer_id
|
42
|
+
|
43
|
+
@property
|
44
|
+
def loadbalancer_id(self):
|
45
|
+
"""Gets the loadbalancer_id of this ListLoadbalancerFeatureRequest.
|
46
|
+
|
47
|
+
ELB实例ID。
|
48
|
+
|
49
|
+
:return: The loadbalancer_id of this ListLoadbalancerFeatureRequest.
|
50
|
+
:rtype: str
|
51
|
+
"""
|
52
|
+
return self._loadbalancer_id
|
53
|
+
|
54
|
+
@loadbalancer_id.setter
|
55
|
+
def loadbalancer_id(self, loadbalancer_id):
|
56
|
+
"""Sets the loadbalancer_id of this ListLoadbalancerFeatureRequest.
|
57
|
+
|
58
|
+
ELB实例ID。
|
59
|
+
|
60
|
+
:param loadbalancer_id: The loadbalancer_id of this ListLoadbalancerFeatureRequest.
|
61
|
+
:type loadbalancer_id: str
|
62
|
+
"""
|
63
|
+
self._loadbalancer_id = loadbalancer_id
|
64
|
+
|
65
|
+
def to_dict(self):
|
66
|
+
"""Returns the model properties as a dict"""
|
67
|
+
result = {}
|
68
|
+
|
69
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
70
|
+
value = getattr(self, attr)
|
71
|
+
if isinstance(value, list):
|
72
|
+
result[attr] = list(map(
|
73
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
74
|
+
value
|
75
|
+
))
|
76
|
+
elif hasattr(value, "to_dict"):
|
77
|
+
result[attr] = value.to_dict()
|
78
|
+
elif isinstance(value, dict):
|
79
|
+
result[attr] = dict(map(
|
80
|
+
lambda item: (item[0], item[1].to_dict())
|
81
|
+
if hasattr(item[1], "to_dict") else item,
|
82
|
+
value.items()
|
83
|
+
))
|
84
|
+
else:
|
85
|
+
if attr in self.sensitive_list:
|
86
|
+
result[attr] = "****"
|
87
|
+
else:
|
88
|
+
result[attr] = value
|
89
|
+
|
90
|
+
return result
|
91
|
+
|
92
|
+
def to_str(self):
|
93
|
+
"""Returns the string representation of the model"""
|
94
|
+
import simplejson as json
|
95
|
+
if six.PY2:
|
96
|
+
import sys
|
97
|
+
reload(sys)
|
98
|
+
sys.setdefaultencoding("utf-8")
|
99
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
100
|
+
|
101
|
+
def __repr__(self):
|
102
|
+
"""For `print`"""
|
103
|
+
return self.to_str()
|
104
|
+
|
105
|
+
def __eq__(self, other):
|
106
|
+
"""Returns true if both objects are equal"""
|
107
|
+
if not isinstance(other, ListLoadbalancerFeatureRequest):
|
108
|
+
return False
|
109
|
+
|
110
|
+
return self.__dict__ == other.__dict__
|
111
|
+
|
112
|
+
def __ne__(self, other):
|
113
|
+
"""Returns true if both objects are not equal"""
|
114
|
+
return not self == other
|
@@ -0,0 +1,145 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.sdk_response import SdkResponse
|
6
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
7
|
+
|
8
|
+
|
9
|
+
class ListLoadbalancerFeatureResponse(SdkResponse):
|
10
|
+
|
11
|
+
"""
|
12
|
+
Attributes:
|
13
|
+
openapi_types (dict): The key is attribute name
|
14
|
+
and the value is attribute type.
|
15
|
+
attribute_map (dict): The key is attribute name
|
16
|
+
and the value is json key in definition.
|
17
|
+
"""
|
18
|
+
sensitive_list = []
|
19
|
+
|
20
|
+
openapi_types = {
|
21
|
+
'features': 'list[LoadbalancerFeature]',
|
22
|
+
'request_id': 'str'
|
23
|
+
}
|
24
|
+
|
25
|
+
attribute_map = {
|
26
|
+
'features': 'features',
|
27
|
+
'request_id': 'request_id'
|
28
|
+
}
|
29
|
+
|
30
|
+
def __init__(self, features=None, request_id=None):
|
31
|
+
"""ListLoadbalancerFeatureResponse
|
32
|
+
|
33
|
+
The model defined in huaweicloud sdk
|
34
|
+
|
35
|
+
:param features: 参数解释:ELB实例特性信息列表。
|
36
|
+
:type features: list[:class:`huaweicloudsdkelb.v3.LoadbalancerFeature`]
|
37
|
+
:param request_id: 参数解释:请求ID。 注:自动生成 。
|
38
|
+
:type request_id: str
|
39
|
+
"""
|
40
|
+
|
41
|
+
super(ListLoadbalancerFeatureResponse, self).__init__()
|
42
|
+
|
43
|
+
self._features = None
|
44
|
+
self._request_id = None
|
45
|
+
self.discriminator = None
|
46
|
+
|
47
|
+
if features is not None:
|
48
|
+
self.features = features
|
49
|
+
if request_id is not None:
|
50
|
+
self.request_id = request_id
|
51
|
+
|
52
|
+
@property
|
53
|
+
def features(self):
|
54
|
+
"""Gets the features of this ListLoadbalancerFeatureResponse.
|
55
|
+
|
56
|
+
参数解释:ELB实例特性信息列表。
|
57
|
+
|
58
|
+
:return: The features of this ListLoadbalancerFeatureResponse.
|
59
|
+
:rtype: list[:class:`huaweicloudsdkelb.v3.LoadbalancerFeature`]
|
60
|
+
"""
|
61
|
+
return self._features
|
62
|
+
|
63
|
+
@features.setter
|
64
|
+
def features(self, features):
|
65
|
+
"""Sets the features of this ListLoadbalancerFeatureResponse.
|
66
|
+
|
67
|
+
参数解释:ELB实例特性信息列表。
|
68
|
+
|
69
|
+
:param features: The features of this ListLoadbalancerFeatureResponse.
|
70
|
+
:type features: list[:class:`huaweicloudsdkelb.v3.LoadbalancerFeature`]
|
71
|
+
"""
|
72
|
+
self._features = features
|
73
|
+
|
74
|
+
@property
|
75
|
+
def request_id(self):
|
76
|
+
"""Gets the request_id of this ListLoadbalancerFeatureResponse.
|
77
|
+
|
78
|
+
参数解释:请求ID。 注:自动生成 。
|
79
|
+
|
80
|
+
:return: The request_id of this ListLoadbalancerFeatureResponse.
|
81
|
+
:rtype: str
|
82
|
+
"""
|
83
|
+
return self._request_id
|
84
|
+
|
85
|
+
@request_id.setter
|
86
|
+
def request_id(self, request_id):
|
87
|
+
"""Sets the request_id of this ListLoadbalancerFeatureResponse.
|
88
|
+
|
89
|
+
参数解释:请求ID。 注:自动生成 。
|
90
|
+
|
91
|
+
:param request_id: The request_id of this ListLoadbalancerFeatureResponse.
|
92
|
+
:type request_id: str
|
93
|
+
"""
|
94
|
+
self._request_id = request_id
|
95
|
+
|
96
|
+
def to_dict(self):
|
97
|
+
"""Returns the model properties as a dict"""
|
98
|
+
result = {}
|
99
|
+
|
100
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
101
|
+
value = getattr(self, attr)
|
102
|
+
if isinstance(value, list):
|
103
|
+
result[attr] = list(map(
|
104
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
105
|
+
value
|
106
|
+
))
|
107
|
+
elif hasattr(value, "to_dict"):
|
108
|
+
result[attr] = value.to_dict()
|
109
|
+
elif isinstance(value, dict):
|
110
|
+
result[attr] = dict(map(
|
111
|
+
lambda item: (item[0], item[1].to_dict())
|
112
|
+
if hasattr(item[1], "to_dict") else item,
|
113
|
+
value.items()
|
114
|
+
))
|
115
|
+
else:
|
116
|
+
if attr in self.sensitive_list:
|
117
|
+
result[attr] = "****"
|
118
|
+
else:
|
119
|
+
result[attr] = value
|
120
|
+
|
121
|
+
return result
|
122
|
+
|
123
|
+
def to_str(self):
|
124
|
+
"""Returns the string representation of the model"""
|
125
|
+
import simplejson as json
|
126
|
+
if six.PY2:
|
127
|
+
import sys
|
128
|
+
reload(sys)
|
129
|
+
sys.setdefaultencoding("utf-8")
|
130
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
131
|
+
|
132
|
+
def __repr__(self):
|
133
|
+
"""For `print`"""
|
134
|
+
return self.to_str()
|
135
|
+
|
136
|
+
def __eq__(self, other):
|
137
|
+
"""Returns true if both objects are equal"""
|
138
|
+
if not isinstance(other, ListLoadbalancerFeatureResponse):
|
139
|
+
return False
|
140
|
+
|
141
|
+
return self.__dict__ == other.__dict__
|
142
|
+
|
143
|
+
def __ne__(self, other):
|
144
|
+
"""Returns true if both objects are not equal"""
|
145
|
+
return not self == other
|