huaweicloudsdkelb 3.1.105__py2.py3-none-any.whl → 3.1.106__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 (142) hide show
  1. huaweicloudsdkelb/v3/__init__.py +29 -0
  2. huaweicloudsdkelb/v3/elb_async_client.py +171 -34
  3. huaweicloudsdkelb/v3/elb_client.py +171 -34
  4. huaweicloudsdkelb/v3/model/__init__.py +29 -0
  5. huaweicloudsdkelb/v3/model/availability_zone.py +3 -3
  6. huaweicloudsdkelb/v3/model/batch_add_available_zones_response.py +6 -6
  7. huaweicloudsdkelb/v3/model/batch_create_members_option.py +3 -3
  8. huaweicloudsdkelb/v3/model/batch_delete_ip_list_option.py +3 -3
  9. huaweicloudsdkelb/v3/model/batch_delete_ip_list_request.py +3 -3
  10. huaweicloudsdkelb/v3/model/batch_delete_ip_list_response.py +3 -3
  11. huaweicloudsdkelb/v3/model/batch_member.py +67 -9
  12. huaweicloudsdkelb/v3/model/batch_update_member.py +67 -9
  13. huaweicloudsdkelb/v3/model/batch_update_priority_request_body.py +3 -3
  14. huaweicloudsdkelb/v3/model/certificate_info.py +93 -6
  15. huaweicloudsdkelb/v3/model/change_loadbalancer_charge_mode_request_body.py +3 -3
  16. huaweicloudsdkelb/v3/model/connection_drain.py +3 -3
  17. huaweicloudsdkelb/v3/model/count_preoccupy_ip_num_request.py +6 -6
  18. huaweicloudsdkelb/v3/model/create_certificate_option.py +5 -4
  19. huaweicloudsdkelb/v3/model/create_certificate_private_key_echo_request.py +111 -0
  20. huaweicloudsdkelb/v3/model/create_certificate_private_key_echo_request_body.py +114 -0
  21. huaweicloudsdkelb/v3/model/create_certificate_private_key_echo_response.py +145 -0
  22. huaweicloudsdkelb/v3/model/create_fixted_response_config.py +78 -3
  23. huaweicloudsdkelb/v3/model/create_health_monitor_option.py +9 -9
  24. huaweicloudsdkelb/v3/model/create_insert_header_config.py +170 -0
  25. huaweicloudsdkelb/v3/model/create_insert_headers_config.py +114 -0
  26. huaweicloudsdkelb/v3/model/create_ip_group_ip_option.py +6 -6
  27. huaweicloudsdkelb/v3/model/create_ip_group_option.py +15 -15
  28. huaweicloudsdkelb/v3/model/create_ip_group_response.py +3 -3
  29. huaweicloudsdkelb/v3/model/create_l7_policy_option.py +61 -7
  30. huaweicloudsdkelb/v3/model/create_l7_policy_rule_option.py +6 -6
  31. huaweicloudsdkelb/v3/model/create_listener_ip_group_option.py +3 -3
  32. huaweicloudsdkelb/v3/model/create_listener_option.py +33 -33
  33. huaweicloudsdkelb/v3/model/create_load_balancer_bandwidth_option.py +18 -18
  34. huaweicloudsdkelb/v3/model/create_load_balancer_option.py +76 -105
  35. huaweicloudsdkelb/v3/model/create_load_balancer_public_ip_option.py +12 -12
  36. huaweicloudsdkelb/v3/model/create_load_balancer_response.py +6 -6
  37. huaweicloudsdkelb/v3/model/create_loadbalancer_autoscaling_option.py +6 -6
  38. huaweicloudsdkelb/v3/model/create_master_slave_health_monitor_option.py +6 -6
  39. huaweicloudsdkelb/v3/model/create_master_slave_member_option.py +3 -3
  40. huaweicloudsdkelb/v3/model/create_master_slave_pool_option.py +6 -6
  41. huaweicloudsdkelb/v3/model/create_member_option.py +6 -6
  42. huaweicloudsdkelb/v3/model/create_pool_option.py +84 -30
  43. huaweicloudsdkelb/v3/model/create_redirect_pools_config.py +143 -0
  44. huaweicloudsdkelb/v3/model/create_redirect_pools_extend_config.py +81 -6
  45. huaweicloudsdkelb/v3/model/create_redirect_pools_sticky_session_config.py +144 -0
  46. huaweicloudsdkelb/v3/model/create_redirect_url_config.py +53 -3
  47. huaweicloudsdkelb/v3/model/create_remove_header_config.py +114 -0
  48. huaweicloudsdkelb/v3/model/create_remove_headers_config.py +114 -0
  49. huaweicloudsdkelb/v3/model/create_rewrite_url_config.py +9 -9
  50. huaweicloudsdkelb/v3/model/create_rule_option.py +6 -6
  51. huaweicloudsdkelb/v3/model/create_traffic_limit_config.py +173 -0
  52. huaweicloudsdkelb/v3/model/delete_ip_group_request.py +3 -3
  53. huaweicloudsdkelb/v3/model/fixted_response_config.py +78 -3
  54. huaweicloudsdkelb/v3/model/flavor.py +79 -21
  55. huaweicloudsdkelb/v3/model/health_monitor.py +9 -9
  56. huaweicloudsdkelb/v3/model/insert_header_config.py +170 -0
  57. huaweicloudsdkelb/v3/model/insert_headers_config.py +114 -0
  58. huaweicloudsdkelb/v3/model/ip_group.py +119 -90
  59. huaweicloudsdkelb/v3/model/ip_group_ip.py +3 -3
  60. huaweicloudsdkelb/v3/model/ip_info.py +6 -6
  61. huaweicloudsdkelb/v3/model/l7_policy.py +67 -13
  62. huaweicloudsdkelb/v3/model/l7_rule.py +15 -15
  63. huaweicloudsdkelb/v3/model/list_all_members_request.py +3 -3
  64. huaweicloudsdkelb/v3/model/list_all_members_response.py +4 -4
  65. huaweicloudsdkelb/v3/model/list_certificates_request.py +64 -6
  66. huaweicloudsdkelb/v3/model/list_flavors_request.py +21 -21
  67. huaweicloudsdkelb/v3/model/list_flavors_response.py +6 -6
  68. huaweicloudsdkelb/v3/model/list_health_monitors_request.py +12 -12
  69. huaweicloudsdkelb/v3/model/list_ip_groups_request.py +53 -24
  70. huaweicloudsdkelb/v3/model/list_ip_groups_response.py +6 -6
  71. huaweicloudsdkelb/v3/model/list_l7_policies_request.py +3 -3
  72. huaweicloudsdkelb/v3/model/list_l7_rules_request.py +3 -3
  73. huaweicloudsdkelb/v3/model/list_listeners_request.py +24 -24
  74. huaweicloudsdkelb/v3/model/list_load_balancers_request.py +30 -30
  75. huaweicloudsdkelb/v3/model/list_logtanks_request.py +3 -3
  76. huaweicloudsdkelb/v3/model/list_master_slave_pools_request.py +6 -6
  77. huaweicloudsdkelb/v3/model/list_members_request.py +3 -3
  78. huaweicloudsdkelb/v3/model/list_pools_request.py +105 -18
  79. huaweicloudsdkelb/v3/model/list_security_policies_request.py +3 -3
  80. huaweicloudsdkelb/v3/model/listener.py +27 -27
  81. huaweicloudsdkelb/v3/model/listener_ref.py +3 -3
  82. huaweicloudsdkelb/v3/model/load_balancer.py +27 -27
  83. huaweicloudsdkelb/v3/model/load_balancer_status_policy.py +3 -3
  84. huaweicloudsdkelb/v3/model/master_slave_health_monitor.py +6 -6
  85. huaweicloudsdkelb/v3/model/master_slave_member.py +3 -3
  86. huaweicloudsdkelb/v3/model/master_slave_pool.py +15 -15
  87. huaweicloudsdkelb/v3/model/member.py +13 -158
  88. huaweicloudsdkelb/v3/model/member_info.py +656 -0
  89. huaweicloudsdkelb/v3/model/page_info.py +9 -9
  90. huaweicloudsdkelb/v3/model/pool.py +110 -27
  91. huaweicloudsdkelb/v3/model/pool_health.py +115 -0
  92. huaweicloudsdkelb/v3/model/prepaid_create_option.py +12 -12
  93. huaweicloudsdkelb/v3/model/quota.py +12 -12
  94. huaweicloudsdkelb/v3/model/quota_info.py +3 -3
  95. huaweicloudsdkelb/v3/model/redirect_pools_config.py +144 -0
  96. huaweicloudsdkelb/v3/model/redirect_pools_extend_config.py +81 -6
  97. huaweicloudsdkelb/v3/model/redirect_pools_sticky_session_config.py +144 -0
  98. huaweicloudsdkelb/v3/model/redirect_url_config.py +65 -9
  99. huaweicloudsdkelb/v3/model/remove_header_config.py +114 -0
  100. huaweicloudsdkelb/v3/model/remove_headers_config.py +114 -0
  101. huaweicloudsdkelb/v3/model/rewrite_url_config.py +9 -9
  102. huaweicloudsdkelb/v3/model/session_persistence.py +6 -6
  103. huaweicloudsdkelb/v3/model/show_certificate_private_key_echo_request.py +84 -0
  104. huaweicloudsdkelb/v3/model/show_certificate_private_key_echo_response.py +145 -0
  105. huaweicloudsdkelb/v3/model/show_flavor_request.py +3 -3
  106. huaweicloudsdkelb/v3/model/show_flavor_response.py +3 -3
  107. huaweicloudsdkelb/v3/model/show_ip_group_request.py +3 -3
  108. huaweicloudsdkelb/v3/model/show_ip_group_response.py +3 -3
  109. huaweicloudsdkelb/v3/model/traffic_limit_config.py +173 -0
  110. huaweicloudsdkelb/v3/model/upadate_ip_group_ip_option.py +6 -6
  111. huaweicloudsdkelb/v3/model/update_certificate_option.py +3 -3
  112. huaweicloudsdkelb/v3/model/update_fixted_response_config.py +78 -3
  113. huaweicloudsdkelb/v3/model/update_health_monitor_option.py +9 -9
  114. huaweicloudsdkelb/v3/model/update_insert_header_config.py +170 -0
  115. huaweicloudsdkelb/v3/model/update_insert_headers_config.py +114 -0
  116. huaweicloudsdkelb/v3/model/update_ip_group_option.py +9 -9
  117. huaweicloudsdkelb/v3/model/update_ip_group_request.py +3 -3
  118. huaweicloudsdkelb/v3/model/update_ip_group_response.py +3 -3
  119. huaweicloudsdkelb/v3/model/update_ip_list_option.py +9 -9
  120. huaweicloudsdkelb/v3/model/update_ip_list_request.py +3 -3
  121. huaweicloudsdkelb/v3/model/update_ip_list_response.py +3 -3
  122. huaweicloudsdkelb/v3/model/update_l7_policy_option.py +58 -4
  123. huaweicloudsdkelb/v3/model/update_l7_rule_option.py +3 -3
  124. huaweicloudsdkelb/v3/model/update_listener_ip_group_option.py +6 -6
  125. huaweicloudsdkelb/v3/model/update_listener_option.py +24 -24
  126. huaweicloudsdkelb/v3/model/update_load_balancer_option.py +24 -24
  127. huaweicloudsdkelb/v3/model/update_load_balancer_response.py +6 -6
  128. huaweicloudsdkelb/v3/model/update_pool_option.py +37 -12
  129. huaweicloudsdkelb/v3/model/update_pool_session_persistence_option.py +6 -6
  130. huaweicloudsdkelb/v3/model/update_redirect_pools_config.py +143 -0
  131. huaweicloudsdkelb/v3/model/update_redirect_pools_extend_config.py +81 -6
  132. huaweicloudsdkelb/v3/model/update_redirect_pools_sticky_session_config.py +144 -0
  133. huaweicloudsdkelb/v3/model/update_redirect_url_config.py +53 -3
  134. huaweicloudsdkelb/v3/model/update_remove_header_config.py +114 -0
  135. huaweicloudsdkelb/v3/model/update_remove_headers_config.py +114 -0
  136. huaweicloudsdkelb/v3/model/update_rewrite_url_config.py +173 -0
  137. huaweicloudsdkelb/v3/model/update_traffic_limit_config.py +173 -0
  138. {huaweicloudsdkelb-3.1.105.dist-info → huaweicloudsdkelb-3.1.106.dist-info}/METADATA +2 -2
  139. {huaweicloudsdkelb-3.1.105.dist-info → huaweicloudsdkelb-3.1.106.dist-info}/RECORD +142 -113
  140. {huaweicloudsdkelb-3.1.105.dist-info → huaweicloudsdkelb-3.1.106.dist-info}/LICENSE +0 -0
  141. {huaweicloudsdkelb-3.1.105.dist-info → huaweicloudsdkelb-3.1.106.dist-info}/WHEEL +0 -0
  142. {huaweicloudsdkelb-3.1.105.dist-info → huaweicloudsdkelb-3.1.106.dist-info}/top_level.txt +0 -0
