huaweicloudsdkelb 3.1.86__py2.py3-none-any.whl → 3.1.132__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- huaweicloudsdkelb/v2/elb_async_client.py +2 -0
- huaweicloudsdkelb/v2/elb_client.py +2 -0
- huaweicloudsdkelb/v2/model/list_members_request.py +32 -3
- huaweicloudsdkelb/v2/region/elb_region.py +19 -1
- huaweicloudsdkelb/v3/__init__.py +29 -0
- huaweicloudsdkelb/v3/elb_async_client.py +175 -34
- huaweicloudsdkelb/v3/elb_client.py +175 -34
- huaweicloudsdkelb/v3/model/__init__.py +29 -0
- huaweicloudsdkelb/v3/model/autoscaling_ref.py +6 -6
- huaweicloudsdkelb/v3/model/availability_zone.py +15 -15
- huaweicloudsdkelb/v3/model/bandwidth_ref.py +3 -3
- huaweicloudsdkelb/v3/model/batch_add_available_zones_request.py +3 -3
- huaweicloudsdkelb/v3/model/batch_add_available_zones_response.py +6 -6
- huaweicloudsdkelb/v3/model/batch_create_members_option.py +12 -12
- huaweicloudsdkelb/v3/model/batch_create_members_request.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_delete_members_request.py +3 -3
- huaweicloudsdkelb/v3/model/batch_member.py +85 -27
- huaweicloudsdkelb/v3/model/batch_update_member.py +85 -27
- huaweicloudsdkelb/v3/model/batch_update_members_option.py +9 -9
- huaweicloudsdkelb/v3/model/batch_update_members_request.py +3 -3
- huaweicloudsdkelb/v3/model/batch_update_policies_priority_request_body.py +3 -3
- huaweicloudsdkelb/v3/model/batch_update_priority_request_body.py +6 -6
- 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 +6 -6
- 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 +87 -12
- huaweicloudsdkelb/v3/model/create_health_monitor_option.py +18 -18
- 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 +91 -37
- huaweicloudsdkelb/v3/model/create_l7_policy_response.py +3 -3
- huaweicloudsdkelb/v3/model/create_l7_policy_rule_option.py +21 -21
- huaweicloudsdkelb/v3/model/create_l7_rule_request.py +3 -3
- huaweicloudsdkelb/v3/model/create_l7_rule_response.py +3 -3
- huaweicloudsdkelb/v3/model/create_listener_ip_group_option.py +9 -9
- huaweicloudsdkelb/v3/model/create_listener_option.py +84 -84
- huaweicloudsdkelb/v3/model/create_listener_quic_config_option.py +6 -6
- huaweicloudsdkelb/v3/model/create_listener_response.py +3 -3
- 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 +9 -9
- huaweicloudsdkelb/v3/model/create_loadbalancer_autoscaling_option.py +6 -6
- huaweicloudsdkelb/v3/model/create_master_slave_health_monitor_option.py +9 -9
- huaweicloudsdkelb/v3/model/create_master_slave_member_option.py +12 -12
- huaweicloudsdkelb/v3/model/create_master_slave_pool_option.py +33 -33
- huaweicloudsdkelb/v3/model/create_member_option.py +21 -21
- huaweicloudsdkelb/v3/model/create_member_request.py +3 -3
- huaweicloudsdkelb/v3/model/create_member_response.py +3 -3
- huaweicloudsdkelb/v3/model/create_pool_option.py +102 -48
- huaweicloudsdkelb/v3/model/create_pool_response.py +3 -3
- huaweicloudsdkelb/v3/model/create_pool_session_persistence_option.py +9 -9
- huaweicloudsdkelb/v3/model/create_pool_slow_start_option.py +6 -6
- huaweicloudsdkelb/v3/model/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 +71 -21
- 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_condition.py +6 -6
- huaweicloudsdkelb/v3/model/create_rule_option.py +24 -24
- huaweicloudsdkelb/v3/model/create_traffic_limit_config.py +173 -0
- huaweicloudsdkelb/v3/model/delete_ip_group_request.py +3 -3
- huaweicloudsdkelb/v3/model/delete_l7_policy_request.py +3 -3
- huaweicloudsdkelb/v3/model/delete_master_slave_pool_request.py +3 -3
- huaweicloudsdkelb/v3/model/delete_member_request.py +6 -6
- huaweicloudsdkelb/v3/model/delete_pool_request.py +3 -3
- huaweicloudsdkelb/v3/model/eip_info.py +9 -9
- huaweicloudsdkelb/v3/model/fixted_response_config.py +87 -12
- huaweicloudsdkelb/v3/model/flavor.py +79 -21
- huaweicloudsdkelb/v3/model/flavor_info.py +18 -18
- huaweicloudsdkelb/v3/model/global_eip_info.py +9 -9
- huaweicloudsdkelb/v3/model/health_monitor.py +18 -18
- 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 +103 -49
- huaweicloudsdkelb/v3/model/l7_rule.py +36 -36
- huaweicloudsdkelb/v3/model/list_all_members_request.py +24 -24
- huaweicloudsdkelb/v3/model/list_all_members_response.py +4 -4
- huaweicloudsdkelb/v3/model/list_availability_zones_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_availability_zones_response.py +38 -9
- 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 +15 -15
- 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 +51 -51
- huaweicloudsdkelb/v3/model/list_l7_policies_response.py +6 -6
- huaweicloudsdkelb/v3/model/list_l7_rules_request.py +6 -6
- huaweicloudsdkelb/v3/model/list_l7_rules_response.py +6 -6
- huaweicloudsdkelb/v3/model/list_listeners_request.py +42 -42
- huaweicloudsdkelb/v3/model/list_listeners_response.py +6 -6
- huaweicloudsdkelb/v3/model/list_load_balancers_request.py +36 -36
- huaweicloudsdkelb/v3/model/list_logtanks_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_master_slave_pools_request.py +39 -39
- huaweicloudsdkelb/v3/model/list_members_request.py +27 -27
- huaweicloudsdkelb/v3/model/list_pools_request.py +135 -48
- huaweicloudsdkelb/v3/model/list_security_policies_request.py +3 -3
- huaweicloudsdkelb/v3/model/listener.py +96 -96
- huaweicloudsdkelb/v3/model/listener_insert_headers.py +30 -30
- huaweicloudsdkelb/v3/model/listener_ip_group.py +9 -9
- huaweicloudsdkelb/v3/model/listener_member_info.py +3 -3
- huaweicloudsdkelb/v3/model/listener_quic_config.py +6 -6
- huaweicloudsdkelb/v3/model/listener_ref.py +3 -3
- huaweicloudsdkelb/v3/model/load_balancer.py +129 -129
- huaweicloudsdkelb/v3/model/load_balancer_ref.py +3 -3
- huaweicloudsdkelb/v3/model/load_balancer_status.py +3 -3
- huaweicloudsdkelb/v3/model/load_balancer_status_policy.py +3 -3
- huaweicloudsdkelb/v3/model/load_balancer_status_pool.py +3 -3
- huaweicloudsdkelb/v3/model/logtank.py +3 -3
- huaweicloudsdkelb/v3/model/master_slave_health_monitor.py +12 -12
- huaweicloudsdkelb/v3/model/master_slave_member.py +18 -18
- huaweicloudsdkelb/v3/model/master_slave_pool.py +42 -42
- huaweicloudsdkelb/v3/model/member.py +46 -191
- huaweicloudsdkelb/v3/model/member_info.py +656 -0
- huaweicloudsdkelb/v3/model/member_ref.py +3 -3
- huaweicloudsdkelb/v3/model/member_status.py +6 -6
- huaweicloudsdkelb/v3/model/page_info.py +9 -9
- huaweicloudsdkelb/v3/model/pool.py +146 -63
- huaweicloudsdkelb/v3/model/pool_health.py +115 -0
- huaweicloudsdkelb/v3/model/pool_ref.py +3 -3
- huaweicloudsdkelb/v3/model/prepaid_create_option.py +12 -12
- huaweicloudsdkelb/v3/model/public_ip_info.py +9 -9
- huaweicloudsdkelb/v3/model/quota.py +21 -21
- 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 +83 -27
- 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/rule_condition.py +6 -6
- huaweicloudsdkelb/v3/model/rule_ref.py +3 -3
- huaweicloudsdkelb/v3/model/session_persistence.py +9 -9
- 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/show_l7_policy_request.py +3 -3
- huaweicloudsdkelb/v3/model/show_l7_policy_response.py +3 -3
- huaweicloudsdkelb/v3/model/show_l7_rule_response.py +3 -3
- huaweicloudsdkelb/v3/model/show_listener_response.py +3 -3
- huaweicloudsdkelb/v3/model/show_load_balancer_response.py +3 -3
- huaweicloudsdkelb/v3/model/show_load_balancer_status_response.py +3 -3
- huaweicloudsdkelb/v3/model/show_master_slave_pool_request.py +3 -3
- huaweicloudsdkelb/v3/model/show_member_request.py +3 -3
- huaweicloudsdkelb/v3/model/show_pool_request.py +3 -3
- huaweicloudsdkelb/v3/model/slow_start.py +6 -6
- huaweicloudsdkelb/v3/model/tag.py +6 -6
- 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 +87 -12
- huaweicloudsdkelb/v3/model/update_health_monitor_option.py +15 -15
- 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 +76 -22
- huaweicloudsdkelb/v3/model/update_l7_policy_request.py +3 -3
- huaweicloudsdkelb/v3/model/update_l7_policy_response.py +3 -3
- huaweicloudsdkelb/v3/model/update_l7_rule_option.py +18 -18
- huaweicloudsdkelb/v3/model/update_l7_rule_response.py +3 -3
- huaweicloudsdkelb/v3/model/update_listener_ip_group_option.py +9 -9
- huaweicloudsdkelb/v3/model/update_listener_option.py +66 -66
- huaweicloudsdkelb/v3/model/update_listener_quic_config_option.py +6 -6
- huaweicloudsdkelb/v3/model/update_listener_response.py +3 -3
- huaweicloudsdkelb/v3/model/update_load_balancer_option.py +48 -48
- huaweicloudsdkelb/v3/model/update_load_balancer_response.py +9 -9
- huaweicloudsdkelb/v3/model/update_loadbalancer_autoscaling_option.py +6 -6
- huaweicloudsdkelb/v3/model/update_member_option.py +12 -12
- huaweicloudsdkelb/v3/model/update_member_request.py +3 -3
- huaweicloudsdkelb/v3/model/update_pool_option.py +52 -27
- huaweicloudsdkelb/v3/model/update_pool_request.py +3 -3
- 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 +84 -9
- huaweicloudsdkelb/v3/model/update_redirect_pools_sticky_session_config.py +144 -0
- huaweicloudsdkelb/v3/model/update_redirect_url_config.py +71 -21
- 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_rule_condition.py +6 -6
- huaweicloudsdkelb/v3/model/update_traffic_limit_config.py +173 -0
- huaweicloudsdkelb/v3/region/elb_region.py +19 -1
- {huaweicloudsdkelb-3.1.86.dist-info → huaweicloudsdkelb-3.1.132.dist-info}/METADATA +2 -2
- {huaweicloudsdkelb-3.1.86.dist-info → huaweicloudsdkelb-3.1.132.dist-info}/RECORD +213 -184
- {huaweicloudsdkelb-3.1.86.dist-info → huaweicloudsdkelb-3.1.132.dist-info}/WHEEL +1 -1
- {huaweicloudsdkelb-3.1.86.dist-info → huaweicloudsdkelb-3.1.132.dist-info}/LICENSE +0 -0
- {huaweicloudsdkelb-3.1.86.dist-info → huaweicloudsdkelb-3.1.132.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,20 @@ 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
|
-
|
846
|
-
|
847
|
-
|
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类型的负载均衡器,则需要:
|
909
|
+
- 指定loadbalancer_type=\"gateway\",且不支持指定vip_address,ipv6_vip_address。
|
910
|
+
- vip_subnet_cidr_id和ipv6_subnet_cidr_id两者不能都为空,如果两者都传入,则必须属于同一子网。
|
911
|
+
- 不支持创建公网gateway类型LB。
|
912
|
+
- 如果要指定规格,则从请求参数gw_flavor_id传入。](tag:hws_eu)
|
850
913
|
|
851
914
|
Please refer to HUAWEI cloud API Explorer for details.
|
852
915
|
|
@@ -911,7 +974,7 @@ class ElbClient(Client):
|
|
911
974
|
def create_logtank(self, request):
|
912
975
|
"""创建云日志
|
913
976
|
|
914
|
-
创建云日志。[荷兰region不支持云日志功能,请勿使用。](tag:dt)
|
977
|
+
创建云日志。[荷兰region不支持云日志功能,请勿使用。](tag:dt,dt_test)
|
915
978
|
|
916
979
|
Please refer to HUAWEI cloud API Explorer for details.
|
917
980
|
|
@@ -1175,7 +1238,7 @@ class ElbClient(Client):
|
|
1175
1238
|
|
1176
1239
|
创建自定义安全策略。用于在创建HTTPS监听器时,请求参数中指定security_policy_id来设置监听器的自定义安全策略。
|
1177
1240
|
|
1178
|
-
[荷兰region不支持自定义安全策略功能,请勿使用。](tag:dt)
|
1241
|
+
[荷兰region不支持自定义安全策略功能,请勿使用。](tag:dt,dt_test)
|
1179
1242
|
|
1180
1243
|
Please refer to HUAWEI cloud API Explorer for details.
|
1181
1244
|
|
@@ -1762,7 +1825,7 @@ class ElbClient(Client):
|
|
1762
1825
|
def delete_logtank(self, request):
|
1763
1826
|
"""删除云日志
|
1764
1827
|
|
1765
|
-
删除云日志。[荷兰region不支持云日志功能,请勿使用。](tag:dt)
|
1828
|
+
删除云日志。[荷兰region不支持云日志功能,请勿使用。](tag:dt,dt_test)
|
1766
1829
|
|
1767
1830
|
Please refer to HUAWEI cloud API Explorer for details.
|
1768
1831
|
|
@@ -2024,7 +2087,7 @@ class ElbClient(Client):
|
|
2024
2087
|
def delete_security_policy(self, request):
|
2025
2088
|
"""删除自定义安全策略
|
2026
2089
|
|
2027
|
-
删除自定义安全策略。[荷兰region不支持自定义安全策略功能,请勿使用。](tag:dt)
|
2090
|
+
删除自定义安全策略。[荷兰region不支持自定义安全策略功能,请勿使用。](tag:dt,dt_test)
|
2028
2091
|
|
2029
2092
|
Please refer to HUAWEI cloud API Explorer for details.
|
2030
2093
|
|
@@ -2089,7 +2152,7 @@ class ElbClient(Client):
|
|
2089
2152
|
def list_all_members(self, request):
|
2090
2153
|
"""后端服务器全局列表
|
2091
2154
|
|
2092
|
-
|
2155
|
+
查询当前项目下的后端服务器列表。
|
2093
2156
|
|
2094
2157
|
Please refer to HUAWEI cloud API Explorer for details.
|
2095
2158
|
|
@@ -2322,6 +2385,12 @@ class ElbClient(Client):
|
|
2322
2385
|
if 'type' in local_var_params:
|
2323
2386
|
query_params.append(('type', local_var_params['type']))
|
2324
2387
|
collection_formats['type'] = 'multi'
|
2388
|
+
if 'common_name' in local_var_params:
|
2389
|
+
query_params.append(('common_name', local_var_params['common_name']))
|
2390
|
+
collection_formats['common_name'] = 'multi'
|
2391
|
+
if 'fingerprint' in local_var_params:
|
2392
|
+
query_params.append(('fingerprint', local_var_params['fingerprint']))
|
2393
|
+
collection_formats['fingerprint'] = 'multi'
|
2325
2394
|
|
2326
2395
|
header_params = {}
|
2327
2396
|
|
@@ -2352,7 +2421,7 @@ class ElbClient(Client):
|
|
2352
2421
|
def list_flavors(self, request):
|
2353
2422
|
"""查询规格列表
|
2354
2423
|
|
2355
|
-
|
2424
|
+
查询当前region下可用的负载均衡规格列表。
|
2356
2425
|
|
2357
2426
|
Please refer to HUAWEI cloud API Explorer for details.
|
2358
2427
|
|
@@ -3047,7 +3116,7 @@ class ElbClient(Client):
|
|
3047
3116
|
def list_logtanks(self, request):
|
3048
3117
|
"""查询云日志列表
|
3049
3118
|
|
3050
|
-
查询云日志列表。[荷兰region不支持云日志功能,请勿使用。](tag:dt)
|
3119
|
+
查询云日志列表。[荷兰region不支持云日志功能,请勿使用。](tag:dt,dt_test)
|
3051
3120
|
|
3052
3121
|
Please refer to HUAWEI cloud API Explorer for details.
|
3053
3122
|
|
@@ -3446,6 +3515,12 @@ class ElbClient(Client):
|
|
3446
3515
|
collection_formats['protection_status'] = 'csv'
|
3447
3516
|
if 'connection_drain' in local_var_params:
|
3448
3517
|
query_params.append(('connection_drain', local_var_params['connection_drain']))
|
3518
|
+
if 'pool_health' in local_var_params:
|
3519
|
+
query_params.append(('pool_health', local_var_params['pool_health']))
|
3520
|
+
if 'any_port_enable' in local_var_params:
|
3521
|
+
query_params.append(('any_port_enable', local_var_params['any_port_enable']))
|
3522
|
+
if 'public_border_group' in local_var_params:
|
3523
|
+
query_params.append(('public_border_group', local_var_params['public_border_group']))
|
3449
3524
|
|
3450
3525
|
header_params = {}
|
3451
3526
|
|
@@ -3542,7 +3617,7 @@ class ElbClient(Client):
|
|
3542
3617
|
def list_security_policies(self, request):
|
3543
3618
|
"""查询自定义安全策略列表
|
3544
3619
|
|
3545
|
-
查询自定义安全策略列表。[荷兰region不支持自定义安全策略功能,请勿使用。](tag:dt)
|
3620
|
+
查询自定义安全策略列表。[荷兰region不支持自定义安全策略功能,请勿使用。](tag:dt,dt_test)
|
3546
3621
|
|
3547
3622
|
Please refer to HUAWEI cloud API Explorer for details.
|
3548
3623
|
|
@@ -3753,6 +3828,69 @@ class ElbClient(Client):
|
|
3753
3828
|
|
3754
3829
|
return http_info
|
3755
3830
|
|
3831
|
+
def show_certificate_private_key_echo(self, request):
|
3832
|
+
"""查询证书私钥字段回显开关
|
3833
|
+
|
3834
|
+
查询证书私钥回显开关当前的状态,开启或关闭。
|
3835
|
+
|
3836
|
+
Please refer to HUAWEI cloud API Explorer for details.
|
3837
|
+
|
3838
|
+
:param request: Request instance for ShowCertificatePrivateKeyEcho
|
3839
|
+
:type request: :class:`huaweicloudsdkelb.v3.ShowCertificatePrivateKeyEchoRequest`
|
3840
|
+
:rtype: :class:`huaweicloudsdkelb.v3.ShowCertificatePrivateKeyEchoResponse`
|
3841
|
+
"""
|
3842
|
+
http_info = self._show_certificate_private_key_echo_http_info(request)
|
3843
|
+
return self._call_api(**http_info)
|
3844
|
+
|
3845
|
+
def show_certificate_private_key_echo_invoker(self, request):
|
3846
|
+
http_info = self._show_certificate_private_key_echo_http_info(request)
|
3847
|
+
return SyncInvoker(self, http_info)
|
3848
|
+
|
3849
|
+
@classmethod
|
3850
|
+
def _show_certificate_private_key_echo_http_info(cls, request):
|
3851
|
+
http_info = {
|
3852
|
+
"method": "GET",
|
3853
|
+
"resource_path": "/v3/{project_id}/elb/certificates/settings/private-key-echo",
|
3854
|
+
"request_type": request.__class__.__name__,
|
3855
|
+
"response_type": "ShowCertificatePrivateKeyEchoResponse"
|
3856
|
+
}
|
3857
|
+
|
3858
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
3859
|
+
|
3860
|
+
cname = None
|
3861
|
+
|
3862
|
+
collection_formats = {}
|
3863
|
+
|
3864
|
+
path_params = {}
|
3865
|
+
|
3866
|
+
query_params = []
|
3867
|
+
|
3868
|
+
header_params = {}
|
3869
|
+
|
3870
|
+
form_params = {}
|
3871
|
+
|
3872
|
+
body = None
|
3873
|
+
if isinstance(request, SdkStreamRequest):
|
3874
|
+
body = request.get_file_stream()
|
3875
|
+
|
3876
|
+
response_headers = []
|
3877
|
+
|
3878
|
+
header_params['Content-Type'] = http_utils.select_header_content_type(
|
3879
|
+
['application/json'])
|
3880
|
+
|
3881
|
+
auth_settings = []
|
3882
|
+
|
3883
|
+
http_info["cname"] = cname
|
3884
|
+
http_info["collection_formats"] = collection_formats
|
3885
|
+
http_info["path_params"] = path_params
|
3886
|
+
http_info["query_params"] = query_params
|
3887
|
+
http_info["header_params"] = header_params
|
3888
|
+
http_info["post_params"] = form_params
|
3889
|
+
http_info["body"] = body
|
3890
|
+
http_info["response_headers"] = response_headers
|
3891
|
+
|
3892
|
+
return http_info
|
3893
|
+
|
3756
3894
|
def show_flavor(self, request):
|
3757
3895
|
"""查询规格详情
|
3758
3896
|
|
@@ -4216,7 +4354,7 @@ class ElbClient(Client):
|
|
4216
4354
|
def show_logtank(self, request):
|
4217
4355
|
"""查询云日志详情
|
4218
4356
|
|
4219
|
-
云日志详情。[荷兰region不支持云日志功能,请勿使用。](tag:dt)
|
4357
|
+
云日志详情。[荷兰region不支持云日志功能,请勿使用。](tag:dt,dt_test)
|
4220
4358
|
|
4221
4359
|
Please refer to HUAWEI cloud API Explorer for details.
|
4222
4360
|
|
@@ -4541,7 +4679,7 @@ class ElbClient(Client):
|
|
4541
4679
|
def show_security_policy(self, request):
|
4542
4680
|
"""查询自定义安全策略详情
|
4543
4681
|
|
4544
|
-
查询自定义安全策略详情。[荷兰region不支持自定义安全策略功能,请勿使用。](tag:dt)
|
4682
|
+
查询自定义安全策略详情。[荷兰region不支持自定义安全策略功能,请勿使用。](tag:dt,dt_test)
|
4545
4683
|
|
4546
4684
|
Please refer to HUAWEI cloud API Explorer for details.
|
4547
4685
|
|
@@ -5010,7 +5148,7 @@ class ElbClient(Client):
|
|
5010
5148
|
def update_logtank(self, request):
|
5011
5149
|
"""更新云日志
|
5012
5150
|
|
5013
|
-
更新云日志。[荷兰region不支持云日志功能,请勿使用。](tag:dt)
|
5151
|
+
更新云日志。[荷兰region不支持云日志功能,请勿使用。](tag:dt,dt_test)
|
5014
5152
|
|
5015
5153
|
Please refer to HUAWEI cloud API Explorer for details.
|
5016
5154
|
|
@@ -5213,7 +5351,7 @@ class ElbClient(Client):
|
|
5213
5351
|
def update_security_policy(self, request):
|
5214
5352
|
"""更新自定义安全策略
|
5215
5353
|
|
5216
|
-
更新自定义安全策略。[荷兰region不支持自定义安全策略功能,请勿使用。](tag:dt)
|
5354
|
+
更新自定义安全策略。[荷兰region不支持自定义安全策略功能,请勿使用。](tag:dt,dt_test)
|
5217
5355
|
|
5218
5356
|
Please refer to HUAWEI cloud API Explorer for details.
|
5219
5357
|
|
@@ -5425,7 +5563,7 @@ class ElbClient(Client):
|
|
5425
5563
|
- 计算出来的预占IP数大于等于最终实际占用的IP数。
|
5426
5564
|
- 总占用IP数量,即整个LB所占用的IP数量。
|
5427
5565
|
|
5428
|
-
[不支持传入l7_flavor_id](tag:hcso,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
5566
|
+
[不支持传入l7_flavor_id](tag:hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
5429
5567
|
|
5430
5568
|
Please refer to HUAWEI cloud API Explorer for details.
|
5431
5569
|
|
@@ -5503,7 +5641,7 @@ class ElbClient(Client):
|
|
5503
5641
|
|
5504
5642
|
需要注意0.0.0.0与0.0.0.0/32视为重复,0:0:0:0:0:0:0:1与::1与::1/128视为重复,只会保存其中一个。
|
5505
5643
|
|
5506
|
-
[荷兰region不支持IP地址组功能,请勿使用。](tag:dt)
|
5644
|
+
[荷兰region不支持IP地址组功能,请勿使用。](tag:dt,dt_test)
|
5507
5645
|
|
5508
5646
|
Please refer to HUAWEI cloud API Explorer for details.
|
5509
5647
|
|
@@ -5568,7 +5706,7 @@ class ElbClient(Client):
|
|
5568
5706
|
def delete_ip_group(self, request):
|
5569
5707
|
"""删除IP地址组
|
5570
5708
|
|
5571
|
-
删除ip地址组。[荷兰region不支持IP地址组功能,请勿使用。](tag:dt)
|
5709
|
+
删除ip地址组。[荷兰region不支持IP地址组功能,请勿使用。](tag:dt,dt_test)
|
5572
5710
|
|
5573
5711
|
Please refer to HUAWEI cloud API Explorer for details.
|
5574
5712
|
|
@@ -5633,7 +5771,7 @@ class ElbClient(Client):
|
|
5633
5771
|
def list_ip_groups(self, request):
|
5634
5772
|
"""查询IP地址组列表
|
5635
5773
|
|
5636
|
-
查询IP地址组列表。[荷兰region不支持IP地址组功能,请勿使用。](tag:dt)
|
5774
|
+
查询IP地址组列表。[荷兰region不支持IP地址组功能,请勿使用。](tag:dt,dt_test)
|
5637
5775
|
|
5638
5776
|
Please refer to HUAWEI cloud API Explorer for details.
|
5639
5777
|
|
@@ -5684,6 +5822,9 @@ class ElbClient(Client):
|
|
5684
5822
|
if 'ip_list' in local_var_params:
|
5685
5823
|
query_params.append(('ip_list', local_var_params['ip_list']))
|
5686
5824
|
collection_formats['ip_list'] = 'multi'
|
5825
|
+
if 'enterprise_project_id' in local_var_params:
|
5826
|
+
query_params.append(('enterprise_project_id', local_var_params['enterprise_project_id']))
|
5827
|
+
collection_formats['enterprise_project_id'] = 'csv'
|
5687
5828
|
|
5688
5829
|
header_params = {}
|
5689
5830
|
|
@@ -5714,7 +5855,7 @@ class ElbClient(Client):
|
|
5714
5855
|
def show_ip_group(self, request):
|
5715
5856
|
"""查询IP地址组详情
|
5716
5857
|
|
5717
|
-
获取IP地址组详情。[荷兰region不支持IP地址组功能,请勿使用。](tag:dt)
|
5858
|
+
获取IP地址组详情。[荷兰region不支持IP地址组功能,请勿使用。](tag:dt,dt_test)
|
5718
5859
|
|
5719
5860
|
Please refer to HUAWEI cloud API Explorer for details.
|
5720
5861
|
|
@@ -5784,7 +5925,7 @@ class ElbClient(Client):
|
|
5784
5925
|
|
5785
5926
|
需要注意0.0.0.0与0.0.0.0/32视为重复,0:0:0:0:0:0:0:1与::1与::1/128视为重复,只会保存其中一个。
|
5786
5927
|
|
5787
|
-
[荷兰region不支持IP地址组功能,请勿使用。](tag:dt)
|
5928
|
+
[荷兰region不支持IP地址组功能,请勿使用。](tag:dt,dt_test)
|
5788
5929
|
|
5789
5930
|
Please refer to HUAWEI cloud API Explorer for details.
|
5790
5931
|
|
@@ -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
|
@@ -31,9 +31,9 @@ class AutoscalingRef:
|
|
31
31
|
|
32
32
|
The model defined in huaweicloud sdk
|
33
33
|
|
34
|
-
:param enable:
|
34
|
+
:param enable: 参数解释:当前负载均衡器是否开启弹性扩缩容。 取值范围: - true:开启。 - false:不开启。 默认取值:false
|
35
35
|
:type enable: bool
|
36
|
-
:param min_l7_flavor_id:
|
36
|
+
:param min_l7_flavor_id: 参数解释:弹性扩缩容的最小七层规格ID(规格类型L7_elastic)。 约束限制:有七层监听器时,该字段不能为空。 > 该字段已经废弃,但仍然保留兼容性支持,建议不要使用该字段。如果传入该字段,创建的弹性实例将会有保底规格并产生对应保底规格的费用。
|
37
37
|
:type min_l7_flavor_id: str
|
38
38
|
"""
|
39
39
|
|
@@ -51,7 +51,7 @@ class AutoscalingRef:
|
|
51
51
|
def enable(self):
|
52
52
|
"""Gets the enable of this AutoscalingRef.
|
53
53
|
|
54
|
-
|
54
|
+
参数解释:当前负载均衡器是否开启弹性扩缩容。 取值范围: - true:开启。 - false:不开启。 默认取值:false
|
55
55
|
|
56
56
|
:return: The enable of this AutoscalingRef.
|
57
57
|
:rtype: bool
|
@@ -62,7 +62,7 @@ class AutoscalingRef:
|
|
62
62
|
def enable(self, enable):
|
63
63
|
"""Sets the enable of this AutoscalingRef.
|
64
64
|
|
65
|
-
|
65
|
+
参数解释:当前负载均衡器是否开启弹性扩缩容。 取值范围: - true:开启。 - false:不开启。 默认取值:false
|
66
66
|
|
67
67
|
:param enable: The enable of this AutoscalingRef.
|
68
68
|
:type enable: bool
|
@@ -73,7 +73,7 @@ class AutoscalingRef:
|
|
73
73
|
def min_l7_flavor_id(self):
|
74
74
|
"""Gets the min_l7_flavor_id of this AutoscalingRef.
|
75
75
|
|
76
|
-
|
76
|
+
参数解释:弹性扩缩容的最小七层规格ID(规格类型L7_elastic)。 约束限制:有七层监听器时,该字段不能为空。 > 该字段已经废弃,但仍然保留兼容性支持,建议不要使用该字段。如果传入该字段,创建的弹性实例将会有保底规格并产生对应保底规格的费用。
|
77
77
|
|
78
78
|
:return: The min_l7_flavor_id of this AutoscalingRef.
|
79
79
|
:rtype: str
|
@@ -84,7 +84,7 @@ class AutoscalingRef:
|
|
84
84
|
def min_l7_flavor_id(self, min_l7_flavor_id):
|
85
85
|
"""Sets the min_l7_flavor_id of this AutoscalingRef.
|
86
86
|
|
87
|
-
|
87
|
+
参数解释:弹性扩缩容的最小七层规格ID(规格类型L7_elastic)。 约束限制:有七层监听器时,该字段不能为空。 > 该字段已经废弃,但仍然保留兼容性支持,建议不要使用该字段。如果传入该字段,创建的弹性实例将会有保底规格并产生对应保底规格的费用。
|
88
88
|
|
89
89
|
:param min_l7_flavor_id: The min_l7_flavor_id of this AutoscalingRef.
|
90
90
|
:type min_l7_flavor_id: str
|
@@ -37,15 +37,15 @@ class AvailabilityZone:
|
|
37
37
|
|
38
38
|
The model defined in huaweicloud sdk
|
39
39
|
|
40
|
-
:param code:
|
40
|
+
:param code: 参数解释:可用区唯一编码。
|
41
41
|
:type code: str
|
42
|
-
:param state:
|
42
|
+
:param state: 参数解释:可用区状态。 取值范围:ACTIVE。
|
43
43
|
:type state: str
|
44
|
-
:param protocol: [
|
44
|
+
:param protocol: [参数解释:未售罄的LB规格类别。 取值范围:L4 表示网络型LB未售罄;L7 表示应用型LB未售罄。](tag:hws,hk,hws_eu,otc,tlf,sbc,g42,hk_g42,dt_test,mix,hk_sbc,hws_ocb,dt) [参数解释:LB规格类别。 取值范围:L4 表示网络型LB;L7 表示应用型LB。](tag:ctc,cmcc,ocb,tm,fcs,fcs_dt,hcso,hcso_dt,hk_vdf)
|
45
45
|
:type protocol: list[str]
|
46
|
-
:param public_border_group:
|
46
|
+
:param public_border_group: 参数解释:可用区组,如:center
|
47
47
|
:type public_border_group: str
|
48
|
-
:param category:
|
48
|
+
:param category: 参数解释:范围编码。 取值范围:0表示center,21表示homezone。
|
49
49
|
:type category: int
|
50
50
|
"""
|
51
51
|
|
@@ -68,7 +68,7 @@ class AvailabilityZone:
|
|
68
68
|
def code(self):
|
69
69
|
"""Gets the code of this AvailabilityZone.
|
70
70
|
|
71
|
-
|
71
|
+
参数解释:可用区唯一编码。
|
72
72
|
|
73
73
|
:return: The code of this AvailabilityZone.
|
74
74
|
:rtype: str
|
@@ -79,7 +79,7 @@ class AvailabilityZone:
|
|
79
79
|
def code(self, code):
|
80
80
|
"""Sets the code of this AvailabilityZone.
|
81
81
|
|
82
|
-
|
82
|
+
参数解释:可用区唯一编码。
|
83
83
|
|
84
84
|
:param code: The code of this AvailabilityZone.
|
85
85
|
:type code: str
|
@@ -90,7 +90,7 @@ class AvailabilityZone:
|
|
90
90
|
def state(self):
|
91
91
|
"""Gets the state of this AvailabilityZone.
|
92
92
|
|
93
|
-
|
93
|
+
参数解释:可用区状态。 取值范围:ACTIVE。
|
94
94
|
|
95
95
|
:return: The state of this AvailabilityZone.
|
96
96
|
:rtype: str
|
@@ -101,7 +101,7 @@ class AvailabilityZone:
|
|
101
101
|
def state(self, state):
|
102
102
|
"""Sets the state of this AvailabilityZone.
|
103
103
|
|
104
|
-
|
104
|
+
参数解释:可用区状态。 取值范围:ACTIVE。
|
105
105
|
|
106
106
|
:param state: The state of this AvailabilityZone.
|
107
107
|
:type state: str
|
@@ -112,7 +112,7 @@ class AvailabilityZone:
|
|
112
112
|
def protocol(self):
|
113
113
|
"""Gets the protocol of this AvailabilityZone.
|
114
114
|
|
115
|
-
[
|
115
|
+
[参数解释:未售罄的LB规格类别。 取值范围:L4 表示网络型LB未售罄;L7 表示应用型LB未售罄。](tag:hws,hk,hws_eu,otc,tlf,sbc,g42,hk_g42,dt_test,mix,hk_sbc,hws_ocb,dt) [参数解释:LB规格类别。 取值范围:L4 表示网络型LB;L7 表示应用型LB。](tag:ctc,cmcc,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
|
-
[
|
126
|
+
[参数解释:未售罄的LB规格类别。 取值范围:L4 表示网络型LB未售罄;L7 表示应用型LB未售罄。](tag:hws,hk,hws_eu,otc,tlf,sbc,g42,hk_g42,dt_test,mix,hk_sbc,hws_ocb,dt) [参数解释:LB规格类别。 取值范围:L4 表示网络型LB;L7 表示应用型LB。](tag:ctc,cmcc,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]
|
@@ -134,7 +134,7 @@ class AvailabilityZone:
|
|
134
134
|
def public_border_group(self):
|
135
135
|
"""Gets the public_border_group of this AvailabilityZone.
|
136
136
|
|
137
|
-
|
137
|
+
参数解释:可用区组,如:center
|
138
138
|
|
139
139
|
:return: The public_border_group of this AvailabilityZone.
|
140
140
|
:rtype: str
|
@@ -145,7 +145,7 @@ class AvailabilityZone:
|
|
145
145
|
def public_border_group(self, public_border_group):
|
146
146
|
"""Sets the public_border_group of this AvailabilityZone.
|
147
147
|
|
148
|
-
|
148
|
+
参数解释:可用区组,如:center
|
149
149
|
|
150
150
|
:param public_border_group: The public_border_group of this AvailabilityZone.
|
151
151
|
:type public_border_group: str
|
@@ -156,7 +156,7 @@ class AvailabilityZone:
|
|
156
156
|
def category(self):
|
157
157
|
"""Gets the category of this AvailabilityZone.
|
158
158
|
|
159
|
-
|
159
|
+
参数解释:范围编码。 取值范围:0表示center,21表示homezone。
|
160
160
|
|
161
161
|
:return: The category of this AvailabilityZone.
|
162
162
|
:rtype: int
|
@@ -167,7 +167,7 @@ class AvailabilityZone:
|
|
167
167
|
def category(self, category):
|
168
168
|
"""Sets the category of this AvailabilityZone.
|
169
169
|
|
170
|
-
|
170
|
+
参数解释:范围编码。 取值范围:0表示center,21表示homezone。
|
171
171
|
|
172
172
|
:param category: The category of this AvailabilityZone.
|
173
173
|
:type category: int
|