huaweicloudsdkelb 3.1.105__py2.py3-none-any.whl → 3.1.107__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 +29 -0
- huaweicloudsdkelb/v3/elb_async_client.py +171 -34
- huaweicloudsdkelb/v3/elb_client.py +171 -34
- huaweicloudsdkelb/v3/model/__init__.py +29 -0
- huaweicloudsdkelb/v3/model/availability_zone.py +3 -3
- huaweicloudsdkelb/v3/model/batch_add_available_zones_response.py +6 -6
- huaweicloudsdkelb/v3/model/batch_create_members_option.py +3 -3
- huaweicloudsdkelb/v3/model/batch_delete_ip_list_option.py +3 -3
- huaweicloudsdkelb/v3/model/batch_delete_ip_list_request.py +3 -3
- huaweicloudsdkelb/v3/model/batch_delete_ip_list_response.py +3 -3
- huaweicloudsdkelb/v3/model/batch_member.py +67 -9
- huaweicloudsdkelb/v3/model/batch_update_member.py +67 -9
- huaweicloudsdkelb/v3/model/batch_update_priority_request_body.py +3 -3
- huaweicloudsdkelb/v3/model/certificate_info.py +93 -6
- huaweicloudsdkelb/v3/model/change_loadbalancer_charge_mode_request_body.py +3 -3
- huaweicloudsdkelb/v3/model/connection_drain.py +3 -3
- huaweicloudsdkelb/v3/model/count_preoccupy_ip_num_request.py +6 -6
- huaweicloudsdkelb/v3/model/create_certificate_option.py +5 -4
- huaweicloudsdkelb/v3/model/create_certificate_private_key_echo_request.py +111 -0
- huaweicloudsdkelb/v3/model/create_certificate_private_key_echo_request_body.py +114 -0
- huaweicloudsdkelb/v3/model/create_certificate_private_key_echo_response.py +145 -0
- huaweicloudsdkelb/v3/model/create_fixted_response_config.py +78 -3
- huaweicloudsdkelb/v3/model/create_health_monitor_option.py +9 -9
- huaweicloudsdkelb/v3/model/create_insert_header_config.py +170 -0
- huaweicloudsdkelb/v3/model/create_insert_headers_config.py +114 -0
- huaweicloudsdkelb/v3/model/create_ip_group_ip_option.py +6 -6
- huaweicloudsdkelb/v3/model/create_ip_group_option.py +15 -15
- huaweicloudsdkelb/v3/model/create_ip_group_response.py +3 -3
- huaweicloudsdkelb/v3/model/create_l7_policy_option.py +61 -7
- huaweicloudsdkelb/v3/model/create_l7_policy_rule_option.py +6 -6
- huaweicloudsdkelb/v3/model/create_listener_ip_group_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_listener_option.py +33 -33
- huaweicloudsdkelb/v3/model/create_load_balancer_bandwidth_option.py +18 -18
- huaweicloudsdkelb/v3/model/create_load_balancer_option.py +76 -105
- huaweicloudsdkelb/v3/model/create_load_balancer_public_ip_option.py +12 -12
- huaweicloudsdkelb/v3/model/create_load_balancer_response.py +6 -6
- huaweicloudsdkelb/v3/model/create_loadbalancer_autoscaling_option.py +6 -6
- huaweicloudsdkelb/v3/model/create_master_slave_health_monitor_option.py +6 -6
- huaweicloudsdkelb/v3/model/create_master_slave_member_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_master_slave_pool_option.py +6 -6
- huaweicloudsdkelb/v3/model/create_member_option.py +6 -6
- huaweicloudsdkelb/v3/model/create_pool_option.py +84 -30
- huaweicloudsdkelb/v3/model/create_redirect_pools_config.py +143 -0
- huaweicloudsdkelb/v3/model/create_redirect_pools_extend_config.py +81 -6
- huaweicloudsdkelb/v3/model/create_redirect_pools_sticky_session_config.py +144 -0
- huaweicloudsdkelb/v3/model/create_redirect_url_config.py +53 -3
- huaweicloudsdkelb/v3/model/create_remove_header_config.py +114 -0
- huaweicloudsdkelb/v3/model/create_remove_headers_config.py +114 -0
- huaweicloudsdkelb/v3/model/create_rewrite_url_config.py +9 -9
- huaweicloudsdkelb/v3/model/create_rule_option.py +6 -6
- huaweicloudsdkelb/v3/model/create_traffic_limit_config.py +173 -0
- huaweicloudsdkelb/v3/model/delete_ip_group_request.py +3 -3
- huaweicloudsdkelb/v3/model/fixted_response_config.py +78 -3
- huaweicloudsdkelb/v3/model/flavor.py +79 -21
- huaweicloudsdkelb/v3/model/health_monitor.py +9 -9
- huaweicloudsdkelb/v3/model/insert_header_config.py +170 -0
- huaweicloudsdkelb/v3/model/insert_headers_config.py +114 -0
- huaweicloudsdkelb/v3/model/ip_group.py +119 -90
- huaweicloudsdkelb/v3/model/ip_group_ip.py +3 -3
- huaweicloudsdkelb/v3/model/ip_info.py +6 -6
- huaweicloudsdkelb/v3/model/l7_policy.py +67 -13
- huaweicloudsdkelb/v3/model/l7_rule.py +15 -15
- huaweicloudsdkelb/v3/model/list_all_members_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_all_members_response.py +4 -4
- huaweicloudsdkelb/v3/model/list_certificates_request.py +64 -6
- huaweicloudsdkelb/v3/model/list_flavors_request.py +21 -21
- huaweicloudsdkelb/v3/model/list_flavors_response.py +6 -6
- huaweicloudsdkelb/v3/model/list_health_monitors_request.py +12 -12
- huaweicloudsdkelb/v3/model/list_ip_groups_request.py +53 -24
- huaweicloudsdkelb/v3/model/list_ip_groups_response.py +6 -6
- 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 +24 -24
- huaweicloudsdkelb/v3/model/list_load_balancers_request.py +30 -30
- huaweicloudsdkelb/v3/model/list_logtanks_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_master_slave_pools_request.py +6 -6
- huaweicloudsdkelb/v3/model/list_members_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_pools_request.py +105 -18
- huaweicloudsdkelb/v3/model/list_security_policies_request.py +3 -3
- huaweicloudsdkelb/v3/model/listener.py +27 -27
- huaweicloudsdkelb/v3/model/listener_ref.py +3 -3
- huaweicloudsdkelb/v3/model/load_balancer.py +27 -27
- huaweicloudsdkelb/v3/model/load_balancer_status_policy.py +3 -3
- huaweicloudsdkelb/v3/model/master_slave_health_monitor.py +6 -6
- huaweicloudsdkelb/v3/model/master_slave_member.py +3 -3
- huaweicloudsdkelb/v3/model/master_slave_pool.py +15 -15
- huaweicloudsdkelb/v3/model/member.py +13 -158
- huaweicloudsdkelb/v3/model/member_info.py +656 -0
- huaweicloudsdkelb/v3/model/page_info.py +9 -9
- huaweicloudsdkelb/v3/model/pool.py +110 -27
- huaweicloudsdkelb/v3/model/pool_health.py +115 -0
- huaweicloudsdkelb/v3/model/prepaid_create_option.py +12 -12
- huaweicloudsdkelb/v3/model/quota.py +12 -12
- huaweicloudsdkelb/v3/model/quota_info.py +3 -3
- huaweicloudsdkelb/v3/model/redirect_pools_config.py +144 -0
- huaweicloudsdkelb/v3/model/redirect_pools_extend_config.py +81 -6
- huaweicloudsdkelb/v3/model/redirect_pools_sticky_session_config.py +144 -0
- huaweicloudsdkelb/v3/model/redirect_url_config.py +65 -9
- huaweicloudsdkelb/v3/model/remove_header_config.py +114 -0
- huaweicloudsdkelb/v3/model/remove_headers_config.py +114 -0
- huaweicloudsdkelb/v3/model/rewrite_url_config.py +9 -9
- huaweicloudsdkelb/v3/model/session_persistence.py +6 -6
- huaweicloudsdkelb/v3/model/show_certificate_private_key_echo_request.py +84 -0
- huaweicloudsdkelb/v3/model/show_certificate_private_key_echo_response.py +145 -0
- huaweicloudsdkelb/v3/model/show_flavor_request.py +3 -3
- huaweicloudsdkelb/v3/model/show_flavor_response.py +3 -3
- huaweicloudsdkelb/v3/model/show_ip_group_request.py +3 -3
- huaweicloudsdkelb/v3/model/show_ip_group_response.py +3 -3
- huaweicloudsdkelb/v3/model/traffic_limit_config.py +173 -0
- huaweicloudsdkelb/v3/model/upadate_ip_group_ip_option.py +6 -6
- huaweicloudsdkelb/v3/model/update_certificate_option.py +3 -3
- huaweicloudsdkelb/v3/model/update_fixted_response_config.py +78 -3
- huaweicloudsdkelb/v3/model/update_health_monitor_option.py +9 -9
- huaweicloudsdkelb/v3/model/update_insert_header_config.py +170 -0
- huaweicloudsdkelb/v3/model/update_insert_headers_config.py +114 -0
- huaweicloudsdkelb/v3/model/update_ip_group_option.py +9 -9
- huaweicloudsdkelb/v3/model/update_ip_group_request.py +3 -3
- huaweicloudsdkelb/v3/model/update_ip_group_response.py +3 -3
- huaweicloudsdkelb/v3/model/update_ip_list_option.py +9 -9
- huaweicloudsdkelb/v3/model/update_ip_list_request.py +3 -3
- huaweicloudsdkelb/v3/model/update_ip_list_response.py +3 -3
- huaweicloudsdkelb/v3/model/update_l7_policy_option.py +58 -4
- huaweicloudsdkelb/v3/model/update_l7_rule_option.py +3 -3
- huaweicloudsdkelb/v3/model/update_listener_ip_group_option.py +6 -6
- huaweicloudsdkelb/v3/model/update_listener_option.py +24 -24
- huaweicloudsdkelb/v3/model/update_load_balancer_option.py +24 -24
- huaweicloudsdkelb/v3/model/update_load_balancer_response.py +6 -6
- huaweicloudsdkelb/v3/model/update_pool_option.py +37 -12
- huaweicloudsdkelb/v3/model/update_pool_session_persistence_option.py +6 -6
- huaweicloudsdkelb/v3/model/update_redirect_pools_config.py +143 -0
- huaweicloudsdkelb/v3/model/update_redirect_pools_extend_config.py +81 -6
- huaweicloudsdkelb/v3/model/update_redirect_pools_sticky_session_config.py +144 -0
- huaweicloudsdkelb/v3/model/update_redirect_url_config.py +53 -3
- huaweicloudsdkelb/v3/model/update_remove_header_config.py +114 -0
- huaweicloudsdkelb/v3/model/update_remove_headers_config.py +114 -0
- huaweicloudsdkelb/v3/model/update_rewrite_url_config.py +173 -0
- huaweicloudsdkelb/v3/model/update_traffic_limit_config.py +173 -0
- {huaweicloudsdkelb-3.1.105.dist-info → huaweicloudsdkelb-3.1.107.dist-info}/METADATA +2 -2
- {huaweicloudsdkelb-3.1.105.dist-info → huaweicloudsdkelb-3.1.107.dist-info}/RECORD +142 -113
- {huaweicloudsdkelb-3.1.105.dist-info → huaweicloudsdkelb-3.1.107.dist-info}/LICENSE +0 -0
- {huaweicloudsdkelb-3.1.105.dist-info → huaweicloudsdkelb-3.1.107.dist-info}/WHEEL +0 -0
- {huaweicloudsdkelb-3.1.105.dist-info → huaweicloudsdkelb-3.1.107.dist-info}/top_level.txt +0 -0
@@ -566,6 +566,71 @@ class ElbClient(Client):
|
|
566
566
|
|
567
567
|
return http_info
|
568
568
|
|
569
|
+
def create_certificate_private_key_echo(self, request):
|
570
|
+
"""修改证书私钥字段回显开关
|
571
|
+
|
572
|
+
开启或关闭证书私钥字段回显开关。
|
573
|
+
|
574
|
+
Please refer to HUAWEI cloud API Explorer for details.
|
575
|
+
|
576
|
+
:param request: Request instance for CreateCertificatePrivateKeyEcho
|
577
|
+
:type request: :class:`huaweicloudsdkelb.v3.CreateCertificatePrivateKeyEchoRequest`
|
578
|
+
:rtype: :class:`huaweicloudsdkelb.v3.CreateCertificatePrivateKeyEchoResponse`
|
579
|
+
"""
|
580
|
+
http_info = self._create_certificate_private_key_echo_http_info(request)
|
581
|
+
return self._call_api(**http_info)
|
582
|
+
|
583
|
+
def create_certificate_private_key_echo_invoker(self, request):
|
584
|
+
http_info = self._create_certificate_private_key_echo_http_info(request)
|
585
|
+
return SyncInvoker(self, http_info)
|
586
|
+
|
587
|
+
@classmethod
|
588
|
+
def _create_certificate_private_key_echo_http_info(cls, request):
|
589
|
+
http_info = {
|
590
|
+
"method": "POST",
|
591
|
+
"resource_path": "/v3/{project_id}/elb/certificates/settings/private-key-echo",
|
592
|
+
"request_type": request.__class__.__name__,
|
593
|
+
"response_type": "CreateCertificatePrivateKeyEchoResponse"
|
594
|
+
}
|
595
|
+
|
596
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
597
|
+
|
598
|
+
cname = None
|
599
|
+
|
600
|
+
collection_formats = {}
|
601
|
+
|
602
|
+
path_params = {}
|
603
|
+
|
604
|
+
query_params = []
|
605
|
+
|
606
|
+
header_params = {}
|
607
|
+
|
608
|
+
form_params = {}
|
609
|
+
|
610
|
+
body = None
|
611
|
+
if 'body' in local_var_params:
|
612
|
+
body = local_var_params['body']
|
613
|
+
if isinstance(request, SdkStreamRequest):
|
614
|
+
body = request.get_file_stream()
|
615
|
+
|
616
|
+
response_headers = []
|
617
|
+
|
618
|
+
header_params['Content-Type'] = http_utils.select_header_content_type(
|
619
|
+
['application/json;charset=UTF-8'])
|
620
|
+
|
621
|
+
auth_settings = []
|
622
|
+
|
623
|
+
http_info["cname"] = cname
|
624
|
+
http_info["collection_formats"] = collection_formats
|
625
|
+
http_info["path_params"] = path_params
|
626
|
+
http_info["query_params"] = query_params
|
627
|
+
http_info["header_params"] = header_params
|
628
|
+
http_info["post_params"] = form_params
|
629
|
+
http_info["body"] = body
|
630
|
+
http_info["response_headers"] = response_headers
|
631
|
+
|
632
|
+
return http_info
|
633
|
+
|
569
634
|
def create_health_monitor(self, request):
|
570
635
|
"""创建健康检查
|
571
636
|
|
@@ -831,22 +896,16 @@ class ElbClient(Client):
|
|
831
896
|
def create_load_balancer(self, request):
|
832
897
|
"""创建负载均衡器
|
833
898
|
|
834
|
-
|
835
|
-
1. 若要创建内网IPv4
|
836
|
-
2. 若要创建公网IPv4
|
837
|
-
3. 若要绑定有已有公网IPv4
|
838
|
-
|
839
|
-
|
840
|
-
|
841
|
-
|
842
|
-
|
843
|
-
|
844
|
-
[> 关于计费:
|
845
|
-
- 若billing_info非空时,包周期。
|
846
|
-
- 若billing_info为空,autoscaling.enable=true时,弹性计费。
|
847
|
-
- 若billing_info为空,autoscaling.enable=false或未设置,charge_mode=lcu,按量计费。
|
848
|
-
- 若billing_info为空,autoscaling.enable=false或未设置,charge_mode=flavor,固定规格按需计费。](tag:hws)
|
849
|
-
[> 不支持创建IPv6地址负载均衡器](tag:dt,dt_test)
|
899
|
+
创建独享型负载均衡器,包括按需及包周期计费负载均衡器。
|
900
|
+
1. 若要创建内网IPv4负载均衡器,则需要传入vip_subnet_cidr_id。
|
901
|
+
2. 若要创建公网IPv4负载均衡器,则需要传入publicip,以及传入vpc_id和vip_subnet_cidr_id这两个参数中的一个。
|
902
|
+
3. 若要绑定有已有公网IPv4地址,则需要传入publicip_ids,以及传入vpc_id和vip_subnet_cidr_id这两个参数中的一个。
|
903
|
+
4. 若要创建内网双栈负载均衡器,则需要传入ipv6_vip_virsubnet_id。
|
904
|
+
5. 若要创建公网双栈负载均衡器,则需要传入ipv6_vip_virsubnet_id和ipv6_bandwidth。
|
905
|
+
6. 若要创建网络型负载均衡器,则需要传入l4_flavor_id(网络型规格ID);若要创建应用型负载均衡器,则需要传入l7_flavor_id(应用型规格ID);若要创建网络型+应用型负载均衡器,则需要传入l4_flavor_id和l7_flavor_id。
|
906
|
+
7. 若要创建包周期负载均衡器,则需要传入prepaid_options,否则创建按需计费负载均衡器。
|
907
|
+
8. 按需计费分为固定规格计费和弹性规格计费,根据创建时所选规格的类型决定计费方式。具体规格说明见创建LB请求参数l4_flavor_id和l7_flavor_id。
|
908
|
+
[9.若要创建gateway类型的负载均衡器,指定loadbalancer_type=“gateway”,不支持指定vip_address,ipv6_vip_address, 不支持公网类型。如果要指定规格,则从请求参数gw_flavor_id传入。](tag:hws_eu)
|
850
909
|
|
851
910
|
Please refer to HUAWEI cloud API Explorer for details.
|
852
911
|
|
@@ -911,7 +970,7 @@ class ElbClient(Client):
|
|
911
970
|
def create_logtank(self, request):
|
912
971
|
"""创建云日志
|
913
972
|
|
914
|
-
创建云日志。[荷兰region不支持云日志功能,请勿使用。](tag:dt)
|
973
|
+
创建云日志。[荷兰region不支持云日志功能,请勿使用。](tag:dt,dt_test)
|
915
974
|
|
916
975
|
Please refer to HUAWEI cloud API Explorer for details.
|
917
976
|
|
@@ -1175,7 +1234,7 @@ class ElbClient(Client):
|
|
1175
1234
|
|
1176
1235
|
创建自定义安全策略。用于在创建HTTPS监听器时,请求参数中指定security_policy_id来设置监听器的自定义安全策略。
|
1177
1236
|
|
1178
|
-
[荷兰region不支持自定义安全策略功能,请勿使用。](tag:dt)
|
1237
|
+
[荷兰region不支持自定义安全策略功能,请勿使用。](tag:dt,dt_test)
|
1179
1238
|
|
1180
1239
|
Please refer to HUAWEI cloud API Explorer for details.
|
1181
1240
|
|
@@ -1762,7 +1821,7 @@ class ElbClient(Client):
|
|
1762
1821
|
def delete_logtank(self, request):
|
1763
1822
|
"""删除云日志
|
1764
1823
|
|
1765
|
-
删除云日志。[荷兰region不支持云日志功能,请勿使用。](tag:dt)
|
1824
|
+
删除云日志。[荷兰region不支持云日志功能,请勿使用。](tag:dt,dt_test)
|
1766
1825
|
|
1767
1826
|
Please refer to HUAWEI cloud API Explorer for details.
|
1768
1827
|
|
@@ -2024,7 +2083,7 @@ class ElbClient(Client):
|
|
2024
2083
|
def delete_security_policy(self, request):
|
2025
2084
|
"""删除自定义安全策略
|
2026
2085
|
|
2027
|
-
删除自定义安全策略。[荷兰region不支持自定义安全策略功能,请勿使用。](tag:dt)
|
2086
|
+
删除自定义安全策略。[荷兰region不支持自定义安全策略功能,请勿使用。](tag:dt,dt_test)
|
2028
2087
|
|
2029
2088
|
Please refer to HUAWEI cloud API Explorer for details.
|
2030
2089
|
|
@@ -2089,7 +2148,7 @@ class ElbClient(Client):
|
|
2089
2148
|
def list_all_members(self, request):
|
2090
2149
|
"""后端服务器全局列表
|
2091
2150
|
|
2092
|
-
|
2151
|
+
查询当前项目下的后端服务器列表。
|
2093
2152
|
|
2094
2153
|
Please refer to HUAWEI cloud API Explorer for details.
|
2095
2154
|
|
@@ -2322,6 +2381,12 @@ class ElbClient(Client):
|
|
2322
2381
|
if 'type' in local_var_params:
|
2323
2382
|
query_params.append(('type', local_var_params['type']))
|
2324
2383
|
collection_formats['type'] = 'multi'
|
2384
|
+
if 'common_name' in local_var_params:
|
2385
|
+
query_params.append(('common_name', local_var_params['common_name']))
|
2386
|
+
collection_formats['common_name'] = 'multi'
|
2387
|
+
if 'fingerprint' in local_var_params:
|
2388
|
+
query_params.append(('fingerprint', local_var_params['fingerprint']))
|
2389
|
+
collection_formats['fingerprint'] = 'multi'
|
2325
2390
|
|
2326
2391
|
header_params = {}
|
2327
2392
|
|
@@ -2352,7 +2417,7 @@ class ElbClient(Client):
|
|
2352
2417
|
def list_flavors(self, request):
|
2353
2418
|
"""查询规格列表
|
2354
2419
|
|
2355
|
-
|
2420
|
+
查询当前region下可用的负载均衡规格列表。
|
2356
2421
|
|
2357
2422
|
Please refer to HUAWEI cloud API Explorer for details.
|
2358
2423
|
|
@@ -3047,7 +3112,7 @@ class ElbClient(Client):
|
|
3047
3112
|
def list_logtanks(self, request):
|
3048
3113
|
"""查询云日志列表
|
3049
3114
|
|
3050
|
-
查询云日志列表。[荷兰region不支持云日志功能,请勿使用。](tag:dt)
|
3115
|
+
查询云日志列表。[荷兰region不支持云日志功能,请勿使用。](tag:dt,dt_test)
|
3051
3116
|
|
3052
3117
|
Please refer to HUAWEI cloud API Explorer for details.
|
3053
3118
|
|
@@ -3446,6 +3511,12 @@ class ElbClient(Client):
|
|
3446
3511
|
collection_formats['protection_status'] = 'csv'
|
3447
3512
|
if 'connection_drain' in local_var_params:
|
3448
3513
|
query_params.append(('connection_drain', local_var_params['connection_drain']))
|
3514
|
+
if 'pool_health' in local_var_params:
|
3515
|
+
query_params.append(('pool_health', local_var_params['pool_health']))
|
3516
|
+
if 'any_port_enable' in local_var_params:
|
3517
|
+
query_params.append(('any_port_enable', local_var_params['any_port_enable']))
|
3518
|
+
if 'public_border_group' in local_var_params:
|
3519
|
+
query_params.append(('public_border_group', local_var_params['public_border_group']))
|
3449
3520
|
|
3450
3521
|
header_params = {}
|
3451
3522
|
|
@@ -3542,7 +3613,7 @@ class ElbClient(Client):
|
|
3542
3613
|
def list_security_policies(self, request):
|
3543
3614
|
"""查询自定义安全策略列表
|
3544
3615
|
|
3545
|
-
查询自定义安全策略列表。[荷兰region不支持自定义安全策略功能,请勿使用。](tag:dt)
|
3616
|
+
查询自定义安全策略列表。[荷兰region不支持自定义安全策略功能,请勿使用。](tag:dt,dt_test)
|
3546
3617
|
|
3547
3618
|
Please refer to HUAWEI cloud API Explorer for details.
|
3548
3619
|
|
@@ -3753,6 +3824,69 @@ class ElbClient(Client):
|
|
3753
3824
|
|
3754
3825
|
return http_info
|
3755
3826
|
|
3827
|
+
def show_certificate_private_key_echo(self, request):
|
3828
|
+
"""查询证书私钥字段回显开关
|
3829
|
+
|
3830
|
+
查询证书私钥回显开关当前的状态,开启或关闭。
|
3831
|
+
|
3832
|
+
Please refer to HUAWEI cloud API Explorer for details.
|
3833
|
+
|
3834
|
+
:param request: Request instance for ShowCertificatePrivateKeyEcho
|
3835
|
+
:type request: :class:`huaweicloudsdkelb.v3.ShowCertificatePrivateKeyEchoRequest`
|
3836
|
+
:rtype: :class:`huaweicloudsdkelb.v3.ShowCertificatePrivateKeyEchoResponse`
|
3837
|
+
"""
|
3838
|
+
http_info = self._show_certificate_private_key_echo_http_info(request)
|
3839
|
+
return self._call_api(**http_info)
|
3840
|
+
|
3841
|
+
def show_certificate_private_key_echo_invoker(self, request):
|
3842
|
+
http_info = self._show_certificate_private_key_echo_http_info(request)
|
3843
|
+
return SyncInvoker(self, http_info)
|
3844
|
+
|
3845
|
+
@classmethod
|
3846
|
+
def _show_certificate_private_key_echo_http_info(cls, request):
|
3847
|
+
http_info = {
|
3848
|
+
"method": "GET",
|
3849
|
+
"resource_path": "/v3/{project_id}/elb/certificates/settings/private-key-echo",
|
3850
|
+
"request_type": request.__class__.__name__,
|
3851
|
+
"response_type": "ShowCertificatePrivateKeyEchoResponse"
|
3852
|
+
}
|
3853
|
+
|
3854
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
3855
|
+
|
3856
|
+
cname = None
|
3857
|
+
|
3858
|
+
collection_formats = {}
|
3859
|
+
|
3860
|
+
path_params = {}
|
3861
|
+
|
3862
|
+
query_params = []
|
3863
|
+
|
3864
|
+
header_params = {}
|
3865
|
+
|
3866
|
+
form_params = {}
|
3867
|
+
|
3868
|
+
body = None
|
3869
|
+
if isinstance(request, SdkStreamRequest):
|
3870
|
+
body = request.get_file_stream()
|
3871
|
+
|
3872
|
+
response_headers = []
|
3873
|
+
|
3874
|
+
header_params['Content-Type'] = http_utils.select_header_content_type(
|
3875
|
+
['application/json'])
|
3876
|
+
|
3877
|
+
auth_settings = []
|
3878
|
+
|
3879
|
+
http_info["cname"] = cname
|
3880
|
+
http_info["collection_formats"] = collection_formats
|
3881
|
+
http_info["path_params"] = path_params
|
3882
|
+
http_info["query_params"] = query_params
|
3883
|
+
http_info["header_params"] = header_params
|
3884
|
+
http_info["post_params"] = form_params
|
3885
|
+
http_info["body"] = body
|
3886
|
+
http_info["response_headers"] = response_headers
|
3887
|
+
|
3888
|
+
return http_info
|
3889
|
+
|
3756
3890
|
def show_flavor(self, request):
|
3757
3891
|
"""查询规格详情
|
3758
3892
|
|
@@ -4216,7 +4350,7 @@ class ElbClient(Client):
|
|
4216
4350
|
def show_logtank(self, request):
|
4217
4351
|
"""查询云日志详情
|
4218
4352
|
|
4219
|
-
云日志详情。[荷兰region不支持云日志功能,请勿使用。](tag:dt)
|
4353
|
+
云日志详情。[荷兰region不支持云日志功能,请勿使用。](tag:dt,dt_test)
|
4220
4354
|
|
4221
4355
|
Please refer to HUAWEI cloud API Explorer for details.
|
4222
4356
|
|
@@ -4541,7 +4675,7 @@ class ElbClient(Client):
|
|
4541
4675
|
def show_security_policy(self, request):
|
4542
4676
|
"""查询自定义安全策略详情
|
4543
4677
|
|
4544
|
-
查询自定义安全策略详情。[荷兰region不支持自定义安全策略功能,请勿使用。](tag:dt)
|
4678
|
+
查询自定义安全策略详情。[荷兰region不支持自定义安全策略功能,请勿使用。](tag:dt,dt_test)
|
4545
4679
|
|
4546
4680
|
Please refer to HUAWEI cloud API Explorer for details.
|
4547
4681
|
|
@@ -5010,7 +5144,7 @@ class ElbClient(Client):
|
|
5010
5144
|
def update_logtank(self, request):
|
5011
5145
|
"""更新云日志
|
5012
5146
|
|
5013
|
-
更新云日志。[荷兰region不支持云日志功能,请勿使用。](tag:dt)
|
5147
|
+
更新云日志。[荷兰region不支持云日志功能,请勿使用。](tag:dt,dt_test)
|
5014
5148
|
|
5015
5149
|
Please refer to HUAWEI cloud API Explorer for details.
|
5016
5150
|
|
@@ -5213,7 +5347,7 @@ class ElbClient(Client):
|
|
5213
5347
|
def update_security_policy(self, request):
|
5214
5348
|
"""更新自定义安全策略
|
5215
5349
|
|
5216
|
-
更新自定义安全策略。[荷兰region不支持自定义安全策略功能,请勿使用。](tag:dt)
|
5350
|
+
更新自定义安全策略。[荷兰region不支持自定义安全策略功能,请勿使用。](tag:dt,dt_test)
|
5217
5351
|
|
5218
5352
|
Please refer to HUAWEI cloud API Explorer for details.
|
5219
5353
|
|
@@ -5425,7 +5559,7 @@ class ElbClient(Client):
|
|
5425
5559
|
- 计算出来的预占IP数大于等于最终实际占用的IP数。
|
5426
5560
|
- 总占用IP数量,即整个LB所占用的IP数量。
|
5427
5561
|
|
5428
|
-
[不支持传入l7_flavor_id](tag:hcso,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
5562
|
+
[不支持传入l7_flavor_id](tag:hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
5429
5563
|
|
5430
5564
|
Please refer to HUAWEI cloud API Explorer for details.
|
5431
5565
|
|
@@ -5503,7 +5637,7 @@ class ElbClient(Client):
|
|
5503
5637
|
|
5504
5638
|
需要注意0.0.0.0与0.0.0.0/32视为重复,0:0:0:0:0:0:0:1与::1与::1/128视为重复,只会保存其中一个。
|
5505
5639
|
|
5506
|
-
[荷兰region不支持IP地址组功能,请勿使用。](tag:dt)
|
5640
|
+
[荷兰region不支持IP地址组功能,请勿使用。](tag:dt,dt_test)
|
5507
5641
|
|
5508
5642
|
Please refer to HUAWEI cloud API Explorer for details.
|
5509
5643
|
|
@@ -5568,7 +5702,7 @@ class ElbClient(Client):
|
|
5568
5702
|
def delete_ip_group(self, request):
|
5569
5703
|
"""删除IP地址组
|
5570
5704
|
|
5571
|
-
删除ip地址组。[荷兰region不支持IP地址组功能,请勿使用。](tag:dt)
|
5705
|
+
删除ip地址组。[荷兰region不支持IP地址组功能,请勿使用。](tag:dt,dt_test)
|
5572
5706
|
|
5573
5707
|
Please refer to HUAWEI cloud API Explorer for details.
|
5574
5708
|
|
@@ -5633,7 +5767,7 @@ class ElbClient(Client):
|
|
5633
5767
|
def list_ip_groups(self, request):
|
5634
5768
|
"""查询IP地址组列表
|
5635
5769
|
|
5636
|
-
查询IP地址组列表。[荷兰region不支持IP地址组功能,请勿使用。](tag:dt)
|
5770
|
+
查询IP地址组列表。[荷兰region不支持IP地址组功能,请勿使用。](tag:dt,dt_test)
|
5637
5771
|
|
5638
5772
|
Please refer to HUAWEI cloud API Explorer for details.
|
5639
5773
|
|
@@ -5684,6 +5818,9 @@ class ElbClient(Client):
|
|
5684
5818
|
if 'ip_list' in local_var_params:
|
5685
5819
|
query_params.append(('ip_list', local_var_params['ip_list']))
|
5686
5820
|
collection_formats['ip_list'] = 'multi'
|
5821
|
+
if 'enterprise_project_id' in local_var_params:
|
5822
|
+
query_params.append(('enterprise_project_id', local_var_params['enterprise_project_id']))
|
5823
|
+
collection_formats['enterprise_project_id'] = 'csv'
|
5687
5824
|
|
5688
5825
|
header_params = {}
|
5689
5826
|
|
@@ -5714,7 +5851,7 @@ class ElbClient(Client):
|
|
5714
5851
|
def show_ip_group(self, request):
|
5715
5852
|
"""查询IP地址组详情
|
5716
5853
|
|
5717
|
-
获取IP地址组详情。[荷兰region不支持IP地址组功能,请勿使用。](tag:dt)
|
5854
|
+
获取IP地址组详情。[荷兰region不支持IP地址组功能,请勿使用。](tag:dt,dt_test)
|
5718
5855
|
|
5719
5856
|
Please refer to HUAWEI cloud API Explorer for details.
|
5720
5857
|
|
@@ -5784,7 +5921,7 @@ class ElbClient(Client):
|
|
5784
5921
|
|
5785
5922
|
需要注意0.0.0.0与0.0.0.0/32视为重复,0:0:0:0:0:0:0:1与::1与::1/128视为重复,只会保存其中一个。
|
5786
5923
|
|
5787
|
-
[荷兰region不支持IP地址组功能,请勿使用。](tag:dt)
|
5924
|
+
[荷兰region不支持IP地址组功能,请勿使用。](tag:dt,dt_test)
|
5788
5925
|
|
5789
5926
|
Please refer to HUAWEI cloud API Explorer for details.
|
5790
5927
|
|
@@ -44,6 +44,9 @@ from huaweicloudsdkelb.v3.model.connection_drain import ConnectionDrain
|
|
44
44
|
from huaweicloudsdkelb.v3.model.count_preoccupy_ip_num_request import CountPreoccupyIpNumRequest
|
45
45
|
from huaweicloudsdkelb.v3.model.count_preoccupy_ip_num_response import CountPreoccupyIpNumResponse
|
46
46
|
from huaweicloudsdkelb.v3.model.create_certificate_option import CreateCertificateOption
|
47
|
+
from huaweicloudsdkelb.v3.model.create_certificate_private_key_echo_request import CreateCertificatePrivateKeyEchoRequest
|
48
|
+
from huaweicloudsdkelb.v3.model.create_certificate_private_key_echo_request_body import CreateCertificatePrivateKeyEchoRequestBody
|
49
|
+
from huaweicloudsdkelb.v3.model.create_certificate_private_key_echo_response import CreateCertificatePrivateKeyEchoResponse
|
47
50
|
from huaweicloudsdkelb.v3.model.create_certificate_request import CreateCertificateRequest
|
48
51
|
from huaweicloudsdkelb.v3.model.create_certificate_request_body import CreateCertificateRequestBody
|
49
52
|
from huaweicloudsdkelb.v3.model.create_certificate_response import CreateCertificateResponse
|
@@ -52,6 +55,8 @@ from huaweicloudsdkelb.v3.model.create_health_monitor_option import CreateHealth
|
|
52
55
|
from huaweicloudsdkelb.v3.model.create_health_monitor_request import CreateHealthMonitorRequest
|
53
56
|
from huaweicloudsdkelb.v3.model.create_health_monitor_request_body import CreateHealthMonitorRequestBody
|
54
57
|
from huaweicloudsdkelb.v3.model.create_health_monitor_response import CreateHealthMonitorResponse
|
58
|
+
from huaweicloudsdkelb.v3.model.create_insert_header_config import CreateInsertHeaderConfig
|
59
|
+
from huaweicloudsdkelb.v3.model.create_insert_headers_config import CreateInsertHeadersConfig
|
55
60
|
from huaweicloudsdkelb.v3.model.create_ip_group_ip_option import CreateIpGroupIpOption
|
56
61
|
from huaweicloudsdkelb.v3.model.create_ip_group_option import CreateIpGroupOption
|
57
62
|
from huaweicloudsdkelb.v3.model.create_ip_group_request import CreateIpGroupRequest
|
@@ -98,8 +103,12 @@ from huaweicloudsdkelb.v3.model.create_pool_request_body import CreatePoolReques
|
|
98
103
|
from huaweicloudsdkelb.v3.model.create_pool_response import CreatePoolResponse
|
99
104
|
from huaweicloudsdkelb.v3.model.create_pool_session_persistence_option import CreatePoolSessionPersistenceOption
|
100
105
|
from huaweicloudsdkelb.v3.model.create_pool_slow_start_option import CreatePoolSlowStartOption
|
106
|
+
from huaweicloudsdkelb.v3.model.create_redirect_pools_config import CreateRedirectPoolsConfig
|
101
107
|
from huaweicloudsdkelb.v3.model.create_redirect_pools_extend_config import CreateRedirectPoolsExtendConfig
|
108
|
+
from huaweicloudsdkelb.v3.model.create_redirect_pools_sticky_session_config import CreateRedirectPoolsStickySessionConfig
|
102
109
|
from huaweicloudsdkelb.v3.model.create_redirect_url_config import CreateRedirectUrlConfig
|
110
|
+
from huaweicloudsdkelb.v3.model.create_remove_header_config import CreateRemoveHeaderConfig
|
111
|
+
from huaweicloudsdkelb.v3.model.create_remove_headers_config import CreateRemoveHeadersConfig
|
103
112
|
from huaweicloudsdkelb.v3.model.create_rewrite_url_config import CreateRewriteUrlConfig
|
104
113
|
from huaweicloudsdkelb.v3.model.create_rule_condition import CreateRuleCondition
|
105
114
|
from huaweicloudsdkelb.v3.model.create_rule_option import CreateRuleOption
|
@@ -107,6 +116,7 @@ from huaweicloudsdkelb.v3.model.create_security_policy_option import CreateSecur
|
|
107
116
|
from huaweicloudsdkelb.v3.model.create_security_policy_request import CreateSecurityPolicyRequest
|
108
117
|
from huaweicloudsdkelb.v3.model.create_security_policy_request_body import CreateSecurityPolicyRequestBody
|
109
118
|
from huaweicloudsdkelb.v3.model.create_security_policy_response import CreateSecurityPolicyResponse
|
119
|
+
from huaweicloudsdkelb.v3.model.create_traffic_limit_config import CreateTrafficLimitConfig
|
110
120
|
from huaweicloudsdkelb.v3.model.delete_certificate_request import DeleteCertificateRequest
|
111
121
|
from huaweicloudsdkelb.v3.model.delete_certificate_response import DeleteCertificateResponse
|
112
122
|
from huaweicloudsdkelb.v3.model.delete_health_monitor_request import DeleteHealthMonitorRequest
|
@@ -141,6 +151,8 @@ from huaweicloudsdkelb.v3.model.flavor import Flavor
|
|
141
151
|
from huaweicloudsdkelb.v3.model.flavor_info import FlavorInfo
|
142
152
|
from huaweicloudsdkelb.v3.model.global_eip_info import GlobalEipInfo
|
143
153
|
from huaweicloudsdkelb.v3.model.health_monitor import HealthMonitor
|
154
|
+
from huaweicloudsdkelb.v3.model.insert_header_config import InsertHeaderConfig
|
155
|
+
from huaweicloudsdkelb.v3.model.insert_headers_config import InsertHeadersConfig
|
144
156
|
from huaweicloudsdkelb.v3.model.ip_group import IpGroup
|
145
157
|
from huaweicloudsdkelb.v3.model.ip_group_ip import IpGroupIp
|
146
158
|
from huaweicloudsdkelb.v3.model.ip_info import IpInfo
|
@@ -203,10 +215,12 @@ from huaweicloudsdkelb.v3.model.master_slave_health_monitor import MasterSlaveHe
|
|
203
215
|
from huaweicloudsdkelb.v3.model.master_slave_member import MasterSlaveMember
|
204
216
|
from huaweicloudsdkelb.v3.model.master_slave_pool import MasterSlavePool
|
205
217
|
from huaweicloudsdkelb.v3.model.member import Member
|
218
|
+
from huaweicloudsdkelb.v3.model.member_info import MemberInfo
|
206
219
|
from huaweicloudsdkelb.v3.model.member_ref import MemberRef
|
207
220
|
from huaweicloudsdkelb.v3.model.member_status import MemberStatus
|
208
221
|
from huaweicloudsdkelb.v3.model.page_info import PageInfo
|
209
222
|
from huaweicloudsdkelb.v3.model.pool import Pool
|
223
|
+
from huaweicloudsdkelb.v3.model.pool_health import PoolHealth
|
210
224
|
from huaweicloudsdkelb.v3.model.pool_ref import PoolRef
|
211
225
|
from huaweicloudsdkelb.v3.model.port_range import PortRange
|
212
226
|
from huaweicloudsdkelb.v3.model.preoccupy_ip import PreoccupyIp
|
@@ -216,14 +230,20 @@ from huaweicloudsdkelb.v3.model.prepaid_update_option import PrepaidUpdateOption
|
|
216
230
|
from huaweicloudsdkelb.v3.model.public_ip_info import PublicIpInfo
|
217
231
|
from huaweicloudsdkelb.v3.model.quota import Quota
|
218
232
|
from huaweicloudsdkelb.v3.model.quota_info import QuotaInfo
|
233
|
+
from huaweicloudsdkelb.v3.model.redirect_pools_config import RedirectPoolsConfig
|
219
234
|
from huaweicloudsdkelb.v3.model.redirect_pools_extend_config import RedirectPoolsExtendConfig
|
235
|
+
from huaweicloudsdkelb.v3.model.redirect_pools_sticky_session_config import RedirectPoolsStickySessionConfig
|
220
236
|
from huaweicloudsdkelb.v3.model.redirect_url_config import RedirectUrlConfig
|
237
|
+
from huaweicloudsdkelb.v3.model.remove_header_config import RemoveHeaderConfig
|
238
|
+
from huaweicloudsdkelb.v3.model.remove_headers_config import RemoveHeadersConfig
|
221
239
|
from huaweicloudsdkelb.v3.model.resource_id import ResourceID
|
222
240
|
from huaweicloudsdkelb.v3.model.rewrite_url_config import RewriteUrlConfig
|
223
241
|
from huaweicloudsdkelb.v3.model.rule_condition import RuleCondition
|
224
242
|
from huaweicloudsdkelb.v3.model.rule_ref import RuleRef
|
225
243
|
from huaweicloudsdkelb.v3.model.security_policy import SecurityPolicy
|
226
244
|
from huaweicloudsdkelb.v3.model.session_persistence import SessionPersistence
|
245
|
+
from huaweicloudsdkelb.v3.model.show_certificate_private_key_echo_request import ShowCertificatePrivateKeyEchoRequest
|
246
|
+
from huaweicloudsdkelb.v3.model.show_certificate_private_key_echo_response import ShowCertificatePrivateKeyEchoResponse
|
227
247
|
from huaweicloudsdkelb.v3.model.show_certificate_request import ShowCertificateRequest
|
228
248
|
from huaweicloudsdkelb.v3.model.show_certificate_response import ShowCertificateResponse
|
229
249
|
from huaweicloudsdkelb.v3.model.show_flavor_request import ShowFlavorRequest
|
@@ -257,6 +277,7 @@ from huaweicloudsdkelb.v3.model.show_security_policy_response import ShowSecurit
|
|
257
277
|
from huaweicloudsdkelb.v3.model.slow_start import SlowStart
|
258
278
|
from huaweicloudsdkelb.v3.model.system_security_policy import SystemSecurityPolicy
|
259
279
|
from huaweicloudsdkelb.v3.model.tag import Tag
|
280
|
+
from huaweicloudsdkelb.v3.model.traffic_limit_config import TrafficLimitConfig
|
260
281
|
from huaweicloudsdkelb.v3.model.upadate_ip_group_ip_option import UpadateIpGroupIpOption
|
261
282
|
from huaweicloudsdkelb.v3.model.update_certificate_option import UpdateCertificateOption
|
262
283
|
from huaweicloudsdkelb.v3.model.update_certificate_request import UpdateCertificateRequest
|
@@ -267,6 +288,8 @@ from huaweicloudsdkelb.v3.model.update_health_monitor_option import UpdateHealth
|
|
267
288
|
from huaweicloudsdkelb.v3.model.update_health_monitor_request import UpdateHealthMonitorRequest
|
268
289
|
from huaweicloudsdkelb.v3.model.update_health_monitor_request_body import UpdateHealthMonitorRequestBody
|
269
290
|
from huaweicloudsdkelb.v3.model.update_health_monitor_response import UpdateHealthMonitorResponse
|
291
|
+
from huaweicloudsdkelb.v3.model.update_insert_header_config import UpdateInsertHeaderConfig
|
292
|
+
from huaweicloudsdkelb.v3.model.update_insert_headers_config import UpdateInsertHeadersConfig
|
270
293
|
from huaweicloudsdkelb.v3.model.update_ip_group_option import UpdateIpGroupOption
|
271
294
|
from huaweicloudsdkelb.v3.model.update_ip_group_request import UpdateIpGroupRequest
|
272
295
|
from huaweicloudsdkelb.v3.model.update_ip_group_request_body import UpdateIpGroupRequestBody
|
@@ -308,10 +331,16 @@ from huaweicloudsdkelb.v3.model.update_pool_request_body import UpdatePoolReques
|
|
308
331
|
from huaweicloudsdkelb.v3.model.update_pool_response import UpdatePoolResponse
|
309
332
|
from huaweicloudsdkelb.v3.model.update_pool_session_persistence_option import UpdatePoolSessionPersistenceOption
|
310
333
|
from huaweicloudsdkelb.v3.model.update_pool_slow_start_option import UpdatePoolSlowStartOption
|
334
|
+
from huaweicloudsdkelb.v3.model.update_redirect_pools_config import UpdateRedirectPoolsConfig
|
311
335
|
from huaweicloudsdkelb.v3.model.update_redirect_pools_extend_config import UpdateRedirectPoolsExtendConfig
|
336
|
+
from huaweicloudsdkelb.v3.model.update_redirect_pools_sticky_session_config import UpdateRedirectPoolsStickySessionConfig
|
312
337
|
from huaweicloudsdkelb.v3.model.update_redirect_url_config import UpdateRedirectUrlConfig
|
338
|
+
from huaweicloudsdkelb.v3.model.update_remove_header_config import UpdateRemoveHeaderConfig
|
339
|
+
from huaweicloudsdkelb.v3.model.update_remove_headers_config import UpdateRemoveHeadersConfig
|
340
|
+
from huaweicloudsdkelb.v3.model.update_rewrite_url_config import UpdateRewriteUrlConfig
|
313
341
|
from huaweicloudsdkelb.v3.model.update_rule_condition import UpdateRuleCondition
|
314
342
|
from huaweicloudsdkelb.v3.model.update_security_policy_option import UpdateSecurityPolicyOption
|
315
343
|
from huaweicloudsdkelb.v3.model.update_security_policy_request import UpdateSecurityPolicyRequest
|
316
344
|
from huaweicloudsdkelb.v3.model.update_security_policy_request_body import UpdateSecurityPolicyRequestBody
|
317
345
|
from huaweicloudsdkelb.v3.model.update_security_policy_response import UpdateSecurityPolicyResponse
|
346
|
+
from huaweicloudsdkelb.v3.model.update_traffic_limit_config import UpdateTrafficLimitConfig
|
@@ -41,7 +41,7 @@ class AvailabilityZone:
|
|
41
41
|
:type code: str
|
42
42
|
:param state: 可用区状态。 取值:ACTIVE。
|
43
43
|
:type state: str
|
44
|
-
:param protocol: [未售罄的LB规格类别。 取值:L4 表示网络型LB未售罄;L7 表示应用型LB未售罄。](tag:hws,hk,hws_eu,otc,tlf,ctc,
|
44
|
+
:param protocol: [未售罄的LB规格类别。 取值:L4 表示网络型LB未售罄;L7 表示应用型LB未售罄。](tag:hws,hk,hws_eu,otc,tlf,ctc,sbc,g42,cmcc,hk_g42,dt_test,mix,hk_sbc,hws_ocb,dt) [LB规格类别。取值:L4 表示网络型LB;L7 表示应用型LB。](tag:ocb,tm,fcs,fcs_dt,hcso,hcso_dt,hk_vdf)
|
45
45
|
:type protocol: list[str]
|
46
46
|
:param public_border_group: 可用区组,如:center
|
47
47
|
:type public_border_group: str
|
@@ -112,7 +112,7 @@ class AvailabilityZone:
|
|
112
112
|
def protocol(self):
|
113
113
|
"""Gets the protocol of this AvailabilityZone.
|
114
114
|
|
115
|
-
[未售罄的LB规格类别。 取值:L4 表示网络型LB未售罄;L7 表示应用型LB未售罄。](tag:hws,hk,hws_eu,otc,tlf,ctc,
|
115
|
+
[未售罄的LB规格类别。 取值:L4 表示网络型LB未售罄;L7 表示应用型LB未售罄。](tag:hws,hk,hws_eu,otc,tlf,ctc,sbc,g42,cmcc,hk_g42,dt_test,mix,hk_sbc,hws_ocb,dt) [LB规格类别。取值:L4 表示网络型LB;L7 表示应用型LB。](tag:ocb,tm,fcs,fcs_dt,hcso,hcso_dt,hk_vdf)
|
116
116
|
|
117
117
|
:return: The protocol of this AvailabilityZone.
|
118
118
|
:rtype: list[str]
|
@@ -123,7 +123,7 @@ class AvailabilityZone:
|
|
123
123
|
def protocol(self, protocol):
|
124
124
|
"""Sets the protocol of this AvailabilityZone.
|
125
125
|
|
126
|
-
[未售罄的LB规格类别。 取值:L4 表示网络型LB未售罄;L7 表示应用型LB未售罄。](tag:hws,hk,hws_eu,otc,tlf,ctc,
|
126
|
+
[未售罄的LB规格类别。 取值:L4 表示网络型LB未售罄;L7 表示应用型LB未售罄。](tag:hws,hk,hws_eu,otc,tlf,ctc,sbc,g42,cmcc,hk_g42,dt_test,mix,hk_sbc,hws_ocb,dt) [LB规格类别。取值:L4 表示网络型LB;L7 表示应用型LB。](tag:ocb,tm,fcs,fcs_dt,hcso,hcso_dt,hk_vdf)
|
127
127
|
|
128
128
|
:param protocol: The protocol of this AvailabilityZone.
|
129
129
|
:type protocol: list[str]
|
@@ -40,9 +40,9 @@ class BatchAddAvailableZonesResponse(SdkResponse):
|
|
40
40
|
:type loadbalancer: :class:`huaweicloudsdkelb.v3.LoadBalancer`
|
41
41
|
:param request_id: 请求ID。 注:自动生成 。
|
42
42
|
:type request_id: str
|
43
|
-
:param loadbalancer_id: 负载均衡器ID[(包周期场景返回该字段)](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,ctc,cmcc,hcso,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
43
|
+
:param loadbalancer_id: 负载均衡器ID[(包周期场景返回该字段)](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,ctc,cmcc,hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
44
44
|
:type loadbalancer_id: str
|
45
|
-
:param order_id: 订单号[(包周期场景返回该字段)](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,ctc,cmcc,hcso,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
45
|
+
:param order_id: 订单号[(包周期场景返回该字段)](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,ctc,cmcc,hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
46
46
|
:type order_id: str
|
47
47
|
"""
|
48
48
|
|
@@ -107,7 +107,7 @@ class BatchAddAvailableZonesResponse(SdkResponse):
|
|
107
107
|
def loadbalancer_id(self):
|
108
108
|
"""Gets the loadbalancer_id of this BatchAddAvailableZonesResponse.
|
109
109
|
|
110
|
-
负载均衡器ID[(包周期场景返回该字段)](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,ctc,cmcc,hcso,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
110
|
+
负载均衡器ID[(包周期场景返回该字段)](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,ctc,cmcc,hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
111
111
|
|
112
112
|
:return: The loadbalancer_id of this BatchAddAvailableZonesResponse.
|
113
113
|
:rtype: str
|
@@ -118,7 +118,7 @@ class BatchAddAvailableZonesResponse(SdkResponse):
|
|
118
118
|
def loadbalancer_id(self, loadbalancer_id):
|
119
119
|
"""Sets the loadbalancer_id of this BatchAddAvailableZonesResponse.
|
120
120
|
|
121
|
-
负载均衡器ID[(包周期场景返回该字段)](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,ctc,cmcc,hcso,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
121
|
+
负载均衡器ID[(包周期场景返回该字段)](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,ctc,cmcc,hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
122
122
|
|
123
123
|
:param loadbalancer_id: The loadbalancer_id of this BatchAddAvailableZonesResponse.
|
124
124
|
:type loadbalancer_id: str
|
@@ -129,7 +129,7 @@ class BatchAddAvailableZonesResponse(SdkResponse):
|
|
129
129
|
def order_id(self):
|
130
130
|
"""Gets the order_id of this BatchAddAvailableZonesResponse.
|
131
131
|
|
132
|
-
订单号[(包周期场景返回该字段)](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,ctc,cmcc,hcso,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
132
|
+
订单号[(包周期场景返回该字段)](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,ctc,cmcc,hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
133
133
|
|
134
134
|
:return: The order_id of this BatchAddAvailableZonesResponse.
|
135
135
|
:rtype: str
|
@@ -140,7 +140,7 @@ class BatchAddAvailableZonesResponse(SdkResponse):
|
|
140
140
|
def order_id(self, order_id):
|
141
141
|
"""Sets the order_id of this BatchAddAvailableZonesResponse.
|
142
142
|
|
143
|
-
订单号[(包周期场景返回该字段)](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,ctc,cmcc,hcso,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
143
|
+
订单号[(包周期场景返回该字段)](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,ctc,cmcc,hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
144
144
|
|
145
145
|
:param order_id: The order_id of this BatchAddAvailableZonesResponse.
|
146
146
|
:type order_id: str
|
@@ -43,7 +43,7 @@ class BatchCreateMembersOption:
|
|
43
43
|
:type address: str
|
44
44
|
:param protocol_port: 后端服务器端口号。
|
45
45
|
:type protocol_port: int
|
46
|
-
:param subnet_cidr_id:
|
46
|
+
:param subnet_cidr_id: 后端云服务器所在的子网,可以是IPv4或IPv6子网。若是IPv4子网,使用对应子网的子网ID(neutron_subnet_id);若是IPv6子网,使用对应子网的网络ID(neutron_network_id)。 ipv4子网的子网ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_subnet_id得到 ipv6子网的网络ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_network_id得到 使用说明: - 该子网和关联的负载均衡器的子网必须在同一VPC下。 - 若所属LB的跨VPC后端转发已开启(ip_target_enable=true),则该字段可以不传,表示添加跨VPC的后端服务器。 此时address必须为IPv4地址,所在的pool的协议必须为TCP/HTTP/HTTPS。 - 若所属LB未开启跨VPC后端转发,该参数必填。 [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt,dt_test)
|
47
47
|
:type subnet_cidr_id: str
|
48
48
|
:param weight: 后端云服务器的权重,请求将根据pool配置的负载均衡算法和后端云服务器的权重进行负载分发。 权重值越大,分发的请求越多。权重为0的后端不再接受新的请求。 取值:0-100,默认1。 使用说明:若所在pool的lb_algorithm取值为SOURCE_IP,该字段无效。
|
49
49
|
:type weight: int
|
@@ -137,7 +137,7 @@ class BatchCreateMembersOption:
|
|
137
137
|
def subnet_cidr_id(self):
|
138
138
|
"""Gets the subnet_cidr_id of this BatchCreateMembersOption.
|
139
139
|
|
140
|
-
|
140
|
+
后端云服务器所在的子网,可以是IPv4或IPv6子网。若是IPv4子网,使用对应子网的子网ID(neutron_subnet_id);若是IPv6子网,使用对应子网的网络ID(neutron_network_id)。 ipv4子网的子网ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_subnet_id得到 ipv6子网的网络ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_network_id得到 使用说明: - 该子网和关联的负载均衡器的子网必须在同一VPC下。 - 若所属LB的跨VPC后端转发已开启(ip_target_enable=true),则该字段可以不传,表示添加跨VPC的后端服务器。 此时address必须为IPv4地址,所在的pool的协议必须为TCP/HTTP/HTTPS。 - 若所属LB未开启跨VPC后端转发,该参数必填。 [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt,dt_test)
|
141
141
|
|
142
142
|
:return: The subnet_cidr_id of this BatchCreateMembersOption.
|
143
143
|
:rtype: str
|
@@ -148,7 +148,7 @@ class BatchCreateMembersOption:
|
|
148
148
|
def subnet_cidr_id(self, subnet_cidr_id):
|
149
149
|
"""Sets the subnet_cidr_id of this BatchCreateMembersOption.
|
150
150
|
|
151
|
-
|
151
|
+
后端云服务器所在的子网,可以是IPv4或IPv6子网。若是IPv4子网,使用对应子网的子网ID(neutron_subnet_id);若是IPv6子网,使用对应子网的网络ID(neutron_network_id)。 ipv4子网的子网ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_subnet_id得到 ipv6子网的网络ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_network_id得到 使用说明: - 该子网和关联的负载均衡器的子网必须在同一VPC下。 - 若所属LB的跨VPC后端转发已开启(ip_target_enable=true),则该字段可以不传,表示添加跨VPC的后端服务器。 此时address必须为IPv4地址,所在的pool的协议必须为TCP/HTTP/HTTPS。 - 若所属LB未开启跨VPC后端转发,该参数必填。 [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt,dt_test)
|
152
152
|
|
153
153
|
:param subnet_cidr_id: The subnet_cidr_id of this BatchCreateMembersOption.
|
154
154
|
:type subnet_cidr_id: str
|
@@ -29,7 +29,7 @@ class BatchDeleteIpListOption:
|
|
29
29
|
|
30
30
|
The model defined in huaweicloud sdk
|
31
31
|
|
32
|
-
:param ip_list: IP列表。
|
32
|
+
:param ip_list: 参数解释:IP列表。
|
33
33
|
:type ip_list: list[:class:`huaweicloudsdkelb.v3.IpGroupIp`]
|
34
34
|
"""
|
35
35
|
|
@@ -45,7 +45,7 @@ class BatchDeleteIpListOption:
|
|
45
45
|
def ip_list(self):
|
46
46
|
"""Gets the ip_list of this BatchDeleteIpListOption.
|
47
47
|
|
48
|
-
IP列表。
|
48
|
+
参数解释:IP列表。
|
49
49
|
|
50
50
|
:return: The ip_list of this BatchDeleteIpListOption.
|
51
51
|
:rtype: list[:class:`huaweicloudsdkelb.v3.IpGroupIp`]
|
@@ -56,7 +56,7 @@ class BatchDeleteIpListOption:
|
|
56
56
|
def ip_list(self, ip_list):
|
57
57
|
"""Sets the ip_list of this BatchDeleteIpListOption.
|
58
58
|
|
59
|
-
IP列表。
|
59
|
+
参数解释:IP列表。
|
60
60
|
|
61
61
|
:param ip_list: The ip_list of this BatchDeleteIpListOption.
|
62
62
|
:type ip_list: list[:class:`huaweicloudsdkelb.v3.IpGroupIp`]
|
@@ -31,7 +31,7 @@ class BatchDeleteIpListRequest:
|
|
31
31
|
|
32
32
|
The model defined in huaweicloud sdk
|
33
33
|
|
34
|
-
:param ipgroup_id: IP地址组ID。
|
34
|
+
:param ipgroup_id: 参数解释:IP地址组ID。
|
35
35
|
:type ipgroup_id: str
|
36
36
|
:param body: Body of the BatchDeleteIpListRequest
|
37
37
|
:type body: :class:`huaweicloudsdkelb.v3.BatchDeleteIpListRequestBody`
|
@@ -51,7 +51,7 @@ class BatchDeleteIpListRequest:
|
|
51
51
|
def ipgroup_id(self):
|
52
52
|
"""Gets the ipgroup_id of this BatchDeleteIpListRequest.
|
53
53
|
|
54
|
-
IP地址组ID。
|
54
|
+
参数解释:IP地址组ID。
|
55
55
|
|
56
56
|
:return: The ipgroup_id of this BatchDeleteIpListRequest.
|
57
57
|
:rtype: str
|
@@ -62,7 +62,7 @@ class BatchDeleteIpListRequest:
|
|
62
62
|
def ipgroup_id(self, ipgroup_id):
|
63
63
|
"""Sets the ipgroup_id of this BatchDeleteIpListRequest.
|
64
64
|
|
65
|
-
IP地址组ID。
|
65
|
+
参数解释:IP地址组ID。
|
66
66
|
|
67
67
|
:param ipgroup_id: The ipgroup_id of this BatchDeleteIpListRequest.
|
68
68
|
:type ipgroup_id: str
|