@@ -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,16 @@ 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类型的负载均衡器,指定loadbalancer_type=“gateway”,不支持指定vip_address,ipv6_vip_address, 不支持公网类型。如果要指定规格,则从请求参数gw_flavor_id传入。](tag:hws_eu)
850
909
 
851
910
  Please refer to HUAWEI cloud API Explorer for details.
852
911
 
@@ -911,7 +970,7 @@ class ElbAsyncClient(Client):
911
970
  def create_logtank_async(self, request):
912
971
  """创建云日志
913
972
 
914
- 创建云日志。[荷兰region不支持云日志功能,请勿使用。](tag:dt)
973
+ 创建云日志。[荷兰region不支持云日志功能,请勿使用。](tag:dt,dt_test)
915
974
 
916
975
  Please refer to HUAWEI cloud API Explorer for details.
917
976
 
@@ -1175,7 +1234,7 @@ class ElbAsyncClient(Client):
1175
1234
 
1176
1235
  创建自定义安全策略。用于在创建HTTPS监听器时,请求参数中指定security_policy_id来设置监听器的自定义安全策略。
1177
1236
 
1178
- [荷兰region不支持自定义安全策略功能,请勿使用。](tag:dt)
1237
+ [荷兰region不支持自定义安全策略功能,请勿使用。](tag:dt,dt_test)
1179
1238
 
1180
1239
  Please refer to HUAWEI cloud API Explorer for details.
1181
1240
 
@@ -1762,7 +1821,7 @@ class ElbAsyncClient(Client):
1762
1821
  def delete_logtank_async(self, request):
1763
1822
  """删除云日志
