@huaweicloud/huaweicloud-sdk-elb 3.1.180 → 3.1.182

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 (317) hide show
  1. package/package.json +2 -2
  2. package/v3/ElbClient.d.ts +549 -24
  3. package/v3/ElbClient.d.ts.map +1 -1
  4. package/v3/ElbClient.js +1092 -34
  5. package/v3/ElbClient.js.map +1 -1
  6. package/v3/model/BatchDeleteCertificatesRequest.d.ts +7 -0
  7. package/v3/model/BatchDeleteCertificatesRequest.d.ts.map +1 -0
  8. package/v3/model/BatchDeleteCertificatesRequest.js +13 -0
  9. package/v3/model/BatchDeleteCertificatesRequest.js.map +1 -0
  10. package/v3/model/BatchDeleteCertificatesRequestBody.d.ts +6 -0
  11. package/v3/model/BatchDeleteCertificatesRequestBody.d.ts.map +1 -0
  12. package/v3/model/BatchDeleteCertificatesRequestBody.js +14 -0
  13. package/v3/model/BatchDeleteCertificatesRequestBody.js.map +1 -0
  14. package/v3/model/BatchDeleteCertificatesResp.d.ts +14 -0
  15. package/v3/model/BatchDeleteCertificatesResp.d.ts.map +1 -0
  16. package/v3/model/BatchDeleteCertificatesResp.js +35 -0
  17. package/v3/model/BatchDeleteCertificatesResp.js.map +1 -0
  18. package/v3/model/BatchDeleteCertificatesResponse.d.ts +8 -0
  19. package/v3/model/BatchDeleteCertificatesResponse.d.ts.map +1 -0
  20. package/v3/model/BatchDeleteCertificatesResponse.js +15 -0
  21. package/v3/model/BatchDeleteCertificatesResponse.js.map +1 -0
  22. package/v3/model/BatchDeleteListenersRequest.d.ts +7 -0
  23. package/v3/model/BatchDeleteListenersRequest.d.ts.map +1 -0
  24. package/v3/model/BatchDeleteListenersRequest.js +13 -0
  25. package/v3/model/BatchDeleteListenersRequest.js.map +1 -0
  26. package/v3/model/BatchDeleteListenersRequestBody.d.ts +8 -0
  27. package/v3/model/BatchDeleteListenersRequestBody.d.ts.map +1 -0
  28. package/v3/model/BatchDeleteListenersRequestBody.js +20 -0
  29. package/v3/model/BatchDeleteListenersRequestBody.js.map +1 -0
  30. package/v3/model/BatchDeleteListenersResponse.d.ts +13 -0
  31. package/v3/model/BatchDeleteListenersResponse.d.ts.map +1 -0
  32. package/v3/model/BatchDeleteListenersResponse.js +31 -0
  33. package/v3/model/BatchDeleteListenersResponse.js.map +1 -0
  34. package/v3/model/BatchDeleteLoadbalancersRequest.d.ts +7 -0
  35. package/v3/model/BatchDeleteLoadbalancersRequest.d.ts.map +1 -0
  36. package/v3/model/BatchDeleteLoadbalancersRequest.js +13 -0
  37. package/v3/model/BatchDeleteLoadbalancersRequest.js.map +1 -0
  38. package/v3/model/BatchDeleteLoadbalancersRequestBody.d.ts +16 -0
  39. package/v3/model/BatchDeleteLoadbalancersRequestBody.d.ts.map +1 -0
  40. package/v3/model/BatchDeleteLoadbalancersRequestBody.js +40 -0
  41. package/v3/model/BatchDeleteLoadbalancersRequestBody.js.map +1 -0
  42. package/v3/model/BatchDeleteLoadbalancersResponse.d.ts +13 -0
  43. package/v3/model/BatchDeleteLoadbalancersResponse.d.ts.map +1 -0
  44. package/v3/model/BatchDeleteLoadbalancersResponse.js +31 -0
  45. package/v3/model/BatchDeleteLoadbalancersResponse.js.map +1 -0
  46. package/v3/model/BatchDeletePoolsRequest.d.ts +7 -0
  47. package/v3/model/BatchDeletePoolsRequest.d.ts.map +1 -0
  48. package/v3/model/BatchDeletePoolsRequest.js +13 -0
  49. package/v3/model/BatchDeletePoolsRequest.js.map +1 -0
  50. package/v3/model/BatchDeletePoolsRequestBody.d.ts +6 -0
  51. package/v3/model/BatchDeletePoolsRequestBody.d.ts.map +1 -0
  52. package/v3/model/BatchDeletePoolsRequestBody.js +14 -0
  53. package/v3/model/BatchDeletePoolsRequestBody.js.map +1 -0
  54. package/v3/model/BatchDeletePoolsResp.d.ts +14 -0
  55. package/v3/model/BatchDeletePoolsResp.d.ts.map +1 -0
  56. package/v3/model/BatchDeletePoolsResp.js +35 -0
  57. package/v3/model/BatchDeletePoolsResp.js.map +1 -0
  58. package/v3/model/BatchDeletePoolsResponse.d.ts +8 -0
  59. package/v3/model/BatchDeletePoolsResponse.d.ts.map +1 -0
  60. package/v3/model/BatchDeletePoolsResponse.js +15 -0
  61. package/v3/model/BatchDeletePoolsResponse.js.map +1 -0
  62. package/v3/model/BatchDisableDomainIPsRequest.d.ts +11 -0
  63. package/v3/model/BatchDisableDomainIPsRequest.d.ts.map +1 -0
  64. package/v3/model/BatchDisableDomainIPsRequest.js +24 -0
  65. package/v3/model/BatchDisableDomainIPsRequest.js.map +1 -0
  66. package/v3/model/BatchDisableDomainIPsRequestBody.d.ts +7 -0
  67. package/v3/model/BatchDisableDomainIPsRequestBody.d.ts.map +1 -0
  68. package/v3/model/BatchDisableDomainIPsRequestBody.js +14 -0
  69. package/v3/model/BatchDisableDomainIPsRequestBody.js.map +1 -0
  70. package/v3/model/BatchDisableDomainIPsResponse.d.ts +8 -0
  71. package/v3/model/BatchDisableDomainIPsResponse.d.ts.map +1 -0
  72. package/v3/model/BatchDisableDomainIPsResponse.js +15 -0
  73. package/v3/model/BatchDisableDomainIPsResponse.js.map +1 -0
  74. package/v3/model/BatchEnableDomainIPsRequest.d.ts +11 -0
  75. package/v3/model/BatchEnableDomainIPsRequest.d.ts.map +1 -0
  76. package/v3/model/BatchEnableDomainIPsRequest.js +24 -0
  77. package/v3/model/BatchEnableDomainIPsRequest.js.map +1 -0
  78. package/v3/model/BatchEnableDomainIPsRequestBody.d.ts +7 -0
  79. package/v3/model/BatchEnableDomainIPsRequestBody.d.ts.map +1 -0
  80. package/v3/model/BatchEnableDomainIPsRequestBody.js +14 -0
  81. package/v3/model/BatchEnableDomainIPsRequestBody.js.map +1 -0
  82. package/v3/model/BatchEnableDomainIPsResponse.d.ts +8 -0
  83. package/v3/model/BatchEnableDomainIPsResponse.d.ts.map +1 -0
  84. package/v3/model/BatchEnableDomainIPsResponse.js +15 -0
  85. package/v3/model/BatchEnableDomainIPsResponse.js.map +1 -0
  86. package/v3/model/CertificateInfo.d.ts +4 -0
  87. package/v3/model/CertificateInfo.d.ts.map +1 -1
  88. package/v3/model/CertificateInfo.js +10 -0
  89. package/v3/model/CertificateInfo.js.map +1 -1
  90. package/v3/model/ChangeListenerTagsRequest.d.ts +11 -0
  91. package/v3/model/ChangeListenerTagsRequest.d.ts.map +1 -0
  92. package/v3/model/ChangeListenerTagsRequest.js +24 -0
  93. package/v3/model/ChangeListenerTagsRequest.js.map +1 -0
  94. package/v3/model/ChangeListenerTagsRequestBody.d.ts +17 -0
  95. package/v3/model/ChangeListenerTagsRequestBody.d.ts.map +1 -0
  96. package/v3/model/ChangeListenerTagsRequestBody.js +28 -0
  97. package/v3/model/ChangeListenerTagsRequestBody.js.map +1 -0
  98. package/v3/model/ChangeListenerTagsResponse.d.ts +5 -0
  99. package/v3/model/ChangeListenerTagsResponse.d.ts.map +1 -0
  100. package/v3/model/ChangeListenerTagsResponse.js +11 -0
  101. package/v3/model/ChangeListenerTagsResponse.js.map +1 -0
  102. package/v3/model/ChangeLoadbalancerTagsRequest.d.ts +11 -0
  103. package/v3/model/ChangeLoadbalancerTagsRequest.d.ts.map +1 -0
  104. package/v3/model/ChangeLoadbalancerTagsRequest.js +24 -0
  105. package/v3/model/ChangeLoadbalancerTagsRequest.js.map +1 -0
  106. package/v3/model/ChangeLoadbalancerTagsRequestBody.d.ts +17 -0
  107. package/v3/model/ChangeLoadbalancerTagsRequestBody.d.ts.map +1 -0
  108. package/v3/model/ChangeLoadbalancerTagsRequestBody.js +28 -0
  109. package/v3/model/ChangeLoadbalancerTagsRequestBody.js.map +1 -0
  110. package/v3/model/ChangeLoadbalancerTagsResponse.d.ts +5 -0
  111. package/v3/model/ChangeLoadbalancerTagsResponse.d.ts.map +1 -0
  112. package/v3/model/ChangeLoadbalancerTagsResponse.js +11 -0
  113. package/v3/model/ChangeLoadbalancerTagsResponse.js.map +1 -0
  114. package/v3/model/ChangeResourceTagOption.d.ts +8 -0
  115. package/v3/model/ChangeResourceTagOption.d.ts.map +1 -0
  116. package/v3/model/ChangeResourceTagOption.js +19 -0
  117. package/v3/model/ChangeResourceTagOption.js.map +1 -0
  118. package/v3/model/CloneListenerOption.d.ts +28 -0
  119. package/v3/model/CloneListenerOption.d.ts.map +1 -0
  120. package/v3/model/CloneListenerOption.js +64 -0
  121. package/v3/model/CloneListenerOption.js.map +1 -0
  122. package/v3/model/CloneListenerRequest.d.ts +11 -0
  123. package/v3/model/CloneListenerRequest.d.ts.map +1 -0
  124. package/v3/model/CloneListenerRequest.js +24 -0
  125. package/v3/model/CloneListenerRequest.js.map +1 -0
  126. package/v3/model/CloneListenerRequestBody.d.ts +9 -0
  127. package/v3/model/CloneListenerRequestBody.d.ts.map +1 -0
  128. package/v3/model/CloneListenerRequestBody.js +20 -0
  129. package/v3/model/CloneListenerRequestBody.js.map +1 -0
  130. package/v3/model/CloneListenerResp.d.ts +19 -0
  131. package/v3/model/CloneListenerResp.d.ts.map +1 -0
  132. package/v3/model/CloneListenerResp.js +43 -0
  133. package/v3/model/CloneListenerResp.js.map +1 -0
  134. package/v3/model/CloneListenerResponse.d.ts +18 -0
  135. package/v3/model/CloneListenerResponse.d.ts.map +1 -0
  136. package/v3/model/CloneListenerResponse.js +41 -0
  137. package/v3/model/CloneListenerResponse.js.map +1 -0
  138. package/v3/model/CreateMasterSlavePoolOption.d.ts +4 -0
  139. package/v3/model/CreateMasterSlavePoolOption.d.ts.map +1 -1
  140. package/v3/model/CreateMasterSlavePoolOption.js +10 -0
  141. package/v3/model/CreateMasterSlavePoolOption.js.map +1 -1
  142. package/v3/model/CreatePoolOption.d.ts +4 -0
  143. package/v3/model/CreatePoolOption.d.ts.map +1 -1
  144. package/v3/model/CreatePoolOption.js +10 -0
  145. package/v3/model/CreatePoolOption.js.map +1 -1
  146. package/v3/model/DnsConfigResponseBody.d.ts +64 -0
  147. package/v3/model/DnsConfigResponseBody.d.ts.map +1 -0
  148. package/v3/model/DnsConfigResponseBody.js +153 -0
  149. package/v3/model/DnsConfigResponseBody.js.map +1 -0
  150. package/v3/model/DnsIp.d.ts +8 -0
  151. package/v3/model/DnsIp.d.ts.map +1 -0
  152. package/v3/model/DnsIp.js +19 -0
  153. package/v3/model/DnsIp.js.map +1 -0
  154. package/v3/model/DnsIpResponse.d.ts +26 -0
  155. package/v3/model/DnsIpResponse.d.ts.map +1 -0
  156. package/v3/model/DnsIpResponse.js +61 -0
  157. package/v3/model/DnsIpResponse.js.map +1 -0
  158. package/v3/model/EipNode.d.ts +14 -0
  159. package/v3/model/EipNode.d.ts.map +1 -0
  160. package/v3/model/EipNode.js +36 -0
  161. package/v3/model/EipNode.js.map +1 -0
  162. package/v3/model/ListAllL7RulesRequest.d.ts +38 -0
  163. package/v3/model/ListAllL7RulesRequest.d.ts.map +1 -0
  164. package/v3/model/ListAllL7RulesRequest.js +87 -0
  165. package/v3/model/ListAllL7RulesRequest.js.map +1 -0
  166. package/v3/model/ListAllL7RulesResponse.d.ts +17 -0
  167. package/v3/model/ListAllL7RulesResponse.d.ts.map +1 -0
  168. package/v3/model/ListAllL7RulesResponse.js +35 -0
  169. package/v3/model/ListAllL7RulesResponse.js.map +1 -0
  170. package/v3/model/ListDnsIpResponseBody.d.ts +7 -0
  171. package/v3/model/ListDnsIpResponseBody.d.ts.map +1 -0
  172. package/v3/model/ListDnsIpResponseBody.js +13 -0
  173. package/v3/model/ListDnsIpResponseBody.js.map +1 -0
  174. package/v3/model/ListDomainIPsRequest.d.ts +8 -0
  175. package/v3/model/ListDomainIPsRequest.d.ts.map +1 -0
  176. package/v3/model/ListDomainIPsRequest.js +20 -0
  177. package/v3/model/ListDomainIPsRequest.js.map +1 -0
  178. package/v3/model/ListDomainIPsResponse.d.ts +8 -0
  179. package/v3/model/ListDomainIPsResponse.d.ts.map +1 -0
  180. package/v3/model/ListDomainIPsResponse.js +15 -0
  181. package/v3/model/ListDomainIPsResponse.js.map +1 -0
  182. package/v3/model/ListListenerTagsRequest.d.ts +4 -0
  183. package/v3/model/ListListenerTagsRequest.d.ts.map +1 -0
  184. package/v3/model/ListListenerTagsRequest.js +9 -0
  185. package/v3/model/ListListenerTagsRequest.js.map +1 -0
  186. package/v3/model/ListListenerTagsResponse.d.ts +8 -0
  187. package/v3/model/ListListenerTagsResponse.d.ts.map +1 -0
  188. package/v3/model/ListListenerTagsResponse.js +15 -0
  189. package/v3/model/ListListenerTagsResponse.js.map +1 -0
  190. package/v3/model/ListLoadbalancerTagsRequest.d.ts +4 -0
  191. package/v3/model/ListLoadbalancerTagsRequest.d.ts.map +1 -0
  192. package/v3/model/ListLoadbalancerTagsRequest.js +9 -0
  193. package/v3/model/ListLoadbalancerTagsRequest.js.map +1 -0
  194. package/v3/model/ListLoadbalancerTagsResponse.d.ts +8 -0
  195. package/v3/model/ListLoadbalancerTagsResponse.d.ts.map +1 -0
  196. package/v3/model/ListLoadbalancerTagsResponse.js +15 -0
  197. package/v3/model/ListLoadbalancerTagsResponse.js.map +1 -0
  198. package/v3/model/ListTag.d.ts +8 -0
  199. package/v3/model/ListTag.d.ts.map +1 -0
  200. package/v3/model/ListTag.js +19 -0
  201. package/v3/model/ListTag.js.map +1 -0
  202. package/v3/model/ListenerInsertHeaders.d.ts +115 -0
  203. package/v3/model/ListenerInsertHeaders.d.ts.map +1 -1
  204. package/v3/model/ListenerInsertHeaders.js +279 -1
  205. package/v3/model/ListenerInsertHeaders.js.map +1 -1
  206. package/v3/model/ListenerNode.d.ts +19 -0
  207. package/v3/model/ListenerNode.d.ts.map +1 -0
  208. package/v3/model/ListenerNode.js +45 -0
  209. package/v3/model/ListenerNode.js.map +1 -0
  210. package/v3/model/LoadBalancerNode.d.ts +30 -0
  211. package/v3/model/LoadBalancerNode.d.ts.map +1 -0
  212. package/v3/model/LoadBalancerNode.js +74 -0
  213. package/v3/model/LoadBalancerNode.js.map +1 -0
  214. package/v3/model/LoadBalancerTopologyResult.d.ts +13 -0
  215. package/v3/model/LoadBalancerTopologyResult.d.ts.map +1 -0
  216. package/v3/model/LoadBalancerTopologyResult.js +24 -0
  217. package/v3/model/LoadBalancerTopologyResult.js.map +1 -0
  218. package/v3/model/PolicyLabel.d.ts +19 -0
  219. package/v3/model/PolicyLabel.d.ts.map +1 -0
  220. package/v3/model/PolicyLabel.js +44 -0
  221. package/v3/model/PolicyLabel.js.map +1 -0
  222. package/v3/model/PoolNode.d.ts +16 -0
  223. package/v3/model/PoolNode.d.ts.map +1 -0
  224. package/v3/model/PoolNode.js +40 -0
  225. package/v3/model/PoolNode.js.map +1 -0
  226. package/v3/model/Quota.d.ts +5 -5
  227. package/v3/model/Quota.d.ts.map +1 -1
  228. package/v3/model/Quota.js +12 -12
  229. package/v3/model/Quota.js.map +1 -1
  230. package/v3/model/ResPortRange.d.ts +12 -0
  231. package/v3/model/ResPortRange.d.ts.map +1 -0
  232. package/v3/model/ResPortRange.js +31 -0
  233. package/v3/model/ResPortRange.js.map +1 -0
  234. package/v3/model/ResourceTag.d.ts +8 -0
  235. package/v3/model/ResourceTag.d.ts.map +1 -0
  236. package/v3/model/ResourceTag.js +19 -0
  237. package/v3/model/ResourceTag.js.map +1 -0
  238. package/v3/model/SecurityPolicy.d.ts +4 -0
  239. package/v3/model/SecurityPolicy.d.ts.map +1 -1
  240. package/v3/model/SecurityPolicy.js +10 -0
  241. package/v3/model/SecurityPolicy.js.map +1 -1
  242. package/v3/model/ShowListenerTagsRequest.d.ts +8 -0
  243. package/v3/model/ShowListenerTagsRequest.d.ts.map +1 -0
  244. package/v3/model/ShowListenerTagsRequest.js +20 -0
  245. package/v3/model/ShowListenerTagsRequest.js.map +1 -0
  246. package/v3/model/ShowListenerTagsResponse.d.ts +8 -0
  247. package/v3/model/ShowListenerTagsResponse.d.ts.map +1 -0
  248. package/v3/model/ShowListenerTagsResponse.js +15 -0
  249. package/v3/model/ShowListenerTagsResponse.js.map +1 -0
  250. package/v3/model/ShowLoadBalancerTopologyRequest.d.ts +32 -0
  251. package/v3/model/ShowLoadBalancerTopologyRequest.d.ts.map +1 -0
  252. package/v3/model/ShowLoadBalancerTopologyRequest.js +80 -0
  253. package/v3/model/ShowLoadBalancerTopologyRequest.js.map +1 -0
  254. package/v3/model/ShowLoadBalancerTopologyResponse.d.ts +12 -0
  255. package/v3/model/ShowLoadBalancerTopologyResponse.d.ts.map +1 -0
  256. package/v3/model/ShowLoadBalancerTopologyResponse.js +25 -0
  257. package/v3/model/ShowLoadBalancerTopologyResponse.js.map +1 -0
  258. package/v3/model/ShowLoadbalancerTagsRequest.d.ts +8 -0
  259. package/v3/model/ShowLoadbalancerTagsRequest.d.ts.map +1 -0
  260. package/v3/model/ShowLoadbalancerTagsRequest.js +20 -0
  261. package/v3/model/ShowLoadbalancerTagsRequest.js.map +1 -0
  262. package/v3/model/ShowLoadbalancerTagsResponse.d.ts +8 -0
  263. package/v3/model/ShowLoadbalancerTagsResponse.d.ts.map +1 -0
  264. package/v3/model/ShowLoadbalancerTagsResponse.js +15 -0
  265. package/v3/model/ShowLoadbalancerTagsResponse.js.map +1 -0
  266. package/v3/model/SubnetMappingList.d.ts +12 -0
  267. package/v3/model/SubnetMappingList.d.ts.map +1 -0
  268. package/v3/model/SubnetMappingList.js +31 -0
  269. package/v3/model/SubnetMappingList.js.map +1 -0
  270. package/v3/model/SystemDefaultDnsConfigRequestBody.d.ts +20 -0
  271. package/v3/model/SystemDefaultDnsConfigRequestBody.d.ts.map +1 -0
  272. package/v3/model/SystemDefaultDnsConfigRequestBody.js +49 -0
  273. package/v3/model/SystemDefaultDnsConfigRequestBody.js.map +1 -0
  274. package/v3/model/TopologyEdge.d.ts +22 -0
  275. package/v3/model/TopologyEdge.d.ts.map +1 -0
  276. package/v3/model/TopologyEdge.js +55 -0
  277. package/v3/model/TopologyEdge.js.map +1 -0
  278. package/v3/model/TopologyLabels.d.ts +7 -0
  279. package/v3/model/TopologyLabels.d.ts.map +1 -0
  280. package/v3/model/TopologyLabels.js +13 -0
  281. package/v3/model/TopologyLabels.js.map +1 -0
  282. package/v3/model/TopologyNodes.d.ts +16 -0
  283. package/v3/model/TopologyNodes.d.ts.map +1 -0
  284. package/v3/model/TopologyNodes.js +29 -0
  285. package/v3/model/TopologyNodes.js.map +1 -0
  286. package/v3/model/UpdateSystemDefaultDomainConfigRequest.d.ts +11 -0
  287. package/v3/model/UpdateSystemDefaultDomainConfigRequest.d.ts.map +1 -0
  288. package/v3/model/UpdateSystemDefaultDomainConfigRequest.js +24 -0
  289. package/v3/model/UpdateSystemDefaultDomainConfigRequest.js.map +1 -0
  290. package/v3/model/UpdateSystemDefaultDomainConfigRequestBody.d.ts +7 -0
  291. package/v3/model/UpdateSystemDefaultDomainConfigRequestBody.d.ts.map +1 -0
  292. package/v3/model/UpdateSystemDefaultDomainConfigRequestBody.js +14 -0
  293. package/v3/model/UpdateSystemDefaultDomainConfigRequestBody.js.map +1 -0
  294. package/v3/model/UpdateSystemDefaultDomainConfigResponse.d.ts +8 -0
  295. package/v3/model/UpdateSystemDefaultDomainConfigResponse.d.ts.map +1 -0
  296. package/v3/model/UpdateSystemDefaultDomainConfigResponse.js +15 -0
  297. package/v3/model/UpdateSystemDefaultDomainConfigResponse.js.map +1 -0
  298. package/v3/model/UpdateUserDefinedDomainConfigRequest.d.ts +11 -0
  299. package/v3/model/UpdateUserDefinedDomainConfigRequest.d.ts.map +1 -0
  300. package/v3/model/UpdateUserDefinedDomainConfigRequest.js +24 -0
  301. package/v3/model/UpdateUserDefinedDomainConfigRequest.js.map +1 -0
  302. package/v3/model/UpdateUserDefinedDomainConfigRequestBody.d.ts +7 -0
  303. package/v3/model/UpdateUserDefinedDomainConfigRequestBody.d.ts.map +1 -0
  304. package/v3/model/UpdateUserDefinedDomainConfigRequestBody.js +14 -0
  305. package/v3/model/UpdateUserDefinedDomainConfigRequestBody.js.map +1 -0
  306. package/v3/model/UpdateUserDefinedDomainConfigResponse.d.ts +8 -0
  307. package/v3/model/UpdateUserDefinedDomainConfigResponse.d.ts.map +1 -0
  308. package/v3/model/UpdateUserDefinedDomainConfigResponse.js +15 -0
  309. package/v3/model/UpdateUserDefinedDomainConfigResponse.js.map +1 -0
  310. package/v3/model/UserDefinedDnsConfigRequestBody.d.ts +32 -0
  311. package/v3/model/UserDefinedDnsConfigRequestBody.d.ts.map +1 -0
  312. package/v3/model/UserDefinedDnsConfigRequestBody.js +79 -0
  313. package/v3/model/UserDefinedDnsConfigRequestBody.js.map +1 -0
  314. package/v3/public-api.d.ts +71 -0
  315. package/v3/public-api.d.ts.map +1 -1
  316. package/v3/public-api.js +71 -0
  317. package/v3/public-api.js.map +1 -1
