huaweicloudsdkelb 3.1.85__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.
Files changed (213) hide show
  1. huaweicloudsdkelb/v2/elb_async_client.py +2 -0
  2. huaweicloudsdkelb/v2/elb_client.py +2 -0
  3. huaweicloudsdkelb/v2/model/list_members_request.py +32 -3
  4. huaweicloudsdkelb/v2/region/elb_region.py +19 -1
  5. huaweicloudsdkelb/v3/__init__.py +29 -0
  6. huaweicloudsdkelb/v3/elb_async_client.py +175 -34
  7. huaweicloudsdkelb/v3/elb_client.py +175 -34
  8. huaweicloudsdkelb/v3/model/__init__.py +29 -0
  9. huaweicloudsdkelb/v3/model/autoscaling_ref.py +6 -6
  10. huaweicloudsdkelb/v3/model/availability_zone.py +15 -15
  11. huaweicloudsdkelb/v3/model/bandwidth_ref.py +3 -3
  12. huaweicloudsdkelb/v3/model/batch_add_available_zones_request.py +3 -3
  13. huaweicloudsdkelb/v3/model/batch_add_available_zones_response.py +6 -6
  14. huaweicloudsdkelb/v3/model/batch_create_members_option.py +12 -12
  15. huaweicloudsdkelb/v3/model/batch_create_members_request.py +3 -3
  16. huaweicloudsdkelb/v3/model/batch_delete_ip_list_option.py +3 -3
  17. huaweicloudsdkelb/v3/model/batch_delete_ip_list_request.py +3 -3
  18. huaweicloudsdkelb/v3/model/batch_delete_ip_list_response.py +3 -3
  19. huaweicloudsdkelb/v3/model/batch_delete_members_request.py +3 -3
  20. huaweicloudsdkelb/v3/model/batch_member.py +85 -27
  21. huaweicloudsdkelb/v3/model/batch_update_member.py +85 -27
  22. huaweicloudsdkelb/v3/model/batch_update_members_option.py +9 -9
  23. huaweicloudsdkelb/v3/model/batch_update_members_request.py +3 -3
  24. huaweicloudsdkelb/v3/model/batch_update_policies_priority_request_body.py +3 -3
  25. huaweicloudsdkelb/v3/model/batch_update_priority_request_body.py +6 -6
  26. huaweicloudsdkelb/v3/model/certificate_info.py +93 -6
  27. huaweicloudsdkelb/v3/model/change_loadbalancer_charge_mode_request_body.py +3 -3
  28. huaweicloudsdkelb/v3/model/connection_drain.py +6 -6
  29. huaweicloudsdkelb/v3/model/count_preoccupy_ip_num_request.py +6 -6
  30. huaweicloudsdkelb/v3/model/create_certificate_option.py +5 -4
  31. huaweicloudsdkelb/v3/model/create_certificate_private_key_echo_request.py +111 -0
  32. huaweicloudsdkelb/v3/model/create_certificate_private_key_echo_request_body.py +114 -0
  33. huaweicloudsdkelb/v3/model/create_certificate_private_key_echo_response.py +145 -0
  34. huaweicloudsdkelb/v3/model/create_fixted_response_config.py +87 -12
  35. huaweicloudsdkelb/v3/model/create_health_monitor_option.py +18 -18
  36. huaweicloudsdkelb/v3/model/create_insert_header_config.py +170 -0
  37. huaweicloudsdkelb/v3/model/create_insert_headers_config.py +114 -0
  38. huaweicloudsdkelb/v3/model/create_ip_group_ip_option.py +6 -6
  39. huaweicloudsdkelb/v3/model/create_ip_group_option.py +15 -15
  40. huaweicloudsdkelb/v3/model/create_ip_group_response.py +3 -3
  41. huaweicloudsdkelb/v3/model/create_l7_policy_option.py +91 -37
  42. huaweicloudsdkelb/v3/model/create_l7_policy_response.py +3 -3
  43. huaweicloudsdkelb/v3/model/create_l7_policy_rule_option.py +21 -21
  44. huaweicloudsdkelb/v3/model/create_l7_rule_request.py +3 -3
  45. huaweicloudsdkelb/v3/model/create_l7_rule_response.py +3 -3
  46. huaweicloudsdkelb/v3/model/create_listener_ip_group_option.py +9 -9
  47. huaweicloudsdkelb/v3/model/create_listener_option.py +84 -84
  48. huaweicloudsdkelb/v3/model/create_listener_quic_config_option.py +6 -6
  49. huaweicloudsdkelb/v3/model/create_listener_response.py +3 -3
  50. huaweicloudsdkelb/v3/model/create_load_balancer_bandwidth_option.py +18 -18
  51. huaweicloudsdkelb/v3/model/create_load_balancer_option.py +76 -105
  52. huaweicloudsdkelb/v3/model/create_load_balancer_public_ip_option.py +12 -12
  53. huaweicloudsdkelb/v3/model/create_load_balancer_response.py +9 -9
  54. huaweicloudsdkelb/v3/model/create_loadbalancer_autoscaling_option.py +6 -6
  55. huaweicloudsdkelb/v3/model/create_master_slave_health_monitor_option.py +9 -9
  56. huaweicloudsdkelb/v3/model/create_master_slave_member_option.py +12 -12
  57. huaweicloudsdkelb/v3/model/create_master_slave_pool_option.py +33 -33
  58. huaweicloudsdkelb/v3/model/create_member_option.py +21 -21
  59. huaweicloudsdkelb/v3/model/create_member_request.py +3 -3
  60. huaweicloudsdkelb/v3/model/create_member_response.py +3 -3
  61. huaweicloudsdkelb/v3/model/create_pool_option.py +102 -48
  62. huaweicloudsdkelb/v3/model/create_pool_response.py +3 -3
  63. huaweicloudsdkelb/v3/model/create_pool_session_persistence_option.py +9 -9
  64. huaweicloudsdkelb/v3/model/create_pool_slow_start_option.py +6 -6
  65. huaweicloudsdkelb/v3/model/create_redirect_pools_config.py +143 -0
  66. huaweicloudsdkelb/v3/model/create_redirect_pools_extend_config.py +81 -6
  67. huaweicloudsdkelb/v3/model/create_redirect_pools_sticky_session_config.py +144 -0
  68. huaweicloudsdkelb/v3/model/create_redirect_url_config.py +71 -21
  69. huaweicloudsdkelb/v3/model/create_remove_header_config.py +114 -0
  70. huaweicloudsdkelb/v3/model/create_remove_headers_config.py +114 -0
  71. huaweicloudsdkelb/v3/model/create_rewrite_url_config.py +9 -9
  72. huaweicloudsdkelb/v3/model/create_rule_condition.py +6 -6
  73. huaweicloudsdkelb/v3/model/create_rule_option.py +24 -24
  74. huaweicloudsdkelb/v3/model/create_traffic_limit_config.py +173 -0
  75. huaweicloudsdkelb/v3/model/delete_ip_group_request.py +3 -3
  76. huaweicloudsdkelb/v3/model/delete_l7_policy_request.py +3 -3
  77. huaweicloudsdkelb/v3/model/delete_master_slave_pool_request.py +3 -3
  78. huaweicloudsdkelb/v3/model/delete_member_request.py +6 -6
  79. huaweicloudsdkelb/v3/model/delete_pool_request.py +3 -3
  80. huaweicloudsdkelb/v3/model/eip_info.py +9 -9
  81. huaweicloudsdkelb/v3/model/fixted_response_config.py +87 -12
  82. huaweicloudsdkelb/v3/model/flavor.py +79 -21
  83. huaweicloudsdkelb/v3/model/flavor_info.py +18 -18
  84. huaweicloudsdkelb/v3/model/global_eip_info.py +9 -9
  85. huaweicloudsdkelb/v3/model/health_monitor.py +18 -18
  86. huaweicloudsdkelb/v3/model/insert_header_config.py +170 -0
  87. huaweicloudsdkelb/v3/model/insert_headers_config.py +114 -0
  88. huaweicloudsdkelb/v3/model/ip_group.py +119 -90
  89. huaweicloudsdkelb/v3/model/ip_group_ip.py +3 -3
  90. huaweicloudsdkelb/v3/model/ip_info.py +6 -6
  91. huaweicloudsdkelb/v3/model/l7_policy.py +103 -49
  92. huaweicloudsdkelb/v3/model/l7_rule.py +36 -36
  93. huaweicloudsdkelb/v3/model/list_all_members_request.py +24 -24
  94. huaweicloudsdkelb/v3/model/list_all_members_response.py +4 -4
  95. huaweicloudsdkelb/v3/model/list_availability_zones_request.py +3 -3
  96. huaweicloudsdkelb/v3/model/list_availability_zones_response.py +38 -9
  97. huaweicloudsdkelb/v3/model/list_certificates_request.py +64 -6
  98. huaweicloudsdkelb/v3/model/list_flavors_request.py +21 -21
  99. huaweicloudsdkelb/v3/model/list_flavors_response.py +6 -6
  100. huaweicloudsdkelb/v3/model/list_health_monitors_request.py +15 -15
  101. huaweicloudsdkelb/v3/model/list_ip_groups_request.py +53 -24
  102. huaweicloudsdkelb/v3/model/list_ip_groups_response.py +6 -6
  103. huaweicloudsdkelb/v3/model/list_l7_policies_request.py +51 -51
  104. huaweicloudsdkelb/v3/model/list_l7_policies_response.py +6 -6
  105. huaweicloudsdkelb/v3/model/list_l7_rules_request.py +6 -6
  106. huaweicloudsdkelb/v3/model/list_l7_rules_response.py +6 -6
  107. huaweicloudsdkelb/v3/model/list_listeners_request.py +42 -42
  108. huaweicloudsdkelb/v3/model/list_listeners_response.py +6 -6
  109. huaweicloudsdkelb/v3/model/list_load_balancers_request.py +36 -36
  110. huaweicloudsdkelb/v3/model/list_logtanks_request.py +3 -3
  111. huaweicloudsdkelb/v3/model/list_master_slave_pools_request.py +39 -39
  112. huaweicloudsdkelb/v3/model/list_members_request.py +27 -27
  113. huaweicloudsdkelb/v3/model/list_pools_request.py +135 -48
  114. huaweicloudsdkelb/v3/model/list_security_policies_request.py +3 -3
  115. huaweicloudsdkelb/v3/model/listener.py +96 -96
  116. huaweicloudsdkelb/v3/model/listener_insert_headers.py +30 -30
  117. huaweicloudsdkelb/v3/model/listener_ip_group.py +9 -9
  118. huaweicloudsdkelb/v3/model/listener_member_info.py +3 -3
  119. huaweicloudsdkelb/v3/model/listener_quic_config.py +6 -6
  120. huaweicloudsdkelb/v3/model/listener_ref.py +3 -3
  121. huaweicloudsdkelb/v3/model/load_balancer.py +129 -129
  122. huaweicloudsdkelb/v3/model/load_balancer_ref.py +3 -3
  123. huaweicloudsdkelb/v3/model/load_balancer_status.py +3 -3
  124. huaweicloudsdkelb/v3/model/load_balancer_status_policy.py +3 -3
  125. huaweicloudsdkelb/v3/model/load_balancer_status_pool.py +3 -3
  126. huaweicloudsdkelb/v3/model/logtank.py +3 -3
  127. huaweicloudsdkelb/v3/model/master_slave_health_monitor.py +12 -12
  128. huaweicloudsdkelb/v3/model/master_slave_member.py +18 -18
  129. huaweicloudsdkelb/v3/model/master_slave_pool.py +42 -42
  130. huaweicloudsdkelb/v3/model/member.py +46 -191
  131. huaweicloudsdkelb/v3/model/member_info.py +656 -0
  132. huaweicloudsdkelb/v3/model/member_ref.py +3 -3
  133. huaweicloudsdkelb/v3/model/member_status.py +6 -6
  134. huaweicloudsdkelb/v3/model/page_info.py +9 -9
  135. huaweicloudsdkelb/v3/model/pool.py +146 -63
  136. huaweicloudsdkelb/v3/model/pool_health.py +115 -0
  137. huaweicloudsdkelb/v3/model/pool_ref.py +3 -3
  138. huaweicloudsdkelb/v3/model/prepaid_create_option.py +12 -12
  139. huaweicloudsdkelb/v3/model/public_ip_info.py +9 -9
  140. huaweicloudsdkelb/v3/model/quota.py +21 -21
  141. huaweicloudsdkelb/v3/model/quota_info.py +3 -3
  142. huaweicloudsdkelb/v3/model/redirect_pools_config.py +144 -0
  143. huaweicloudsdkelb/v3/model/redirect_pools_extend_config.py +81 -6
  144. huaweicloudsdkelb/v3/model/redirect_pools_sticky_session_config.py +144 -0
  145. huaweicloudsdkelb/v3/model/redirect_url_config.py +83 -27
  146. huaweicloudsdkelb/v3/model/remove_header_config.py +114 -0
  147. huaweicloudsdkelb/v3/model/remove_headers_config.py +114 -0
  148. huaweicloudsdkelb/v3/model/rewrite_url_config.py +9 -9
  149. huaweicloudsdkelb/v3/model/rule_condition.py +6 -6
  150. huaweicloudsdkelb/v3/model/rule_ref.py +3 -3
  151. huaweicloudsdkelb/v3/model/session_persistence.py +9 -9
  152. huaweicloudsdkelb/v3/model/show_certificate_private_key_echo_request.py +84 -0
  153. huaweicloudsdkelb/v3/model/show_certificate_private_key_echo_response.py +145 -0
  154. huaweicloudsdkelb/v3/model/show_flavor_request.py +3 -3
  155. huaweicloudsdkelb/v3/model/show_flavor_response.py +3 -3
  156. huaweicloudsdkelb/v3/model/show_ip_group_request.py +3 -3
  157. huaweicloudsdkelb/v3/model/show_ip_group_response.py +3 -3
  158. huaweicloudsdkelb/v3/model/show_l7_policy_request.py +3 -3
  159. huaweicloudsdkelb/v3/model/show_l7_policy_response.py +3 -3
  160. huaweicloudsdkelb/v3/model/show_l7_rule_response.py +3 -3
  161. huaweicloudsdkelb/v3/model/show_listener_response.py +3 -3
  162. huaweicloudsdkelb/v3/model/show_load_balancer_response.py +3 -3
  163. huaweicloudsdkelb/v3/model/show_load_balancer_status_response.py +3 -3
  164. huaweicloudsdkelb/v3/model/show_master_slave_pool_request.py +3 -3
  165. huaweicloudsdkelb/v3/model/show_member_request.py +3 -3
  166. huaweicloudsdkelb/v3/model/show_pool_request.py +3 -3
  167. huaweicloudsdkelb/v3/model/slow_start.py +6 -6
  168. huaweicloudsdkelb/v3/model/tag.py +6 -6
  169. huaweicloudsdkelb/v3/model/traffic_limit_config.py +173 -0
  170. huaweicloudsdkelb/v3/model/upadate_ip_group_ip_option.py +6 -6
  171. huaweicloudsdkelb/v3/model/update_certificate_option.py +3 -3
  172. huaweicloudsdkelb/v3/model/update_fixted_response_config.py +87 -12
  173. huaweicloudsdkelb/v3/model/update_health_monitor_option.py +15 -15
  174. huaweicloudsdkelb/v3/model/update_insert_header_config.py +170 -0
  175. huaweicloudsdkelb/v3/model/update_insert_headers_config.py +114 -0
  176. huaweicloudsdkelb/v3/model/update_ip_group_option.py +9 -9
  177. huaweicloudsdkelb/v3/model/update_ip_group_request.py +3 -3
  178. huaweicloudsdkelb/v3/model/update_ip_group_response.py +3 -3
  179. huaweicloudsdkelb/v3/model/update_ip_list_option.py +9 -9
  180. huaweicloudsdkelb/v3/model/update_ip_list_request.py +3 -3
  181. huaweicloudsdkelb/v3/model/update_ip_list_response.py +3 -3
  182. huaweicloudsdkelb/v3/model/update_l7_policy_option.py +76 -22
  183. huaweicloudsdkelb/v3/model/update_l7_policy_request.py +3 -3
  184. huaweicloudsdkelb/v3/model/update_l7_policy_response.py +3 -3
  185. huaweicloudsdkelb/v3/model/update_l7_rule_option.py +18 -18
  186. huaweicloudsdkelb/v3/model/update_l7_rule_response.py +3 -3
  187. huaweicloudsdkelb/v3/model/update_listener_ip_group_option.py +9 -9
  188. huaweicloudsdkelb/v3/model/update_listener_option.py +66 -66
  189. huaweicloudsdkelb/v3/model/update_listener_quic_config_option.py +6 -6
  190. huaweicloudsdkelb/v3/model/update_listener_response.py +3 -3
  191. huaweicloudsdkelb/v3/model/update_load_balancer_option.py +48 -48
  192. huaweicloudsdkelb/v3/model/update_load_balancer_response.py +9 -9
  193. huaweicloudsdkelb/v3/model/update_loadbalancer_autoscaling_option.py +6 -6
  194. huaweicloudsdkelb/v3/model/update_member_option.py +12 -12
  195. huaweicloudsdkelb/v3/model/update_member_request.py +3 -3
  196. huaweicloudsdkelb/v3/model/update_pool_option.py +52 -27
  197. huaweicloudsdkelb/v3/model/update_pool_request.py +3 -3
  198. huaweicloudsdkelb/v3/model/update_pool_session_persistence_option.py +6 -6
  199. huaweicloudsdkelb/v3/model/update_redirect_pools_config.py +143 -0
  200. huaweicloudsdkelb/v3/model/update_redirect_pools_extend_config.py +84 -9
  201. huaweicloudsdkelb/v3/model/update_redirect_pools_sticky_session_config.py +144 -0
  202. huaweicloudsdkelb/v3/model/update_redirect_url_config.py +71 -21
  203. huaweicloudsdkelb/v3/model/update_remove_header_config.py +114 -0
  204. huaweicloudsdkelb/v3/model/update_remove_headers_config.py +114 -0
  205. huaweicloudsdkelb/v3/model/update_rewrite_url_config.py +173 -0
  206. huaweicloudsdkelb/v3/model/update_rule_condition.py +6 -6
  207. huaweicloudsdkelb/v3/model/update_traffic_limit_config.py +173 -0
  208. huaweicloudsdkelb/v3/region/elb_region.py +19 -1
  209. {huaweicloudsdkelb-3.1.85.dist-info → huaweicloudsdkelb-3.1.132.dist-info}/METADATA +2 -2
  210. {huaweicloudsdkelb-3.1.85.dist-info → huaweicloudsdkelb-3.1.132.dist-info}/RECORD +213 -184
  211. {huaweicloudsdkelb-3.1.85.dist-info → huaweicloudsdkelb-3.1.132.dist-info}/WHEEL +1 -1
  212. {huaweicloudsdkelb-3.1.85.dist-info → huaweicloudsdkelb-3.1.132.dist-info}/LICENSE +0 -0
  213. {huaweicloudsdkelb-3.1.85.dist-info → huaweicloudsdkelb-3.1.132.dist-info}/top_level.txt +0 -0