1764
1823
 
1765
- 删除云日志。[荷兰region不支持云日志功能,请勿使用。](tag:dt)
1824
+ 删除云日志。[荷兰region不支持云日志功能,请勿使用。](tag:dt,dt_test)
1766
1825
 
1767
1826
  Please refer to HUAWEI cloud API Explorer for details.
1768
1827
 
@@ -2024,7 +2083,7 @@ class ElbAsyncClient(Client):
2024
2083
  def delete_security_policy_async(self, request):
2025
2084
  """删除自定义安全策略
2026
2085
 
2027
- 删除自定义安全策略。[荷兰region不支持自定义安全策略功能,请勿使用。](tag:dt)
2086
+ 删除自定义安全策略。[荷兰region不支持自定义安全策略功能,请勿使用。](tag:dt,dt_test)
2028
2087
 
2029
2088
  Please refer to HUAWEI cloud API Explorer for details.
2030
2089
 
@@ -2089,7 +2148,7 @@ class ElbAsyncClient(Client):
2089
2148
  def list_all_members_async(self, request):
2090
2149
  """后端服务器全局列表
2091
2150
 
2092
- 查询当前租户下的后端服务器列表。
2151
+ 查询当前项目下的后端服务器列表。
2093
2152
 
2094
2153
  Please refer to HUAWEI cloud API Explorer for details.