package/v3/ElbClient.js CHANGED
@@ -5,12 +5,21 @@ const ClientBuilder_1 = require("@huaweicloud/huaweicloud-sdk-core/ClientBuilder
5
5
  const BatchAddAvailableZonesRequest_1 = require("./model/BatchAddAvailableZonesRequest");
6
6
  const BatchCreateLoadBalancersRequest_1 = require("./model/BatchCreateLoadBalancersRequest");
7
7
  const BatchCreateMembersRequest_1 = require("./model/BatchCreateMembersRequest");
8
+ const BatchDeleteCertificatesRequest_1 = require("./model/BatchDeleteCertificatesRequest");
8
9
  const BatchDeleteIpListRequest_1 = require("./model/BatchDeleteIpListRequest");
10
+ const BatchDeleteListenersRequest_1 = require("./model/BatchDeleteListenersRequest");
11
+ const BatchDeleteLoadbalancersRequest_1 = require("./model/BatchDeleteLoadbalancersRequest");
9
12
  const BatchDeleteMembersRequest_1 = require("./model/BatchDeleteMembersRequest");
13
+ const BatchDeletePoolsRequest_1 = require("./model/BatchDeletePoolsRequest");
14
+ const BatchDisableDomainIPsRequest_1 = require("./model/BatchDisableDomainIPsRequest");
15
+ const BatchEnableDomainIPsRequest_1 = require("./model/BatchEnableDomainIPsRequest");
10
16
  const BatchRemoveAvailableZonesRequest_1 = require("./model/BatchRemoveAvailableZonesRequest");
11
17
  const BatchUpdateMembersRequest_1 = require("./model/BatchUpdateMembersRequest");
12
18
  const BatchUpdatePoliciesPriorityRequest_1 = require("./model/BatchUpdatePoliciesPriorityRequest");
19
+ const ChangeListenerTagsRequest_1 = require("./model/ChangeListenerTagsRequest");
13
20
  const ChangeLoadbalancerChargeModeRequest_1 = require("./model/ChangeLoadbalancerChargeModeRequest");
21
+ const ChangeLoadbalancerTagsRequest_1 = require("./model/ChangeLoadbalancerTagsRequest");
22
+ const CloneListenerRequest_1 = require("./model/CloneListenerRequest");
14
23
  const CloneLoadbalancerRequest_1 = require("./model/CloneLoadbalancerRequest");
15
24
  const CountPreoccupyIpNumRequest_1 = require("./model/CountPreoccupyIpNumRequest");
16
25
  const CreateCertificatePrivateKeyEchoRequest_1 = require("./model/CreateCertificatePrivateKeyEchoRequest");
@@ -44,9 +53,11 @@ const DeletePoolCascadeRequest_1 = require("./model/DeletePoolCascadeRequest");
44
53
  const DeletePoolRequest_1 = require("./model/DeletePoolRequest");
45
54
  const DeleteRecycleLoadBalancerRequest_1 = require("./model/DeleteRecycleLoadBalancerRequest");
46
55
  const DeleteSecurityPolicyRequest_1 = require("./model/DeleteSecurityPolicyRequest");
56
+ const ListAllL7RulesRequest_1 = require("./model/ListAllL7RulesRequest");
47
57
  const ListAllMembersRequest_1 = require("./model/ListAllMembersRequest");
48
58
  const ListAvailabilityZonesRequest_1 = require("./model/ListAvailabilityZonesRequest");
49
59
  const ListCertificatesRequest_1 = require("./model/ListCertificatesRequest");
60
+ const ListDomainIPsRequest_1 = require("./model/ListDomainIPsRequest");
50
61
  const ListFeatureConfigsRequest_1 = require("./model/ListFeatureConfigsRequest");
51
62
  const ListFlavorsRequest_1 = require("./model/ListFlavorsRequest");
52
63
  const ListHealthMonitorsRequest_1 = require("./model/ListHealthMonitorsRequest");
@@ -74,9 +85,12 @@ const ShowJobRequest_1 = require("./model/ShowJobRequest");
74
85
  const ShowL7PolicyRequest_1 = require("./model/ShowL7PolicyRequest");
75
86
  const ShowL7RuleRequest_1 = require("./model/ShowL7RuleRequest");
76
87
  const ShowListenerRequest_1 = require("./model/ShowListenerRequest");
88
+ const ShowListenerTagsRequest_1 = require("./model/ShowListenerTagsRequest");
77
89
  const ShowLoadBalancerPortsRequest_1 = require("./model/ShowLoadBalancerPortsRequest");
78
90
  const ShowLoadBalancerRequest_1 = require("./model/ShowLoadBalancerRequest");
79
91
  const ShowLoadBalancerStatusRequest_1 = require("./model/ShowLoadBalancerStatusRequest");
92
+ const ShowLoadBalancerTopologyRequest_1 = require("./model/ShowLoadBalancerTopologyRequest");
93
+ const ShowLoadbalancerTagsRequest_1 = require("./model/ShowLoadbalancerTagsRequest");
80
94
  const ShowLogtankRequest_1 = require("./model/ShowLogtankRequest");
81
95
  const ShowMasterSlavePoolRequest_1 = require("./model/ShowMasterSlavePoolRequest");
82
96
  const ShowMemberHealthCheckJobRequest_1 = require("./model/ShowMemberHealthCheckJobRequest");
@@ -97,6 +111,8 @@ const UpdatePoolRequest_1 = require("./model/UpdatePoolRequest");
97
111
  const UpdateRecycleBinEnableRequest_1 = require("./model/UpdateRecycleBinEnableRequest");
98
112
  const UpdateRecycleBinPolicyRequest_1 = require("./model/UpdateRecycleBinPolicyRequest");
99
113
  const UpdateSecurityPolicyRequest_1 = require("./model/UpdateSecurityPolicyRequest");
114
+ const UpdateSystemDefaultDomainConfigRequest_1 = require("./model/UpdateSystemDefaultDomainConfigRequest");
115
+ const UpdateUserDefinedDomainConfigRequest_1 = require("./model/UpdateUserDefinedDomainConfigRequest");
100
116
  const UpgradeLoadbalancerRequest_1 = require("./model/UpgradeLoadbalancerRequest");
101
117
  class ElbClient {
102
118
  static newBuilder() {
@@ -172,6 +188,54 @@ class ElbClient {
172
188
  options['responseHeaders'] = [''];
173
189
  return this.hcClient.sendRequest(options);
174
190
  }
191
+ /**
192
+ * 批量删除证书。
193
+ *
194
+ * Please refer to HUAWEI cloud API Explorer for details.
195
+ *
196
+ * @summary 批量删除证书
197
+ * @param {BatchDeleteCertificatesRequestBody} batchDeleteCertificatesRequestBody This is a auto create Body Object
198
+ * @param {*} [options] Override http request option.
199
+ * @throws {RequiredError}
200
+ */
201
+ batchDeleteCertificates(batchDeleteCertificatesRequest) {
202
+ const options = (0, exports.ParamCreater)().batchDeleteCertificates(batchDeleteCertificatesRequest);
203
+ // @ts-ignore
204
+ options['responseHeaders'] = [''];
205
+ return this.hcClient.sendRequest(options);
206
+ }
207
+ /**
208
+ * 批量删除监听器。
209
+ *
210
+ * Please refer to HUAWEI cloud API Explorer for details.
211
+ *
212
+ * @summary 批量删监听器
213
+ * @param {BatchDeleteListenersRequestBody} batchDeleteListenersRequestBody This is a auto create Body Object
214
+ * @param {*} [options] Override http request option.
215
+ * @throws {RequiredError}
216
+ */
217
+ batchDeleteListeners(batchDeleteListenersRequest) {
218
+ const options = (0, exports.ParamCreater)().batchDeleteListeners(batchDeleteListenersRequest);
219
+ // @ts-ignore
220
+ options['responseHeaders'] = [''];
221
+ return this.hcClient.sendRequest(options);
222
+ }
223
+ /**
224
+ * 批量删除负载均衡器。
225
+ *
226
+ * Please refer to HUAWEI cloud API Explorer for details.
227
+ *
228
+ * @summary 批量删除负载均衡器
229
+ * @param {BatchDeleteLoadbalancersRequestBody} batchDeleteLoadbalancersRequestBody This is a auto create Body Object
230
+ * @param {*} [options] Override http request option.
231
+ * @throws {RequiredError}
232
+ */
233
+ batchDeleteLoadbalancers(batchDeleteLoadbalancersRequest) {
234
+ const options = (0, exports.ParamCreater)().batchDeleteLoadbalancers(batchDeleteLoadbalancersRequest);
235
+ // @ts-ignore
236
+ options['responseHeaders'] = [''];
237
+ return this.hcClient.sendRequest(options);
238
+ }
175
239
  /**
176
240
  * 在指定pool下批量删除后端服务器。一次最多添加200个。
177
241
  *
@@ -189,6 +253,56 @@ class ElbClient {
189
253
  options['responseHeaders'] = [''];
190
254
  return this.hcClient.sendRequest(options);
191
255
  }
256
+ /**
257
+ * 批量删除后端服务器组。
258
+ *
259
+ * Please refer to HUAWEI cloud API Explorer for details.
260
+ *
261
+ * @summary 批量删除后端服务器组
262
+ * @param {BatchDeletePoolsRequestBody} batchDeletePoolsRequestBody This is a auto create Body Object
263
+ * @param {*} [options] Override http request option.
264
+ * @throws {RequiredError}
265
+ */
266
+ batchDeletePools(batchDeletePoolsRequest) {
267
+ const options = (0, exports.ParamCreater)().batchDeletePools(batchDeletePoolsRequest);
268
+ // @ts-ignore
269
+ options['responseHeaders'] = [''];
270
+ return this.hcClient.sendRequest(options);
271
+ }
272
+ /**
273
+ * 批量将IP地址从LB实例域名解析中移除。
274
+ *
275
+ * Please refer to HUAWEI cloud API Explorer for details.
276
+ *
277
+ * @summary 批量将IP地址从LB实例域名解析中移除
278
+ * @param {string} loadbalancerId 负载均衡器ID。
279
+ * @param {BatchDisableDomainIPsRequestBody} batchDisableDomainIPsRequestBody 批量从负载均衡器域名解析中移除IP地址的请求体。
280
+ * @param {*} [options] Override http request option.
281
+ * @throws {RequiredError}
282
+ */
283
+ batchDisableDomainIPs(batchDisableDomainIPsRequest) {
284
+ const options = (0, exports.ParamCreater)().batchDisableDomainIPs(batchDisableDomainIPsRequest);
285
+ // @ts-ignore
286
+ options['responseHeaders'] = [''];
287
+ return this.hcClient.sendRequest(options);
288
+ }
289
+ /**
290
+ * 批量将IP地址加入LB实例域名解析中。
291
+ *
292
+ * Please refer to HUAWEI cloud API Explorer for details.
293
+ *
294
+ * @summary 批量将IP地址加入LB实例域名解析中
295
+ * @param {string} loadbalancerId 负载均衡器ID。
296
+ * @param {BatchEnableDomainIPsRequestBody} batchEnableDomainIPsRequestBody 批量向负载均衡器域名解析中加入IP地址的请求体。
297
+ * @param {*} [options] Override http request option.
298
+ * @throws {RequiredError}
299
+ */
300
+ batchEnableDomainIPs(batchEnableDomainIPsRequest) {
301
+ const options = (0, exports.ParamCreater)().batchEnableDomainIPs(batchEnableDomainIPsRequest);
302
+ // @ts-ignore
303
+ options['responseHeaders'] = [''];
304
+ return this.hcClient.sendRequest(options);
305
+ }
192
306
  /**
193
307
  * 移除负载均衡器的可用区。
194
308
  * > 移除可用区可能导致已有连接断开,请谨慎操作。
@@ -240,6 +354,23 @@ class ElbClient {
240
354
  options['responseHeaders'] = [''];
241
355
  return this.hcClient.sendRequest(options);
242
356
  }
357
+ /**
358
+ * 批量添加或删除指定监听器器标签。
359
+ *
360
+ * Please refer to HUAWEI cloud API Explorer for details.
361
+ *
362
+ * @summary 变更监听器标签列表
363
+ * @param {string} listenerId **参数解释**:负载均衡器ID。 **约束限制**:不涉及 **取值范围**:不涉及 **默认取值**:不涉及
364
+ * @param {ChangeListenerTagsRequestBody} changeListenerTagsRequestBody This is a auto create Body Object
365
+ * @param {*} [options] Override http request option.
366
+ * @throws {RequiredError}
367
+ */
368
+ changeListenerTags(changeListenerTagsRequest) {
369
+ const options = (0, exports.ParamCreater)().changeListenerTags(changeListenerTagsRequest);
370
+ // @ts-ignore
371
+ options['responseHeaders'] = [''];
372
+ return this.hcClient.sendRequest(options);
373
+ }
243
374
  /**
244
375
  * 负载均衡器计费模式变更,当前支持的计费模式变更为:
245
376
  * 1. 按需计费转包周期计费。
@@ -259,6 +390,47 @@ class ElbClient {
259
390
  options['responseHeaders'] = [''];
260
391
  return this.hcClient.sendRequest(options);
261
392
  }
393
+ /**
394
+ * 批量添加或删除指定负载均衡器标签。
395
+ *
396
+ * Please refer to HUAWEI cloud API Explorer for details.
397
+ *
398
+ * @summary 变更负载均衡器标签列表
399
+ * @param {string} loadbalancerId **参数解释**:负载均衡器ID。 **约束限制**:不涉及 **取值范围**:不涉及 **默认取值**:不涉及
400
+ * @param {ChangeLoadbalancerTagsRequestBody} changeLoadbalancerTagsRequestBody This is a auto create Body Object
401
+ * @param {*} [options] Override http request option.
402
+ * @throws {RequiredError}
403
+ */
404
+ changeLoadbalancerTags(changeLoadbalancerTagsRequest) {
405
+ const options = (0, exports.ParamCreater)().changeLoadbalancerTags(changeLoadbalancerTagsRequest);
406
+ // @ts-ignore
407
+ options['responseHeaders'] = [''];
408
+ return this.hcClient.sendRequest(options);
409
+ }
410
+ /**
411
+ * 复制已有的监听器到同VPC内的负载均衡器。
412
+ * - 仅支持同VPC实例间使用监听器复制功能。
413
+ * - 不支持网关型LB下监听器进行复制,也不支持复制到网关型LB下。
414
+ * - 仅同类型实例之间可以使用监听器复制功能。
415
+ * - 对复制的源监听器有如下限制:后端服务器总数不能超过1000;转发策略总数不能超过100。
416
+ * - 源监听器所在负载均衡器和目的监听器所在负载均衡器不能处于冻结、迁移状态。
417
+ * - 源监听器中若配置quic_config,复制后为null。
418
+ * - 七层转发策略配置为重定向到监听器,该转发策略不会进行复制。
419
+ *
420
+ * Please refer to HUAWEI cloud API Explorer for details.
421
+ *
422
+ * @summary 复制已有监听器
423
+ * @param {string} listenerId **参数解释**:被复制监听器ID(UUID)。 **约束限制**:不涉及 **取值范围**:标准的UUID格式,长度为36个字符。 **默认取值**:不涉及
424
+ * @param {CloneListenerRequestBody} cloneListenerRequestBody **参数解释**:复制监听器请求体。 **约束限制**:不涉及
425
+ * @param {*} [options] Override http request option.
426
+ * @throws {RequiredError}
427
+ */
428
+ cloneListener(cloneListenerRequest) {
429
+ const options = (0, exports.ParamCreater)().cloneListener(cloneListenerRequest);
430
+ // @ts-ignore
431
+ options['responseHeaders'] = [''];
432
+ return this.hcClient.sendRequest(options);
433
+ }
262
434
  /**
263
435
  * 复制已有的负载均衡器实例。
264
436
  *
@@ -386,11 +558,12 @@ class ElbClient {
386
558
  * - 若要创建网络型负载均衡器,则需要传入l4_flavor_id(网络型规格ID);若要创建应用型负载均衡器,则需要传入l7_flavor_id(应用型规格ID);若要创建网络型+应用型负载均衡器,则需要传入l4_flavor_id和l7_flavor_id。
387
559
  * [- 若要创建包周期负载均衡器,则需要传入prepaid_options,否则创建按需计费负载均衡器。](tag:hws)
388
560
  * - 按需计费分为固定规格计费和弹性规格计费,根据创建时所选规格的类型决定计费方式。具体规格说明见创建LB请求参数l4_flavor_id和l7_flavor_id。
389
- * [- 若要创建gateway类型的负载均衡器,则需要:
561
+ * - 若要创建gateway类型的负载均衡器,则需要:
390
562
  * - 指定loadbalancer_type=\"gateway\",且不支持指定vip_address,ipv6_vip_address。
391
563
  * - vip_subnet_cidr_id和ipv6_subnet_cidr_id两者不能都为空,如果两者都传入,则必须属于同一子网。
392
564
  * - 不支持创建公网gateway类型LB。
393
- * - 如果要指定规格,则从请求参数gw_flavor_id传入。](tag:hws_eu)
565
+ * - 不支持传入autoscaling字段,不支持l4_flavor_id和l7_flavor_id。
566
+ * - 必须要指定网关型规格,通过参数gw_flavor_id传入。
394
567
  *
395
568
  * Please refer to HUAWEI cloud API Explorer for details.
396
569
  *
@@ -638,8 +811,11 @@ class ElbClient {
638
811
  /**
639
812
  * 删除负载均衡器且级联删除其下子资源(删除负载均衡器及其绑定的监听器、后端服务器组、后端服务器等一系列资源)。
640
813
  * - 若LB关联了EIP,则只解绑EIP,不会删除EIP。
814
+ * - 若LB已开启了误删保护开关,则级联删除失败。
815
+ * - 若LB下任意一个后端服务器组开启了误删保护开关,则级联删除失败。
816
+ * - 修改保护开关开启不影响级联删除,仍能正常删除。
641
817
  * [- 若已开启多挂特性,且关联了多个LB,则只做解绑;否则删除。
642
- * - 若是共享型LB下的后端服务器组,无论是否多挂都只删除,不解绑。](tag:hc,hk)
818
+ * - 若是共享型LB下的后端服务器组,无论是否多挂都只删除,不解绑。](tag:hws,hws_hk)
643
819
  *
644
820
  * Please refer to HUAWEI cloud API Explorer for details.
645
821
  *
@@ -767,6 +943,33 @@ class ElbClient {
767
943
  options['responseHeaders'] = [''];
768
944
  return this.hcClient.sendRequest(options);
769
945
  }
946
+ /**
947
+ * 查询当前项目下的转发规则列表。
948
+ *
949
+ * Please refer to HUAWEI cloud API Explorer for details.
950
+ *
951
+ * @summary 查询转发规则列表
952
+ * @param {number} [limit] **参数解释**:每页返回的个数。 **约束限制**:不涉及 **取值范围**:0-2000 **默认取值**:2000
953
+ * @param {string} [marker] **参数解释**:上一页最后一条记录的ID。 **约束限制**: - 必须与limit一起使用。 - 不指定时表示查询第一页。 - 该字段不允许为空或无效的ID。 **取值范围**:不涉及 **默认取值**:不涉及
954
+ * @param {boolean} [pageReverse] **参数解释**:是否反向查询。 **约束限制**: - 必须与limit一起使用。 - 当page_reverse=true时,若要查询上一页,marker取值为当前页返回值的previous_marker。 **取值范围**: - true:查询上一页。 - false:查询下一页。 **默认取值**:false
955
+ * @param {Array<string>} [id] 转发规则ID。 支持多值查询,查询条件格式:*id&#x3D;xxx&amp;id&#x3D;xxx*。
956
+ * @param {Array<string>} [compareType] 转发匹配方式。 取值: - EQUAL_TO 表示精确匹配。 - REGEX 表示正则匹配。 - STARTS_WITH 表示前缀匹配。 支持多值查询,查询条件格式:*compare_type&#x3D;xxx&amp;compare_type&#x3D;xxx*。
957
+ * @param {Array<string>} [provisioningStatus] 转发规则的配置状态。 取值:ACTIVE 表示正常。 支持多值查询,查询条件格式:*provisioning_status&#x3D;xxx&amp;provisioning_status&#x3D;xxx*。
958
+ * @param {boolean} [invert] 是否反向匹配。使用说明:固定为false。该字段能更新但不会生效。
959
+ * @param {boolean} [adminStateUp] 转发规则的管理状态。 不支持该字段,请勿使用。
960
+ * @param {Array<string>} [value] 匹配内容的值。 支持多值查询,查询条件格式:*value&#x3D;xxx&amp;value&#x3D;xxx*。
961
+ * @param {Array<string>} [key] 匹配内容的键值,用于标识规则。 支持多值查询,查询条件格式:*key&#x3D;xxx&amp;key&#x3D;xxx*。 不支持该字段,请勿使用。
962
+ * @param {Array<string>} [type] 匹配类别,可以为HOST_NAME,PATH。 一个l7policy下创建的l7rule的type不能重复。 支持多值查询,查询条件格式:*type&#x3D;xxx&amp;type&#x3D;xxx*。
963
+ * @param {Array<string>} [enterpriseProjectId] **参数解释**:所属的企业项目ID。 如果enterprise_project_id不传值,默认查询所有企业项目下的资源,鉴权按照细粒度权限鉴权,必须在用户组下分配elb:l7rules:list权限。 如果enterprise_project_id传值,鉴权按照企业项目权限鉴权,分为传入具体eps_id和all_granted_eps两种场景,前者查询指定eps_id的eps下的资源,后者查询的是所有有list权限的eps下的资源。 支持多值查询,查询条件格式: *enterprise_project_id&#x3D;xxx&amp;enterprise_project_id&#x3D;xxx*。 [不支持该字段,请勿使用。](tag:dt,hcso_dt)
964
+ * @param {*} [options] Override http request option.
965
+ * @throws {RequiredError}
966
+ */
967
+ listAllL7Rules(listAllL7RulesRequest) {
968
+ const options = (0, exports.ParamCreater)().listAllL7Rules(listAllL7RulesRequest);
969
+ // @ts-ignore
970
+ options['responseHeaders'] = [''];
971
+ return this.hcClient.sendRequest(options);
972
+ }
770
973
  /**
771
974
  * 查询当前项目下的后端服务器列表。
772
975
  *
@@ -814,7 +1017,7 @@ class ElbClient {
814
1017
  *
815
1018
  * @summary 查询可用区列表
816
1019
  * @param {string} [publicBorderGroup] **参数解释**:公网边界组。 **约束限制**:不涉及 **取值范围**: - center:表示中心站点的公网边界组 - 边缘站点名称:表示边缘站点的公网边界组 **默认取值**:不涉及
817
- * @param {string} [loadbalancerId] **参数解释**:负载均衡器ID。传入可查询对应ELB支持的可用区列表。 **约束限制**:不涉及 **取值范围**:不涉及 **默认取值**:不涉及
1020
+ * @param {string} [loadbalancerId] **参数解释**:负载均衡器ID **约束限制**:不涉及 **取值范围**:不涉及 **默认取值**:不涉及
818
1021
  * @param {*} [options] Override http request option.
819
1022
  * @throws {RequiredError}
820
1023
  */
@@ -855,6 +1058,23 @@ class ElbClient {
855
1058
  options['responseHeaders'] = [''];
856
1059
  return this.hcClient.sendRequest(options);
857
1060
  }
1061
+ /**
1062
+ * 查询负载均衡器ip的域名配置信息,即负载均衡器的ip是否加入了域名解析。
1063
+ * 注意:当负载均衡器的公网域名和私网域名都没有打开时,该接口返回空列表。
1064
+ *
1065
+ * Please refer to HUAWEI cloud API Explorer for details.
1066
+ *
1067
+ * @summary 查询负载均衡器ip的域名配置信息
1068
+ * @param {string} loadbalancerId 负载均衡器ID。
1069
+ * @param {*} [options] Override http request option.
1070
+ * @throws {RequiredError}
1071
+ */
1072
+ listDomainIPs(listDomainIPsRequest) {
1073
+ const options = (0, exports.ParamCreater)().listDomainIPs(listDomainIPsRequest);
1074
+ // @ts-ignore
1075
+ options['responseHeaders'] = [''];
1076
+ return this.hcClient.sendRequest(options);
1077
+ }
858
1078
  /**
859
1079
  * 查询当前租户ELB服务的特性配置。
860
1080
  *
@@ -882,7 +1102,7 @@ class ElbClient {
882
1102
  * @param {boolean} [pageReverse] **参数解释**:是否反向查询。 **约束限制**: - 必须与limit一起使用。 - 当page_reverse&#x3D;true时,若要查询上一页,marker取值为当前页返回值的previous_marker。 **取值范围**: - true:查询上一页。 - false:查询下一页。 **默认取值**:false
883
1103
  * @param {Array<string>} [id] **参数解释**:规格ID。 支持多值查询,查询条件格式:*id&#x3D;xxx&amp;id&#x3D;xxx*。 **约束限制**:不涉及 **取值范围**:不涉及 **默认取值**:不涉及
884
1104
  * @param {Array<string>} [name] **参数解释**:规格名称。 支持多值查询,查询条件格式:*name&#x3D;xxx&amp;name&#x3D;xxx*。 **约束限制**:不涉及 **取值范围**:不涉及 **默认取值**:不涉及
885
- * @param {Array<string>} [type] **参数解释**:规格类别。 支持多值查询,查询条件格式:*type&#x3D;xxx&amp;type&#x3D;xxx*。 **约束限制**:不涉及 **取值范围**: - L4和L7 表示四层网络型和七层应用型flavor。 [- gateway 表示网关型LB的flavor,目前只支持弹性计费类型。当前仅支持欧洲局点。](tag:hws_eu) - L4_elastic和L7_elastic 表示弹性扩缩容实例的下限规格。 - L4_elastic_max、L7_elastic_max[gateway_elastic_max](tag:hws_eu) 表示弹性扩缩容实例的上限规格。 **默认取值**:不涉及
1105
+ * @param {Array<string>} [type] **参数解释**:规格类别。 **取值范围**: - L4和L7 表示四层网络型和七层应用型flavor。 - gwlb 表示网关型LB的flavor - L4_elastic和L7_elastic 表示弹性扩缩容实例的下限规格。 - L4_elastic_max、L7_elastic_max和gwlb_elastic_max 表示弹性扩缩容实例的上限规格。 支持多值查询,查询条件格式:*type&#x3D;xxx&amp;type&#x3D;xxx*。
886
1106
  * @param {boolean} [shared] **参数解释**:是否查询公共规格。 **约束限制**:不涉及 **取值范围**: - true表示查询公共规格,所有租户可见的规格。 - false表示查询私有规格,当前仅租户可见的规格。 **默认取值**:不涉及
887
1107
  * @param {Array<string>} [publicBorderGroup] **参数解释**:公网边界组。 支持多值查询,查询条件格式:*public_border_group&#x3D;xxx&amp;public_border_group&#x3D;xxx*。 **约束限制**:不涉及 **取值范围**: - center:表示中心站点的公网边界组 - 边缘站点名称:表示边缘站点的公网边界组 **默认取值**:不涉及
888
1108
  * @param {Array<number>} [category] **参数解释**:可用区子类型编码。该字段主要用于区分在边缘场景下,边缘AZ的类型。 支持多值查询,查询条件格式:*category&#x3D;xxx&amp;category&#x3D;xxx*。 **约束限制**:不涉及 **取值范围**:0表示center,21表示homezone,41表示IES。 **默认取值**:不涉及
@@ -915,7 +1135,7 @@ class ElbClient {
915
1135
  * @param {boolean} [adminStateUp] **参数解释**:健康检查的管理状态。 **约束限制**:不涉及 **取值范围**: - true:表示开启健康检查。 - false表示关闭健康检查。 **默认取值**:不涉及
916
1136
  * @param {Array<number>} [maxRetriesDown] **参数解释**:健康检查连续失败多少次后,将后端服务器的健康检查状态由ONLINE判定为OFFLINE。 支持多值查询,查询条件格式:******max_retries_down&#x3D;xxx&amp;max_retries_down&#x3D;xxx******。 **约束限制**:不涉及 **取值范围**:1-10 **默认取值**:不涉及
917
1137
  * @param {number} [timeout] **参数解释**:一次健康检查请求的超时时间。 **约束限制**:不涉及 **取值范围**:不涉及 **默认取值**:不涉及
918
- * @param {Array<string>} [type] **参数解释**:健康检查请求协议。 支持多值查询,查询条件格式:*****type&#x3D;xxx&amp;type&#x3D;xxx*****。 **约束限制**:不涉及 **取值范围**:TCP、UDP_CONNECT、HTTP、HTTPS、TLS和GRPC。 **默认取值**:不涉及
1138
+ * @param {Array<string>} [type] **参数解释**:健康检查请求协议。 支持多值查询,查询条件格式:*****type&#x3D;xxx&amp;type&#x3D;xxx*****。 **约束限制**:不涉及 **取值范围**:TCP、UDP_CONNECT、HTTP、HTTPS、TLS、GRPC[GRPCS](tag:not_open)。 **默认取值**:不涉及
919
1139
  * @param {Array<string>} [expectedCodes] **参数解释**:期望响应状态码。 支持多值查询,查询条件格式:****expected_codes&#x3D;xxx&amp;expected_codes&#x3D;xxx****。 **约束限制**:不涉及 **取值范围**: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 **默认取值**:不涉及
920
1140
  * @param {Array<string>} [urlPath] **参数解释**:健康检查测试member健康时发送的http请求路径。 支持多值查询,查询条件格式:***url_path&#x3D;xxx&amp;url_path&#x3D;xxx***。 **约束限制**:不涉及 **取值范围**:不涉及 **默认取值**:不涉及
921
1141
  * @param {Array<string>} [httpMethod] **参数解释**:HTTP请求方法。 支持多值查询,查询条件格式:**http_method&#x3D;xxx&amp;http_method&#x3D;xxx**。 **约束限制**:不涉及 **取值范围**:GET、HEAD、POST **默认取值**:不涉及
@@ -1013,6 +1233,21 @@ class ElbClient {
1013
1233
  options['responseHeaders'] = [''];
1014
1234
  return this.hcClient.sendRequest(options);
1015
1235
  }
1236
+ /**
1237
+ * 查询指定项目下所有监听器的标签列表
1238
+ *
1239
+ * Please refer to HUAWEI cloud API Explorer for details.
1240
+ *
1241
+ * @summary 查询所有监听器的标签列表
1242
+ * @param {*} [options] Override http request option.
1243
+ * @throws {RequiredError}
1244
+ */
1245
+ listListenerTags(listListenerTagsRequest) {
1246
+ const options = (0, exports.ParamCreater)().listListenerTags();
1247
+ // @ts-ignore
1248
+ options['responseHeaders'] = [''];
1249
+ return this.hcClient.sendRequest(options);
1250
+ }
1016
1251
  /**
1017
1252
  * 查询监听器列表。
1018
1253
  *
@@ -1023,7 +1258,7 @@ class ElbClient {
1023
1258
  * @param {string} [marker] **参数解释**:上一页最后一条记录的ID。 **约束限制**: - 必须与limit一起使用。 - 不指定时表示查询第一页。 - 该字段不允许为空或无效的ID。 **取值范围**:不涉及 **默认取值**:不涉及
1024
1259
  * @param {boolean} [pageReverse] **参数解释**:是否反向查询。 **约束限制**: - 必须与limit一起使用。 - 当page_reverse&#x3D;true时,若要查询上一页,marker取值为当前页返回值的previous_marker。 **取值范围**: - true:查询上一页。 - false:查询下一页。 **默认取值**:false
1025
1260
  * @param {Array<string>} [protocolPort] **参数解释**:监听器的前端监听端口。 支持多值查询,查询条件格式:*protocol_port&#x3D;xxx&amp;protocol_port&#x3D;xxx*。 **约束限制**:不涉及 **取值范围**:不涉及 **默认取值**:不涉及
1026
- * @param {Array<string>} [protocol] **参数解释**:监听器的监听协议。 支持多值查询,查询条件格式:*protocol&#x3D;xxx&amp;protocol&#x3D;xxx*。 **约束限制**:不涉及 [取值范围:TCP、UDP、HTTP、HTTPS、TERMINATED_HTTPS、QUIC、TLS。 说明:TERMINATED_HTTPS为共享型LB上的监听器独有的协议。](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,srg,fcs,dt) [取值范围:TCP、UDP、HTTP、HTTPS。](tag:hcso_dt) [取值范围:TCP、UDP、IP、HTTP、HTTPS。IP为网关型LB上的监听器独有的协议。](tag:hws_eu) **默认取值**:不涉及 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt)
1261
+ * @param {Array<string>} [protocol] **参数解释**:监听器的监听协议。 支持多值查询,查询条件格式:*protocol&#x3D;xxx&amp;protocol&#x3D;xxx*。 **约束限制**:不涉及 [**取值范围**:TCP、UDP、HTTP、HTTPS、TERMINATED_HTTPS、QUIC、TLS、IPIP为网关型LB上的监听器独有的协议。 说明:TERMINATED_HTTPS为共享型LB上的监听器独有的协议。](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,srg,fcs,dt) [**取值范围**:TCP、UDP、HTTP、HTTPS。](tag:hcso_dt) [**取值范围**:TCP、UDP、IP、HTTP、HTTPS。IP为网关型LB上的监听器独有的协议。](tag:hws_eu) **默认取值**:不涉及 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt)
1027
1262
  * @param {Array<string>} [description] **参数解释**:监听器的描述信息。 支持多值查询,查询条件格式:*description&#x3D;xxx&amp;description&#x3D;xxx*。 **约束限制**:不涉及 **取值范围**:不涉及 **默认取值**:不涉及
1028
1263
  * @param {Array<string>} [defaultTlsContainerRef] **参数解释**:监听器的服务器证书ID。 支持多值查询,查询条件格式: *default_tls_container_ref&#x3D;xxx&amp;default_tls_container_ref&#x3D;xxx*。 **约束限制**:不涉及 **取值范围**:不涉及 **默认取值**:不涉及
1029
1264
  * @param {Array<string>} [clientCaTlsContainerRef] **参数解释**:监听器的CA证书ID。 支持多值查询,查询条件格式: *client_ca_tls_container_ref&#x3D;xxx&amp;client_ca_tls_container_ref&#x3D;xxx*。 **约束限制**:不涉及 **取值范围**:不涉及 **默认取值**:不涉及
@@ -1076,7 +1311,7 @@ class ElbClient {
1076
1311
  * @param {Array<string>} [provisioningStatus] **参数解释**:负载均衡器的配置状态。 支持多值查询,查询条件格式: *provisioning_status&#x3D;xxx&amp;provisioning_status&#x3D;xxx*。 **约束限制**:不涉及 **取值范围**: - ACTIVE:使用中。 - PENDING_DELETE:删除中。 **默认取值**:不涉及
1077
1312
  * @param {Array<string>} [operatingStatus] **参数解释**:负载均衡器的操作状态。 支持多值查询,查询条件格式: *operating_status&#x3D;xxx&amp;operating_status&#x3D;xxx*。 **约束限制**:不涉及 **取值范围**: - ONLINE:正常运行。 - FROZEN:已冻结。 **默认取值**:不涉及
1078
1313
  * @param {boolean} [guaranteed] **参数解释**:是否独享型LB。 **约束限制**:不涉及 **取值范围**: - false:共享型 - true:独享型 **默认取值**:不涉及
1079
- * @param {Array<string>} [vpcId] **参数解释**:负载均衡器所在的VPC ID。 支持多值查询,查询条件格式: *vpc_id&#x3D;xxx&amp;vpc_id&#x3D;xxx*。 **约束限制**:不涉及 **取值范围**:不涉及 **默认取值**:不涉及
1314
+ * @param {Array<string>} [vpcId] **参数解释**:负载均衡器所在的VPC ID。 支持多值查询,查询条件格式:*vpc_id&#x3D;xxx&amp;vpc_id&#x3D;xxx*。 **约束限制**:不涉及 **取值范围**:不涉及 **默认取值**:不涉及
1080
1315
  * @param {Array<string>} [vipPortId] **参数解释**:负载均衡器的IPv4对应的port ID。 支持多值查询,查询条件格式: *vip_port_id&#x3D;xxx&amp;vip_port_id&#x3D;xxx*。 **约束限制**:不涉及 **取值范围**:不涉及 **默认取值**:不涉及
1081
1316
  * @param {Array<string>} [vipAddress] **参数解释**:负载均衡器的IPv4私网IP地址。 支持多值查询,查询条件格式: *vip_address&#x3D;xxx&amp;vip_address&#x3D;xxx*。 **约束限制**:不涉及 **取值范围**:不涉及 **默认取值**:不涉及
1082
1317
  * @param {Array<string>} [vipSubnetCidrId] **参数解释**:负载均衡器所在子网的IPv4子网ID,也称为该负载均衡器实例的前端子网。 支持多值查询,查询条件格式: *vip_subnet_cidr_id&#x3D;xxx&amp;vip_subnet_cidr_id&#x3D;xxx*。 **约束限制**:不涉及 **取值范围**:不涉及 **默认取值**:不涉及
@@ -1127,6 +1362,21 @@ class ElbClient {
1127
1362
  options['responseHeaders'] = [''];
1128
1363
  return this.hcClient.sendRequest(options);
1129
1364
  }
1365
+ /**
1366
+ * 查询指定项目下所有负载均衡器的标签列表
1367
+ *
1368
+ * Please refer to HUAWEI cloud API Explorer for details.
1369
+ *
1370
+ * @summary 查询所有负载均衡器的标签列表
1371
+ * @param {*} [options] Override http request option.
1372
+ * @throws {RequiredError}
1373
+ */
1374
+ listLoadbalancerTags(listLoadbalancerTagsRequest) {
1375
+ const options = (0, exports.ParamCreater)().listLoadbalancerTags();
1376
+ // @ts-ignore
1377
+ options['responseHeaders'] = [''];
1378
+ return this.hcClient.sendRequest(options);
1379
+ }
1130
1380
  /**
1131
1381
  * 查询云日志列表。
1132
1382
  *
@@ -1164,7 +1414,7 @@ class ElbClient {
1164
1414
  * @param {Array<string>} [id] **参数解释**:后端服务器组的ID。 支持多值查询,查询条件格式:*id&#x3D;xxx&amp;id&#x3D;xxx*。 **约束限制**:不涉及 **取值范围**:不涉及 **默认取值**:不涉及
1165
1415
  * @param {Array<string>} [name] **参数解释**:后端服务器组的名称。 支持多值查询,查询条件格式:*name&#x3D;xxx&amp;name&#x3D;xxx*。 **约束限制**:不涉及 **取值范围**:不涉及 **默认取值**:不涉及
1166
1416
  * @param {Array<string>} [loadbalancerId] **参数解释**:后端服务器组绑定的负载均衡器ID。 支持多值查询,查询条件格式:*loadbalancer_id&#x3D;xxx&amp;loadbalancer_id&#x3D;xxx*。 **约束限制**:不涉及 **取值范围**:不涉及 **默认取值**:不涉及
1167
- * @param {Array<string>} [protocol] **参数解释**:后端服务器组的后端协议。 支持多值查询,查询条件格式:*protocol&#x3D;xxx&amp;protocol&#x3D;xxx*。 **约束限制**:不涉及 **取值范围**:TCP、UDP、[IP、](tag:hws_eu)TLS、GRPC、HTTP、HTTPS和QUIC。 **默认取值**:不涉及
1417
+ * @param {Array<string>} [protocol] **参数解释**:后端服务器组的后端协议。 支持多值查询,查询条件格式:*protocol&#x3D;xxx&amp;protocol&#x3D;xxx*。 **约束限制**:不涉及 **取值范围**:TCP、UDP、IP、TLS、GRPC、HTTP、HTTPS和QUIC。 **默认取值**:不涉及
1168
1418
  * @param {Array<string>} [lbAlgorithm] **参数解释**:后端服务器组的负载均衡算法。 支持多值查询,查询条件格式:*lb_algorithm&#x3D;xxx&amp;lb_algorithm&#x3D;xxx*。 **约束限制**:不涉及 **取值范围**: 1、ROUND_ROBIN:加权轮询算法。 2、LEAST_CONNECTIONS:加权最少连接算法。 3、SOURCE_IP:源IP算法。 4、QUIC_CID:连接ID算法。 **默认取值**:不涉及
1169
1419
  * @param {Array<string>} [enterpriseProjectId] **参数解释**:资源所属的企业项目ID。 支持多值查询,查询条件格式:*enterprise_project_id&#x3D;xxx&amp;enterprise_project_id&#x3D;xxx*。 **约束限制**: - 如果enterprise_project_id不传值,默认查询所有企业项目下的资源,鉴权按照细粒度权限鉴权,必须在用户组下分配elb:pools:list权限。 - 如果enterprise_project_id传值,鉴权按照企业项目权限鉴权,分为传入具体eps_id和all_granted_eps两种场景,前者查询指定eps_id的eps下的资源,后者查询的是所有有list权限的eps下的资源。 **取值范围**:不涉及 **默认取值**:不涉及 [不支持该字段,请勿使用。](tag:dt,hcso_dt)
1170
1420
  * @param {Array<string>} [ipVersion] **参数解释**:后端服务器组支持的IP版本。 支持多值查询,查询条件格式:*ip_version&#x3D;xxx&amp;ip_version&#x3D;xxx*。 **约束限制**:不涉及 **取值范围**:不涉及 **默认取值**:不涉及
@@ -1231,8 +1481,8 @@ class ElbClient {
1231
1481
  * @param {Array<string>} [id] **参数解释**:后端服务器组的ID。 支持多值查询,查询条件格式:*id&#x3D;xxx&amp;id&#x3D;xxx*。 **约束限制**:不涉及 **取值范围**:不涉及 **默认取值**:不涉及
1232
1482
  * @param {Array<string>} [name] **参数解释**:后端服务器组的名称。 支持多值查询,查询条件格式:*name&#x3D;xxx&amp;name&#x3D;xxx*。 **约束限制**:不涉及 **取值范围**:不涉及 **默认取值**:不涉及
1233
1483
  * @param {Array<string>} [loadbalancerId] **参数解释**:后端服务器组绑定的负载均衡器ID。 支持多值查询,查询条件格式:*loadbalancer_id&#x3D;xxx&amp;loadbalancer_id&#x3D;xxx*。 **约束限制**:不涉及 **取值范围**:不涉及 **默认取值**:不涉及
1234
- * @param {Array<string>} [protocol] **参数解释**:后端服务器组的后端协议。 支持多值查询,查询条件格式:*protocol&#x3D;xxx&amp;protocol&#x3D;xxx*。 **约束限制**:不涉及 **取值范围**:TCP、UDP、[IP、](tag:hws_eu)TLS、HTTP、HTTPS、QUIC和GRPC。 **默认取值**:不涉及 [荷兰region不支持QUIC。](tag:dt)
1235
- * @param {Array<string>} [lbAlgorithm] **参数解释**:后端服务器组的负载均衡算法。 支持多值查询,查询条件格式:*lb_algorithm&#x3D;xxx&amp;lb_algorithm&#x3D;xxx*。 **约束限制**:不涉及 **取值范围**: - ROUND_ROBIN:加权轮询算法。 - LEAST_CONNECTIONS:加权最少连接算法。 - SOURCE_IP:源IP算法。 - QUIC_CID:连接ID算法。 [- 2_TUPLE_HASH:二元组hash算法,仅IP类型的pool支持。 - 3_TUPLE_HASH:三元组hash算法,仅IP类型的pool支持。 - 5_TUPLE_HASH:五元组hash算法,仅IP类型的pool支持。 - IP型pool不指定该字段时,默认设置为5_TUPLE_HASH。](tag:hws_eu) **默认取值**:不涉及
1484
+ * @param {Array<string>} [protocol] **参数解释**:后端服务器组的后端协议。 支持多值查询,查询条件格式:*protocol&#x3D;xxx&amp;protocol&#x3D;xxx*。 **约束限制**:不涉及 **取值范围**:TCP、UDP、IP、TLS、HTTP、HTTPS、QUIC和GRPC。 **默认取值**:不涉及 [荷兰region不支持QUIC。](tag:dt)
1485
+ * @param {Array<string>} [lbAlgorithm] **参数解释**:后端服务器组的负载均衡算法。 支持多值查询,查询条件格式:*lb_algorithm&#x3D;xxx&amp;lb_algorithm&#x3D;xxx*。 **约束限制**:不涉及 **取值范围**: - ROUND_ROBIN:加权轮询算法。 - LEAST_CONNECTIONS:加权最少连接算法。 - SOURCE_IP:源IP算法。 - QUIC_CID:连接ID算法。 - 2_TUPLE_HASH:二元组hash算法,仅IP类型的pool支持。 - 3_TUPLE_HASH:三元组hash算法,仅IP类型的pool支持。 - 5_TUPLE_HASH:五元组hash算法,仅IP类型的pool支持。 - IP型pool不指定该字段时,默认设置为5_TUPLE_HASH。 **默认取值**:不涉及
1236
1486
  * @param {Array<string>} [enterpriseProjectId] **参数解释**:资源所属的企业项目ID。 支持多值查询,查询条件格式: *enterprise_project_id&#x3D;xxx&amp;enterprise_project_id&#x3D;xxx*。 **约束限制**: 如果enterprise_project_id不传值,默认查询所有企业项目下的资源,鉴权按照细粒度权限鉴权,必须在用户组下分配elb:pools:list权限。 如果enterprise_project_id传值,鉴权按照企业项目权限鉴权,分为传入具体eps_id和all_granted_eps两种场景,前者查询指定eps_id的eps下的资源,后者查询的是所有有list权限的eps下的资源。 **取值范围**:不涉及 **默认取值**:不涉及 [不支持该字段,请勿使用。](tag:dt,hcso_dt)
1237
1487
  * @param {Array<string>} [ipVersion] **参数解释**:后端服务器组支持的IP版本。 支持多值查询,查询条件格式:*ip_version&#x3D;xxx&amp;ip_version&#x3D;xxx*。 **约束限制**:不涉及 **取值范围**:不涉及 **默认取值**:不涉及
1238
1488
  * @param {Array<string>} [memberAddress] **参数解释**:后端服务器的IP地址。仅用于查询条件,不作为响应参数字段。 支持多值查询,查询条件格式:*member_address&#x3D;xxx&amp;member_address&#x3D;xxx*。 **约束限制**:不涉及 **取值范围**:不涉及 **默认取值**:不涉及
@@ -1307,7 +1557,7 @@ class ElbClient {
1307
1557
  * @param {Array<string>} [memberAddress] 负载均衡器中的后端服务器对应的弹性云服务器的IP地址。仅用于查询条件,不作为响应参数字段。 支持多值查询,查询条件格式:*member_address&#x3D;xxx&amp;member_address&#x3D;xxx*。
1308
1558
  * @param {Array<string>} [enterpriseProjectId] **参数解释**:资源所属的企业项目ID。 支持多值查询,查询条件格式: *enterprise_project_id&#x3D;xxx&amp;enterprise_project_id&#x3D;xxx*。 **约束限制**: 如果enterprise_project_id不传值,默认查询所有企业项目下的资源,鉴权按照细粒度权限鉴权,必须在用户组下分配elb:loadbalancers:list权限。 如果enterprise_project_id传值,鉴权按照企业项目权限鉴权,分为传入具体eps_id和all_granted_eps两种场景,前者查询指定eps_id的eps下的资源,后者查询的是所有有list权限的eps下的资源。 **取值范围**:不涉及 **默认取值**:不涉及 [不支持该字段,请勿使用。](tag:dt,hcso_dt)
1309
1559
  * @param {Array<number>} [ipVersion] IP版本信息。 取值:4代表IPv4,6代表IPv6。 支持多值查询,查询条件格式:*ip_version&#x3D;xxx&amp;ip_version&#x3D;xxx*。 [不支持IPv6,请勿设置为6。](tag:dt)
1310
- * @param {boolean} [deletionProtectionEnable] 是否开启删除保护,false 不开启,true 开启。[不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42) [荷兰region不支持该字段,请勿使用。](tag:dt)
1560
+ * @param {boolean} [deletionProtectionEnable] 是否开启删除保护,false不开启,true开启。[不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42) [荷兰region不支持该字段,请勿使用。](tag:dt)
1311
1561
  * @param {Array<string>} [elbVirsubnetType] 下联面子网类型。 取值: - ipv4:ipv4。 - dualstack:双栈。 支持多值查询,查询条件格式: *elb_virsubnet_type&#x3D;ipv4&amp;elb_virsubnet_type&#x3D;dualstack*。
1312
1562
  * @param {Array<string>} [autoscaling] 是否开启弹性扩缩容。示例如下: \&quot;autoscaling\&quot;: { \&quot;enable\&quot;: \&quot;true\&quot; } 支持多值查询,查询条件格式: *autoscaling&#x3D;enable&#x3D;true&amp;autoscaling&#x3D;enable&#x3D;false*。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42,hcso,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
1313
1563
  * @param {Array<string>} [protectionStatus] 修改保护状态, 取值: - nonProtection: 不保护,默认值为nonProtection - consoleProtection: 控制台修改保护
@@ -1332,11 +1582,11 @@ class ElbClient {
1332
1582
  * @param {string} [marker] **参数解释**:上一页最后一条记录的ID。 **约束限制**: - 必须与limit一起使用。 - 不指定时表示查询第一页。 - 该字段不允许为空或无效的ID。 **取值范围**:不涉及 **默认取值**:不涉及
1333
1583
  * @param {number} [limit] **参数解释**:每页返回的个数。 **约束限制**:不涉及 **取值范围**:0-2000 **默认取值**:2000
1334
1584
  * @param {boolean} [pageReverse] **参数解释**:是否反向查询。 **约束限制**: - 必须与limit一起使用。 - 当page_reverse&#x3D;true时,若要查询上一页,marker取值为当前页返回值的previous_marker。 **取值范围**: - true:查询上一页。 - false:查询下一页。 **默认取值**:false
1335
- * @param {Array<string>} [id] **参数解释**:自定义安全策略的ID。 支持多值查询,查询条件格式:*id&#x3D;xxx&amp;id&#x3D;xxx*。 **约束限制**:不涉及 **取值范围**:不涉及 **默认取值**:不涉及
1336
- * @param {Array<string>} [name] **参数解释**:自定义安全策略的名称。 支持多值查询,查询条件格式:*name&#x3D;xxx&amp;name&#x3D;xxx*。 **约束限制**:不涉及 **取值范围**:不涉及 **默认取值**:不涉及
1337
- * @param {Array<string>} [description] **参数解释**:自定义安全策略的描述信息。 支持多值查询,查询条件格式:*description&#x3D;xxx&amp;description&#x3D;xxx*。 **约束限制**:不涉及 **取值范围**:不涉及 **默认取值**:不涉及
1338
- * @param {Array<string>} [protocols] **参数解释**:空格分隔的自定义安全策略的TLS协议。 支持多值查询,查询条件格式:*protocols&#x3D;xxx&amp;protocols&#x3D;xxx*。 **约束限制**:不涉及 **取值范围**:不涉及 **默认取值**:不涉及
1339
- * @param {Array<string>} [ciphers] **参数解释**:冒号分隔的自定义安全策略的加密套件。 支持多值查询,查询条件格式:*ciphers&#x3D;xxx&amp;ciphers&#x3D;xxx*。 **约束限制**:不涉及 **取值范围**:不涉及 **默认取值**:不涉及
1585
+ * @param {Array<string>} [id] **参数解释**:自定义安全策略的ID。 支持多值查询,查询条件格式:*id&#x3D;xxx&amp;id&#x3D;xxx*。 **约束限制**:不涉及 **取值范围**:不涉及 **默认取值**:不涉及
1586
+ * @param {Array<string>} [name] **参数解释**:自定义安全策略的名称。 支持多值查询,查询条件格式:*name&#x3D;xxx&amp;name&#x3D;xxx*。 **约束限制**:不涉及 **取值范围**:不涉及 **默认取值**:不涉及
1587
+ * @param {Array<string>} [description] **参数解释**:自定义安全策略的描述信息。 支持多值查询,查询条件格式:*description&#x3D;xxx&amp;description&#x3D;xxx*。 **约束限制**:不涉及 **取值范围**:不涉及 **默认取值**:不涉及
1588
+ * @param {Array<string>} [protocols] **参数解释**:空格分隔的自定义安全策略的TLS协议。 支持多值查询,查询条件格式:*protocols&#x3D;xxx&amp;protocols&#x3D;xxx*。 **约束限制**:不涉及 **取值范围**:不涉及 **默认取值**:不涉及
1589
+ * @param {Array<string>} [ciphers] **参数解释**:冒号分隔的自定义安全策略的加密套件。 支持多值查询,查询条件格式:*ciphers&#x3D;xxx&amp;ciphers&#x3D;xxx*。 **约束限制**:不涉及 **取值范围**:不涉及 **默认取值**:不涉及
1340
1590
  * @param {*} [options] Override http request option.
1341
1591
  * @throws {RequiredError}
1342
1592
  */
@@ -1507,6 +1757,22 @@ class ElbClient {
1507
1757
  options['responseHeaders'] = [''];
1508
1758
  return this.hcClient.sendRequest(options);
1509
1759
  }
1760
+ /**
1761
+ * 查询指定监听器的所有标签。
1762
+ *
1763
+ * Please refer to HUAWEI cloud API Explorer for details.
1764
+ *
1765
+ * @summary 查询监听器的标签
1766
+ * @param {string} listenerId **参数解释**:监听器ID。 **约束限制**:不涉及 **取值范围**:不涉及 **默认取值**:不涉及
1767
+ * @param {*} [options] Override http request option.
1768
+ * @throws {RequiredError}
1769
+ */
1770
+ showListenerTags(showListenerTagsRequest) {
1771
+ const options = (0, exports.ParamCreater)().showListenerTags(showListenerTagsRequest);
1772
+ // @ts-ignore
1773
+ options['responseHeaders'] = [''];
1774
+ return this.hcClient.sendRequest(options);
1775
+ }
1510
1776
  /**
1511
1777
  * 查询负载均衡器详情。
1512
1778
  *
@@ -1524,11 +1790,11 @@ class ElbClient {
1524
1790
  return this.hcClient.sendRequest(options);
1525
1791
  }
1526
1792
  /**
1527
- * 查询负载均衡器占用的下联面子网端口和IP地址信息。
1793
+ * 查询负载均衡内部转发用的IP
1528
1794
  *
1529
1795
  * Please refer to HUAWEI cloud API Explorer for details.
1530
1796
  *
1531
- * @summary 查询负载均衡器占用的下联面子网端口列表
1797
+ * @summary 查询负载均衡内部转发用的IP
1532
1798
  * @param {string} loadbalancerId **参数解释**:负载均衡器ID。 **约束限制**:不涉及 **取值范围**:不涉及 **默认取值**:不涉及
1533
1799
  * @param {Array<string>} [portId] **参数解释**:负载均衡器占用的端口ID。 支持多值查询,查询条件格式:*port_id&#x3D;xxx&amp;port_id&#x3D;xxx*。
1534
1800
  * @param {Array<string>} [ipAddress] **参数解释**:负载均衡器占用的私有IPv4地址。 **约束限制**:不涉及 **取值范围**:不涉及 **默认取值**:不涉及 支持多值查询,查询条件格式:*ip_address&#x3D;xxx&amp;ip_address&#x3D;xxx*。
@@ -1563,6 +1829,44 @@ class ElbClient {
1563
1829
  options['responseHeaders'] = [''];
1564
1830
  return this.hcClient.sendRequest(options);
1565
1831
  }
1832
+ /**
1833
+ * 查询负载均衡拓扑,将负载均衡器及其包含的监听器、后端服务器组以拓扑的形式展示。
1834
+ *
1835
+ * Please refer to HUAWEI cloud API Explorer for details.
1836
+ *
1837
+ * @summary 查询负载均衡器拓扑
1838
+ * @param {string} loadbalancerId **参数解释**:负载均衡器ID。 **约束限制**:不涉及 **取值范围**:不涉及 **默认取值**:不涉及
1839
+ * @param {string} [listenerId] 监听器的ID。 支持多值查询,查询条件格式:*listener_id&#x3D;xxx&amp;listener_id&#x3D;xxx*。
1840
+ * @param {string} [poolId] 后端服务器组的ID。 支持多值查询,查询条件格式:*pool_id&#x3D;xxx&amp;pool_id&#x3D;xxx*。
1841
+ * @param {string} [listenerName] 监听器的名称。 支持多值查询,查询条件格式:*listener_name&#x3D;xxx&amp;listener_name&#x3D;xxx*。
1842
+ * @param {string} [listenerProtocol] 监听器的协议。 支持多值查询,查询条件格式:*listener_protocol&#x3D;xxx&amp;listener_protocol&#x3D;xxx*。
1843
+ * @param {number} [listenerProtocolPort] 监听器的监听端口。 支持多值查询,查询条件格式:*listener_protocol_port&#x3D;xxx&amp;listener_protocol_port&#x3D;xxx*。
1844
+ * @param {string} [poolName] 后端服务器组的名称。 支持多值查询,查询条件格式:*pool_name&#x3D;xxx&amp;pool_name&#x3D;xxx*。
1845
+ * @param {*} [options] Override http request option.
1846
+ * @throws {RequiredError}
1847
+ */
1848
+ showLoadBalancerTopology(showLoadBalancerTopologyRequest) {
1849
+ const options = (0, exports.ParamCreater)().showLoadBalancerTopology(showLoadBalancerTopologyRequest);
1850
+ // @ts-ignore
1851
+ options['responseHeaders'] = [''];
1852
+ return this.hcClient.sendRequest(options);
1853
+ }
1854
+ /**
1855
+ * 查询指定负载均衡器的所有标签
1856
+ *
1857
+ * Please refer to HUAWEI cloud API Explorer for details.
1858
+ *
1859
+ * @summary 查询负载均衡器的标签
1860
+ * @param {string} loadbalancerId **参数解释**:负载均衡器ID。 **约束限制**:不涉及 **取值范围**:不涉及 **默认取值**:不涉及
1861
+ * @param {*} [options] Override http request option.
1862
+ * @throws {RequiredError}
1863
+ */
1864
+ showLoadbalancerTags(showLoadbalancerTagsRequest) {
1865
+ const options = (0, exports.ParamCreater)().showLoadbalancerTags(showLoadbalancerTagsRequest);
1866
+ // @ts-ignore
1867
+ options['responseHeaders'] = [''];
1868
+ return this.hcClient.sendRequest(options);
1869
+ }
1566
1870
  /**
1567
1871
  * 云日志详情。
1568
1872
  *
@@ -1895,6 +2199,40 @@ class ElbClient {
1895
2199
  options['responseHeaders'] = [''];
1896
2200
  return this.hcClient.sendRequest(options);
1897
2201
  }
2202
+ /**
2203
+ * 配置负载均衡器系统默认域名化。
2204
+ *
2205
+ * Please refer to HUAWEI cloud API Explorer for details.
2206
+ *
2207
+ * @summary 配置负载均衡器系统默认域名化
2208
+ * @param {string} loadbalancerId 负载均衡器ID。
2209
+ * @param {UpdateSystemDefaultDomainConfigRequestBody} updateSystemDefaultDomainConfigRequestBody 配置负载均衡器系统默认域名化的请求体。
2210
+ * @param {*} [options] Override http request option.
2211
+ * @throws {RequiredError}
2212
+ */
2213
+ updateSystemDefaultDomainConfig(updateSystemDefaultDomainConfigRequest) {
2214
+ const options = (0, exports.ParamCreater)().updateSystemDefaultDomainConfig(updateSystemDefaultDomainConfigRequest);
2215
+ // @ts-ignore
2216
+ options['responseHeaders'] = [''];
2217
+ return this.hcClient.sendRequest(options);
2218
+ }
2219
+ /**
2220
+ * 配置负载均衡器用户自定义域名化。
2221
+ *
2222
+ * Please refer to HUAWEI cloud API Explorer for details.
2223
+ *
2224
+ * @summary 配置负载均衡器用户自定义域名化
2225
+ * @param {string} loadbalancerId 负载均衡器ID。
2226
+ * @param {UpdateUserDefinedDomainConfigRequestBody} updateUserDefinedDomainConfigRequestBody 配置负载均衡器用户自定义域名化的请求体。
2227
+ * @param {*} [options] Override http request option.
2228
+ * @throws {RequiredError}
2229
+ */
2230
+ updateUserDefinedDomainConfig(updateUserDefinedDomainConfigRequest) {
2231
+ const options = (0, exports.ParamCreater)().updateUserDefinedDomainConfig(updateUserDefinedDomainConfigRequest);
2232
+ // @ts-ignore
2233
+ options['responseHeaders'] = [''];
2234
+ return this.hcClient.sendRequest(options);
2235
+ }
1898
2236
  /**
1899
2237
  * 升级负载均衡器类型。支持将共享型ELB升级为独享型ELB,但不支持独享型降级为共享型。
1900
2238
  *
@@ -1968,7 +2306,7 @@ class ElbClient {
1968
2306
  *
1969
2307
  * @summary 计算预占IP数
1970
2308
  * @param {string} [l7FlavorId] **参数解释**:负载均衡器七层规格的ID。传入该字段表示计算创建该规格的LB的预占IP数量,或变更LB的原七层规格到该规格所需要的新增预占IP数量。 **约束限制**:仅支持创建LB、变更LB规格场景。 **取值范围**:不涉及 **默认取值**:不涉及 [不支持传入l7_flavor_id。](tag:hcso,hk_vdf,srg,fcs)
1971
- * @param {boolean} [ipTargetEnable] **参数解释**:IP类型后端转发开关。 **约束限制**:仅支持创建LB、LB开启IP类型后端转发场景。 **取值范围**: - 取值true表示计算创建开启IP类型后端转发的LB的预占IP数量,或开启IP类型后端转发所需要的新增预占IP数量。 - 取值false表示计算创建不开启IP类型后端转发的LB的预占IP。 - 不传等价false。 **默认取值**:false [荷兰region不支持该字段,请勿使用。](tag:dt)
2309
+ * @param {boolean} [ipTargetEnable] **参数解释**:IP类型后端转发开关。 **约束限制**:仅支持创建LB、LB开启IP类型后端转发场景。 **取值范围**: - 取值true表示计算创建开启IP类型后端转发的LB的预占IP数量,或开启IP类型后端转发所需要的新增预占IP数量。 - 取值false表示计算创建不开启IP类型后端转发的LB的预占IP。 - 不传等价false。 **默认取值**:false [荷兰region不支持该字段,请勿使用。](tag:dt)
1972
2310
  * @param {number} [ipVersion] **参数解释**:负载均衡器IP地址类型,取值4、6 。 **约束限制**:仅支持创建LB场景。 **取值范围**: - 取值4表示计算创建支持IPv4地址的LB的预占IP。 - 取值6表示计算创建支持IPv6地址的LB的预占IP。 **默认取值**:不涉及 [不支持IPv6,请勿设置为6。](tag:dt)
1973
2311
  * @param {string} [loadbalancerId] **参数解释**:负载均衡器ID。计算LB变更或创建LB中的第一个七层监听器的新增预占IP。 **约束限制**:仅支持变更LB规格、开启IP类型后端转发、开启/不开启地址转换功能、创建LB中的第一个七层监听器场景。 **取值范围**:不涉及 **默认取值**:不涉及
1974
2312
  * @param {Array<string>} [availabilityZoneId] **参数解释**:计算创建AZ列表为availability_zone_id的负载均衡器实例的预占IP。 **约束限制**: - 仅支持创建LB场景。 - 传入loadbalancer_id时,该参数无效。 **取值范围**:不涉及 **默认取值**:不涉及
@@ -2251,6 +2589,105 @@ const ParamCreater = function () {
2251
2589
  options.headers = localVarHeaderParameter;
2252
2590
  return options;
2253
2591
  },
2592
+ /**
2593
+ * 批量删除证书。
2594
+ *
2595
+ * Please refer to HUAWEI cloud API Explorer for details.
2596
+ */
2597
+ batchDeleteCertificates(batchDeleteCertificatesRequest) {
2598
+ const options = {
2599
+ method: "POST",
2600
+ url: "/v3/{project_id}/elb/certificates/batch-delete",
2601
+ contentType: "application/json;charset=UTF-8",
2602
+ queryParams: {},
2603
+ pathParams: {},
2604
+ headers: {},
2605
+ data: {}
2606
+ };
2607
+ const localVarHeaderParameter = {};
2608
+ let body;
2609
+ if (batchDeleteCertificatesRequest !== null && batchDeleteCertificatesRequest !== undefined) {
2610
+ if (batchDeleteCertificatesRequest instanceof BatchDeleteCertificatesRequest_1.BatchDeleteCertificatesRequest) {
2611
+ body = batchDeleteCertificatesRequest.body;
2612
+ }
2613
+ else {
2614
+ body = batchDeleteCertificatesRequest['body'];
2615
+ }
2616
+ }
2617
+ if (body === null || body === undefined) {
2618
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
2619
+ }
2620
+ localVarHeaderParameter['Content-Type'] = 'application/json;charset=UTF-8';
2621
+ options.data = body !== undefined ? body : {};
2622
+ options.headers = localVarHeaderParameter;
2623
+ return options;
2624
+ },
2625
+ /**
2626
+ * 批量删除监听器。
2627
+ *
2628
+ * Please refer to HUAWEI cloud API Explorer for details.
2629
+ */
2630
+ batchDeleteListeners(batchDeleteListenersRequest) {
2631
+ const options = {
2632
+ method: "POST",
2633
+ url: "/v3/{project_id}/elb/listeners/batch-delete",
2634
+ contentType: "application/json;charset=UTF-8",
2635
+ queryParams: {},
2636
+ pathParams: {},
2637
+ headers: {},
2638
+ data: {}
2639
+ };
2640
+ const localVarHeaderParameter = {};
2641
+ let body;
2642
+ if (batchDeleteListenersRequest !== null && batchDeleteListenersRequest !== undefined) {
2643
+ if (batchDeleteListenersRequest instanceof BatchDeleteListenersRequest_1.BatchDeleteListenersRequest) {
2644
+ body = batchDeleteListenersRequest.body;
2645
+ }
2646
+ else {
2647
+ body = batchDeleteListenersRequest['body'];
2648
+ }
2649
+ }
2650
+ if (body === null || body === undefined) {
2651
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
2652
+ }
2653
+ localVarHeaderParameter['Content-Type'] = 'application/json;charset=UTF-8';
2654
+ options.data = body !== undefined ? body : {};
2655
+ options.headers = localVarHeaderParameter;
2656
+ return options;
2657
+ },
2658
+ /**
2659
+ * 批量删除负载均衡器。
2660
+ *
2661
+ * Please refer to HUAWEI cloud API Explorer for details.
2662
+ */
2663
+ batchDeleteLoadbalancers(batchDeleteLoadbalancersRequest) {
2664
+ const options = {
2665
+ method: "POST",
2666
+ url: "/v3/{project_id}/elb/loadbalancers/batch-delete",
2667
+ contentType: "application/json;charset=UTF-8",
2668
+ queryParams: {},
2669
+ pathParams: {},
2670
+ headers: {},
2671
+ data: {}
2672
+ };
2673
+ const localVarHeaderParameter = {};
2674
+ let body;
2675
+ if (batchDeleteLoadbalancersRequest !== null && batchDeleteLoadbalancersRequest !== undefined) {
2676
+ if (batchDeleteLoadbalancersRequest instanceof BatchDeleteLoadbalancersRequest_1.BatchDeleteLoadbalancersRequest) {
2677
+ body = batchDeleteLoadbalancersRequest.body;
2678
+ }
2679
+ else {
2680
+ body = batchDeleteLoadbalancersRequest['body'];
2681
+ }
2682
+ }
2683
+ if (body === null || body === undefined) {
2684
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
2685
+ }
2686
+ localVarHeaderParameter['Content-Type'] = 'application/json;charset=UTF-8';
2687
+ options.data = body !== undefined ? body : {};
2688
+ options.headers = localVarHeaderParameter;
2689
+ return options;
2690
+ },
2254
2691
  /**
2255
2692
  * 在指定pool下批量删除后端服务器。一次最多添加200个。
2256
2693
  *
@@ -2291,6 +2728,119 @@ const ParamCreater = function () {
2291
2728
  options.headers = localVarHeaderParameter;
2292
2729
  return options;
2293
2730
  },
2731
+ /**
2732
+ * 批量删除后端服务器组。
2733
+ *
2734
+ * Please refer to HUAWEI cloud API Explorer for details.
2735
+ */
2736
+ batchDeletePools(batchDeletePoolsRequest) {
2737
+ const options = {
2738
+ method: "POST",
2739
+ url: "/v3/{project_id}/elb/pools/batch-delete",
2740
+ contentType: "application/json;charset=UTF-8",
2741
+ queryParams: {},
2742
+ pathParams: {},
2743
+ headers: {},
2744
+ data: {}
2745
+ };
2746
+ const localVarHeaderParameter = {};
2747
+ let body;
2748
+ if (batchDeletePoolsRequest !== null && batchDeletePoolsRequest !== undefined) {
2749
+ if (batchDeletePoolsRequest instanceof BatchDeletePoolsRequest_1.BatchDeletePoolsRequest) {
2750
+ body = batchDeletePoolsRequest.body;
2751
+ }
2752
+ else {
2753
+ body = batchDeletePoolsRequest['body'];
2754
+ }
2755
+ }
2756
+ if (body === null || body === undefined) {
2757
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
2758
+ }
2759
+ localVarHeaderParameter['Content-Type'] = 'application/json;charset=UTF-8';
2760
+ options.data = body !== undefined ? body : {};
2761
+ options.headers = localVarHeaderParameter;
2762
+ return options;
2763
+ },
2764
+ /**
2765
+ * 批量将IP地址从LB实例域名解析中移除。
2766
+ *
2767
+ * Please refer to HUAWEI cloud API Explorer for details.
2768
+ */
2769
+ batchDisableDomainIPs(batchDisableDomainIPsRequest) {
2770
+ const options = {
2771
+ method: "POST",
2772
+ url: "/v3/{project_id}/elb/loadbalancers/{loadbalancer_id}/dns/ips/batch-disable",
2773
+ contentType: "application/json;charset=UTF-8",
2774
+ queryParams: {},
2775
+ pathParams: {},
2776
+ headers: {},
2777
+ data: {}
2778
+ };
2779
+ const localVarHeaderParameter = {};
2780
+ let body;
2781
+ let loadbalancerId;
2782
+ if (batchDisableDomainIPsRequest !== null && batchDisableDomainIPsRequest !== undefined) {
2783
+ if (batchDisableDomainIPsRequest instanceof BatchDisableDomainIPsRequest_1.BatchDisableDomainIPsRequest) {
2784
+ loadbalancerId = batchDisableDomainIPsRequest.loadbalancerId;
2785
+ body = batchDisableDomainIPsRequest.body;
2786
+ }
2787
+ else {
2788
+ loadbalancerId = batchDisableDomainIPsRequest['loadbalancer_id'];
2789
+ body = batchDisableDomainIPsRequest['body'];
2790
+ }
2791
+ }
2792
+ if (loadbalancerId === null || loadbalancerId === undefined) {
2793
+ throw new RequiredError('loadbalancerId', 'Required parameter loadbalancerId was null or undefined when calling batchDisableDomainIPs.');
2794
+ }
2795
+ if (body === null || body === undefined) {
2796
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
2797
+ }
2798
+ localVarHeaderParameter['Content-Type'] = 'application/json;charset=UTF-8';
2799
+ options.data = body !== undefined ? body : {};
2800
+ options.pathParams = { 'loadbalancer_id': loadbalancerId, };
2801
+ options.headers = localVarHeaderParameter;
2802
+ return options;
2803
+ },
2804
+ /**
2805
+ * 批量将IP地址加入LB实例域名解析中。
2806
+ *
2807
+ * Please refer to HUAWEI cloud API Explorer for details.
2808
+ */
2809
+ batchEnableDomainIPs(batchEnableDomainIPsRequest) {
2810
+ const options = {
2811
+ method: "POST",
2812
+ url: "/v3/{project_id}/elb/loadbalancers/{loadbalancer_id}/dns/ips/batch-enable",
2813
+ contentType: "application/json;charset=UTF-8",
2814
+ queryParams: {},
2815
+ pathParams: {},
2816
+ headers: {},
2817
+ data: {}
2818
+ };
2819
+ const localVarHeaderParameter = {};
2820
+ let body;
2821
+ let loadbalancerId;
2822
+ if (batchEnableDomainIPsRequest !== null && batchEnableDomainIPsRequest !== undefined) {
2823
+ if (batchEnableDomainIPsRequest instanceof BatchEnableDomainIPsRequest_1.BatchEnableDomainIPsRequest) {
2824
+ loadbalancerId = batchEnableDomainIPsRequest.loadbalancerId;
2825
+ body = batchEnableDomainIPsRequest.body;
2826
+ }
2827
+ else {
2828
+ loadbalancerId = batchEnableDomainIPsRequest['loadbalancer_id'];
2829
+ body = batchEnableDomainIPsRequest['body'];
2830
+ }
2831
+ }
2832
+ if (loadbalancerId === null || loadbalancerId === undefined) {
2833
+ throw new RequiredError('loadbalancerId', 'Required parameter loadbalancerId was null or undefined when calling batchEnableDomainIPs.');
2834
+ }
2835
+ if (body === null || body === undefined) {
2836
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
2837
+ }
2838
+ localVarHeaderParameter['Content-Type'] = 'application/json;charset=UTF-8';
2839
+ options.data = body !== undefined ? body : {};
2840
+ options.pathParams = { 'loadbalancer_id': loadbalancerId, };
2841
+ options.headers = localVarHeaderParameter;
2842
+ return options;
2843
+ },
2294
2844
  /**
2295
2845
  * 移除负载均衡器的可用区。
2296
2846
  * &gt; 移除可用区可能导致已有连接断开,请谨慎操作。
@@ -2402,6 +2952,46 @@ const ParamCreater = function () {
2402
2952
  options.headers = localVarHeaderParameter;
2403
2953
  return options;
2404
2954
  },
2955
+ /**
2956
+ * 批量添加或删除指定监听器器标签。
2957
+ *
2958
+ * Please refer to HUAWEI cloud API Explorer for details.
2959
+ */
2960
+ changeListenerTags(changeListenerTagsRequest) {
2961
+ const options = {
2962
+ method: "POST",
2963
+ url: "/v3/{project_id}/listeners/{listener_id}/tags/action",
2964
+ contentType: "application/json;charset=UTF-8",
2965
+ queryParams: {},
2966
+ pathParams: {},
2967
+ headers: {},
2968
+ data: {}
2969
+ };
2970
+ const localVarHeaderParameter = {};
2971
+ let body;
2972
+ let listenerId;
2973
+ if (changeListenerTagsRequest !== null && changeListenerTagsRequest !== undefined) {
2974
+ if (changeListenerTagsRequest instanceof ChangeListenerTagsRequest_1.ChangeListenerTagsRequest) {
2975
+ listenerId = changeListenerTagsRequest.listenerId;
2976
+ body = changeListenerTagsRequest.body;
2977
+ }
2978
+ else {
2979
+ listenerId = changeListenerTagsRequest['listener_id'];
2980
+ body = changeListenerTagsRequest['body'];
2981
+ }
2982
+ }
2983
+ if (listenerId === null || listenerId === undefined) {
2984
+ throw new RequiredError('listenerId', 'Required parameter listenerId was null or undefined when calling changeListenerTags.');
2985
+ }
2986
+ if (body === null || body === undefined) {
2987
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
2988
+ }
2989
+ localVarHeaderParameter['Content-Type'] = 'application/json;charset=UTF-8';
2990
+ options.data = body !== undefined ? body : {};
2991
+ options.pathParams = { 'listener_id': listenerId, };
2992
+ options.headers = localVarHeaderParameter;
2993
+ return options;
2994
+ },
2405
2995
  /**
2406
2996
  * 负载均衡器计费模式变更,当前支持的计费模式变更为:
2407
2997
  * 1. 按需计费转包周期计费。
@@ -2438,6 +3028,93 @@ const ParamCreater = function () {
2438
3028
  options.headers = localVarHeaderParameter;
2439
3029
  return options;
2440
3030
  },
3031
+ /**
3032
+ * 批量添加或删除指定负载均衡器标签。
3033
+ *
3034
+ * Please refer to HUAWEI cloud API Explorer for details.
3035
+ */
3036
+ changeLoadbalancerTags(changeLoadbalancerTagsRequest) {
3037
+ const options = {
3038
+ method: "POST",
3039
+ url: "/v3/{project_id}/loadbalancers/{loadbalancer_id}/tags/action",
3040
+ contentType: "application/json;charset=UTF-8",
3041
+ queryParams: {},
3042
+ pathParams: {},
3043
+ headers: {},
3044
+ data: {}
3045
+ };
3046
+ const localVarHeaderParameter = {};
3047
+ let body;
3048
+ let loadbalancerId;
3049
+ if (changeLoadbalancerTagsRequest !== null && changeLoadbalancerTagsRequest !== undefined) {
3050
+ if (changeLoadbalancerTagsRequest instanceof ChangeLoadbalancerTagsRequest_1.ChangeLoadbalancerTagsRequest) {
3051
+ loadbalancerId = changeLoadbalancerTagsRequest.loadbalancerId;
3052
+ body = changeLoadbalancerTagsRequest.body;
3053
+ }
3054
+ else {
3055
+ loadbalancerId = changeLoadbalancerTagsRequest['loadbalancer_id'];
3056
+ body = changeLoadbalancerTagsRequest['body'];
3057
+ }
3058
+ }
3059
+ if (loadbalancerId === null || loadbalancerId === undefined) {
3060
+ throw new RequiredError('loadbalancerId', 'Required parameter loadbalancerId was null or undefined when calling changeLoadbalancerTags.');
3061
+ }
3062
+ if (body === null || body === undefined) {
3063
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
3064
+ }
3065
+ localVarHeaderParameter['Content-Type'] = 'application/json;charset=UTF-8';
3066
+ options.data = body !== undefined ? body : {};
3067
+ options.pathParams = { 'loadbalancer_id': loadbalancerId, };
3068
+ options.headers = localVarHeaderParameter;
3069
+ return options;
3070
+ },
3071
+ /**
3072
+ * 复制已有的监听器到同VPC内的负载均衡器。
3073
+ * - 仅支持同VPC实例间使用监听器复制功能。
3074
+ * - 不支持网关型LB下监听器进行复制,也不支持复制到网关型LB下。
3075
+ * - 仅同类型实例之间可以使用监听器复制功能。
3076
+ * - 对复制的源监听器有如下限制:后端服务器总数不能超过1000;转发策略总数不能超过100。
3077
+ * - 源监听器所在负载均衡器和目的监听器所在负载均衡器不能处于冻结、迁移状态。
3078
+ * - 源监听器中若配置quic_config,复制后为null。
3079
+ * - 七层转发策略配置为重定向到监听器,该转发策略不会进行复制。
3080
+ *
3081
+ * Please refer to HUAWEI cloud API Explorer for details.
3082
+ */
3083
+ cloneListener(cloneListenerRequest) {
3084
+ const options = {
3085
+ method: "POST",
3086
+ url: "/v3/{project_id}/elb/listeners/{listener_id}/clone",
3087
+ contentType: "application/json;charset=UTF-8",
3088
+ queryParams: {},
3089
+ pathParams: {},
3090
+ headers: {},
3091
+ data: {}
3092
+ };
3093
+ const localVarHeaderParameter = {};
3094
+ let body;
3095
+ let listenerId;
3096
+ if (cloneListenerRequest !== null && cloneListenerRequest !== undefined) {
3097
+ if (cloneListenerRequest instanceof CloneListenerRequest_1.CloneListenerRequest) {
3098
+ listenerId = cloneListenerRequest.listenerId;
3099
+ body = cloneListenerRequest.body;
3100
+ }
3101
+ else {
3102
+ listenerId = cloneListenerRequest['listener_id'];
3103
+ body = cloneListenerRequest['body'];
3104
+ }
3105
+ }
3106
+ if (listenerId === null || listenerId === undefined) {
3107
+ throw new RequiredError('listenerId', 'Required parameter listenerId was null or undefined when calling cloneListener.');
3108
+ }
3109
+ if (body === null || body === undefined) {
3110
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
3111
+ }
3112
+ localVarHeaderParameter['Content-Type'] = 'application/json;charset=UTF-8';
3113
+ options.data = body !== undefined ? body : {};
3114
+ options.pathParams = { 'listener_id': listenerId, };
3115
+ options.headers = localVarHeaderParameter;
3116
+ return options;
3117
+ },
2441
3118
  /**
2442
3119
  * 复制已有的负载均衡器实例。
2443
3120
  *
@@ -2696,11 +3373,12 @@ const ParamCreater = function () {
2696
3373
  * - 若要创建网络型负载均衡器,则需要传入l4_flavor_id(网络型规格ID);若要创建应用型负载均衡器,则需要传入l7_flavor_id(应用型规格ID);若要创建网络型+应用型负载均衡器,则需要传入l4_flavor_id和l7_flavor_id。
2697
3374
  * [- 若要创建包周期负载均衡器,则需要传入prepaid_options,否则创建按需计费负载均衡器。](tag:hws)
2698
3375
  * - 按需计费分为固定规格计费和弹性规格计费,根据创建时所选规格的类型决定计费方式。具体规格说明见创建LB请求参数l4_flavor_id和l7_flavor_id。
2699
- * [- 若要创建gateway类型的负载均衡器,则需要:
3376
+ * - 若要创建gateway类型的负载均衡器,则需要:
2700
3377
  * - 指定loadbalancer_type&#x3D;\&quot;gateway\&quot;,且不支持指定vip_address,ipv6_vip_address。
2701
3378
  * - vip_subnet_cidr_id和ipv6_subnet_cidr_id两者不能都为空,如果两者都传入,则必须属于同一子网。
2702
3379
  * - 不支持创建公网gateway类型LB。
2703
- * - 如果要指定规格,则从请求参数gw_flavor_id传入。](tag:hws_eu)
3380
+ * - 不支持传入autoscaling字段,不支持l4_flavor_id和l7_flavor_id。
3381
+ * - 必须要指定网关型规格,通过参数gw_flavor_id传入。
2704
3382
  *
2705
3383
  * Please refer to HUAWEI cloud API Explorer for details.
2706
3384
  */
@@ -3212,8 +3890,11 @@ const ParamCreater = function () {
3212
3890
  /**
3213
3891
  * 删除负载均衡器且级联删除其下子资源(删除负载均衡器及其绑定的监听器、后端服务器组、后端服务器等一系列资源)。
3214
3892
  * - 若LB关联了EIP,则只解绑EIP,不会删除EIP。
3893
+ * - 若LB已开启了误删保护开关,则级联删除失败。
3894
+ * - 若LB下任意一个后端服务器组开启了误删保护开关,则级联删除失败。
3895
+ * - 修改保护开关开启不影响级联删除,仍能正常删除。
3215
3896
  * [- 若已开启多挂特性,且关联了多个LB,则只做解绑;否则删除。
3216
- * - 若是共享型LB下的后端服务器组,无论是否多挂都只删除,不解绑。](tag:hc,hk)
3897
+ * - 若是共享型LB下的后端服务器组,无论是否多挂都只删除,不解绑。](tag:hws,hws_hk)
3217
3898
  *
3218
3899
  * Please refer to HUAWEI cloud API Explorer for details.
3219
3900
  */
@@ -3442,27 +4123,125 @@ const ParamCreater = function () {
3442
4123
  */
3443
4124
  deleteSecurityPolicy(deleteSecurityPolicyRequest) {
3444
4125
  const options = {
3445
- method: "DELETE",
3446
- url: "/v3/{project_id}/elb/security-policies/{security_policy_id}",
4126
+ method: "DELETE",
4127
+ url: "/v3/{project_id}/elb/security-policies/{security_policy_id}",
4128
+ contentType: "application/json",
4129
+ queryParams: {},
4130
+ pathParams: {},
4131
+ headers: {}
4132
+ };
4133
+ const localVarHeaderParameter = {};
4134
+ let securityPolicyId;
4135
+ if (deleteSecurityPolicyRequest !== null && deleteSecurityPolicyRequest !== undefined) {
4136
+ if (deleteSecurityPolicyRequest instanceof DeleteSecurityPolicyRequest_1.DeleteSecurityPolicyRequest) {
4137
+ securityPolicyId = deleteSecurityPolicyRequest.securityPolicyId;
4138
+ }
4139
+ else {
4140
+ securityPolicyId = deleteSecurityPolicyRequest['security_policy_id'];
4141
+ }
4142
+ }
4143
+ if (securityPolicyId === null || securityPolicyId === undefined) {
4144
+ throw new RequiredError('securityPolicyId', 'Required parameter securityPolicyId was null or undefined when calling deleteSecurityPolicy.');
4145
+ }
4146
+ options.pathParams = { 'security_policy_id': securityPolicyId, };
4147
+ options.headers = localVarHeaderParameter;
4148
+ return options;
4149
+ },
4150
+ /**
4151
+ * 查询当前项目下的转发规则列表。
4152
+ *
4153
+ * Please refer to HUAWEI cloud API Explorer for details.
4154
+ */
4155
+ listAllL7Rules(listAllL7RulesRequest) {
4156
+ const options = {
4157
+ method: "GET",
4158
+ url: "/v3/{project_id}/elb/l7policies/rules",
3447
4159
  contentType: "application/json",
3448
4160
  queryParams: {},
3449
4161
  pathParams: {},
3450
4162
  headers: {}
3451
4163
  };
3452
4164
  const localVarHeaderParameter = {};
3453
- let securityPolicyId;
3454
- if (deleteSecurityPolicyRequest !== null && deleteSecurityPolicyRequest !== undefined) {
3455
- if (deleteSecurityPolicyRequest instanceof DeleteSecurityPolicyRequest_1.DeleteSecurityPolicyRequest) {
3456
- securityPolicyId = deleteSecurityPolicyRequest.securityPolicyId;
4165
+ const localVarQueryParameter = {};
4166
+ let limit;
4167
+ let marker;
4168
+ let pageReverse;
4169
+ let id;
4170
+ let compareType;
4171
+ let provisioningStatus;
4172
+ let invert;
4173
+ let adminStateUp;
4174
+ let value;
4175
+ let key;
4176
+ let type;
4177
+ let enterpriseProjectId;
4178
+ if (listAllL7RulesRequest !== null && listAllL7RulesRequest !== undefined) {
4179
+ if (listAllL7RulesRequest instanceof ListAllL7RulesRequest_1.ListAllL7RulesRequest) {
4180
+ limit = listAllL7RulesRequest.limit;
4181
+ marker = listAllL7RulesRequest.marker;
4182
+ pageReverse = listAllL7RulesRequest.pageReverse;
4183
+ id = listAllL7RulesRequest.id;
4184
+ compareType = listAllL7RulesRequest.compareType;
4185
+ provisioningStatus = listAllL7RulesRequest.provisioningStatus;
4186
+ invert = listAllL7RulesRequest.invert;
4187
+ adminStateUp = listAllL7RulesRequest.adminStateUp;
4188
+ value = listAllL7RulesRequest.value;
4189
+ key = listAllL7RulesRequest.key;
4190
+ type = listAllL7RulesRequest.type;
4191
+ enterpriseProjectId = listAllL7RulesRequest.enterpriseProjectId;
3457
4192
  }
3458
4193
  else {
3459
- securityPolicyId = deleteSecurityPolicyRequest['security_policy_id'];
4194
+ limit = listAllL7RulesRequest['limit'];
4195
+ marker = listAllL7RulesRequest['marker'];
4196
+ pageReverse = listAllL7RulesRequest['page_reverse'];
4197
+ id = listAllL7RulesRequest['id'];
4198
+ compareType = listAllL7RulesRequest['compare_type'];
4199
+ provisioningStatus = listAllL7RulesRequest['provisioning_status'];
4200
+ invert = listAllL7RulesRequest['invert'];
4201
+ adminStateUp = listAllL7RulesRequest['admin_state_up'];
4202
+ value = listAllL7RulesRequest['value'];
4203
+ key = listAllL7RulesRequest['key'];
4204
+ type = listAllL7RulesRequest['type'];
4205
+ enterpriseProjectId = listAllL7RulesRequest['enterprise_project_id'];
3460
4206
  }
3461
4207
  }
3462
- if (securityPolicyId === null || securityPolicyId === undefined) {
3463
- throw new RequiredError('securityPolicyId', 'Required parameter securityPolicyId was null or undefined when calling deleteSecurityPolicy.');
4208
+ if (limit !== null && limit !== undefined) {
4209
+ localVarQueryParameter['limit'] = limit;
3464
4210
  }
3465
- options.pathParams = { 'security_policy_id': securityPolicyId, };
4211
+ if (marker !== null && marker !== undefined) {
4212
+ localVarQueryParameter['marker'] = marker;
4213
+ }
4214
+ if (pageReverse !== null && pageReverse !== undefined) {
4215
+ localVarQueryParameter['page_reverse'] = pageReverse;
4216
+ }
4217
+ if (id !== null && id !== undefined) {
4218
+ localVarQueryParameter['id'] = id;
4219
+ }
4220
+ if (compareType !== null && compareType !== undefined) {
4221
+ localVarQueryParameter['compare_type'] = compareType;
4222
+ }
4223
+ if (provisioningStatus !== null && provisioningStatus !== undefined) {
4224
+ localVarQueryParameter['provisioning_status'] = provisioningStatus;
4225
+ }
4226
+ if (invert !== null && invert !== undefined) {
4227
+ localVarQueryParameter['invert'] = invert;
4228
+ }
4229
+ if (adminStateUp !== null && adminStateUp !== undefined) {
4230
+ localVarQueryParameter['admin_state_up'] = adminStateUp;
4231
+ }
4232
+ if (value !== null && value !== undefined) {
4233
+ localVarQueryParameter['value'] = value;
4234
+ }
4235
+ if (key !== null && key !== undefined) {
4236
+ localVarQueryParameter['key'] = key;
4237
+ }
4238
+ if (type !== null && type !== undefined) {
4239
+ localVarQueryParameter['type'] = type;
4240
+ }
4241
+ if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
4242
+ localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
4243
+ }
4244
+ options.queryParams = localVarQueryParameter;
3466
4245
  options.headers = localVarHeaderParameter;
3467
4246
  return options;
3468
4247
  },
@@ -3752,6 +4531,38 @@ const ParamCreater = function () {
3752
4531
  options.headers = localVarHeaderParameter;
3753
4532
  return options;
3754
4533
  },
4534
+ /**
4535
+ * 查询负载均衡器ip的域名配置信息,即负载均衡器的ip是否加入了域名解析。
4536
+ * 注意:当负载均衡器的公网域名和私网域名都没有打开时,该接口返回空列表。
4537
+ *
4538
+ * Please refer to HUAWEI cloud API Explorer for details.
4539
+ */
4540
+ listDomainIPs(listDomainIPsRequest) {
4541
+ const options = {
4542
+ method: "GET",
4543
+ url: "/v3/{project_id}/elb/loadbalancers/{loadbalancer_id}/dns/ips",
4544
+ contentType: "application/json",
4545
+ queryParams: {},
4546
+ pathParams: {},
4547
+ headers: {}
4548
+ };
4549
+ const localVarHeaderParameter = {};
4550
+ let loadbalancerId;
4551
+ if (listDomainIPsRequest !== null && listDomainIPsRequest !== undefined) {
4552
+ if (listDomainIPsRequest instanceof ListDomainIPsRequest_1.ListDomainIPsRequest) {
4553
+ loadbalancerId = listDomainIPsRequest.loadbalancerId;
4554
+ }
4555
+ else {
4556
+ loadbalancerId = listDomainIPsRequest['loadbalancer_id'];
4557
+ }
4558
+ }
4559
+ if (loadbalancerId === null || loadbalancerId === undefined) {
4560
+ throw new RequiredError('loadbalancerId', 'Required parameter loadbalancerId was null or undefined when calling listDomainIPs.');
4561
+ }
4562
+ options.pathParams = { 'loadbalancer_id': loadbalancerId, };
4563
+ options.headers = localVarHeaderParameter;
4564
+ return options;
4565
+ },
3755
4566
  /**
3756
4567
  * 查询当前租户ELB服务的特性配置。
3757
4568
  *
@@ -4317,6 +5128,24 @@ const ParamCreater = function () {
4317
5128
  options.headers = localVarHeaderParameter;
4318
5129
  return options;
4319
5130
  },
5131
+ /**
5132
+ * 查询指定项目下所有监听器的标签列表
5133
+ *
5134
+ * Please refer to HUAWEI cloud API Explorer for details.
5135
+ */
5136
+ listListenerTags() {
5137
+ const options = {
5138
+ method: "GET",
5139
+ url: "/v3/{project_id}/listeners/tags",
5140
+ contentType: "application/json",
5141
+ queryParams: {},
5142
+ pathParams: {},
5143
+ headers: {}
5144
+ };
5145
+ const localVarHeaderParameter = {};
5146
+ options.headers = localVarHeaderParameter;
5147
+ return options;
5148
+ },
4320
5149
  /**
4321
5150
  * 查询监听器列表。
4322
5151
  *
@@ -4808,6 +5637,24 @@ const ParamCreater = function () {
4808
5637
  options.headers = localVarHeaderParameter;
4809
5638
  return options;
4810
5639
  },
5640
+ /**
5641
+ * 查询指定项目下所有负载均衡器的标签列表
5642
+ *
5643
+ * Please refer to HUAWEI cloud API Explorer for details.
5644
+ */
5645
+ listLoadbalancerTags() {
5646
+ const options = {
5647
+ method: "GET",
5648
+ url: "/v3/{project_id}/loadbalancers/tags",
5649
+ contentType: "application/json",
5650
+ queryParams: {},
5651
+ pathParams: {},
5652
+ headers: {}
5653
+ };
5654
+ const localVarHeaderParameter = {};
5655
+ options.headers = localVarHeaderParameter;
5656
+ return options;
5657
+ },
4811
5658
  /**
4812
5659
  * 查询云日志列表。
4813
5660
  *
@@ -5967,6 +6814,37 @@ const ParamCreater = function () {
5967
6814
  options.headers = localVarHeaderParameter;
5968
6815
  return options;
5969
6816
  },
6817
+ /**
6818
+ * 查询指定监听器的所有标签。
6819
+ *
6820
+ * Please refer to HUAWEI cloud API Explorer for details.
6821
+ */
6822
+ showListenerTags(showListenerTagsRequest) {
6823
+ const options = {
6824
+ method: "GET",
6825
+ url: "/v3/{project_id}/listeners/{listener_id}/tags",
6826
+ contentType: "application/json",
6827
+ queryParams: {},
6828
+ pathParams: {},
6829
+ headers: {}
6830
+ };
6831
+ const localVarHeaderParameter = {};
6832
+ let listenerId;
6833
+ if (showListenerTagsRequest !== null && showListenerTagsRequest !== undefined) {
6834
+ if (showListenerTagsRequest instanceof ShowListenerTagsRequest_1.ShowListenerTagsRequest) {
6835
+ listenerId = showListenerTagsRequest.listenerId;
6836
+ }
6837
+ else {
6838
+ listenerId = showListenerTagsRequest['listener_id'];
6839
+ }
6840
+ }
6841
+ if (listenerId === null || listenerId === undefined) {
6842
+ throw new RequiredError('listenerId', 'Required parameter listenerId was null or undefined when calling showListenerTags.');
6843
+ }
6844
+ options.pathParams = { 'listener_id': listenerId, };
6845
+ options.headers = localVarHeaderParameter;
6846
+ return options;
6847
+ },
5970
6848
  /**
5971
6849
  * 查询负载均衡器详情。
5972
6850
  *
@@ -5999,7 +6877,7 @@ const ParamCreater = function () {
5999
6877
  return options;
6000
6878
  },
6001
6879
  /**
6002
- * 查询负载均衡器占用的下联面子网端口和IP地址信息。
6880
+ * 查询负载均衡内部转发用的IP
6003
6881
  *
6004
6882
  * Please refer to HUAWEI cloud API Explorer for details.
6005
6883
  */
@@ -6095,6 +6973,106 @@ const ParamCreater = function () {
6095
6973
  options.headers = localVarHeaderParameter;
6096
6974
  return options;
6097
6975
  },
6976
+ /**
6977
+ * 查询负载均衡拓扑,将负载均衡器及其包含的监听器、后端服务器组以拓扑的形式展示。
6978
+ *
6979
+ * Please refer to HUAWEI cloud API Explorer for details.
6980
+ */
6981
+ showLoadBalancerTopology(showLoadBalancerTopologyRequest) {
6982
+ const options = {
6983
+ method: "GET",
6984
+ url: "/v3/{project_id}/elb/loadbalancers/{loadbalancer_id}/topology",
6985
+ contentType: "application/json",
6986
+ queryParams: {},
6987
+ pathParams: {},
6988
+ headers: {}
6989
+ };
6990
+ const localVarHeaderParameter = {};
6991
+ const localVarQueryParameter = {};
6992
+ let loadbalancerId;
6993
+ let listenerId;
6994
+ let poolId;
6995
+ let listenerName;
6996
+ let listenerProtocol;
6997
+ let listenerProtocolPort;
6998
+ let poolName;
6999
+ if (showLoadBalancerTopologyRequest !== null && showLoadBalancerTopologyRequest !== undefined) {
7000
+ if (showLoadBalancerTopologyRequest instanceof ShowLoadBalancerTopologyRequest_1.ShowLoadBalancerTopologyRequest) {
7001
+ loadbalancerId = showLoadBalancerTopologyRequest.loadbalancerId;
7002
+ listenerId = showLoadBalancerTopologyRequest.listenerId;
7003
+ poolId = showLoadBalancerTopologyRequest.poolId;
7004
+ listenerName = showLoadBalancerTopologyRequest.listenerName;
7005
+ listenerProtocol = showLoadBalancerTopologyRequest.listenerProtocol;
7006
+ listenerProtocolPort = showLoadBalancerTopologyRequest.listenerProtocolPort;
7007
+ poolName = showLoadBalancerTopologyRequest.poolName;
7008
+ }
7009
+ else {
7010
+ loadbalancerId = showLoadBalancerTopologyRequest['loadbalancer_id'];
7011
+ listenerId = showLoadBalancerTopologyRequest['listener_id'];
7012
+ poolId = showLoadBalancerTopologyRequest['pool_id'];
7013
+ listenerName = showLoadBalancerTopologyRequest['listener_name'];
7014
+ listenerProtocol = showLoadBalancerTopologyRequest['listener_protocol'];
7015
+ listenerProtocolPort = showLoadBalancerTopologyRequest['listener_protocol_port'];
7016
+ poolName = showLoadBalancerTopologyRequest['pool_name'];
7017
+ }
7018
+ }
7019
+ if (loadbalancerId === null || loadbalancerId === undefined) {
7020
+ throw new RequiredError('loadbalancerId', 'Required parameter loadbalancerId was null or undefined when calling showLoadBalancerTopology.');
7021
+ }
7022
+ if (listenerId !== null && listenerId !== undefined) {
7023
+ localVarQueryParameter['listener_id'] = listenerId;
7024
+ }
7025
+ if (poolId !== null && poolId !== undefined) {
7026
+ localVarQueryParameter['pool_id'] = poolId;
7027
+ }
7028
+ if (listenerName !== null && listenerName !== undefined) {
7029
+ localVarQueryParameter['listener_name'] = listenerName;
7030
+ }
7031
+ if (listenerProtocol !== null && listenerProtocol !== undefined) {
7032
+ localVarQueryParameter['listener_protocol'] = listenerProtocol;
7033
+ }
7034
+ if (listenerProtocolPort !== null && listenerProtocolPort !== undefined) {
7035
+ localVarQueryParameter['listener_protocol_port'] = listenerProtocolPort;
7036
+ }
7037
+ if (poolName !== null && poolName !== undefined) {
7038
+ localVarQueryParameter['pool_name'] = poolName;
7039
+ }
7040
+ options.queryParams = localVarQueryParameter;
7041
+ options.pathParams = { 'loadbalancer_id': loadbalancerId, };
7042
+ options.headers = localVarHeaderParameter;
7043
+ return options;
7044
+ },
7045
+ /**
7046
+ * 查询指定负载均衡器的所有标签
7047
+ *
7048
+ * Please refer to HUAWEI cloud API Explorer for details.
7049
+ */
7050
+ showLoadbalancerTags(showLoadbalancerTagsRequest) {
7051
+ const options = {
7052
+ method: "GET",
7053
+ url: "/v3/{project_id}/loadbalancers/{loadbalancer_id}/tags",
7054
+ contentType: "application/json",
7055
+ queryParams: {},
7056
+ pathParams: {},
7057
+ headers: {}
7058
+ };
7059
+ const localVarHeaderParameter = {};
7060
+ let loadbalancerId;
7061
+ if (showLoadbalancerTagsRequest !== null && showLoadbalancerTagsRequest !== undefined) {
7062
+ if (showLoadbalancerTagsRequest instanceof ShowLoadbalancerTagsRequest_1.ShowLoadbalancerTagsRequest) {
7063
+ loadbalancerId = showLoadbalancerTagsRequest.loadbalancerId;
7064
+ }
7065
+ else {
7066
+ loadbalancerId = showLoadbalancerTagsRequest['loadbalancer_id'];
7067
+ }
7068
+ }
7069
+ if (loadbalancerId === null || loadbalancerId === undefined) {
7070
+ throw new RequiredError('loadbalancerId', 'Required parameter loadbalancerId was null or undefined when calling showLoadbalancerTags.');
7071
+ }
7072
+ options.pathParams = { 'loadbalancer_id': loadbalancerId, };
7073
+ options.headers = localVarHeaderParameter;
7074
+ return options;
7075
+ },
6098
7076
  /**
6099
7077
  * 云日志详情。
6100
7078
  *
@@ -6802,6 +7780,86 @@ const ParamCreater = function () {
6802
7780
  options.headers = localVarHeaderParameter;
6803
7781
  return options;
6804
7782
  },
7783
+ /**
7784
+ * 配置负载均衡器系统默认域名化。
7785
+ *
7786
+ * Please refer to HUAWEI cloud API Explorer for details.
7787
+ */
7788
+ updateSystemDefaultDomainConfig(updateSystemDefaultDomainConfigRequest) {
7789
+ const options = {
7790
+ method: "POST",
7791
+ url: "/v3/{project_id}/elb/loadbalancers/{loadbalancer_id}/dns/system-default-config",
7792
+ contentType: "application/json;charset=UTF-8",
7793
+ queryParams: {},
7794
+ pathParams: {},
7795
+ headers: {},
7796
+ data: {}
7797
+ };
7798
+ const localVarHeaderParameter = {};
7799
+ let body;
7800
+ let loadbalancerId;
7801
+ if (updateSystemDefaultDomainConfigRequest !== null && updateSystemDefaultDomainConfigRequest !== undefined) {
7802
+ if (updateSystemDefaultDomainConfigRequest instanceof UpdateSystemDefaultDomainConfigRequest_1.UpdateSystemDefaultDomainConfigRequest) {
7803
+ loadbalancerId = updateSystemDefaultDomainConfigRequest.loadbalancerId;
7804
+ body = updateSystemDefaultDomainConfigRequest.body;
7805
+ }
7806
+ else {
7807
+ loadbalancerId = updateSystemDefaultDomainConfigRequest['loadbalancer_id'];
7808
+ body = updateSystemDefaultDomainConfigRequest['body'];
7809
+ }
7810
+ }
7811
+ if (loadbalancerId === null || loadbalancerId === undefined) {
7812
+ throw new RequiredError('loadbalancerId', 'Required parameter loadbalancerId was null or undefined when calling updateSystemDefaultDomainConfig.');
7813
+ }
7814
+ if (body === null || body === undefined) {
7815
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
7816
+ }
7817
+ localVarHeaderParameter['Content-Type'] = 'application/json;charset=UTF-8';
7818
+ options.data = body !== undefined ? body : {};
7819
+ options.pathParams = { 'loadbalancer_id': loadbalancerId, };
7820
+ options.headers = localVarHeaderParameter;
7821
+ return options;
7822
+ },
7823
+ /**
7824
+ * 配置负载均衡器用户自定义域名化。
7825
+ *
7826
+ * Please refer to HUAWEI cloud API Explorer for details.
7827
+ */
7828
+ updateUserDefinedDomainConfig(updateUserDefinedDomainConfigRequest) {
7829
+ const options = {
7830
+ method: "POST",
7831
+ url: "/v3/{project_id}/elb/loadbalancers/{loadbalancer_id}/dns/user-defined-config",
7832
+ contentType: "application/json;charset=UTF-8",
7833
+ queryParams: {},
7834
+ pathParams: {},
7835
+ headers: {},
7836
+ data: {}
7837
+ };
7838
+ const localVarHeaderParameter = {};
7839
+ let body;
7840
+ let loadbalancerId;
7841
+ if (updateUserDefinedDomainConfigRequest !== null && updateUserDefinedDomainConfigRequest !== undefined) {
7842
+ if (updateUserDefinedDomainConfigRequest instanceof UpdateUserDefinedDomainConfigRequest_1.UpdateUserDefinedDomainConfigRequest) {
7843
+ loadbalancerId = updateUserDefinedDomainConfigRequest.loadbalancerId;
7844
+ body = updateUserDefinedDomainConfigRequest.body;
7845
+ }
7846
+ else {
7847
+ loadbalancerId = updateUserDefinedDomainConfigRequest['loadbalancer_id'];
7848
+ body = updateUserDefinedDomainConfigRequest['body'];
7849
+ }
7850
+ }
7851
+ if (loadbalancerId === null || loadbalancerId === undefined) {
7852
+ throw new RequiredError('loadbalancerId', 'Required parameter loadbalancerId was null or undefined when calling updateUserDefinedDomainConfig.');
7853
+ }
7854
+ if (body === null || body === undefined) {
7855
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
7856
+ }
7857
+ localVarHeaderParameter['Content-Type'] = 'application/json;charset=UTF-8';
7858
+ options.data = body !== undefined ? body : {};
7859
+ options.pathParams = { 'loadbalancer_id': loadbalancerId, };
7860
+ options.headers = localVarHeaderParameter;
7861
+ return options;
7862
+ },
6805
7863
  /**
6806
7864
  * 升级负载均衡器类型。支持将共享型ELB升级为独享型ELB,但不支持独享型降级为共享型。
6807
7865
  *