@@ -2399,6 +2399,8 @@ class ElbAsyncClient(Client):
2399
2399
  query_params.append(('admin_state_up', local_var_params['admin_state_up']))
2400
2400
  if 'weight' in local_var_params:
2401
2401
  query_params.append(('weight', local_var_params['weight']))
2402
+ if 'enterprise_project_id' in local_var_params:
2403
+ query_params.append(('enterprise_project_id', local_var_params['enterprise_project_id']))
2402
2404
 
2403
2405
  header_params = {}
2404
2406
 
@@ -2399,6 +2399,8 @@ class ElbClient(Client):
2399
2399
  query_params.append(('admin_state_up', local_var_params['admin_state_up']))
2400
2400
  if 'weight' in local_var_params:
2401
2401
  query_params.append(('weight', local_var_params['weight']))
2402
+ if 'enterprise_project_id' in local_var_params:
2403
+ query_params.append(('enterprise_project_id', local_var_params['enterprise_project_id']))
2402
2404
 
2403
2405
  header_params = {}
2404
2406
 
@@ -27,7 +27,8 @@ class ListMembersRequest:
27
27
  'protocol_port': 'int',
28
28
  'subnet_id': 'str',
29
29
  'admin_state_up': 'bool',
30
- 'weight': 'int'
30
+ 'weight': 'int',
31
+ 'enterprise_project_id': 'str'
31
32
  }