2095
2154
 
@@ -2322,6 +2381,12 @@ class ElbAsyncClient(Client):
2322
2381
  if 'type' in local_var_params:
2323
2382
  query_params.append(('type', local_var_params['type']))
2324
2383
  collection_formats['type'] = 'multi'
2384
+ if 'common_name' in local_var_params:
2385
+ query_params.append(('common_name', local_var_params['common_name']))
2386
+ collection_formats['common_name'] = 'multi'
2387
+ if 'fingerprint' in local_var_params:
2388
+ query_params.append(('fingerprint', local_var_params['fingerprint']))
2389
+ collection_formats['fingerprint'] = 'multi'
2325
2390
 
2326
2391
  header_params = {}
2327
2392
 
@@ -2352,7 +2417,7 @@ class ElbAsyncClient(Client):
2352
2417
  def list_flavors_async(self, request):
2353
2418
  """查询规格列表
2354
2419
 
2355
- 查询租户在当前region下可用的负载均衡规格列表。
2420
+ 查询当前region下可用的负载均衡规格列表。
2356
2421
 
2357
2422
  Please refer to HUAWEI cloud API Explorer for details.
2358
2423
 
@@ -3047,7 +3112,7 @@ class ElbAsyncClient(Client):
3047
3112
  def list_logtanks_async(self, request):
3048
3113
  """查询云日志列表