32
33
 
33
34
  attribute_map = {
@@ -41,10 +42,11 @@ class ListMembersRequest:
41
42
  'protocol_port': 'protocol_port',
42
43
  'subnet_id': 'subnet_id',
43
44
  'admin_state_up': 'admin_state_up',
44
- 'weight': 'weight'
45
+ 'weight': 'weight',
46
+ 'enterprise_project_id': 'enterprise_project_id'
45
47
  }
46
48
 
47
- def __init__(self, pool_id=None, limit=None, marker=None, page_reverse=None, id=None, name=None, address=None, protocol_port=None, subnet_id=None, admin_state_up=None, weight=None):
49
+ def __init__(self, pool_id=None, limit=None, marker=None, page_reverse=None, id=None, name=None, address=None, protocol_port=None, subnet_id=None, admin_state_up=None, weight=None, enterprise_project_id=None):
48
50
  """ListMembersRequest
49
51
 
50
52
  The model defined in huaweicloud sdk
@@ -71,6 +73,8 @@ class ListMembersRequest:
71
73
  :type admin_state_up: bool
72
74
  :param weight: 后端云服务器的权重。
73
75
  :type weight: int
76
+ :param enterprise_project_id: 企业项目ID。 不传时查询default企业项目(即enterprise_project_id=0)下的资源,鉴权按照default企业项目鉴权。 如果传值enterprise_project_id=all_granted_eps,则表示查询所有有权限的企业项目下的资源。 其他情况则传已存在的企业项目ID。此时会校验ID,若不存在或格式错误则报错。
77
+ :type enterprise_project_id: str
74
78
  """