3049
3114
 
3050
- 查询云日志列表。[荷兰region不支持云日志功能,请勿使用。](tag:dt)
3115
+ 查询云日志列表。[荷兰region不支持云日志功能,请勿使用。](tag:dt,dt_test)
3051
3116
 
3052
3117
  Please refer to HUAWEI cloud API Explorer for details.
3053
3118
 
@@ -3446,6 +3511,12 @@ class ElbAsyncClient(Client):
3446
3511
  collection_formats['protection_status'] = 'csv'
3447
3512
  if 'connection_drain' in local_var_params:
3448
3513
  query_params.append(('connection_drain', local_var_params['connection_drain']))
3514
+ if 'pool_health' in local_var_params:
3515
+ query_params.append(('pool_health', local_var_params['pool_health']))
3516
+ if 'any_port_enable' in local_var_params:
3517
+ query_params.append(('any_port_enable', local_var_params['any_port_enable']))
3518
+ if 'public_border_group' in local_var_params:
3519
+ query_params.append(('public_border_group', local_var_params['public_border_group']))
3449
3520
 
3450
3521
  header_params = {}
3451
3522
 
@@ -3542,7 +3613,7 @@ class ElbAsyncClient(Client):
3542
3613
  def list_security_policies_async(self, request):
3543
3614
  """查询自定义安全策略列表
3544
3615
 
3545
- 查询自定义安全策略列表。[荷兰region不支持自定义安全策略功能,请勿使用。](tag:dt)
3616
+ 查询自定义安全策略列表。[荷兰region不支持自定义安全策略功能,请勿使用。](tag:dt,dt_test)
3546
3617
 
3547
3618
  Please refer to HUAWEI cloud API Explorer for details.
3548
3619
 
@@ -3753,6 +3824,69 @@ class ElbAsyncClient(Client):
3753
3824
 
3754
3825
  return http_info
3755
3826
 
3827
+ def show_certificate_private_key_echo_async(self, request):
3828
+ """查询证书私钥字段回显开关
3829
+
3830
+ 查询证书私钥回显开关当前的状态,开启或关闭。
3831
+
3832
+ Please refer to HUAWEI cloud API Explorer for details.
3833
+
3834
+
3835
+ :param request: Request instance for ShowCertificatePrivateKeyEcho
3836
+ :type request: :class:`huaweicloudsdkelb.v3.ShowCertificatePrivateKeyEchoRequest`
3837
+ :rtype: :class:`huaweicloudsdkelb.v3.ShowCertificatePrivateKeyEchoResponse`
3838
+ """
3839
+ http_info = self._show_certificate_private_key_echo_http_info(request)
3840
+ return self._call_api(**http_info)
3841
+
3842
+ def show_certificate_private_key_echo_async_invoker(self, request):
3843
+ http_info = self._show_certificate_private_key_echo_http_info(request)
3844
+ return AsyncInvoker(self, http_info)
3845
+
3846
+ def _show_certificate_private_key_echo_http_info(self, request):
3847
+ http_info = {
3848
+ "method": "GET",
3849
+ "resource_path": "/v3/{project_id}/elb/certificates/settings/private-key-echo",
3850
+ "request_type": request.__class__.__name__,
3851
+ "response_type": "ShowCertificatePrivateKeyEchoResponse"
3852
+ }
3853
+
3854
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
3855
+
3856
+ cname = None
3857
+
3858
+ collection_formats = {}
3859
+
3860
+ path_params = {}
3861
+
3862
+ query_params = []
3863
+
3864
+ header_params = {}
3865
+
3866
+ form_params = {}
3867
+
3868
+ body = None
3869
+ if isinstance(request, SdkStreamRequest):
3870
+ body = request.get_file_stream()
3871
+
3872
+ response_headers = []
3873
+
3874
+ header_params['Content-Type'] = http_utils.select_header_content_type(
3875
+ ['application/json'])
3876
+
3877
+ auth_settings = []
3878
+
3879
+ http_info["cname"] = cname
3880
+ http_info["collection_formats"] = collection_formats
3881
+ http_info["path_params"] = path_params
3882
+ http_info["query_params"] = query_params
3883
+ http_info["header_params"] = header_params
3884
+ http_info["post_params"] = form_params
3885
+ http_info["body"] = body
3886
+ http_info["response_headers"] = response_headers
3887
+
3888
+ return http_info
3889
+
3756
3890
  def show_flavor_async(self, request):
3757
3891
  """查询规格详情
3758
3892
 
@@ -4216,7 +4350,7 @@ class ElbAsyncClient(Client):
4216
4350
  def show_logtank_async(self, request):
4217
4351
  """查询云日志详情
4218
4352
 
4219
- 云日志详情。[荷兰region不支持云日志功能,请勿使用。](tag:dt)
4353
+ 云日志详情。[荷兰region不支持云日志功能,请勿使用。](tag:dt,dt_test)
4220
4354
 
4221
4355
  Please refer to HUAWEI cloud API Explorer for details.
4222
4356
 
@@ -4541,7 +4675,7 @@ class ElbAsyncClient(Client):
4541
4675
  def show_security_policy_async(self, request):
4542
4676
  """查询自定义安全策略详情
4543
4677
 
4544
- 查询自定义安全策略详情。[荷兰region不支持自定义安全策略功能,请勿使用。](tag:dt)
4678
+ 查询自定义安全策略详情。[荷兰region不支持自定义安全策略功能,请勿使用。](tag:dt,dt_test)
4545
4679
 
4546
4680
  Please refer to HUAWEI cloud API Explorer for details.
4547
4681
 
@@ -5010,7 +5144,7 @@ class ElbAsyncClient(Client):
5010
5144
  def update_logtank_async(self, request):
5011
5145
  """更新云日志
5012
5146
 
5013
- 更新云日志。[荷兰region不支持云日志功能,请勿使用。](tag:dt)
5147
+ 更新云日志。[荷兰region不支持云日志功能,请勿使用。](tag:dt,dt_test)
5014
5148
 
5015
5149
  Please refer to HUAWEI cloud API Explorer for details.
5016
5150
 
@@ -5213,7 +5347,7 @@ class ElbAsyncClient(Client):
5213
5347
  def update_security_policy_async(self, request):
5214
5348
  """更新自定义安全策略
5215
5349
 
5216
- 更新自定义安全策略。[荷兰region不支持自定义安全策略功能,请勿使用。](tag:dt)
5350
+ 更新自定义安全策略。[荷兰region不支持自定义安全策略功能,请勿使用。](tag:dt,dt_test)
5217
5351
 
5218
5352
  Please refer to HUAWEI cloud API Explorer for details.