75
79
 
76
80
 
@@ -86,6 +90,7 @@ class ListMembersRequest:
86
90
  self._subnet_id = None
87
91
  self._admin_state_up = None
88
92
  self._weight = None
93
+ self._enterprise_project_id = None
89
94
  self.discriminator = None
90
95
 
91
96
  self.pool_id = pool_id
@@ -109,6 +114,8 @@ class ListMembersRequest:
109
114
  self.admin_state_up = admin_state_up
110
115
  if weight is not None:
111
116
  self.weight = weight
117
+ if enterprise_project_id is not None:
118
+ self.enterprise_project_id = enterprise_project_id
112
119
 
113
120
  @property
114
121
  def pool_id(self):
@@ -352,6 +359,28 @@ class ListMembersRequest:
352
359
  """
353
360
  self._weight = weight
354
361
 
362
+ @property
363
+ def enterprise_project_id(self):
364
+ """Gets the enterprise_project_id of this ListMembersRequest.
365
+
366
+ 企业项目ID。 不传时查询default企业项目(即enterprise_project_id=0)下的资源,鉴权按照default企业项目鉴权。 如果传值enterprise_project_id=all_granted_eps,则表示查询所有有权限的企业项目下的资源。 其他情况则传已存在的企业项目ID。此时会校验ID,若不存在或格式错误则报错。
367
+
368
+ :return: The enterprise_project_id of this ListMembersRequest.
369
+ :rtype: str
370
+ """
371
+ return self._enterprise_project_id
372
+
373
+ @enterprise_project_id.setter
374
+ def enterprise_project_id(self, enterprise_project_id):
375
+ """Sets the enterprise_project_id of this ListMembersRequest.
376
+
377
+ 企业项目ID。 不传时查询default企业项目(即enterprise_project_id=0)下的资源,鉴权按照default企业项目鉴权。 如果传值enterprise_project_id=all_granted_eps,则表示查询所有有权限的企业项目下的资源。 其他情况则传已存在的企业项目ID。此时会校验ID,若不存在或格式错误则报错。
378
+
379
+ :param enterprise_project_id: The enterprise_project_id of this ListMembersRequest.
380
+ :type enterprise_project_id: str
381
+ """
382
+ self._enterprise_project_id = enterprise_project_id
383
+
355
384
  def to_dict(self):
356
385
  """Returns the model properties as a dict"""
357
386
  result = {}
@@ -7,7 +7,7 @@ class ElbRegion:
7
7
  _PROVIDER = RegionProviderChain.get_default_region_provider_chain("ELB")
8
8
 
9
9
  EU_WEST_101 = Region("eu-west-101",
10
- "https://elb.eu-west-101.myhuaweicloud.eu")
10
+ "https://elb.eu-west-101.myhuaweicloud.com")
11
11
  AF_SOUTH_1 = Region("af-south-1",
12
12
  "https://elb.af-south-1.myhuaweicloud.com")
13
13
  CN_NORTH_4 = Region("cn-north-4",
@@ -54,6 +54,18 @@ class ElbRegion:
54
54
  "https://elb.me-east-1.myhuaweicloud.com")
55
55
  MY_KUALALUMPUR_1 = Region("my-kualalumpur-1",
56
56
  "https://elb.my-kualalumpur-1.myhuaweicloud.com")
57
+ RU_MOSCOW_1 = Region("ru-moscow-1",
58
+ "https://elb.ru-moscow-1.myhuaweicloud.com")
59
+ CN_EAST_4 = Region("cn-east-4",
60
+ "https://elb.cn-east-4.myhuaweicloud.com")
61
+ AF_NORTH_1 = Region("af-north-1",
62
+ "https://elb.af-north-1.myhuaweicloud.com")
63
+ CN_EAST_5 = Region("cn-east-5",
64
+ "https://elb.cn-east-5.myhuaweicloud.com")
65
+ RU_NORTHWEST_2 = Region("ru-northwest-2",
66
+ "https://elb.ru-northwest-2.myhuaweicloud.com")
67
+ AP_SOUTHEAST_5 = Region("ap-southeast-5",
68
+ "https://elb.ap-southeast-5.myhuaweicloud.com")
57
69
 
58
70
  static_fields = {
59
71
  "eu-west-101": EU_WEST_101,
@@ -80,6 +92,12 @@ class ElbRegion:
80
92
  "eu-west-0": EU_WEST_0,
81
93
  "me-east-1": ME_EAST_1,
82
94
  "my-kualalumpur-1": MY_KUALALUMPUR_1,
95
+ "ru-moscow-1": RU_MOSCOW_1,
96
+ "cn-east-4": CN_EAST_4,
97
+ "af-north-1": AF_NORTH_1,
98
+ "cn-east-5": CN_EAST_5,
99
+ "ru-northwest-2": RU_NORTHWEST_2,
100
+ "ap-southeast-5": AP_SOUTHEAST_5,
83
101
  }
84
102
 
85
103
  @classmethod
@@ -46,6 +46,9 @@ from huaweicloudsdkelb.v3.model.connection_drain import ConnectionDrain
46
46
  from huaweicloudsdkelb.v3.model.count_preoccupy_ip_num_request import CountPreoccupyIpNumRequest
47
47
  from huaweicloudsdkelb.v3.model.count_preoccupy_ip_num_response import CountPreoccupyIpNumResponse
48
48
  from huaweicloudsdkelb.v3.model.create_certificate_option import CreateCertificateOption
49
+ from huaweicloudsdkelb.v3.model.create_certificate_private_key_echo_request import CreateCertificatePrivateKeyEchoRequest
50
+ from huaweicloudsdkelb.v3.model.create_certificate_private_key_echo_request_body import CreateCertificatePrivateKeyEchoRequestBody
51
+ from huaweicloudsdkelb.v3.model.create_certificate_private_key_echo_response import CreateCertificatePrivateKeyEchoResponse
49
52
  from huaweicloudsdkelb.v3.model.create_certificate_request import CreateCertificateRequest
50
53
  from huaweicloudsdkelb.v3.model.create_certificate_request_body import CreateCertificateRequestBody
51
54
  from huaweicloudsdkelb.v3.model.create_certificate_response import CreateCertificateResponse
@@ -54,6 +57,8 @@ from huaweicloudsdkelb.v3.model.create_health_monitor_option import CreateHealth
54
57
  from huaweicloudsdkelb.v3.model.create_health_monitor_request import CreateHealthMonitorRequest
55
58
  from huaweicloudsdkelb.v3.model.create_health_monitor_request_body import CreateHealthMonitorRequestBody
56
59
  from huaweicloudsdkelb.v3.model.create_health_monitor_response import CreateHealthMonitorResponse
60
+ from huaweicloudsdkelb.v3.model.create_insert_header_config import CreateInsertHeaderConfig
61
+ from huaweicloudsdkelb.v3.model.create_insert_headers_config import CreateInsertHeadersConfig
57
62
  from huaweicloudsdkelb.v3.model.create_ip_group_ip_option import CreateIpGroupIpOption
58
63
  from huaweicloudsdkelb.v3.model.create_ip_group_option import CreateIpGroupOption
59
64
  from huaweicloudsdkelb.v3.model.create_ip_group_request import CreateIpGroupRequest
@@ -100,8 +105,12 @@ from huaweicloudsdkelb.v3.model.create_pool_request_body import CreatePoolReques
100
105
  from huaweicloudsdkelb.v3.model.create_pool_response import CreatePoolResponse
101
106
  from huaweicloudsdkelb.v3.model.create_pool_session_persistence_option import CreatePoolSessionPersistenceOption
102
107
  from huaweicloudsdkelb.v3.model.create_pool_slow_start_option import CreatePoolSlowStartOption
108
+ from huaweicloudsdkelb.v3.model.create_redirect_pools_config import CreateRedirectPoolsConfig
103
109
  from huaweicloudsdkelb.v3.model.create_redirect_pools_extend_config import CreateRedirectPoolsExtendConfig
110
+ from huaweicloudsdkelb.v3.model.create_redirect_pools_sticky_session_config import CreateRedirectPoolsStickySessionConfig
104
111
  from huaweicloudsdkelb.v3.model.create_redirect_url_config import CreateRedirectUrlConfig
112
+ from huaweicloudsdkelb.v3.model.create_remove_header_config import CreateRemoveHeaderConfig
113
+ from huaweicloudsdkelb.v3.model.create_remove_headers_config import CreateRemoveHeadersConfig
105
114
  from huaweicloudsdkelb.v3.model.create_rewrite_url_config import CreateRewriteUrlConfig
106
115
  from huaweicloudsdkelb.v3.model.create_rule_condition import CreateRuleCondition
107
116
  from huaweicloudsdkelb.v3.model.create_rule_option import CreateRuleOption
@@ -109,6 +118,7 @@ from huaweicloudsdkelb.v3.model.create_security_policy_option import CreateSecur
109
118
  from huaweicloudsdkelb.v3.model.create_security_policy_request import CreateSecurityPolicyRequest
110
119
  from huaweicloudsdkelb.v3.model.create_security_policy_request_body import CreateSecurityPolicyRequestBody
111
120
  from huaweicloudsdkelb.v3.model.create_security_policy_response import CreateSecurityPolicyResponse
121
+ from huaweicloudsdkelb.v3.model.create_traffic_limit_config import CreateTrafficLimitConfig
112
122
  from huaweicloudsdkelb.v3.model.delete_certificate_request import DeleteCertificateRequest
113
123
  from huaweicloudsdkelb.v3.model.delete_certificate_response import DeleteCertificateResponse
114
124
  from huaweicloudsdkelb.v3.model.delete_health_monitor_request import DeleteHealthMonitorRequest
@@ -143,6 +153,8 @@ from huaweicloudsdkelb.v3.model.flavor import Flavor
143
153
  from huaweicloudsdkelb.v3.model.flavor_info import FlavorInfo
144
154
  from huaweicloudsdkelb.v3.model.global_eip_info import GlobalEipInfo
145
155
  from huaweicloudsdkelb.v3.model.health_monitor import HealthMonitor
156
+ from huaweicloudsdkelb.v3.model.insert_header_config import InsertHeaderConfig
157
+ from huaweicloudsdkelb.v3.model.insert_headers_config import InsertHeadersConfig
146
158
  from huaweicloudsdkelb.v3.model.ip_group import IpGroup
147
159
  from huaweicloudsdkelb.v3.model.ip_group_ip import IpGroupIp
148
160
  from huaweicloudsdkelb.v3.model.ip_info import IpInfo
@@ -205,10 +217,12 @@ from huaweicloudsdkelb.v3.model.master_slave_health_monitor import MasterSlaveHe
205
217
  from huaweicloudsdkelb.v3.model.master_slave_member import MasterSlaveMember
206
218
  from huaweicloudsdkelb.v3.model.master_slave_pool import MasterSlavePool
207
219
  from huaweicloudsdkelb.v3.model.member import Member
220
+ from huaweicloudsdkelb.v3.model.member_info import MemberInfo
208
221
  from huaweicloudsdkelb.v3.model.member_ref import MemberRef
209
222
  from huaweicloudsdkelb.v3.model.member_status import MemberStatus
210
223
  from huaweicloudsdkelb.v3.model.page_info import PageInfo
211
224
  from huaweicloudsdkelb.v3.model.pool import Pool
225
+ from huaweicloudsdkelb.v3.model.pool_health import PoolHealth
212
226
  from huaweicloudsdkelb.v3.model.pool_ref import PoolRef
213
227
  from huaweicloudsdkelb.v3.model.port_range import PortRange
214
228
  from huaweicloudsdkelb.v3.model.preoccupy_ip import PreoccupyIp
@@ -218,14 +232,20 @@ from huaweicloudsdkelb.v3.model.prepaid_update_option import PrepaidUpdateOption
218
232
  from huaweicloudsdkelb.v3.model.public_ip_info import PublicIpInfo
219
233
  from huaweicloudsdkelb.v3.model.quota import Quota
220
234
  from huaweicloudsdkelb.v3.model.quota_info import QuotaInfo
235
+ from huaweicloudsdkelb.v3.model.redirect_pools_config import RedirectPoolsConfig
221
236
  from huaweicloudsdkelb.v3.model.redirect_pools_extend_config import RedirectPoolsExtendConfig
237
+ from huaweicloudsdkelb.v3.model.redirect_pools_sticky_session_config import RedirectPoolsStickySessionConfig
222
238
  from huaweicloudsdkelb.v3.model.redirect_url_config import RedirectUrlConfig
239
+ from huaweicloudsdkelb.v3.model.remove_header_config import RemoveHeaderConfig
240
+ from huaweicloudsdkelb.v3.model.remove_headers_config import RemoveHeadersConfig
223
241
  from huaweicloudsdkelb.v3.model.resource_id import ResourceID
224
242
  from huaweicloudsdkelb.v3.model.rewrite_url_config import RewriteUrlConfig
225
243
  from huaweicloudsdkelb.v3.model.rule_condition import RuleCondition
226
244
  from huaweicloudsdkelb.v3.model.rule_ref import RuleRef
227
245
  from huaweicloudsdkelb.v3.model.security_policy import SecurityPolicy
228
246
  from huaweicloudsdkelb.v3.model.session_persistence import SessionPersistence
247
+ from huaweicloudsdkelb.v3.model.show_certificate_private_key_echo_request import ShowCertificatePrivateKeyEchoRequest
248
+ from huaweicloudsdkelb.v3.model.show_certificate_private_key_echo_response import ShowCertificatePrivateKeyEchoResponse
229
249
  from huaweicloudsdkelb.v3.model.show_certificate_request import ShowCertificateRequest
230
250
  from huaweicloudsdkelb.v3.model.show_certificate_response import ShowCertificateResponse
231
251
  from huaweicloudsdkelb.v3.model.show_flavor_request import ShowFlavorRequest
@@ -259,6 +279,7 @@ from huaweicloudsdkelb.v3.model.show_security_policy_response import ShowSecurit
259
279
  from huaweicloudsdkelb.v3.model.slow_start import SlowStart
260
280
  from huaweicloudsdkelb.v3.model.system_security_policy import SystemSecurityPolicy
261
281
  from huaweicloudsdkelb.v3.model.tag import Tag
282
+ from huaweicloudsdkelb.v3.model.traffic_limit_config import TrafficLimitConfig
262
283
  from huaweicloudsdkelb.v3.model.upadate_ip_group_ip_option import UpadateIpGroupIpOption
263
284
  from huaweicloudsdkelb.v3.model.update_certificate_option import UpdateCertificateOption
264
285
  from huaweicloudsdkelb.v3.model.update_certificate_request import UpdateCertificateRequest
@@ -269,6 +290,8 @@ from huaweicloudsdkelb.v3.model.update_health_monitor_option import UpdateHealth
269
290
  from huaweicloudsdkelb.v3.model.update_health_monitor_request import UpdateHealthMonitorRequest
270
291
  from huaweicloudsdkelb.v3.model.update_health_monitor_request_body import UpdateHealthMonitorRequestBody
271
292
  from huaweicloudsdkelb.v3.model.update_health_monitor_response import UpdateHealthMonitorResponse
293
+ from huaweicloudsdkelb.v3.model.update_insert_header_config import UpdateInsertHeaderConfig
294
+ from huaweicloudsdkelb.v3.model.update_insert_headers_config import UpdateInsertHeadersConfig
272
295
  from huaweicloudsdkelb.v3.model.update_ip_group_option import UpdateIpGroupOption
273
296
  from huaweicloudsdkelb.v3.model.update_ip_group_request import UpdateIpGroupRequest
274
297
  from huaweicloudsdkelb.v3.model.update_ip_group_request_body import UpdateIpGroupRequestBody
@@ -310,11 +333,17 @@ from huaweicloudsdkelb.v3.model.update_pool_request_body import UpdatePoolReques
310
333
  from huaweicloudsdkelb.v3.model.update_pool_response import UpdatePoolResponse
311
334
  from huaweicloudsdkelb.v3.model.update_pool_session_persistence_option import UpdatePoolSessionPersistenceOption
312
335
  from huaweicloudsdkelb.v3.model.update_pool_slow_start_option import UpdatePoolSlowStartOption
336
+ from huaweicloudsdkelb.v3.model.update_redirect_pools_config import UpdateRedirectPoolsConfig
313
337
  from huaweicloudsdkelb.v3.model.update_redirect_pools_extend_config import UpdateRedirectPoolsExtendConfig
338
+ from huaweicloudsdkelb.v3.model.update_redirect_pools_sticky_session_config import UpdateRedirectPoolsStickySessionConfig
314
339
  from huaweicloudsdkelb.v3.model.update_redirect_url_config import UpdateRedirectUrlConfig
340
+ from huaweicloudsdkelb.v3.model.update_remove_header_config import UpdateRemoveHeaderConfig
341
+ from huaweicloudsdkelb.v3.model.update_remove_headers_config import UpdateRemoveHeadersConfig
342
+ from huaweicloudsdkelb.v3.model.update_rewrite_url_config import UpdateRewriteUrlConfig
315
343
  from huaweicloudsdkelb.v3.model.update_rule_condition import UpdateRuleCondition
316
344
  from huaweicloudsdkelb.v3.model.update_security_policy_option import UpdateSecurityPolicyOption
317
345
  from huaweicloudsdkelb.v3.model.update_security_policy_request import UpdateSecurityPolicyRequest
318
346
  from huaweicloudsdkelb.v3.model.update_security_policy_request_body import UpdateSecurityPolicyRequestBody
319
347
  from huaweicloudsdkelb.v3.model.update_security_policy_response import UpdateSecurityPolicyResponse
348
+ from huaweicloudsdkelb.v3.model.update_traffic_limit_config import UpdateTrafficLimitConfig
320
349
 
@@ -566,6 +566,71 @@ class ElbAsyncClient(Client):
566
566
 
567
567
  return http_info
568
568
 
569
+ def create_certificate_private_key_echo_async(self, request):
570
+ """修改证书私钥字段回显开关
571
+
572
+ 开启或关闭证书私钥字段回显开关。
573
+
574
+ Please refer to HUAWEI cloud API Explorer for details.
575
+
576
+
577
+ :param request: Request instance for CreateCertificatePrivateKeyEcho
578
+ :type request: :class:`huaweicloudsdkelb.v3.CreateCertificatePrivateKeyEchoRequest`
579
+ :rtype: :class:`huaweicloudsdkelb.v3.CreateCertificatePrivateKeyEchoResponse`
580
+ """
581
+ http_info = self._create_certificate_private_key_echo_http_info(request)
582
+ return self._call_api(**http_info)
583
+
584
+ def create_certificate_private_key_echo_async_invoker(self, request):
585
+ http_info = self._create_certificate_private_key_echo_http_info(request)
586
+ return AsyncInvoker(self, http_info)
587
+
588
+ def _create_certificate_private_key_echo_http_info(self, 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_async(self, request):
570
635
  """创建健康检查