5219
5353
 
@@ -5425,7 +5559,7 @@ class ElbAsyncClient(Client):
5425
5559
  - 计算出来的预占IP数大于等于最终实际占用的IP数。
5426
5560
  - 总占用IP数量,即整个LB所占用的IP数量。
5427
5561
 
5428
- [不支持传入l7_flavor_id](tag:hcso,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
5562
+ [不支持传入l7_flavor_id](tag:hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
5429
5563
 
5430
5564
  Please refer to HUAWEI cloud API Explorer for details.
5431
5565
 
@@ -5503,7 +5637,7 @@ class ElbAsyncClient(Client):
5503
5637
 
5504
5638
  需要注意0.0.0.0与0.0.0.0/32视为重复,0:0:0:0:0:0:0:1与::1与::1/128视为重复,只会保存其中一个。
5505
5639
 
5506
- [荷兰region不支持IP地址组功能,请勿使用。](tag:dt)
5640
+ [荷兰region不支持IP地址组功能,请勿使用。](tag:dt,dt_test)
5507
5641
 
5508
5642
  Please refer to HUAWEI cloud API Explorer for details.
5509
5643
 
@@ -5568,7 +5702,7 @@ class ElbAsyncClient(Client):
5568
5702
  def delete_ip_group_async(self, request):
5569
5703
  """删除IP地址组
5570
5704
 
5571
- 删除ip地址组。[荷兰region不支持IP地址组功能,请勿使用。](tag:dt)
5705
+ 删除ip地址组。[荷兰region不支持IP地址组功能,请勿使用。](tag:dt,dt_test)
5572
5706
 
5573
5707
  Please refer to HUAWEI cloud API Explorer for details.
5574
5708
 
@@ -5633,7 +5767,7 @@ class ElbAsyncClient(Client):
5633
5767
  def list_ip_groups_async(self, request):
5634
5768
  """查询IP地址组列表
5635
5769
 
5636
- 查询IP地址组列表。[荷兰region不支持IP地址组功能,请勿使用。](tag:dt)
5770
+ 查询IP地址组列表。[荷兰region不支持IP地址组功能,请勿使用。](tag:dt,dt_test)
5637
5771
 
5638
5772
  Please refer to HUAWEI cloud API Explorer for details.
5639
5773
 
@@ -5684,6 +5818,9 @@ class ElbAsyncClient(Client):
5684
5818
  if 'ip_list' in local_var_params:
5685
5819
  query_params.append(('ip_list', local_var_params['ip_list']))
5686
5820
  collection_formats['ip_list'] = 'multi'
5821
+ if 'enterprise_project_id' in local_var_params:
5822
+ query_params.append(('enterprise_project_id', local_var_params['enterprise_project_id']))
5823
+ collection_formats['enterprise_project_id'] = 'csv'
5687
5824
 
5688
5825
  header_params = {}
5689
5826
 
@@ -5714,7 +5851,7 @@ class ElbAsyncClient(Client):
5714
5851
  def show_ip_group_async(self, request):
5715
5852
  """查询IP地址组详情
5716
5853
 
5717
- 获取IP地址组详情。[荷兰region不支持IP地址组功能,请勿使用。](tag:dt)
5854
+ 获取IP地址组详情。[荷兰region不支持IP地址组功能,请勿使用。](tag:dt,dt_test)
5718
5855
 
5719
5856
  Please refer to HUAWEI cloud API Explorer for details.
5720
5857
 
@@ -5784,7 +5921,7 @@ class ElbAsyncClient(Client):
5784
5921
 
5785
5922
  需要注意0.0.0.0与0.0.0.0/32视为重复,0:0:0:0:0:0:0:1与::1与::1/128视为重复,只会保存其中一个。
5786
5923
 
5787
- [荷兰region不支持IP地址组功能,请勿使用。](tag:dt)
5924
+ [荷兰region不支持IP地址组功能,请勿使用。](tag:dt,dt_test)
5788
5925
 
5789
5926
  Please refer to HUAWEI cloud API Explorer for details.
5790
5927