571
636
 
@@ -831,22 +896,20 @@ class ElbAsyncClient(Client):
831
896
  def create_load_balancer_async(self, request):
832
897
  """创建负载均衡器
833
898
 
834
- 创建负载均衡器。
835
- 1. 若要创建内网IPv4负载均衡器,则需要设置vip_subnet_cidr_id。
836
- 2. 若要创建公网IPv4负载均衡器,则需要设置publicip,以及设置vpc_id和vip_subnet_cidr_id这两个参数中的一个。
837
- 3. 若要绑定有已有公网IPv4地址,
838
- 则需要设置publicip_ids,以及设置vpc_id和vip_subnet_cidr_id这两个参数中的一个。
839
- 4. 若要创建内网双栈负载均衡器,则需要设置ipv6_vip_virsubnet_id。
840
- 5. 若要创建公网双栈负载均衡器,则需要设置ipv6_vip_virsubnet_idipv6_bandwidth
841
- 6. 不支持绑定已有未使用的内网IPv4、内网IPv6或公网IPv6地址。
842
- 7. l4_flavor_id需要传入网络型规格id,l7_flavor_id需要传入应用型规格id
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_idl7_flavor_id
906
+ 7. 若要创建包周期负载均衡器,则需要传入prepaid_options,否则创建按需计费负载均衡器。
907
+ 8. 按需计费分为固定规格计费和弹性规格计费,根据创建时所选规格的类型决定计费方式。具体规格说明见创建LB请求参数l4_flavor_idl7_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 ElbAsyncClient(Client):
911
974
  def create_logtank_async(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 ElbAsyncClient(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 ElbAsyncClient(Client):
1762
1825
  def delete_logtank_async(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 ElbAsyncClient(Client):
2024
2087
  def delete_security_policy_async(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 ElbAsyncClient(Client):
2089
2152
  def list_all_members_async(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 ElbAsyncClient(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 ElbAsyncClient(Client):
2352
2421
  def list_flavors_async(self, request):
2353
2422
  """查询规格列表
2354
2423
 
2355
- 查询租户在当前region下可用的负载均衡规格列表。
2424
+ 查询当前region下可用的负载均衡规格列表。
2356
2425
 
2357
2426
  Please refer to HUAWEI cloud API Explorer for details.
2358
2427
 
@@ -3047,7 +3116,7 @@ class ElbAsyncClient(Client):
3047
3116
  def list_logtanks_async(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 ElbAsyncClient(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 ElbAsyncClient(Client):
3542
3617
  def list_security_policies_async(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 ElbAsyncClient(Client):
3753
3828
 
3754
3829
  return http_info
3755
3830
 
3831
+ def show_certificate_private_key_echo_async(self, request):
3832
+ """查询证书私钥字段回显开关
3833
+
3834
+ 查询证书私钥回显开关当前的状态,开启或关闭。
3835
+
3836
+ Please refer to HUAWEI cloud API Explorer for details.
3837
+
3838
+
3839
+ :param request: Request instance for ShowCertificatePrivateKeyEcho
3840
+ :type request: :class:`huaweicloudsdkelb.v3.ShowCertificatePrivateKeyEchoRequest`
3841
+ :rtype: :class:`huaweicloudsdkelb.v3.ShowCertificatePrivateKeyEchoResponse`
3842
+ """
3843
+ http_info = self._show_certificate_private_key_echo_http_info(request)
3844
+ return self._call_api(**http_info)
3845
+
3846
+ def show_certificate_private_key_echo_async_invoker(self, request):
3847
+ http_info = self._show_certificate_private_key_echo_http_info(request)
3848
+ return AsyncInvoker(self, http_info)
3849
+
3850
+ def _show_certificate_private_key_echo_http_info(self, 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_async(self, request):
3757
3895
  """查询规格详情
3758
3896
 
@@ -4216,7 +4354,7 @@ class ElbAsyncClient(Client):
4216
4354
  def show_logtank_async(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 ElbAsyncClient(Client):
4541
4679
  def show_security_policy_async(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 ElbAsyncClient(Client):
5010
5148
  def update_logtank_async(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 ElbAsyncClient(Client):
5213
5351
  def update_security_policy_async(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 ElbAsyncClient(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 ElbAsyncClient(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 ElbAsyncClient(Client):
5568
5706
  def delete_ip_group_async(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 ElbAsyncClient(Client):
5633
5771
  def list_ip_groups_async(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 ElbAsyncClient(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 ElbAsyncClient(Client):
5714
5855
  def show_ip_group_async(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 ElbAsyncClient(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