@huaweicloud/huaweicloud-sdk-cfw 3.1.58 → 3.1.60

Sign up to get free protection for your applications and to get access to all the features.
Files changed (829) hide show
  1. package/package.json +2 -2
  2. package/v1/CfwClient.d.ts +635 -241
  3. package/v1/CfwClient.d.ts.map +1 -1
  4. package/v1/CfwClient.js +2091 -971
  5. package/v1/CfwClient.js.map +1 -1
  6. package/v1/model/{AddRuleAclUsingPostRequest.d.ts → AddAclRuleRequest.d.ts} +6 -6
  7. package/v1/model/AddAclRuleRequest.d.ts.map +1 -0
  8. package/v1/model/{ListRuleHitCountRequest.js → AddAclRuleRequest.js} +4 -4
  9. package/v1/model/AddAclRuleRequest.js.map +1 -0
  10. package/v1/model/AddAclRuleResponse.d.ts +8 -0
  11. package/v1/model/AddAclRuleResponse.d.ts.map +1 -0
  12. package/v1/model/AddAclRuleResponse.js +15 -0
  13. package/v1/model/AddAclRuleResponse.js.map +1 -0
  14. package/v1/model/{AddAddressItemsUsingPostRequest.d.ts → AddAddressItemRequest.d.ts} +6 -6
  15. package/v1/model/AddAddressItemRequest.d.ts.map +1 -0
  16. package/v1/model/{ChangeProtectEipRequest.js → AddAddressItemRequest.js} +4 -4
  17. package/v1/model/AddAddressItemRequest.js.map +1 -0
  18. package/v1/model/AddAddressItemResponse.d.ts +8 -0
  19. package/v1/model/AddAddressItemResponse.d.ts.map +1 -0
  20. package/v1/model/{ListServiceSetResponse.js → AddAddressItemResponse.js} +4 -4
  21. package/v1/model/AddAddressItemResponse.js.map +1 -0
  22. package/v1/model/{AddAddressSetInfoUsingPostRequest.d.ts → AddAddressSetRequest.d.ts} +6 -6
  23. package/v1/model/AddAddressSetRequest.d.ts.map +1 -0
  24. package/v1/model/{DeleteAclRuleCountRequest.js → AddAddressSetRequest.js} +4 -4
  25. package/v1/model/AddAddressSetRequest.js.map +1 -0
  26. package/v1/model/AddAddressSetResponse.d.ts +8 -0
  27. package/v1/model/AddAddressSetResponse.d.ts.map +1 -0
  28. package/v1/model/AddAddressSetResponse.js +15 -0
  29. package/v1/model/AddAddressSetResponse.js.map +1 -0
  30. package/v1/model/AddBlackWhiteListDto.d.ts +2 -0
  31. package/v1/model/AddBlackWhiteListDto.d.ts.map +1 -1
  32. package/v1/model/AddBlackWhiteListDto.js +4 -0
  33. package/v1/model/AddBlackWhiteListDto.js.map +1 -1
  34. package/v1/model/{AddBlackWhiteListUsingPostRequest.d.ts → AddBlackWhiteListRequest.d.ts} +6 -6
  35. package/v1/model/AddBlackWhiteListRequest.d.ts.map +1 -0
  36. package/v1/model/AddBlackWhiteListRequest.js +44 -0
  37. package/v1/model/AddBlackWhiteListRequest.js.map +1 -0
  38. package/v1/model/AddBlackWhiteListResponse.d.ts +8 -0
  39. package/v1/model/AddBlackWhiteListResponse.d.ts.map +1 -0
  40. package/v1/model/AddBlackWhiteListResponse.js +15 -0
  41. package/v1/model/AddBlackWhiteListResponse.js.map +1 -0
  42. package/v1/model/AddDomainListDto.d.ts +21 -0
  43. package/v1/model/AddDomainListDto.d.ts.map +1 -0
  44. package/v1/model/AddDomainListDto.js +53 -0
  45. package/v1/model/AddDomainListDto.js.map +1 -0
  46. package/v1/model/AddDomainSetInfoDto.d.ts +25 -0
  47. package/v1/model/AddDomainSetInfoDto.d.ts.map +1 -0
  48. package/v1/model/AddDomainSetInfoDto.js +61 -0
  49. package/v1/model/AddDomainSetInfoDto.js.map +1 -0
  50. package/v1/model/AddDomainSetRequest.d.ts +19 -0
  51. package/v1/model/AddDomainSetRequest.d.ts.map +1 -0
  52. package/v1/model/AddDomainSetRequest.js +44 -0
  53. package/v1/model/AddDomainSetRequest.js.map +1 -0
  54. package/v1/model/AddDomainSetResponse.d.ts +8 -0
  55. package/v1/model/AddDomainSetResponse.d.ts.map +1 -0
  56. package/v1/model/AddDomainSetResponse.js +15 -0
  57. package/v1/model/AddDomainSetResponse.js.map +1 -0
  58. package/v1/model/AddDomainsRequest.d.ts +19 -0
  59. package/v1/model/AddDomainsRequest.d.ts.map +1 -0
  60. package/v1/model/AddDomainsRequest.js +44 -0
  61. package/v1/model/AddDomainsRequest.js.map +1 -0
  62. package/v1/model/AddDomainsResponse.d.ts +8 -0
  63. package/v1/model/AddDomainsResponse.d.ts.map +1 -0
  64. package/v1/model/AddDomainsResponse.js +15 -0
  65. package/v1/model/AddDomainsResponse.js.map +1 -0
  66. package/v1/model/AddRuleAclDtoRules.d.ts +3 -0
  67. package/v1/model/AddRuleAclDtoRules.d.ts.map +1 -1
  68. package/v1/model/AddRuleAclDtoRules.js +4 -0
  69. package/v1/model/AddRuleAclDtoRules.js.map +1 -1
  70. package/v1/model/{AddServiceItemsUsingPostRequest.d.ts → AddServiceItemsRequest.d.ts} +6 -6
  71. package/v1/model/AddServiceItemsRequest.d.ts.map +1 -0
  72. package/v1/model/AddServiceItemsRequest.js +44 -0
  73. package/v1/model/AddServiceItemsRequest.js.map +1 -0
  74. package/v1/model/AddServiceItemsResponse.d.ts +8 -0
  75. package/v1/model/AddServiceItemsResponse.d.ts.map +1 -0
  76. package/v1/model/AddServiceItemsResponse.js +15 -0
  77. package/v1/model/AddServiceItemsResponse.js.map +1 -0
  78. package/v1/model/{AddServiceSetUsingPostRequest.d.ts → AddServiceSetRequest.d.ts} +6 -6
  79. package/v1/model/AddServiceSetRequest.d.ts.map +1 -0
  80. package/v1/model/AddServiceSetRequest.js +44 -0
  81. package/v1/model/AddServiceSetRequest.js.map +1 -0
  82. package/v1/model/AddServiceSetResponse.d.ts +8 -0
  83. package/v1/model/AddServiceSetResponse.d.ts.map +1 -0
  84. package/v1/model/AddServiceSetResponse.js +15 -0
  85. package/v1/model/AddServiceSetResponse.js.map +1 -0
  86. package/v1/model/AddressGroupVO.d.ts +10 -0
  87. package/v1/model/AddressGroupVO.d.ts.map +1 -0
  88. package/v1/model/AddressGroupVO.js +23 -0
  89. package/v1/model/AddressGroupVO.js.map +1 -0
  90. package/v1/model/AddressItems.d.ts +5 -0
  91. package/v1/model/AddressItems.d.ts.map +1 -1
  92. package/v1/model/AddressItems.js +10 -0
  93. package/v1/model/AddressItems.js.map +1 -1
  94. package/v1/model/BatchDeleteAclRulesRequest.d.ts +19 -0
  95. package/v1/model/BatchDeleteAclRulesRequest.d.ts.map +1 -0
  96. package/v1/model/{AddRuleAclUsingPostRequest.js → BatchDeleteAclRulesRequest.js} +4 -4
  97. package/v1/model/{AddRuleAclUsingPostRequest.js.map → BatchDeleteAclRulesRequest.js.map} +1 -1
  98. package/v1/model/BatchDeleteAclRulesResponse.d.ts +8 -0
  99. package/v1/model/BatchDeleteAclRulesResponse.d.ts.map +1 -0
  100. package/v1/model/{ListRuleAclUsingPutResponse.js → BatchDeleteAclRulesResponse.js} +4 -4
  101. package/v1/model/BatchDeleteAclRulesResponse.js.map +1 -0
  102. package/v1/model/BatchDeleteAclRulesResponseData.d.ts +7 -0
  103. package/v1/model/BatchDeleteAclRulesResponseData.d.ts.map +1 -0
  104. package/v1/model/BatchDeleteAclRulesResponseData.js +13 -0
  105. package/v1/model/BatchDeleteAclRulesResponseData.js.map +1 -0
  106. package/v1/model/BatchDeleteAddressItemsRequest.d.ts +19 -0
  107. package/v1/model/BatchDeleteAddressItemsRequest.d.ts.map +1 -0
  108. package/v1/model/{AddServiceSetUsingPostRequest.js → BatchDeleteAddressItemsRequest.js} +4 -4
  109. package/v1/model/BatchDeleteAddressItemsRequest.js.map +1 -0
  110. package/v1/model/BatchDeleteAddressItemsResponse.d.ts +7 -0
  111. package/v1/model/BatchDeleteAddressItemsResponse.d.ts.map +1 -0
  112. package/v1/model/{ListServiceItemsDetailsResponse.js → BatchDeleteAddressItemsResponse.js} +4 -4
  113. package/v1/model/BatchDeleteAddressItemsResponse.js.map +1 -0
  114. package/v1/model/BatchDeleteRuleInfo.d.ts +8 -0
  115. package/v1/model/BatchDeleteRuleInfo.d.ts.map +1 -0
  116. package/v1/model/BatchDeleteRuleInfo.js +17 -0
  117. package/v1/model/BatchDeleteRuleInfo.js.map +1 -0
  118. package/v1/model/BatchDeleteServiceItemsRequest.d.ts +19 -0
  119. package/v1/model/BatchDeleteServiceItemsRequest.d.ts.map +1 -0
  120. package/v1/model/BatchDeleteServiceItemsRequest.js +44 -0
  121. package/v1/model/BatchDeleteServiceItemsRequest.js.map +1 -0
  122. package/v1/model/BatchDeleteServiceItemsResponse.d.ts +7 -0
  123. package/v1/model/BatchDeleteServiceItemsResponse.d.ts.map +1 -0
  124. package/v1/model/{AddServiceSetUsingPostResponse.js → BatchDeleteServiceItemsResponse.js} +4 -4
  125. package/v1/model/BatchDeleteServiceItemsResponse.js.map +1 -0
  126. package/v1/model/BatchUpdateAclRuleActionsRequest.d.ts +15 -0
  127. package/v1/model/BatchUpdateAclRuleActionsRequest.d.ts.map +1 -0
  128. package/v1/model/BatchUpdateAclRuleActionsRequest.js +34 -0
  129. package/v1/model/BatchUpdateAclRuleActionsRequest.js.map +1 -0
  130. package/v1/model/BatchUpdateAclRuleActionsResponse.d.ts +7 -0
  131. package/v1/model/BatchUpdateAclRuleActionsResponse.d.ts.map +1 -0
  132. package/v1/model/{AddServiceItemsUsingPostResponse.js → BatchUpdateAclRuleActionsResponse.js} +4 -4
  133. package/v1/model/BatchUpdateAclRuleActionsResponse.js.map +1 -0
  134. package/v1/model/BlackWhiteListResponseDataRecords.d.ts +2 -0
  135. package/v1/model/BlackWhiteListResponseDataRecords.d.ts.map +1 -1
  136. package/v1/model/BlackWhiteListResponseDataRecords.js +4 -0
  137. package/v1/model/BlackWhiteListResponseDataRecords.js.map +1 -1
  138. package/v1/model/{ChangeEwProtectStatusRequest.d.ts → ChangeEastWestFirewallStatusRequest.d.ts} +6 -6
  139. package/v1/model/ChangeEastWestFirewallStatusRequest.d.ts.map +1 -0
  140. package/v1/model/{AddBlackWhiteListUsingPostRequest.js → ChangeEastWestFirewallStatusRequest.js} +4 -4
  141. package/v1/model/ChangeEastWestFirewallStatusRequest.js.map +1 -0
  142. package/v1/model/ChangeEastWestFirewallStatusResponse.d.ts +12 -0
  143. package/v1/model/ChangeEastWestFirewallStatusResponse.d.ts.map +1 -0
  144. package/v1/model/{ChangeIpsSwitchUsingPostResponse.js → ChangeEastWestFirewallStatusResponse.js} +8 -8
  145. package/v1/model/ChangeEastWestFirewallStatusResponse.js.map +1 -0
  146. package/v1/model/{ChangeProtectEipRequest.d.ts → ChangeEipStatusRequest.d.ts} +6 -6
  147. package/v1/model/ChangeEipStatusRequest.d.ts.map +1 -0
  148. package/v1/model/ChangeEipStatusRequest.js +44 -0
  149. package/v1/model/ChangeEipStatusRequest.js.map +1 -0
  150. package/v1/model/ChangeEipStatusResponse.d.ts +8 -0
  151. package/v1/model/ChangeEipStatusResponse.d.ts.map +1 -0
  152. package/v1/model/ChangeEipStatusResponse.js +15 -0
  153. package/v1/model/ChangeEipStatusResponse.js.map +1 -0
  154. package/v1/model/{ChangeIpsProtectModeUsingPostRequest.d.ts → ChangeIpsProtectModeRequest.d.ts} +6 -6
  155. package/v1/model/ChangeIpsProtectModeRequest.d.ts.map +1 -0
  156. package/v1/model/ChangeIpsProtectModeRequest.js +44 -0
  157. package/v1/model/ChangeIpsProtectModeRequest.js.map +1 -0
  158. package/v1/model/ChangeIpsProtectModeResponse.d.ts +8 -0
  159. package/v1/model/ChangeIpsProtectModeResponse.d.ts.map +1 -0
  160. package/v1/model/{ListFirewallUsingGetResponse.js → ChangeIpsProtectModeResponse.js} +4 -4
  161. package/v1/model/ChangeIpsProtectModeResponse.js.map +1 -0
  162. package/v1/model/{ChangeIpsSwitchUsingPostRequest.d.ts → ChangeIpsSwitchStatusRequest.d.ts} +6 -6
  163. package/v1/model/ChangeIpsSwitchStatusRequest.d.ts.map +1 -0
  164. package/v1/model/{ChangeEwProtectStatusRequest.js → ChangeIpsSwitchStatusRequest.js} +4 -4
  165. package/v1/model/ChangeIpsSwitchStatusRequest.js.map +1 -0
  166. package/v1/model/{ChangeIpsSwitchUsingPostResponse.d.ts → ChangeIpsSwitchStatusResponse.d.ts} +4 -4
  167. package/v1/model/ChangeIpsSwitchStatusResponse.d.ts.map +1 -0
  168. package/v1/model/{ChangeEwProtectStatusResponse.js → ChangeIpsSwitchStatusResponse.js} +8 -8
  169. package/v1/model/ChangeIpsSwitchStatusResponse.js.map +1 -0
  170. package/v1/model/CoveredIPVO.d.ts +10 -0
  171. package/v1/model/CoveredIPVO.d.ts.map +1 -0
  172. package/v1/model/CoveredIPVO.js +23 -0
  173. package/v1/model/CoveredIPVO.js.map +1 -0
  174. package/v1/model/{DeleteAclRuleCountRequest.d.ts → DeleteAclRuleHitCountRequest.d.ts} +6 -6
  175. package/v1/model/{ChangeEwProtectStatusRequest.d.ts.map → DeleteAclRuleHitCountRequest.d.ts.map} +1 -1
  176. package/v1/model/DeleteAclRuleHitCountRequest.js +44 -0
  177. package/v1/model/{ChangeEwProtectStatusRequest.js.map → DeleteAclRuleHitCountRequest.js.map} +1 -1
  178. package/v1/model/DeleteAclRuleHitCountResponse.d.ts +7 -0
  179. package/v1/model/DeleteAclRuleHitCountResponse.d.ts.map +1 -0
  180. package/v1/model/{DeleteAclRuleCountResponse.js → DeleteAclRuleHitCountResponse.js} +4 -4
  181. package/v1/model/DeleteAclRuleHitCountResponse.js.map +1 -0
  182. package/v1/model/{DeleteRuleAclUsingDeleteRequest.d.ts → DeleteAclRuleRequest.d.ts} +6 -6
  183. package/v1/model/DeleteAclRuleRequest.d.ts.map +1 -0
  184. package/v1/model/{DeleteRuleAclUsingDeleteRequest.js → DeleteAclRuleRequest.js} +4 -4
  185. package/v1/model/DeleteAclRuleRequest.js.map +1 -0
  186. package/v1/model/DeleteAclRuleResponse.d.ts +8 -0
  187. package/v1/model/DeleteAclRuleResponse.d.ts.map +1 -0
  188. package/v1/model/DeleteAclRuleResponse.js +15 -0
  189. package/v1/model/DeleteAclRuleResponse.js.map +1 -0
  190. package/v1/model/{DeleteAddressItemUsingDeleteRequest.d.ts → DeleteAddressItemRequest.d.ts} +6 -6
  191. package/v1/model/DeleteAddressItemRequest.d.ts.map +1 -0
  192. package/v1/model/{DeleteAddressItemUsingDeleteRequest.js → DeleteAddressItemRequest.js} +4 -4
  193. package/v1/model/DeleteAddressItemRequest.js.map +1 -0
  194. package/v1/model/DeleteAddressItemResponse.d.ts +8 -0
  195. package/v1/model/DeleteAddressItemResponse.d.ts.map +1 -0
  196. package/v1/model/DeleteAddressItemResponse.js +15 -0
  197. package/v1/model/DeleteAddressItemResponse.js.map +1 -0
  198. package/v1/model/DeleteAddressItemsInfoDto.d.ts +12 -0
  199. package/v1/model/DeleteAddressItemsInfoDto.d.ts.map +1 -0
  200. package/v1/model/DeleteAddressItemsInfoDto.js +31 -0
  201. package/v1/model/DeleteAddressItemsInfoDto.js.map +1 -0
  202. package/v1/model/{DeleteServiceSetUsingDeleteRequest.d.ts → DeleteAddressSetRequest.d.ts} +6 -6
  203. package/v1/model/DeleteAddressSetRequest.d.ts.map +1 -0
  204. package/v1/model/{ListServiceSetDetailsRequest.js → DeleteAddressSetRequest.js} +4 -4
  205. package/v1/model/DeleteAddressSetRequest.js.map +1 -0
  206. package/v1/model/DeleteAddressSetResponse.d.ts +8 -0
  207. package/v1/model/DeleteAddressSetResponse.d.ts.map +1 -0
  208. package/v1/model/{ChangeProtectEipResponse.js → DeleteAddressSetResponse.js} +4 -4
  209. package/v1/model/DeleteAddressSetResponse.js.map +1 -0
  210. package/v1/model/{DeleteBlackWhiteListUsingDeleteRequest.d.ts → DeleteBlackWhiteListRequest.d.ts} +6 -6
  211. package/v1/model/DeleteBlackWhiteListRequest.d.ts.map +1 -0
  212. package/v1/model/{DeleteBlackWhiteListUsingDeleteRequest.js → DeleteBlackWhiteListRequest.js} +4 -4
  213. package/v1/model/DeleteBlackWhiteListRequest.js.map +1 -0
  214. package/v1/model/DeleteBlackWhiteListResponse.d.ts +8 -0
  215. package/v1/model/DeleteBlackWhiteListResponse.d.ts.map +1 -0
  216. package/v1/model/{ListRuleAclsUsingGetResponse.js → DeleteBlackWhiteListResponse.js} +4 -4
  217. package/v1/model/DeleteBlackWhiteListResponse.js.map +1 -0
  218. package/v1/model/DeleteDomainDto.d.ts +16 -0
  219. package/v1/model/DeleteDomainDto.d.ts.map +1 -0
  220. package/v1/model/DeleteDomainDto.js +42 -0
  221. package/v1/model/DeleteDomainDto.js.map +1 -0
  222. package/v1/model/DeleteDomainSetRequest.d.ts +20 -0
  223. package/v1/model/DeleteDomainSetRequest.d.ts.map +1 -0
  224. package/v1/model/DeleteDomainSetRequest.js +52 -0
  225. package/v1/model/DeleteDomainSetRequest.js.map +1 -0
  226. package/v1/model/DeleteDomainSetResponse.d.ts +8 -0
  227. package/v1/model/DeleteDomainSetResponse.d.ts.map +1 -0
  228. package/v1/model/DeleteDomainSetResponse.js +15 -0
  229. package/v1/model/DeleteDomainSetResponse.js.map +1 -0
  230. package/v1/model/DeleteDomainsRequest.d.ts +15 -0
  231. package/v1/model/DeleteDomainsRequest.d.ts.map +1 -0
  232. package/v1/model/DeleteDomainsRequest.js +34 -0
  233. package/v1/model/DeleteDomainsRequest.js.map +1 -0
  234. package/v1/model/DeleteDomainsResponse.d.ts +8 -0
  235. package/v1/model/DeleteDomainsResponse.d.ts.map +1 -0
  236. package/v1/model/DeleteDomainsResponse.js +15 -0
  237. package/v1/model/DeleteDomainsResponse.js.map +1 -0
  238. package/v1/model/DeleteRuleAclDto.d.ts +12 -0
  239. package/v1/model/DeleteRuleAclDto.d.ts.map +1 -0
  240. package/v1/model/DeleteRuleAclDto.js +31 -0
  241. package/v1/model/DeleteRuleAclDto.js.map +1 -0
  242. package/v1/model/DeleteServiceItemDto.d.ts +12 -0
  243. package/v1/model/DeleteServiceItemDto.d.ts.map +1 -0
  244. package/v1/model/DeleteServiceItemDto.js +31 -0
  245. package/v1/model/DeleteServiceItemDto.js.map +1 -0
  246. package/v1/model/{DeleteServiceItemUsingDeleteRequest.d.ts → DeleteServiceItemRequest.d.ts} +6 -6
  247. package/v1/model/DeleteServiceItemRequest.d.ts.map +1 -0
  248. package/v1/model/{DeleteServiceItemUsingDeleteRequest.js → DeleteServiceItemRequest.js} +4 -4
  249. package/v1/model/DeleteServiceItemRequest.js.map +1 -0
  250. package/v1/model/DeleteServiceItemResponse.d.ts +8 -0
  251. package/v1/model/DeleteServiceItemResponse.d.ts.map +1 -0
  252. package/v1/model/DeleteServiceItemResponse.js +15 -0
  253. package/v1/model/DeleteServiceItemResponse.js.map +1 -0
  254. package/v1/model/{DeleteAddressSetInfoUsingDeleteRequest.d.ts → DeleteServiceSetRequest.d.ts} +6 -6
  255. package/v1/model/DeleteServiceSetRequest.d.ts.map +1 -0
  256. package/v1/model/{DeleteServiceSetUsingDeleteRequest.js → DeleteServiceSetRequest.js} +4 -4
  257. package/v1/model/DeleteServiceSetRequest.js.map +1 -0
  258. package/v1/model/DeleteServiceSetResponse.d.ts +8 -0
  259. package/v1/model/DeleteServiceSetResponse.d.ts.map +1 -0
  260. package/v1/model/{ListRuleHitCountResponse.js → DeleteServiceSetResponse.js} +4 -4
  261. package/v1/model/DeleteServiceSetResponse.js.map +1 -0
  262. package/v1/model/DnsServersResponseDTO.d.ts +4 -0
  263. package/v1/model/DnsServersResponseDTO.d.ts.map +1 -1
  264. package/v1/model/DnsServersResponseDTO.js +10 -0
  265. package/v1/model/DnsServersResponseDTO.js.map +1 -1
  266. package/v1/model/DomainInfo.d.ts +18 -0
  267. package/v1/model/DomainInfo.d.ts.map +1 -0
  268. package/v1/model/DomainInfo.js +43 -0
  269. package/v1/model/DomainInfo.js.map +1 -0
  270. package/v1/model/DomainSetInfoDto.d.ts +14 -0
  271. package/v1/model/DomainSetInfoDto.d.ts.map +1 -0
  272. package/v1/model/DomainSetInfoDto.js +33 -0
  273. package/v1/model/DomainSetInfoDto.js.map +1 -0
  274. package/v1/model/DomainSetResponseData.d.ts +8 -0
  275. package/v1/model/DomainSetResponseData.d.ts.map +1 -0
  276. package/v1/model/DomainSetResponseData.js +17 -0
  277. package/v1/model/DomainSetResponseData.js.map +1 -0
  278. package/v1/model/DomainSetVo.d.ts +26 -0
  279. package/v1/model/DomainSetVo.d.ts.map +1 -0
  280. package/v1/model/DomainSetVo.js +61 -0
  281. package/v1/model/DomainSetVo.js.map +1 -0
  282. package/v1/model/EIPSwitchStatusVO.d.ts +12 -0
  283. package/v1/model/EIPSwitchStatusVO.d.ts.map +1 -0
  284. package/v1/model/EIPSwitchStatusVO.js +29 -0
  285. package/v1/model/EIPSwitchStatusVO.js.map +1 -0
  286. package/v1/model/EipCountRespData.d.ts +4 -0
  287. package/v1/model/EipCountRespData.d.ts.map +1 -1
  288. package/v1/model/EipCountRespData.js +10 -0
  289. package/v1/model/EipCountRespData.js.map +1 -1
  290. package/v1/model/EipResource.d.ts +16 -0
  291. package/v1/model/EipResource.d.ts.map +1 -1
  292. package/v1/model/EipResource.js +38 -0
  293. package/v1/model/EipResource.js.map +1 -1
  294. package/v1/model/EwProtectResourceInfo.d.ts +4 -0
  295. package/v1/model/EwProtectResourceInfo.d.ts.map +1 -1
  296. package/v1/model/EwProtectResourceInfo.js +10 -0
  297. package/v1/model/EwProtectResourceInfo.js.map +1 -1
  298. package/v1/model/FirewallInstanceVO.d.ts +43 -0
  299. package/v1/model/FirewallInstanceVO.d.ts.map +1 -0
  300. package/v1/model/FirewallInstanceVO.js +101 -0
  301. package/v1/model/FirewallInstanceVO.js.map +1 -0
  302. package/v1/model/Flavor.d.ts +20 -0
  303. package/v1/model/Flavor.d.ts.map +1 -1
  304. package/v1/model/Flavor.js +50 -0
  305. package/v1/model/Flavor.js.map +1 -1
  306. package/v1/model/GetEastWestFirewallResponseBody.d.ts +6 -0
  307. package/v1/model/GetEastWestFirewallResponseBody.d.ts.map +1 -1
  308. package/v1/model/GetEastWestFirewallResponseBody.js +14 -0
  309. package/v1/model/GetEastWestFirewallResponseBody.js.map +1 -1
  310. package/v1/model/GetFirewallInstanceResponseRecord.d.ts +8 -0
  311. package/v1/model/GetFirewallInstanceResponseRecord.d.ts.map +1 -1
  312. package/v1/model/GetFirewallInstanceResponseRecord.js +20 -0
  313. package/v1/model/GetFirewallInstanceResponseRecord.js.map +1 -1
  314. package/v1/model/HttpFirewallInstanceListResponseData.d.ts +17 -0
  315. package/v1/model/HttpFirewallInstanceListResponseData.d.ts.map +1 -0
  316. package/v1/model/HttpFirewallInstanceListResponseData.js +35 -0
  317. package/v1/model/HttpFirewallInstanceListResponseData.js.map +1 -0
  318. package/v1/model/HttpGetAclTagResponseData.d.ts +13 -0
  319. package/v1/model/HttpGetAclTagResponseData.d.ts.map +1 -0
  320. package/v1/model/HttpGetAclTagResponseData.js +25 -0
  321. package/v1/model/HttpGetAclTagResponseData.js.map +1 -0
  322. package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTODataRecords.d.ts +20 -0
  323. package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTODataRecords.d.ts.map +1 -1
  324. package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTODataRecords.js +50 -0
  325. package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTODataRecords.js.map +1 -1
  326. package/v1/model/HttpQueryCfwAttackLogsResponseDTODataRecords.d.ts +20 -0
  327. package/v1/model/HttpQueryCfwAttackLogsResponseDTODataRecords.d.ts.map +1 -1
  328. package/v1/model/HttpQueryCfwAttackLogsResponseDTODataRecords.js +50 -0
  329. package/v1/model/HttpQueryCfwAttackLogsResponseDTODataRecords.js.map +1 -1
  330. package/v1/model/HttpQueryCfwFlowLogsResponseDTODataRecords.d.ts +4 -0
  331. package/v1/model/HttpQueryCfwFlowLogsResponseDTODataRecords.d.ts.map +1 -1
  332. package/v1/model/HttpQueryCfwFlowLogsResponseDTODataRecords.js +10 -0
  333. package/v1/model/HttpQueryCfwFlowLogsResponseDTODataRecords.js.map +1 -1
  334. package/v1/model/IpRegionDto.d.ts +20 -0
  335. package/v1/model/IpRegionDto.d.ts.map +1 -0
  336. package/v1/model/IpRegionDto.js +49 -0
  337. package/v1/model/IpRegionDto.js.map +1 -0
  338. package/v1/model/ListAccessControlLogsRequest.d.ts +10 -0
  339. package/v1/model/ListAccessControlLogsRequest.d.ts.map +1 -1
  340. package/v1/model/ListAccessControlLogsRequest.js +24 -0
  341. package/v1/model/ListAccessControlLogsRequest.js.map +1 -1
  342. package/v1/model/{ListRuleHitCountRequest.d.ts → ListAclRuleHitCountRequest.d.ts} +6 -6
  343. package/v1/model/ListAclRuleHitCountRequest.d.ts.map +1 -0
  344. package/v1/model/ListAclRuleHitCountRequest.js +44 -0
  345. package/v1/model/ListAclRuleHitCountRequest.js.map +1 -0
  346. package/v1/model/ListAclRuleHitCountResponse.d.ts +8 -0
  347. package/v1/model/ListAclRuleHitCountResponse.d.ts.map +1 -0
  348. package/v1/model/{AddRuleAclUsingPostResponse.js → ListAclRuleHitCountResponse.js} +4 -4
  349. package/v1/model/ListAclRuleHitCountResponse.js.map +1 -0
  350. package/v1/model/ListAclRulesRequest.d.ts +98 -0
  351. package/v1/model/ListAclRulesRequest.d.ts.map +1 -0
  352. package/v1/model/ListAclRulesRequest.js +176 -0
  353. package/v1/model/ListAclRulesRequest.js.map +1 -0
  354. package/v1/model/{ListRuleAclsUsingGetResponse.d.ts → ListAclRulesResponse.d.ts} +3 -3
  355. package/v1/model/ListAclRulesResponse.d.ts.map +1 -0
  356. package/v1/model/ListAclRulesResponse.js +15 -0
  357. package/v1/model/ListAclRulesResponse.js.map +1 -0
  358. package/v1/model/{ListAddressItemsUsingGetRequest.d.ts → ListAddressItemsRequest.d.ts} +10 -10
  359. package/v1/model/ListAddressItemsRequest.d.ts.map +1 -0
  360. package/v1/model/{ListAddressItemsUsingGetRequest.js → ListAddressItemsRequest.js} +4 -4
  361. package/v1/model/ListAddressItemsRequest.js.map +1 -0
  362. package/v1/model/{ListAddressItemsUsingGetResponse.d.ts → ListAddressItemsResponse.d.ts} +3 -3
  363. package/v1/model/ListAddressItemsResponse.d.ts.map +1 -0
  364. package/v1/model/{ListEipResourcesResponse.js → ListAddressItemsResponse.js} +4 -4
  365. package/v1/model/ListAddressItemsResponse.js.map +1 -0
  366. package/v1/model/{ListAddressSetDetailUsingGetRequest.d.ts → ListAddressSetDetailRequest.d.ts} +6 -6
  367. package/v1/model/ListAddressSetDetailRequest.d.ts.map +1 -0
  368. package/v1/model/{ListAddressSetDetailUsingGetRequest.js → ListAddressSetDetailRequest.js} +4 -4
  369. package/v1/model/ListAddressSetDetailRequest.js.map +1 -0
  370. package/v1/model/{ListAddressSetDetailUsingGetResponse.d.ts → ListAddressSetDetailResponse.d.ts} +3 -3
  371. package/v1/model/ListAddressSetDetailResponse.d.ts.map +1 -0
  372. package/v1/model/ListAddressSetDetailResponse.js +15 -0
  373. package/v1/model/ListAddressSetDetailResponse.js.map +1 -0
  374. package/v1/model/ListAddressSetsRequest.d.ts +42 -0
  375. package/v1/model/ListAddressSetsRequest.d.ts.map +1 -0
  376. package/v1/model/{ListAddressSetListUsingGetRequest.js → ListAddressSetsRequest.js} +9 -9
  377. package/v1/model/ListAddressSetsRequest.js.map +1 -0
  378. package/v1/model/{ListAddressSetListUsingGetResponse.d.ts → ListAddressSetsResponse.d.ts} +3 -3
  379. package/v1/model/ListAddressSetsResponse.d.ts.map +1 -0
  380. package/v1/model/ListAddressSetsResponse.js +15 -0
  381. package/v1/model/ListAddressSetsResponse.js.map +1 -0
  382. package/v1/model/ListAttackLogsRequest.d.ts +17 -0
  383. package/v1/model/ListAttackLogsRequest.d.ts.map +1 -1
  384. package/v1/model/ListAttackLogsRequest.js +31 -1
  385. package/v1/model/ListAttackLogsRequest.js.map +1 -1
  386. package/v1/model/ListBlackWhiteListsRequest.d.ts +53 -0
  387. package/v1/model/ListBlackWhiteListsRequest.d.ts.map +1 -0
  388. package/v1/model/{ListBlackWhiteListsUsingGetRequest.js → ListBlackWhiteListsRequest.js} +15 -15
  389. package/v1/model/ListBlackWhiteListsRequest.js.map +1 -0
  390. package/v1/model/{ListBlackWhiteListsUsingGetResponse.d.ts → ListBlackWhiteListsResponse.d.ts} +3 -3
  391. package/v1/model/ListBlackWhiteListsResponse.d.ts.map +1 -0
  392. package/v1/model/ListBlackWhiteListsResponse.js +15 -0
  393. package/v1/model/ListBlackWhiteListsResponse.js.map +1 -0
  394. package/v1/model/ListDomainParseDetailRequest.d.ts +24 -0
  395. package/v1/model/ListDomainParseDetailRequest.d.ts.map +1 -0
  396. package/v1/model/{ListParseDomainDetailsRequest.js → ListDomainParseDetailRequest.js} +14 -4
  397. package/v1/model/ListDomainParseDetailRequest.js.map +1 -0
  398. package/v1/model/ListDomainParseDetailResponse.d.ts +7 -0
  399. package/v1/model/ListDomainParseDetailResponse.d.ts.map +1 -0
  400. package/v1/model/{ListServiceSetDetailsResponse.js → ListDomainParseDetailResponse.js} +4 -4
  401. package/v1/model/ListDomainParseDetailResponse.js.map +1 -0
  402. package/v1/model/ListDomainResponseData.d.ts +21 -0
  403. package/v1/model/ListDomainResponseData.d.ts.map +1 -0
  404. package/v1/model/ListDomainResponseData.js +45 -0
  405. package/v1/model/ListDomainResponseData.js.map +1 -0
  406. package/v1/model/ListDomainSetsRequest.d.ts +36 -0
  407. package/v1/model/ListDomainSetsRequest.d.ts.map +1 -0
  408. package/v1/model/ListDomainSetsRequest.js +92 -0
  409. package/v1/model/ListDomainSetsRequest.js.map +1 -0
  410. package/v1/model/ListDomainSetsResponse.d.ts +8 -0
  411. package/v1/model/ListDomainSetsResponse.d.ts.map +1 -0
  412. package/v1/model/ListDomainSetsResponse.js +15 -0
  413. package/v1/model/ListDomainSetsResponse.js.map +1 -0
  414. package/v1/model/ListDomainsRequest.d.ts +38 -0
  415. package/v1/model/ListDomainsRequest.d.ts.map +1 -0
  416. package/v1/model/ListDomainsRequest.js +96 -0
  417. package/v1/model/ListDomainsRequest.js.map +1 -0
  418. package/v1/model/ListDomainsResponse.d.ts +8 -0
  419. package/v1/model/ListDomainsResponse.d.ts.map +1 -0
  420. package/v1/model/ListDomainsResponse.js +15 -0
  421. package/v1/model/ListDomainsResponse.js.map +1 -0
  422. package/v1/model/ListDomainsetsResponseData.d.ts +13 -0
  423. package/v1/model/ListDomainsetsResponseData.d.ts.map +1 -0
  424. package/v1/model/ListDomainsetsResponseData.js +25 -0
  425. package/v1/model/ListDomainsetsResponseData.js.map +1 -0
  426. package/v1/model/{CountEipsRequest.d.ts → ListEipCountRequest.d.ts} +6 -6
  427. package/v1/model/ListEipCountRequest.d.ts.map +1 -0
  428. package/v1/model/{CountEipsRequest.js → ListEipCountRequest.js} +4 -4
  429. package/v1/model/ListEipCountRequest.js.map +1 -0
  430. package/v1/model/{CountEipsResponse.d.ts → ListEipCountResponse.d.ts} +3 -3
  431. package/v1/model/ListEipCountResponse.d.ts.map +1 -0
  432. package/v1/model/ListEipCountResponse.js +15 -0
  433. package/v1/model/ListEipCountResponse.js.map +1 -0
  434. package/v1/model/{ListEipResourcesRequest.d.ts → ListEipsRequest.d.ts} +21 -19
  435. package/v1/model/ListEipsRequest.d.ts.map +1 -0
  436. package/v1/model/{ListEipResourcesRequest.js → ListEipsRequest.js} +19 -15
  437. package/v1/model/ListEipsRequest.js.map +1 -0
  438. package/v1/model/ListEipsResponse.d.ts +8 -0
  439. package/v1/model/ListEipsResponse.d.ts.map +1 -0
  440. package/v1/model/{CountEipsResponse.js → ListEipsResponse.js} +4 -4
  441. package/v1/model/ListEipsResponse.js.map +1 -0
  442. package/v1/model/ListFirewallDetailRequest.d.ts +32 -0
  443. package/v1/model/ListFirewallDetailRequest.d.ts.map +1 -0
  444. package/v1/model/{ListFirewallUsingGetRequest.js → ListFirewallDetailRequest.js} +9 -9
  445. package/v1/model/ListFirewallDetailRequest.js.map +1 -0
  446. package/v1/model/ListFirewallDetailResponse.d.ts +8 -0
  447. package/v1/model/ListFirewallDetailResponse.d.ts.map +1 -0
  448. package/v1/model/ListFirewallDetailResponse.js +15 -0
  449. package/v1/model/ListFirewallDetailResponse.js.map +1 -0
  450. package/v1/model/ListFirewallListRequest.d.ts +15 -0
  451. package/v1/model/ListFirewallListRequest.d.ts.map +1 -0
  452. package/v1/model/ListFirewallListRequest.js +34 -0
  453. package/v1/model/ListFirewallListRequest.js.map +1 -0
  454. package/v1/model/ListFirewallListResponse.d.ts +12 -0
  455. package/v1/model/ListFirewallListResponse.d.ts.map +1 -0
  456. package/v1/model/ListFirewallListResponse.js +25 -0
  457. package/v1/model/ListFirewallListResponse.js.map +1 -0
  458. package/v1/model/ListFlowLogsRequest.d.ts +4 -0
  459. package/v1/model/ListFlowLogsRequest.d.ts.map +1 -1
  460. package/v1/model/ListFlowLogsRequest.js +10 -0
  461. package/v1/model/ListFlowLogsRequest.js.map +1 -1
  462. package/v1/model/{ListIpsSwitchStatusUsingGetRequest.d.ts → ListIpsProtectModeRequest.d.ts} +6 -6
  463. package/v1/model/ListIpsProtectModeRequest.d.ts.map +1 -0
  464. package/v1/model/{ListIpsSwitchStatusUsingGetRequest.js → ListIpsProtectModeRequest.js} +4 -4
  465. package/v1/model/ListIpsProtectModeRequest.js.map +1 -0
  466. package/v1/model/ListIpsProtectModeResponse.d.ts +8 -0
  467. package/v1/model/ListIpsProtectModeResponse.d.ts.map +1 -0
  468. package/v1/model/ListIpsProtectModeResponse.js +15 -0
  469. package/v1/model/ListIpsProtectModeResponse.js.map +1 -0
  470. package/v1/model/{ListIpsProtectModeUsingPostRequest.d.ts → ListIpsSwitchStatusRequest.d.ts} +6 -6
  471. package/v1/model/ListIpsSwitchStatusRequest.d.ts.map +1 -0
  472. package/v1/model/{ListIpsProtectModeUsingPostRequest.js → ListIpsSwitchStatusRequest.js} +4 -4
  473. package/v1/model/ListIpsSwitchStatusRequest.js.map +1 -0
  474. package/v1/model/ListIpsSwitchStatusResponse.d.ts +8 -0
  475. package/v1/model/ListIpsSwitchStatusResponse.d.ts.map +1 -0
  476. package/v1/model/ListIpsSwitchStatusResponse.js +15 -0
  477. package/v1/model/ListIpsSwitchStatusResponse.js.map +1 -0
  478. package/v1/model/{ListVpcProtectsRequest.d.ts → ListProtectedVpcsRequest.d.ts} +6 -6
  479. package/v1/model/ListProtectedVpcsRequest.d.ts.map +1 -0
  480. package/v1/model/{ListVpcProtectsRequest.js → ListProtectedVpcsRequest.js} +4 -4
  481. package/v1/model/ListProtectedVpcsRequest.js.map +1 -0
  482. package/v1/model/{ListVpcProtectsResponse.d.ts → ListProtectedVpcsResponse.d.ts} +4 -4
  483. package/v1/model/ListProtectedVpcsResponse.d.ts.map +1 -0
  484. package/v1/model/{ListVpcProtectsResponse.js → ListProtectedVpcsResponse.js} +4 -4
  485. package/v1/model/ListProtectedVpcsResponse.js.map +1 -0
  486. package/v1/model/ListRuleAclTagsRequest.d.ts +20 -0
  487. package/v1/model/ListRuleAclTagsRequest.d.ts.map +1 -0
  488. package/v1/model/ListRuleAclTagsRequest.js +51 -0
  489. package/v1/model/ListRuleAclTagsRequest.js.map +1 -0
  490. package/v1/model/ListRuleAclTagsResponse.d.ts +8 -0
  491. package/v1/model/ListRuleAclTagsResponse.d.ts.map +1 -0
  492. package/v1/model/ListRuleAclTagsResponse.js +15 -0
  493. package/v1/model/ListRuleAclTagsResponse.js.map +1 -0
  494. package/v1/model/{ListServiceItemsDetailsRequest.d.ts → ListServiceItemsRequest.d.ts} +9 -9
  495. package/v1/model/ListServiceItemsRequest.d.ts.map +1 -0
  496. package/v1/model/{ListServiceItemsDetailsRequest.js → ListServiceItemsRequest.js} +4 -4
  497. package/v1/model/ListServiceItemsRequest.js.map +1 -0
  498. package/v1/model/{ListServiceItemsDetailsResponse.d.ts → ListServiceItemsResponse.d.ts} +3 -3
  499. package/v1/model/ListServiceItemsResponse.d.ts.map +1 -0
  500. package/v1/model/ListServiceItemsResponse.js +15 -0
  501. package/v1/model/ListServiceItemsResponse.js.map +1 -0
  502. package/v1/model/{ListServiceSetDetailsRequest.d.ts → ListServiceSetDetailRequest.d.ts} +6 -6
  503. package/v1/model/ListServiceSetDetailRequest.d.ts.map +1 -0
  504. package/v1/model/{DeleteAddressSetInfoUsingDeleteRequest.js → ListServiceSetDetailRequest.js} +4 -4
  505. package/v1/model/ListServiceSetDetailRequest.js.map +1 -0
  506. package/v1/model/{ListServiceSetDetailsResponse.d.ts → ListServiceSetDetailResponse.d.ts} +3 -3
  507. package/v1/model/ListServiceSetDetailResponse.d.ts.map +1 -0
  508. package/v1/model/ListServiceSetDetailResponse.js +15 -0
  509. package/v1/model/ListServiceSetDetailResponse.js.map +1 -0
  510. package/v1/model/{ListServiceSetRequest.d.ts → ListServiceSetsRequest.d.ts} +9 -9
  511. package/v1/model/ListServiceSetsRequest.d.ts.map +1 -0
  512. package/v1/model/{ListServiceSetRequest.js → ListServiceSetsRequest.js} +4 -4
  513. package/v1/model/ListServiceSetsRequest.js.map +1 -0
  514. package/v1/model/{ListServiceSetResponse.d.ts → ListServiceSetsResponse.d.ts} +3 -3
  515. package/v1/model/ListServiceSetsResponse.d.ts.map +1 -0
  516. package/v1/model/ListServiceSetsResponse.js +15 -0
  517. package/v1/model/ListServiceSetsResponse.js.map +1 -0
  518. package/v1/model/QueryFireWallInstanceDto.d.ts +19 -0
  519. package/v1/model/QueryFireWallInstanceDto.d.ts.map +1 -0
  520. package/v1/model/QueryFireWallInstanceDto.js +43 -0
  521. package/v1/model/QueryFireWallInstanceDto.js.map +1 -0
  522. package/v1/model/RuleAclListResponseDTODataRecords.d.ts +3 -0
  523. package/v1/model/RuleAclListResponseDTODataRecords.d.ts.map +1 -1
  524. package/v1/model/RuleAclListResponseDTODataRecords.js +4 -0
  525. package/v1/model/RuleAclListResponseDTODataRecords.js.map +1 -1
  526. package/v1/model/RuleAddressDto.d.ts +30 -0
  527. package/v1/model/RuleAddressDto.d.ts.map +1 -1
  528. package/v1/model/RuleAddressDto.js +70 -0
  529. package/v1/model/RuleAddressDto.js.map +1 -1
  530. package/v1/model/RuleServiceDto.d.ts +14 -0
  531. package/v1/model/RuleServiceDto.d.ts.map +1 -1
  532. package/v1/model/RuleServiceDto.js +30 -0
  533. package/v1/model/RuleServiceDto.js.map +1 -1
  534. package/v1/model/ServiceItem.d.ts +18 -0
  535. package/v1/model/ServiceItem.d.ts.map +1 -0
  536. package/v1/model/ServiceItem.js +41 -0
  537. package/v1/model/ServiceItem.js.map +1 -0
  538. package/v1/model/SubnetInfo.d.ts +5 -1
  539. package/v1/model/SubnetInfo.d.ts.map +1 -1
  540. package/v1/model/SubnetInfo.js +11 -3
  541. package/v1/model/SubnetInfo.js.map +1 -1
  542. package/v1/model/TagInfo.d.ts +8 -0
  543. package/v1/model/TagInfo.d.ts.map +1 -0
  544. package/v1/model/TagInfo.js +17 -0
  545. package/v1/model/TagInfo.js.map +1 -0
  546. package/v1/model/TagsVO.d.ts +16 -0
  547. package/v1/model/TagsVO.d.ts.map +1 -0
  548. package/v1/model/TagsVO.js +39 -0
  549. package/v1/model/TagsVO.js.map +1 -0
  550. package/v1/model/{ListRuleAclUsingPutRequest.d.ts → UpdateAclRuleOrderRequest.d.ts} +7 -7
  551. package/v1/model/UpdateAclRuleOrderRequest.d.ts.map +1 -0
  552. package/v1/model/{ListRuleAclUsingPutRequest.js → UpdateAclRuleOrderRequest.js} +4 -4
  553. package/v1/model/UpdateAclRuleOrderRequest.js.map +1 -0
  554. package/v1/model/UpdateAclRuleOrderResponse.d.ts +8 -0
  555. package/v1/model/UpdateAclRuleOrderResponse.d.ts.map +1 -0
  556. package/v1/model/UpdateAclRuleOrderResponse.js +15 -0
  557. package/v1/model/UpdateAclRuleOrderResponse.js.map +1 -0
  558. package/v1/model/{UpdateRuleAclUsingPutRequest.d.ts → UpdateAclRuleRequest.d.ts} +7 -7
  559. package/v1/model/UpdateAclRuleRequest.d.ts.map +1 -0
  560. package/v1/model/{UpdateRuleAclUsingPutRequest.js → UpdateAclRuleRequest.js} +4 -4
  561. package/v1/model/UpdateAclRuleRequest.js.map +1 -0
  562. package/v1/model/UpdateAclRuleResponse.d.ts +8 -0
  563. package/v1/model/UpdateAclRuleResponse.d.ts.map +1 -0
  564. package/v1/model/UpdateAclRuleResponse.js +15 -0
  565. package/v1/model/UpdateAclRuleResponse.js.map +1 -0
  566. package/v1/model/{UpdateAddressSetInfoUsingPutRequest.d.ts → UpdateAddressSetRequest.d.ts} +7 -7
  567. package/v1/model/UpdateAddressSetRequest.d.ts.map +1 -0
  568. package/v1/model/{UpdateServiceSetUsingPutRequest.js → UpdateAddressSetRequest.js} +4 -4
  569. package/v1/model/UpdateAddressSetRequest.js.map +1 -0
  570. package/v1/model/UpdateAddressSetResponse.d.ts +8 -0
  571. package/v1/model/UpdateAddressSetResponse.d.ts.map +1 -0
  572. package/v1/model/UpdateAddressSetResponse.js +15 -0
  573. package/v1/model/UpdateAddressSetResponse.js.map +1 -0
  574. package/v1/model/UpdateBlackWhiteListDto.d.ts +2 -0
  575. package/v1/model/UpdateBlackWhiteListDto.d.ts.map +1 -1
  576. package/v1/model/UpdateBlackWhiteListDto.js +4 -0
  577. package/v1/model/UpdateBlackWhiteListDto.js.map +1 -1
  578. package/v1/model/{UpdateBlackWhiteListUsingPutRequest.d.ts → UpdateBlackWhiteListRequest.d.ts} +7 -7
  579. package/v1/model/UpdateBlackWhiteListRequest.d.ts.map +1 -0
  580. package/v1/model/{UpdateBlackWhiteListUsingPutRequest.js → UpdateBlackWhiteListRequest.js} +4 -4
  581. package/v1/model/UpdateBlackWhiteListRequest.js.map +1 -0
  582. package/v1/model/UpdateBlackWhiteListResponse.d.ts +8 -0
  583. package/v1/model/UpdateBlackWhiteListResponse.d.ts.map +1 -0
  584. package/v1/model/UpdateBlackWhiteListResponse.js +15 -0
  585. package/v1/model/UpdateBlackWhiteListResponse.js.map +1 -0
  586. package/v1/model/UpdateDnsServersRequestBody.d.ts +4 -0
  587. package/v1/model/UpdateDnsServersRequestBody.d.ts.map +1 -1
  588. package/v1/model/UpdateDnsServersRequestBody.js +10 -0
  589. package/v1/model/UpdateDnsServersRequestBody.js.map +1 -1
  590. package/v1/model/UpdateDomainSetInfoDto.d.ts +16 -0
  591. package/v1/model/UpdateDomainSetInfoDto.d.ts.map +1 -0
  592. package/v1/model/UpdateDomainSetInfoDto.js +38 -0
  593. package/v1/model/UpdateDomainSetInfoDto.js.map +1 -0
  594. package/v1/model/UpdateDomainSetRequest.d.ts +23 -0
  595. package/v1/model/UpdateDomainSetRequest.d.ts.map +1 -0
  596. package/v1/model/{UpdateAddressSetInfoUsingPutRequest.js → UpdateDomainSetRequest.js} +4 -4
  597. package/v1/model/UpdateDomainSetRequest.js.map +1 -0
  598. package/v1/model/UpdateDomainSetResponse.d.ts +8 -0
  599. package/v1/model/UpdateDomainSetResponse.d.ts.map +1 -0
  600. package/v1/model/UpdateDomainSetResponse.js +15 -0
  601. package/v1/model/UpdateDomainSetResponse.js.map +1 -0
  602. package/v1/model/UpdateRuleAclDto.d.ts +3 -0
  603. package/v1/model/UpdateRuleAclDto.d.ts.map +1 -1
  604. package/v1/model/UpdateRuleAclDto.js +4 -0
  605. package/v1/model/UpdateRuleAclDto.js.map +1 -1
  606. package/v1/model/UpdateSecurityPolciesActionDto.d.ts +14 -0
  607. package/v1/model/UpdateSecurityPolciesActionDto.d.ts.map +1 -0
  608. package/v1/model/UpdateSecurityPolciesActionDto.js +36 -0
  609. package/v1/model/UpdateSecurityPolciesActionDto.js.map +1 -0
  610. package/v1/model/{UpdateServiceSetUsingPutRequest.d.ts → UpdateServiceSetRequest.d.ts} +7 -7
  611. package/v1/model/UpdateServiceSetRequest.d.ts.map +1 -0
  612. package/v1/model/UpdateServiceSetRequest.js +55 -0
  613. package/v1/model/UpdateServiceSetRequest.js.map +1 -0
  614. package/v1/model/UpdateServiceSetResponse.d.ts +8 -0
  615. package/v1/model/UpdateServiceSetResponse.d.ts.map +1 -0
  616. package/v1/model/UpdateServiceSetResponse.js +15 -0
  617. package/v1/model/UpdateServiceSetResponse.js.map +1 -0
  618. package/v1/public-api.d.ts +129 -76
  619. package/v1/public-api.d.ts.map +1 -1
  620. package/v1/public-api.js +129 -76
  621. package/v1/public-api.js.map +1 -1
  622. package/v1/model/AddAddressItemsUsingPostRequest.d.ts.map +0 -1
  623. package/v1/model/AddAddressItemsUsingPostRequest.js +0 -44
  624. package/v1/model/AddAddressItemsUsingPostRequest.js.map +0 -1
  625. package/v1/model/AddAddressItemsUsingPostResponse.d.ts +0 -8
  626. package/v1/model/AddAddressItemsUsingPostResponse.d.ts.map +0 -1
  627. package/v1/model/AddAddressItemsUsingPostResponse.js +0 -15
  628. package/v1/model/AddAddressItemsUsingPostResponse.js.map +0 -1
  629. package/v1/model/AddAddressSetInfoUsingPostRequest.d.ts.map +0 -1
  630. package/v1/model/AddAddressSetInfoUsingPostRequest.js +0 -44
  631. package/v1/model/AddAddressSetInfoUsingPostRequest.js.map +0 -1
  632. package/v1/model/AddAddressSetInfoUsingPostResponse.d.ts +0 -8
  633. package/v1/model/AddAddressSetInfoUsingPostResponse.d.ts.map +0 -1
  634. package/v1/model/AddAddressSetInfoUsingPostResponse.js +0 -15
  635. package/v1/model/AddAddressSetInfoUsingPostResponse.js.map +0 -1
  636. package/v1/model/AddBlackWhiteListUsingPostRequest.d.ts.map +0 -1
  637. package/v1/model/AddBlackWhiteListUsingPostRequest.js.map +0 -1
  638. package/v1/model/AddBlackWhiteListUsingPostResponse.d.ts +0 -8
  639. package/v1/model/AddBlackWhiteListUsingPostResponse.d.ts.map +0 -1
  640. package/v1/model/AddBlackWhiteListUsingPostResponse.js +0 -15
  641. package/v1/model/AddBlackWhiteListUsingPostResponse.js.map +0 -1
  642. package/v1/model/AddRuleAclUsingPostRequest.d.ts.map +0 -1
  643. package/v1/model/AddRuleAclUsingPostResponse.d.ts +0 -8
  644. package/v1/model/AddRuleAclUsingPostResponse.d.ts.map +0 -1
  645. package/v1/model/AddRuleAclUsingPostResponse.js.map +0 -1
  646. package/v1/model/AddServiceItemsUsingPostRequest.d.ts.map +0 -1
  647. package/v1/model/AddServiceItemsUsingPostRequest.js +0 -44
  648. package/v1/model/AddServiceItemsUsingPostRequest.js.map +0 -1
  649. package/v1/model/AddServiceItemsUsingPostResponse.d.ts +0 -8
  650. package/v1/model/AddServiceItemsUsingPostResponse.d.ts.map +0 -1
  651. package/v1/model/AddServiceItemsUsingPostResponse.js.map +0 -1
  652. package/v1/model/AddServiceSetUsingPostRequest.d.ts.map +0 -1
  653. package/v1/model/AddServiceSetUsingPostRequest.js.map +0 -1
  654. package/v1/model/AddServiceSetUsingPostResponse.d.ts +0 -8
  655. package/v1/model/AddServiceSetUsingPostResponse.d.ts.map +0 -1
  656. package/v1/model/AddServiceSetUsingPostResponse.js.map +0 -1
  657. package/v1/model/ChangeEwProtectStatusResponse.d.ts +0 -12
  658. package/v1/model/ChangeEwProtectStatusResponse.d.ts.map +0 -1
  659. package/v1/model/ChangeEwProtectStatusResponse.js.map +0 -1
  660. package/v1/model/ChangeIpsProtectModeUsingPostRequest.d.ts.map +0 -1
  661. package/v1/model/ChangeIpsProtectModeUsingPostRequest.js +0 -44
  662. package/v1/model/ChangeIpsProtectModeUsingPostRequest.js.map +0 -1
  663. package/v1/model/ChangeIpsProtectModeUsingPostResponse.d.ts +0 -8
  664. package/v1/model/ChangeIpsProtectModeUsingPostResponse.d.ts.map +0 -1
  665. package/v1/model/ChangeIpsProtectModeUsingPostResponse.js +0 -15
  666. package/v1/model/ChangeIpsProtectModeUsingPostResponse.js.map +0 -1
  667. package/v1/model/ChangeIpsSwitchUsingPostRequest.d.ts.map +0 -1
  668. package/v1/model/ChangeIpsSwitchUsingPostRequest.js +0 -44
  669. package/v1/model/ChangeIpsSwitchUsingPostRequest.js.map +0 -1
  670. package/v1/model/ChangeIpsSwitchUsingPostResponse.d.ts.map +0 -1
  671. package/v1/model/ChangeIpsSwitchUsingPostResponse.js.map +0 -1
  672. package/v1/model/ChangeProtectEipRequest.d.ts.map +0 -1
  673. package/v1/model/ChangeProtectEipRequest.js.map +0 -1
  674. package/v1/model/ChangeProtectEipResponse.d.ts +0 -8
  675. package/v1/model/ChangeProtectEipResponse.d.ts.map +0 -1
  676. package/v1/model/ChangeProtectEipResponse.js.map +0 -1
  677. package/v1/model/CountEipsRequest.d.ts.map +0 -1
  678. package/v1/model/CountEipsRequest.js.map +0 -1
  679. package/v1/model/CountEipsResponse.d.ts.map +0 -1
  680. package/v1/model/CountEipsResponse.js.map +0 -1
  681. package/v1/model/DeleteAclRuleCountRequest.d.ts.map +0 -1
  682. package/v1/model/DeleteAclRuleCountRequest.js.map +0 -1
  683. package/v1/model/DeleteAclRuleCountResponse.d.ts +0 -7
  684. package/v1/model/DeleteAclRuleCountResponse.d.ts.map +0 -1
  685. package/v1/model/DeleteAclRuleCountResponse.js.map +0 -1
  686. package/v1/model/DeleteAddressItemUsingDeleteRequest.d.ts.map +0 -1
  687. package/v1/model/DeleteAddressItemUsingDeleteRequest.js.map +0 -1
  688. package/v1/model/DeleteAddressItemUsingDeleteResponse.d.ts +0 -8
  689. package/v1/model/DeleteAddressItemUsingDeleteResponse.d.ts.map +0 -1
  690. package/v1/model/DeleteAddressItemUsingDeleteResponse.js +0 -15
  691. package/v1/model/DeleteAddressItemUsingDeleteResponse.js.map +0 -1
  692. package/v1/model/DeleteAddressSetInfoUsingDeleteRequest.d.ts.map +0 -1
  693. package/v1/model/DeleteAddressSetInfoUsingDeleteRequest.js.map +0 -1
  694. package/v1/model/DeleteAddressSetInfoUsingDeleteResponse.d.ts +0 -8
  695. package/v1/model/DeleteAddressSetInfoUsingDeleteResponse.d.ts.map +0 -1
  696. package/v1/model/DeleteAddressSetInfoUsingDeleteResponse.js +0 -15
  697. package/v1/model/DeleteAddressSetInfoUsingDeleteResponse.js.map +0 -1
  698. package/v1/model/DeleteBlackWhiteListUsingDeleteRequest.d.ts.map +0 -1
  699. package/v1/model/DeleteBlackWhiteListUsingDeleteRequest.js.map +0 -1
  700. package/v1/model/DeleteBlackWhiteListUsingDeleteResponse.d.ts +0 -8
  701. package/v1/model/DeleteBlackWhiteListUsingDeleteResponse.d.ts.map +0 -1
  702. package/v1/model/DeleteBlackWhiteListUsingDeleteResponse.js +0 -15
  703. package/v1/model/DeleteBlackWhiteListUsingDeleteResponse.js.map +0 -1
  704. package/v1/model/DeleteRuleAclUsingDeleteRequest.d.ts.map +0 -1
  705. package/v1/model/DeleteRuleAclUsingDeleteRequest.js.map +0 -1
  706. package/v1/model/DeleteRuleAclUsingDeleteResponse.d.ts +0 -8
  707. package/v1/model/DeleteRuleAclUsingDeleteResponse.d.ts.map +0 -1
  708. package/v1/model/DeleteRuleAclUsingDeleteResponse.js +0 -15
  709. package/v1/model/DeleteRuleAclUsingDeleteResponse.js.map +0 -1
  710. package/v1/model/DeleteServiceItemUsingDeleteRequest.d.ts.map +0 -1
  711. package/v1/model/DeleteServiceItemUsingDeleteRequest.js.map +0 -1
  712. package/v1/model/DeleteServiceItemUsingDeleteResponse.d.ts +0 -8
  713. package/v1/model/DeleteServiceItemUsingDeleteResponse.d.ts.map +0 -1
  714. package/v1/model/DeleteServiceItemUsingDeleteResponse.js +0 -15
  715. package/v1/model/DeleteServiceItemUsingDeleteResponse.js.map +0 -1
  716. package/v1/model/DeleteServiceSetUsingDeleteRequest.d.ts.map +0 -1
  717. package/v1/model/DeleteServiceSetUsingDeleteRequest.js.map +0 -1
  718. package/v1/model/DeleteServiceSetUsingDeleteResponse.d.ts +0 -8
  719. package/v1/model/DeleteServiceSetUsingDeleteResponse.d.ts.map +0 -1
  720. package/v1/model/DeleteServiceSetUsingDeleteResponse.js +0 -15
  721. package/v1/model/DeleteServiceSetUsingDeleteResponse.js.map +0 -1
  722. package/v1/model/ListAddressItemsUsingGetRequest.d.ts.map +0 -1
  723. package/v1/model/ListAddressItemsUsingGetRequest.js.map +0 -1
  724. package/v1/model/ListAddressItemsUsingGetResponse.d.ts.map +0 -1
  725. package/v1/model/ListAddressItemsUsingGetResponse.js +0 -15
  726. package/v1/model/ListAddressItemsUsingGetResponse.js.map +0 -1
  727. package/v1/model/ListAddressSetDetailUsingGetRequest.d.ts.map +0 -1
  728. package/v1/model/ListAddressSetDetailUsingGetRequest.js.map +0 -1
  729. package/v1/model/ListAddressSetDetailUsingGetResponse.d.ts.map +0 -1
  730. package/v1/model/ListAddressSetDetailUsingGetResponse.js +0 -15
  731. package/v1/model/ListAddressSetDetailUsingGetResponse.js.map +0 -1
  732. package/v1/model/ListAddressSetListUsingGetRequest.d.ts +0 -42
  733. package/v1/model/ListAddressSetListUsingGetRequest.d.ts.map +0 -1
  734. package/v1/model/ListAddressSetListUsingGetRequest.js.map +0 -1
  735. package/v1/model/ListAddressSetListUsingGetResponse.d.ts.map +0 -1
  736. package/v1/model/ListAddressSetListUsingGetResponse.js +0 -15
  737. package/v1/model/ListAddressSetListUsingGetResponse.js.map +0 -1
  738. package/v1/model/ListBlackWhiteListsUsingGetRequest.d.ts +0 -53
  739. package/v1/model/ListBlackWhiteListsUsingGetRequest.d.ts.map +0 -1
  740. package/v1/model/ListBlackWhiteListsUsingGetRequest.js.map +0 -1
  741. package/v1/model/ListBlackWhiteListsUsingGetResponse.d.ts.map +0 -1
  742. package/v1/model/ListBlackWhiteListsUsingGetResponse.js +0 -15
  743. package/v1/model/ListBlackWhiteListsUsingGetResponse.js.map +0 -1
  744. package/v1/model/ListEipResourcesRequest.d.ts.map +0 -1
  745. package/v1/model/ListEipResourcesRequest.js.map +0 -1
  746. package/v1/model/ListEipResourcesResponse.d.ts +0 -8
  747. package/v1/model/ListEipResourcesResponse.d.ts.map +0 -1
  748. package/v1/model/ListEipResourcesResponse.js.map +0 -1
  749. package/v1/model/ListFirewallUsingGetRequest.d.ts +0 -32
  750. package/v1/model/ListFirewallUsingGetRequest.d.ts.map +0 -1
  751. package/v1/model/ListFirewallUsingGetRequest.js.map +0 -1
  752. package/v1/model/ListFirewallUsingGetResponse.d.ts +0 -8
  753. package/v1/model/ListFirewallUsingGetResponse.d.ts.map +0 -1
  754. package/v1/model/ListFirewallUsingGetResponse.js.map +0 -1
  755. package/v1/model/ListIpsProtectModeUsingPostRequest.d.ts.map +0 -1
  756. package/v1/model/ListIpsProtectModeUsingPostRequest.js.map +0 -1
  757. package/v1/model/ListIpsProtectModeUsingPostResponse.d.ts +0 -8
  758. package/v1/model/ListIpsProtectModeUsingPostResponse.d.ts.map +0 -1
  759. package/v1/model/ListIpsProtectModeUsingPostResponse.js +0 -15
  760. package/v1/model/ListIpsProtectModeUsingPostResponse.js.map +0 -1
  761. package/v1/model/ListIpsSwitchStatusUsingGetRequest.d.ts.map +0 -1
  762. package/v1/model/ListIpsSwitchStatusUsingGetRequest.js.map +0 -1
  763. package/v1/model/ListIpsSwitchStatusUsingGetResponse.d.ts +0 -8
  764. package/v1/model/ListIpsSwitchStatusUsingGetResponse.d.ts.map +0 -1
  765. package/v1/model/ListIpsSwitchStatusUsingGetResponse.js +0 -15
  766. package/v1/model/ListIpsSwitchStatusUsingGetResponse.js.map +0 -1
  767. package/v1/model/ListParseDomainDetailsRequest.d.ts +0 -20
  768. package/v1/model/ListParseDomainDetailsRequest.d.ts.map +0 -1
  769. package/v1/model/ListParseDomainDetailsRequest.js.map +0 -1
  770. package/v1/model/ListParseDomainDetailsResponse.d.ts +0 -7
  771. package/v1/model/ListParseDomainDetailsResponse.d.ts.map +0 -1
  772. package/v1/model/ListParseDomainDetailsResponse.js +0 -15
  773. package/v1/model/ListParseDomainDetailsResponse.js.map +0 -1
  774. package/v1/model/ListRuleAclUsingPutRequest.d.ts.map +0 -1
  775. package/v1/model/ListRuleAclUsingPutRequest.js.map +0 -1
  776. package/v1/model/ListRuleAclUsingPutResponse.d.ts +0 -8
  777. package/v1/model/ListRuleAclUsingPutResponse.d.ts.map +0 -1
  778. package/v1/model/ListRuleAclUsingPutResponse.js.map +0 -1
  779. package/v1/model/ListRuleAclsUsingGetRequest.d.ts +0 -88
  780. package/v1/model/ListRuleAclsUsingGetRequest.d.ts.map +0 -1
  781. package/v1/model/ListRuleAclsUsingGetRequest.js +0 -154
  782. package/v1/model/ListRuleAclsUsingGetRequest.js.map +0 -1
  783. package/v1/model/ListRuleAclsUsingGetResponse.d.ts.map +0 -1
  784. package/v1/model/ListRuleAclsUsingGetResponse.js.map +0 -1
  785. package/v1/model/ListRuleHitCountRequest.d.ts.map +0 -1
  786. package/v1/model/ListRuleHitCountRequest.js.map +0 -1
  787. package/v1/model/ListRuleHitCountResponse.d.ts +0 -8
  788. package/v1/model/ListRuleHitCountResponse.d.ts.map +0 -1
  789. package/v1/model/ListRuleHitCountResponse.js.map +0 -1
  790. package/v1/model/ListServiceItemsDetailsRequest.d.ts.map +0 -1
  791. package/v1/model/ListServiceItemsDetailsRequest.js.map +0 -1
  792. package/v1/model/ListServiceItemsDetailsResponse.d.ts.map +0 -1
  793. package/v1/model/ListServiceItemsDetailsResponse.js.map +0 -1
  794. package/v1/model/ListServiceSetDetailsRequest.d.ts.map +0 -1
  795. package/v1/model/ListServiceSetDetailsRequest.js.map +0 -1
  796. package/v1/model/ListServiceSetDetailsResponse.d.ts.map +0 -1
  797. package/v1/model/ListServiceSetDetailsResponse.js.map +0 -1
  798. package/v1/model/ListServiceSetRequest.d.ts.map +0 -1
  799. package/v1/model/ListServiceSetRequest.js.map +0 -1
  800. package/v1/model/ListServiceSetResponse.d.ts.map +0 -1
  801. package/v1/model/ListServiceSetResponse.js.map +0 -1
  802. package/v1/model/ListVpcProtectsRequest.d.ts.map +0 -1
  803. package/v1/model/ListVpcProtectsRequest.js.map +0 -1
  804. package/v1/model/ListVpcProtectsResponse.d.ts.map +0 -1
  805. package/v1/model/ListVpcProtectsResponse.js.map +0 -1
  806. package/v1/model/UpdateAddressSetInfoUsingPutRequest.d.ts.map +0 -1
  807. package/v1/model/UpdateAddressSetInfoUsingPutRequest.js.map +0 -1
  808. package/v1/model/UpdateAddressSetInfoUsingPutResponse.d.ts +0 -8
  809. package/v1/model/UpdateAddressSetInfoUsingPutResponse.d.ts.map +0 -1
  810. package/v1/model/UpdateAddressSetInfoUsingPutResponse.js +0 -15
  811. package/v1/model/UpdateAddressSetInfoUsingPutResponse.js.map +0 -1
  812. package/v1/model/UpdateBlackWhiteListUsingPutRequest.d.ts.map +0 -1
  813. package/v1/model/UpdateBlackWhiteListUsingPutRequest.js.map +0 -1
  814. package/v1/model/UpdateBlackWhiteListUsingPutResponse.d.ts +0 -8
  815. package/v1/model/UpdateBlackWhiteListUsingPutResponse.d.ts.map +0 -1
  816. package/v1/model/UpdateBlackWhiteListUsingPutResponse.js +0 -15
  817. package/v1/model/UpdateBlackWhiteListUsingPutResponse.js.map +0 -1
  818. package/v1/model/UpdateRuleAclUsingPutRequest.d.ts.map +0 -1
  819. package/v1/model/UpdateRuleAclUsingPutRequest.js.map +0 -1
  820. package/v1/model/UpdateRuleAclUsingPutResponse.d.ts +0 -8
  821. package/v1/model/UpdateRuleAclUsingPutResponse.d.ts.map +0 -1
  822. package/v1/model/UpdateRuleAclUsingPutResponse.js +0 -15
  823. package/v1/model/UpdateRuleAclUsingPutResponse.js.map +0 -1
  824. package/v1/model/UpdateServiceSetUsingPutRequest.d.ts.map +0 -1
  825. package/v1/model/UpdateServiceSetUsingPutRequest.js.map +0 -1
  826. package/v1/model/UpdateServiceSetUsingPutResponse.d.ts +0 -8
  827. package/v1/model/UpdateServiceSetUsingPutResponse.d.ts.map +0 -1
  828. package/v1/model/UpdateServiceSetUsingPutResponse.js +0 -15
  829. package/v1/model/UpdateServiceSetUsingPutResponse.js.map +0 -1
package/v1/CfwClient.js CHANGED
@@ -2,50 +2,63 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.RequiredError = exports.ParamCreater = exports.CfwClient = void 0;
4
4
  const ClientBuilder_1 = require("@huaweicloud/huaweicloud-sdk-core/ClientBuilder");
5
- const AddAddressItemsUsingPostRequest_1 = require("./model/AddAddressItemsUsingPostRequest");
6
- const AddAddressSetInfoUsingPostRequest_1 = require("./model/AddAddressSetInfoUsingPostRequest");
7
- const AddBlackWhiteListUsingPostRequest_1 = require("./model/AddBlackWhiteListUsingPostRequest");
8
- const AddRuleAclUsingPostRequest_1 = require("./model/AddRuleAclUsingPostRequest");
9
- const AddServiceItemsUsingPostRequest_1 = require("./model/AddServiceItemsUsingPostRequest");
10
- const AddServiceSetUsingPostRequest_1 = require("./model/AddServiceSetUsingPostRequest");
11
- const ChangeEwProtectStatusRequest_1 = require("./model/ChangeEwProtectStatusRequest");
12
- const ChangeIpsProtectModeUsingPostRequest_1 = require("./model/ChangeIpsProtectModeUsingPostRequest");
13
- const ChangeIpsSwitchUsingPostRequest_1 = require("./model/ChangeIpsSwitchUsingPostRequest");
14
- const ChangeProtectEipRequest_1 = require("./model/ChangeProtectEipRequest");
15
- const CountEipsRequest_1 = require("./model/CountEipsRequest");
16
- const DeleteAclRuleCountRequest_1 = require("./model/DeleteAclRuleCountRequest");
17
- const DeleteAddressItemUsingDeleteRequest_1 = require("./model/DeleteAddressItemUsingDeleteRequest");
18
- const DeleteAddressSetInfoUsingDeleteRequest_1 = require("./model/DeleteAddressSetInfoUsingDeleteRequest");
19
- const DeleteBlackWhiteListUsingDeleteRequest_1 = require("./model/DeleteBlackWhiteListUsingDeleteRequest");
20
- const DeleteRuleAclUsingDeleteRequest_1 = require("./model/DeleteRuleAclUsingDeleteRequest");
21
- const DeleteServiceItemUsingDeleteRequest_1 = require("./model/DeleteServiceItemUsingDeleteRequest");
22
- const DeleteServiceSetUsingDeleteRequest_1 = require("./model/DeleteServiceSetUsingDeleteRequest");
5
+ const AddAclRuleRequest_1 = require("./model/AddAclRuleRequest");
6
+ const AddAddressItemRequest_1 = require("./model/AddAddressItemRequest");
7
+ const AddAddressSetRequest_1 = require("./model/AddAddressSetRequest");
8
+ const AddBlackWhiteListRequest_1 = require("./model/AddBlackWhiteListRequest");
9
+ const AddDomainSetRequest_1 = require("./model/AddDomainSetRequest");
10
+ const AddDomainsRequest_1 = require("./model/AddDomainsRequest");
11
+ const AddServiceItemsRequest_1 = require("./model/AddServiceItemsRequest");
12
+ const AddServiceSetRequest_1 = require("./model/AddServiceSetRequest");
13
+ const BatchDeleteAclRulesRequest_1 = require("./model/BatchDeleteAclRulesRequest");
14
+ const BatchDeleteAddressItemsRequest_1 = require("./model/BatchDeleteAddressItemsRequest");
15
+ const BatchDeleteServiceItemsRequest_1 = require("./model/BatchDeleteServiceItemsRequest");
16
+ const BatchUpdateAclRuleActionsRequest_1 = require("./model/BatchUpdateAclRuleActionsRequest");
17
+ const ChangeEastWestFirewallStatusRequest_1 = require("./model/ChangeEastWestFirewallStatusRequest");
18
+ const ChangeEipStatusRequest_1 = require("./model/ChangeEipStatusRequest");
19
+ const ChangeIpsProtectModeRequest_1 = require("./model/ChangeIpsProtectModeRequest");
20
+ const ChangeIpsSwitchStatusRequest_1 = require("./model/ChangeIpsSwitchStatusRequest");
21
+ const DeleteAclRuleHitCountRequest_1 = require("./model/DeleteAclRuleHitCountRequest");
22
+ const DeleteAclRuleRequest_1 = require("./model/DeleteAclRuleRequest");
23
+ const DeleteAddressItemRequest_1 = require("./model/DeleteAddressItemRequest");
24
+ const DeleteAddressSetRequest_1 = require("./model/DeleteAddressSetRequest");
25
+ const DeleteBlackWhiteListRequest_1 = require("./model/DeleteBlackWhiteListRequest");
26
+ const DeleteDomainSetRequest_1 = require("./model/DeleteDomainSetRequest");
27
+ const DeleteDomainsRequest_1 = require("./model/DeleteDomainsRequest");
28
+ const DeleteServiceItemRequest_1 = require("./model/DeleteServiceItemRequest");
29
+ const DeleteServiceSetRequest_1 = require("./model/DeleteServiceSetRequest");
23
30
  const ListAccessControlLogsRequest_1 = require("./model/ListAccessControlLogsRequest");
24
- const ListAddressItemsUsingGetRequest_1 = require("./model/ListAddressItemsUsingGetRequest");
25
- const ListAddressSetDetailUsingGetRequest_1 = require("./model/ListAddressSetDetailUsingGetRequest");
26
- const ListAddressSetListUsingGetRequest_1 = require("./model/ListAddressSetListUsingGetRequest");
31
+ const ListAclRuleHitCountRequest_1 = require("./model/ListAclRuleHitCountRequest");
32
+ const ListAclRulesRequest_1 = require("./model/ListAclRulesRequest");
33
+ const ListAddressItemsRequest_1 = require("./model/ListAddressItemsRequest");
34
+ const ListAddressSetDetailRequest_1 = require("./model/ListAddressSetDetailRequest");
35
+ const ListAddressSetsRequest_1 = require("./model/ListAddressSetsRequest");
27
36
  const ListAttackLogsRequest_1 = require("./model/ListAttackLogsRequest");
28
- const ListBlackWhiteListsUsingGetRequest_1 = require("./model/ListBlackWhiteListsUsingGetRequest");
37
+ const ListBlackWhiteListsRequest_1 = require("./model/ListBlackWhiteListsRequest");
29
38
  const ListDnsServersRequest_1 = require("./model/ListDnsServersRequest");
39
+ const ListDomainParseDetailRequest_1 = require("./model/ListDomainParseDetailRequest");
40
+ const ListDomainSetsRequest_1 = require("./model/ListDomainSetsRequest");
41
+ const ListDomainsRequest_1 = require("./model/ListDomainsRequest");
30
42
  const ListEastWestFirewallRequest_1 = require("./model/ListEastWestFirewallRequest");
31
- const ListEipResourcesRequest_1 = require("./model/ListEipResourcesRequest");
32
- const ListFirewallUsingGetRequest_1 = require("./model/ListFirewallUsingGetRequest");
43
+ const ListEipCountRequest_1 = require("./model/ListEipCountRequest");
44
+ const ListEipsRequest_1 = require("./model/ListEipsRequest");
45
+ const ListFirewallDetailRequest_1 = require("./model/ListFirewallDetailRequest");
46
+ const ListFirewallListRequest_1 = require("./model/ListFirewallListRequest");
33
47
  const ListFlowLogsRequest_1 = require("./model/ListFlowLogsRequest");
34
- const ListIpsProtectModeUsingPostRequest_1 = require("./model/ListIpsProtectModeUsingPostRequest");
35
- const ListIpsSwitchStatusUsingGetRequest_1 = require("./model/ListIpsSwitchStatusUsingGetRequest");
36
- const ListParseDomainDetailsRequest_1 = require("./model/ListParseDomainDetailsRequest");
37
- const ListRuleAclUsingPutRequest_1 = require("./model/ListRuleAclUsingPutRequest");
38
- const ListRuleAclsUsingGetRequest_1 = require("./model/ListRuleAclsUsingGetRequest");
39
- const ListRuleHitCountRequest_1 = require("./model/ListRuleHitCountRequest");
40
- const ListServiceItemsDetailsRequest_1 = require("./model/ListServiceItemsDetailsRequest");
41
- const ListServiceSetDetailsRequest_1 = require("./model/ListServiceSetDetailsRequest");
42
- const ListServiceSetRequest_1 = require("./model/ListServiceSetRequest");
43
- const ListVpcProtectsRequest_1 = require("./model/ListVpcProtectsRequest");
44
- const UpdateAddressSetInfoUsingPutRequest_1 = require("./model/UpdateAddressSetInfoUsingPutRequest");
45
- const UpdateBlackWhiteListUsingPutRequest_1 = require("./model/UpdateBlackWhiteListUsingPutRequest");
48
+ const ListIpsProtectModeRequest_1 = require("./model/ListIpsProtectModeRequest");
49
+ const ListIpsSwitchStatusRequest_1 = require("./model/ListIpsSwitchStatusRequest");
50
+ const ListProtectedVpcsRequest_1 = require("./model/ListProtectedVpcsRequest");
51
+ const ListRuleAclTagsRequest_1 = require("./model/ListRuleAclTagsRequest");
52
+ const ListServiceItemsRequest_1 = require("./model/ListServiceItemsRequest");
53
+ const ListServiceSetDetailRequest_1 = require("./model/ListServiceSetDetailRequest");
54
+ const ListServiceSetsRequest_1 = require("./model/ListServiceSetsRequest");
55
+ const UpdateAclRuleOrderRequest_1 = require("./model/UpdateAclRuleOrderRequest");
56
+ const UpdateAclRuleRequest_1 = require("./model/UpdateAclRuleRequest");
57
+ const UpdateAddressSetRequest_1 = require("./model/UpdateAddressSetRequest");
58
+ const UpdateBlackWhiteListRequest_1 = require("./model/UpdateBlackWhiteListRequest");
46
59
  const UpdateDnsServersRequest_1 = require("./model/UpdateDnsServersRequest");
47
- const UpdateRuleAclUsingPutRequest_1 = require("./model/UpdateRuleAclUsingPutRequest");
48
- const UpdateServiceSetUsingPutRequest_1 = require("./model/UpdateServiceSetUsingPutRequest");
60
+ const UpdateDomainSetRequest_1 = require("./model/UpdateDomainSetRequest");
61
+ const UpdateServiceSetRequest_1 = require("./model/UpdateServiceSetRequest");
49
62
  class CfwClient {
50
63
  static newBuilder() {
51
64
  return new ClientBuilder_1.ClientBuilder(newClient);
@@ -69,8 +82,8 @@ class CfwClient {
69
82
  * @param {*} [options] Override http request option.
70
83
  * @throws {RequiredError}
71
84
  */
72
- addAddressItemsUsingPost(addAddressItemsUsingPostRequest) {
73
- const options = (0, exports.ParamCreater)().addAddressItemsUsingPost(addAddressItemsUsingPostRequest);
85
+ addAddressItem(addAddressItemRequest) {
86
+ const options = (0, exports.ParamCreater)().addAddressItem(addAddressItemRequest);
74
87
  // @ts-ignore
75
88
  options['responseHeaders'] = [''];
76
89
  return this.hcClient.sendRequest(options);
@@ -88,8 +101,8 @@ class CfwClient {
88
101
  * @param {*} [options] Override http request option.
89
102
  * @throws {RequiredError}
90
103
  */
91
- addAddressSetInfoUsingPost(addAddressSetInfoUsingPostRequest) {
92
- const options = (0, exports.ParamCreater)().addAddressSetInfoUsingPost(addAddressSetInfoUsingPostRequest);
104
+ addAddressSet(addAddressSetRequest) {
105
+ const options = (0, exports.ParamCreater)().addAddressSet(addAddressSetRequest);
93
106
  // @ts-ignore
94
107
  options['responseHeaders'] = [''];
95
108
  return this.hcClient.sendRequest(options);
@@ -107,8 +120,45 @@ class CfwClient {
107
120
  * @param {*} [options] Override http request option.
108
121
  * @throws {RequiredError}
109
122
  */
110
- addBlackWhiteListUsingPost(addBlackWhiteListUsingPostRequest) {
111
- const options = (0, exports.ParamCreater)().addBlackWhiteListUsingPost(addBlackWhiteListUsingPostRequest);
123
+ addBlackWhiteList(addBlackWhiteListRequest) {
124
+ const options = (0, exports.ParamCreater)().addBlackWhiteList(addBlackWhiteListRequest);
125
+ // @ts-ignore
126
+ options['responseHeaders'] = [''];
127
+ return this.hcClient.sendRequest(options);
128
+ }
129
+ /**
130
+ *
131
+ * Please refer to HUAWEI cloud API Explorer for details.
132
+ *
133
+ * @summary 添加域名组
134
+ * @param {string} projectId 租户项目id
135
+ * @param {AddDomainSetInfoDto} addDomainSetInfoDto 添加域名组Dto
136
+ * @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
137
+ * @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
138
+ * @param {*} [options] Override http request option.
139
+ * @throws {RequiredError}
140
+ */
141
+ addDomainSet(addDomainSetRequest) {
142
+ const options = (0, exports.ParamCreater)().addDomainSet(addDomainSetRequest);
143
+ // @ts-ignore
144
+ options['responseHeaders'] = [''];
145
+ return this.hcClient.sendRequest(options);
146
+ }
147
+ /**
148
+ * 添加域名列表
149
+ *
150
+ * Please refer to HUAWEI cloud API Explorer for details.
151
+ *
152
+ * @summary 添加域名列表
153
+ * @param {string} projectId 租户项目id
154
+ * @param {AddDomainListDto} addDomainListDto 添加域名列表Dto
155
+ * @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
156
+ * @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
157
+ * @param {*} [options] Override http request option.
158
+ * @throws {RequiredError}
159
+ */
160
+ addDomains(addDomainsRequest) {
161
+ const options = (0, exports.ParamCreater)().addDomains(addDomainsRequest);
112
162
  // @ts-ignore
113
163
  options['responseHeaders'] = [''];
114
164
  return this.hcClient.sendRequest(options);
@@ -126,8 +176,8 @@ class CfwClient {
126
176
  * @param {*} [options] Override http request option.
127
177
  * @throws {RequiredError}
128
178
  */
129
- addServiceItemsUsingPost(addServiceItemsUsingPostRequest) {
130
- const options = (0, exports.ParamCreater)().addServiceItemsUsingPost(addServiceItemsUsingPostRequest);
179
+ addServiceItems(addServiceItemsRequest) {
180
+ const options = (0, exports.ParamCreater)().addServiceItems(addServiceItemsRequest);
131
181
  // @ts-ignore
132
182
  options['responseHeaders'] = [''];
133
183
  return this.hcClient.sendRequest(options);
@@ -145,65 +195,63 @@ class CfwClient {
145
195
  * @param {*} [options] Override http request option.
146
196
  * @throws {RequiredError}
147
197
  */
148
- addServiceSetUsingPost(addServiceSetUsingPostRequest) {
149
- const options = (0, exports.ParamCreater)().addServiceSetUsingPost(addServiceSetUsingPostRequest);
198
+ addServiceSet(addServiceSetRequest) {
199
+ const options = (0, exports.ParamCreater)().addServiceSet(addServiceSetRequest);
150
200
  // @ts-ignore
151
201
  options['responseHeaders'] = [''];
152
202
  return this.hcClient.sendRequest(options);
153
203
  }
154
204
  /**
155
- * 东西向防护资源防护开启/关闭
156
205
  *
157
206
  * Please refer to HUAWEI cloud API Explorer for details.
158
207
  *
159
- * @summary 修改东西向防火墙防护状态
208
+ * @summary 批量删除地址组成员
160
209
  * @param {string} projectId 租户项目id
161
- * @param {ChangeProtectStatusRequestBody} changeEwProtectStatusRequestBody 修改东西向防护状态请求体
210
+ * @param {DeleteAddressItemsInfoDto} deleteAddressItemsInfoDto 批量删除地址组成员DTO
162
211
  * @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
163
212
  * @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
164
213
  * @param {*} [options] Override http request option.
165
214
  * @throws {RequiredError}
166
215
  */
167
- changeEwProtectStatus(changeEwProtectStatusRequest) {
168
- const options = (0, exports.ParamCreater)().changeEwProtectStatus(changeEwProtectStatusRequest);
216
+ batchDeleteAddressItems(batchDeleteAddressItemsRequest) {
217
+ const options = (0, exports.ParamCreater)().batchDeleteAddressItems(batchDeleteAddressItemsRequest);
169
218
  // @ts-ignore
170
219
  options['responseHeaders'] = [''];
171
220
  return this.hcClient.sendRequest(options);
172
221
  }
173
222
  /**
174
- * 切换防护模式
175
223
  *
176
224
  * Please refer to HUAWEI cloud API Explorer for details.
177
225
  *
178
- * @summary 切换防护模式
226
+ * @summary 批量删除服务组成员信息
179
227
  * @param {string} projectId 租户项目id
180
- * @param {IpsProtectDTO} changeIpsProtectModeUsingPOSTRequestBody ChangeIpsProtectModeUsingPOSTRequestBody
228
+ * @param {DeleteServiceItemDto} deleteServiceItemDto 批量删除服务组成员Dto
181
229
  * @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
182
230
  * @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
183
231
  * @param {*} [options] Override http request option.
184
232
  * @throws {RequiredError}
185
233
  */
186
- changeIpsProtectModeUsingPost(changeIpsProtectModeUsingPostRequest) {
187
- const options = (0, exports.ParamCreater)().changeIpsProtectModeUsingPost(changeIpsProtectModeUsingPostRequest);
234
+ batchDeleteServiceItems(batchDeleteServiceItemsRequest) {
235
+ const options = (0, exports.ParamCreater)().batchDeleteServiceItems(batchDeleteServiceItemsRequest);
188
236
  // @ts-ignore
189
237
  options['responseHeaders'] = [''];
190
238
  return this.hcClient.sendRequest(options);
191
239
  }
192
240
  /**
193
- * 清除规则击中次数
241
+ * 东西向防护资源防护开启/关闭
194
242
  *
195
243
  * Please refer to HUAWEI cloud API Explorer for details.
196
244
  *
197
- * @summary 删除规则击中次数
198
- * @param {string} projectId project id
199
- * @param {ClearAccessLogRuleHitCountsDto} deleteAclRuleCountRequestBody clear access log rule hit counts dto
245
+ * @summary 修改东西向防火墙防护状态
246
+ * @param {string} projectId 租户项目id
247
+ * @param {ChangeProtectStatusRequestBody} changeEwProtectStatusRequestBody 修改东西向防护状态请求体
200
248
  * @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
201
249
  * @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
202
250
  * @param {*} [options] Override http request option.
203
251
  * @throws {RequiredError}
204
252
  */
205
- deleteAclRuleCount(deleteAclRuleCountRequest) {
206
- const options = (0, exports.ParamCreater)().deleteAclRuleCount(deleteAclRuleCountRequest);
253
+ changeEastWestFirewallStatus(changeEastWestFirewallStatusRequest) {
254
+ const options = (0, exports.ParamCreater)().changeEastWestFirewallStatus(changeEastWestFirewallStatusRequest);
207
255
  // @ts-ignore
208
256
  options['responseHeaders'] = [''];
209
257
  return this.hcClient.sendRequest(options);
@@ -221,8 +269,8 @@ class CfwClient {
221
269
  * @param {*} [options] Override http request option.
222
270
  * @throws {RequiredError}
223
271
  */
224
- deleteAddressItemUsingDelete(deleteAddressItemUsingDeleteRequest) {
225
- const options = (0, exports.ParamCreater)().deleteAddressItemUsingDelete(deleteAddressItemUsingDeleteRequest);
272
+ deleteAddressItem(deleteAddressItemRequest) {
273
+ const options = (0, exports.ParamCreater)().deleteAddressItem(deleteAddressItemRequest);
226
274
  // @ts-ignore
227
275
  options['responseHeaders'] = [''];
228
276
  return this.hcClient.sendRequest(options);
@@ -240,8 +288,8 @@ class CfwClient {
240
288
  * @param {*} [options] Override http request option.
241
289
  * @throws {RequiredError}
242
290
  */
243
- deleteAddressSetInfoUsingDelete(deleteAddressSetInfoUsingDeleteRequest) {
244
- const options = (0, exports.ParamCreater)().deleteAddressSetInfoUsingDelete(deleteAddressSetInfoUsingDeleteRequest);
291
+ deleteAddressSet(deleteAddressSetRequest) {
292
+ const options = (0, exports.ParamCreater)().deleteAddressSet(deleteAddressSetRequest);
245
293
  // @ts-ignore
246
294
  options['responseHeaders'] = [''];
247
295
  return this.hcClient.sendRequest(options);
@@ -259,8 +307,44 @@ class CfwClient {
259
307
  * @param {*} [options] Override http request option.
260
308
  * @throws {RequiredError}
261
309
  */
262
- deleteBlackWhiteListUsingDelete(deleteBlackWhiteListUsingDeleteRequest) {
263
- const options = (0, exports.ParamCreater)().deleteBlackWhiteListUsingDelete(deleteBlackWhiteListUsingDeleteRequest);
310
+ deleteBlackWhiteList(deleteBlackWhiteListRequest) {
311
+ const options = (0, exports.ParamCreater)().deleteBlackWhiteList(deleteBlackWhiteListRequest);
312
+ // @ts-ignore
313
+ options['responseHeaders'] = [''];
314
+ return this.hcClient.sendRequest(options);
315
+ }
316
+ /**
317
+ *
318
+ * Please refer to HUAWEI cloud API Explorer for details.
319
+ *
320
+ * @summary 删除域名组
321
+ * @param {string} projectId 租户项目id
322
+ * @param {string} setId 域名组id
323
+ * @param {string} fwInstanceId 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
324
+ * @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
325
+ * @param {*} [options] Override http request option.
326
+ * @throws {RequiredError}
327
+ */
328
+ deleteDomainSet(deleteDomainSetRequest) {
329
+ const options = (0, exports.ParamCreater)().deleteDomainSet(deleteDomainSetRequest);
330
+ // @ts-ignore
331
+ options['responseHeaders'] = [''];
332
+ return this.hcClient.sendRequest(options);
333
+ }
334
+ /**
335
+ * 删除域名列表
336
+ *
337
+ * Please refer to HUAWEI cloud API Explorer for details.
338
+ *
339
+ * @summary 删除域名列表
340
+ * @param {string} projectId 租户项目id
341
+ * @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
342
+ * @param {DeleteDomainDto} [deleteDomainDto] 删除域名组列表dto
343
+ * @param {*} [options] Override http request option.
344
+ * @throws {RequiredError}
345
+ */
346
+ deleteDomains(deleteDomainsRequest) {
347
+ const options = (0, exports.ParamCreater)().deleteDomains(deleteDomainsRequest);
264
348
  // @ts-ignore
265
349
  options['responseHeaders'] = [''];
266
350
  return this.hcClient.sendRequest(options);
@@ -278,8 +362,8 @@ class CfwClient {
278
362
  * @param {*} [options] Override http request option.
279
363
  * @throws {RequiredError}
280
364
  */
281
- deleteServiceItemUsingDelete(deleteServiceItemUsingDeleteRequest) {
282
- const options = (0, exports.ParamCreater)().deleteServiceItemUsingDelete(deleteServiceItemUsingDeleteRequest);
365
+ deleteServiceItem(deleteServiceItemRequest) {
366
+ const options = (0, exports.ParamCreater)().deleteServiceItem(deleteServiceItemRequest);
283
367
  // @ts-ignore
284
368
  options['responseHeaders'] = [''];
285
369
  return this.hcClient.sendRequest(options);
@@ -297,8 +381,8 @@ class CfwClient {
297
381
  * @param {*} [options] Override http request option.
298
382
  * @throws {RequiredError}
299
383
  */
300
- deleteServiceSetUsingDelete(deleteServiceSetUsingDeleteRequest) {
301
- const options = (0, exports.ParamCreater)().deleteServiceSetUsingDelete(deleteServiceSetUsingDeleteRequest);
384
+ deleteServiceSet(deleteServiceSetRequest) {
385
+ const options = (0, exports.ParamCreater)().deleteServiceSet(deleteServiceSetRequest);
302
386
  // @ts-ignore
303
387
  options['responseHeaders'] = [''];
304
388
  return this.hcClient.sendRequest(options);
@@ -313,7 +397,7 @@ class CfwClient {
313
397
  * @param {string} fwInstanceId 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。
314
398
  * @param {number} startTime 开始时间
315
399
  * @param {number} endTime 结束时间
316
- * @param {number} limit 每页显示个数
400
+ * @param {number} limit 每页显示个数,范围为1-1024
317
401
  * @param {string} [ruleId] 规则ID
318
402
  * @param {string} [srcIp] 源IP
319
403
  * @param {number} [srcPort] 源端口
@@ -326,6 +410,9 @@ class CfwClient {
326
410
  * @param {number} [offset] 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
327
411
  * @param {'internet' | 'nat' | 'vpc'} [logType] 日志类型
328
412
  * @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
413
+ * @param {string} [dstHost] 目标主机
414
+ * @param {string} [ruleName] 规则名称
415
+ * @param {string} [action] 动作0:permit,1:deny
329
416
  * @param {*} [options] Override http request option.
330
417
  * @throws {RequiredError}
331
418
  */
@@ -343,7 +430,7 @@ class CfwClient {
343
430
  * @summary 查询地址组成员
344
431
  * @param {string} projectId 租户项目id
345
432
  * @param {string} setId 地址组id
346
- * @param {number} limit 每页显示个数
433
+ * @param {number} limit 每页显示个数,范围为1-1024
347
434
  * @param {number} offset 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
348
435
  * @param {string} [keyWord] 关键字
349
436
  * @param {string} [address] ip地址
@@ -352,8 +439,8 @@ class CfwClient {
352
439
  * @param {*} [options] Override http request option.
353
440
  * @throws {RequiredError}
354
441
  */
355
- listAddressItemsUsingGet(listAddressItemsUsingGetRequest) {
356
- const options = (0, exports.ParamCreater)().listAddressItemsUsingGet(listAddressItemsUsingGetRequest);
442
+ listAddressItems(listAddressItemsRequest) {
443
+ const options = (0, exports.ParamCreater)().listAddressItems(listAddressItemsRequest);
357
444
  // @ts-ignore
358
445
  options['responseHeaders'] = [''];
359
446
  return this.hcClient.sendRequest(options);
@@ -371,8 +458,8 @@ class CfwClient {
371
458
  * @param {*} [options] Override http request option.
372
459
  * @throws {RequiredError}
373
460
  */
374
- listAddressSetDetailUsingGet(listAddressSetDetailUsingGetRequest) {
375
- const options = (0, exports.ParamCreater)().listAddressSetDetailUsingGet(listAddressSetDetailUsingGetRequest);
461
+ listAddressSetDetail(listAddressSetDetailRequest) {
462
+ const options = (0, exports.ParamCreater)().listAddressSetDetail(listAddressSetDetailRequest);
376
463
  // @ts-ignore
377
464
  options['responseHeaders'] = [''];
378
465
  return this.hcClient.sendRequest(options);
@@ -385,7 +472,7 @@ class CfwClient {
385
472
  * @summary 查询地址组列表
386
473
  * @param {string} projectId 租户项目id
387
474
  * @param {string} objectId 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用查询防火墙实例接口获得,注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。具体可参考APIExlorer和帮助中心FAQ。
388
- * @param {number} limit 每页显示个数
475
+ * @param {number} limit 每页显示个数,范围为1-1024
389
476
  * @param {number} offset 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
390
477
  * @param {string} [keyWord] 关键字
391
478
  * @param {string} [address] ip地址
@@ -395,8 +482,8 @@ class CfwClient {
395
482
  * @param {*} [options] Override http request option.
396
483
  * @throws {RequiredError}
397
484
  */
398
- listAddressSetListUsingGet(listAddressSetListUsingGetRequest) {
399
- const options = (0, exports.ParamCreater)().listAddressSetListUsingGet(listAddressSetListUsingGetRequest);
485
+ listAddressSets(listAddressSetsRequest) {
486
+ const options = (0, exports.ParamCreater)().listAddressSets(listAddressSetsRequest);
400
487
  // @ts-ignore
401
488
  options['responseHeaders'] = [''];
402
489
  return this.hcClient.sendRequest(options);
@@ -410,7 +497,7 @@ class CfwClient {
410
497
  * @param {string} projectId 租户项目id
411
498
  * @param {number} startTime 开始时间
412
499
  * @param {number} endTime 结束时间
413
- * @param {number} limit 每页显示个数
500
+ * @param {number} limit 每页显示个数,范围为1-1024
414
501
  * @param {string} fwInstanceId 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。
415
502
  * @param {string} [srcIp] 源IP
416
503
  * @param {number} [srcPort] 源端口号
@@ -428,6 +515,8 @@ class CfwClient {
428
515
  * @param {string} [level] 威胁等级
429
516
  * @param {string} [source] 判断来源
430
517
  * @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
518
+ * @param {string} [dstHost] 目标主机
519
+ * @param {'internet' | 'nat' | 'vpc'} [logType] log_type
431
520
  * @param {*} [options] Override http request option.
432
521
  * @throws {RequiredError}
433
522
  */
@@ -446,7 +535,7 @@ class CfwClient {
446
535
  * @param {string} projectId 租户项目id
447
536
  * @param {string} objectId 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用查询防火墙实例接口获得,注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。具体可参考APIExlorer和帮助中心FAQ。
448
537
  * @param {4 | 5} listType 黑白名单类型4:黑名单,5:白名单
449
- * @param {number} limit 每页显示个数
538
+ * @param {number} limit 每页显示个数,范围为1-1024
450
539
  * @param {number} offset 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
451
540
  * @param {0 | 1 | 2} [addressType] IP地址类型0:ipv4,1:ipv6,2:domain
452
541
  * @param {string} [address] ip地址
@@ -456,8 +545,8 @@ class CfwClient {
456
545
  * @param {*} [options] Override http request option.
457
546
  * @throws {RequiredError}
458
547
  */
459
- listBlackWhiteListsUsingGet(listBlackWhiteListsUsingGetRequest) {
460
- const options = (0, exports.ParamCreater)().listBlackWhiteListsUsingGet(listBlackWhiteListsUsingGetRequest);
548
+ listBlackWhiteLists(listBlackWhiteListsRequest) {
549
+ const options = (0, exports.ParamCreater)().listBlackWhiteLists(listBlackWhiteListsRequest);
461
550
  // @ts-ignore
462
551
  options['responseHeaders'] = [''];
463
552
  return this.hcClient.sendRequest(options);
@@ -469,7 +558,7 @@ class CfwClient {
469
558
  *
470
559
  * @summary 查询dns服务器列表
471
560
  * @param {string} projectId 租户项目id
472
- * @param {number} [limit] 每页显示个数
561
+ * @param {number} [limit] 每页显示个数,范围为1-1024
473
562
  * @param {number} [offset] 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
474
563
  * @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。若object_Id非空,默认返回object_Id对应墙的信息;填写时object_Id需要属于fw_instance_Id对应的墙。
475
564
  * @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
@@ -483,13 +572,82 @@ class CfwClient {
483
572
  return this.hcClient.sendRequest(options);
484
573
  }
485
574
  /**
486
- * 查询东西向防火墙信息
575
+ * 测试域名有效性
576
+ *
577
+ * Please refer to HUAWEI cloud API Explorer for details.
578
+ *
579
+ * @summary 查询域名解析ip地址
580
+ * @param {string} projectId 租户项目id
581
+ * @param {string} domainName 域名
582
+ * @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
583
+ * @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
584
+ * @param {string} [addressType] 地址类型,0 ipv4,1 ipv6,2 domain
585
+ * @param {*} [options] Override http request option.
586
+ * @throws {RequiredError}
587
+ */
588
+ listDomainParseDetail(listDomainParseDetailRequest) {
589
+ const options = (0, exports.ParamCreater)().listDomainParseDetail(listDomainParseDetailRequest);
590
+ // @ts-ignore
591
+ options['responseHeaders'] = [''];
592
+ return this.hcClient.sendRequest(options);
593
+ }
594
+ /**
595
+ * 查询域名组列表
596
+ *
597
+ * Please refer to HUAWEI cloud API Explorer for details.
598
+ *
599
+ * @summary 查询域名组列表
600
+ * @param {string} projectId 租户项目id 租户项目id
601
+ * @param {string} fwInstanceId 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
602
+ * @param {number} limit 每页显示个数,范围为1-1024
603
+ * @param {number} offset 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
604
+ * @param {string} objectId 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用查询防火墙实例接口获得,注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。具体可参考APIExlorer和帮助中心FAQ。
605
+ * @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
606
+ * @param {string} [keyWord] 关键字
607
+ * @param {number} [domainSetType] 域名组类型,0表示URL过滤,1表示地址解析
608
+ * @param {number} [configStatus] 配置状态
609
+ * @param {*} [options] Override http request option.
610
+ * @throws {RequiredError}
611
+ */
612
+ listDomainSets(listDomainSetsRequest) {
613
+ const options = (0, exports.ParamCreater)().listDomainSets(listDomainSetsRequest);
614
+ // @ts-ignore
615
+ options['responseHeaders'] = [''];
616
+ return this.hcClient.sendRequest(options);
617
+ }
618
+ /**
619
+ * 获取域名组下域名列表
620
+ *
621
+ * Please refer to HUAWEI cloud API Explorer for details.
622
+ *
623
+ * @summary 获取域名组下域名列表
624
+ * @param {string} projectId 租户项目ID
625
+ * @param {string} domainSetId 域名组id
626
+ * @param {string} fwInstanceId 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
627
+ * @param {number} limit 每页显示个数,范围为1-1024
628
+ * @param {number} offset 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
629
+ * @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
630
+ * @param {string} [domainName] 域名名称
631
+ * @param {string} [description] 描述
632
+ * @param {string} [setId] 域名组id
633
+ * @param {string} [objectId] 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用查询防火墙实例接口获得,注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。具体可参考APIExlorer和帮助中心FAQ。
634
+ * @param {*} [options] Override http request option.
635
+ * @throws {RequiredError}
636
+ */
637
+ listDomains(listDomainsRequest) {
638
+ const options = (0, exports.ParamCreater)().listDomains(listDomainsRequest);
639
+ // @ts-ignore
640
+ options['responseHeaders'] = [''];
641
+ return this.hcClient.sendRequest(options);
642
+ }
643
+ /**
644
+ * 获取东西向防火墙信息
487
645
  *
488
646
  * Please refer to HUAWEI cloud API Explorer for details.
489
647
  *
490
648
  * @summary 获取东西向防火墙信息
491
649
  * @param {string} projectId 租户项目id
492
- * @param {number} limit 每页显示个数
650
+ * @param {number} limit 每页显示个数,范围为1-1024
493
651
  * @param {number} offset 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
494
652
  * @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
495
653
  * @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
@@ -507,18 +665,36 @@ class CfwClient {
507
665
  *
508
666
  * Please refer to HUAWEI cloud API Explorer for details.
509
667
  *
510
- * @summary 查询防火墙实例
668
+ * @summary 查询防火墙详细信息
511
669
  * @param {string} projectId 租户项目id
512
670
  * @param {number} offset 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
513
- * @param {number} limit 每页显示个数
671
+ * @param {number} limit 每页显示个数,范围为1-1024
514
672
  * @param {0 | 1} serviceType 服务类型 0 南北向防火墙 1 东西向防火墙
515
673
  * @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
516
674
  * @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
517
675
  * @param {*} [options] Override http request option.
518
676
  * @throws {RequiredError}
519
677
  */
520
- listFirewallUsingGet(listFirewallUsingGetRequest) {
521
- const options = (0, exports.ParamCreater)().listFirewallUsingGet(listFirewallUsingGetRequest);
678
+ listFirewallDetail(listFirewallDetailRequest) {
679
+ const options = (0, exports.ParamCreater)().listFirewallDetail(listFirewallDetailRequest);
680
+ // @ts-ignore
681
+ options['responseHeaders'] = [''];
682
+ return this.hcClient.sendRequest(options);
683
+ }
684
+ /**
685
+ * 查询防火墙列表
686
+ *
687
+ * Please refer to HUAWEI cloud API Explorer for details.
688
+ *
689
+ * @summary 查询防火墙列表
690
+ * @param {string} projectId 租户项目ID
691
+ * @param {QueryFireWallInstanceDto} queryFireWallInstanceDto 查询防火墙列表DTO
692
+ * @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
693
+ * @param {*} [options] Override http request option.
694
+ * @throws {RequiredError}
695
+ */
696
+ listFirewallList(listFirewallListRequest) {
697
+ const options = (0, exports.ParamCreater)().listFirewallList(listFirewallListRequest);
522
698
  // @ts-ignore
523
699
  options['responseHeaders'] = [''];
524
700
  return this.hcClient.sendRequest(options);
@@ -533,7 +709,7 @@ class CfwClient {
533
709
  * @param {string} fwInstanceId 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。
534
710
  * @param {number} startTime 开始时间
535
711
  * @param {number} endTime 结束时间
536
- * @param {number} limit 每页显示个数
712
+ * @param {number} limit 每页显示个数,范围为1-1024
537
713
  * @param {string} [direction] 方向
538
714
  * @param {'internet' | 'vpc' | 'nat'} [logType] 日志类型
539
715
  * @param {string} [srcIp] 源IP
@@ -546,6 +722,7 @@ class CfwClient {
546
722
  * @param {number} [nextDate] 日期,首页时为null,非首页时不为null
547
723
  * @param {number} [offset] 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
548
724
  * @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
725
+ * @param {string} [dstHost] 目的主机
549
726
  * @param {*} [options] Override http request option.
550
727
  * @throws {RequiredError}
551
728
  */
@@ -556,11 +733,11 @@ class CfwClient {
556
733
  return this.hcClient.sendRequest(options);
557
734
  }
558
735
  /**
559
- * 查询防护模式
736
+ * 查询防护vpc信息
560
737
  *
561
738
  * Please refer to HUAWEI cloud API Explorer for details.
562
739
  *
563
- * @summary 查询防护模式
740
+ * @summary 查询防护VPC数
564
741
  * @param {string} projectId 租户项目id
565
742
  * @param {string} objectId 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用查询防火墙实例接口获得,注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。具体可参考APIExlorer和帮助中心FAQ。
566
743
  * @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
@@ -568,68 +745,49 @@ class CfwClient {
568
745
  * @param {*} [options] Override http request option.
569
746
  * @throws {RequiredError}
570
747
  */
571
- listIpsProtectModeUsingPost(listIpsProtectModeUsingPostRequest) {
572
- const options = (0, exports.ParamCreater)().listIpsProtectModeUsingPost(listIpsProtectModeUsingPostRequest);
573
- // @ts-ignore
574
- options['responseHeaders'] = [''];
575
- return this.hcClient.sendRequest(options);
576
- }
577
- /**
578
- * 测试域名有效性
579
- *
580
- * Please refer to HUAWEI cloud API Explorer for details.
581
- *
582
- * @summary 查询域名解析ip地址
583
- * @param {string} projectId 租户项目id
584
- * @param {string} domainName 域名
585
- * @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
586
- * @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
587
- * @param {*} [options] Override http request option.
588
- * @throws {RequiredError}
589
- */
590
- listParseDomainDetails(listParseDomainDetailsRequest) {
591
- const options = (0, exports.ParamCreater)().listParseDomainDetails(listParseDomainDetailsRequest);
748
+ listProtectedVpcs(listProtectedVpcsRequest) {
749
+ const options = (0, exports.ParamCreater)().listProtectedVpcs(listProtectedVpcsRequest);
592
750
  // @ts-ignore
593
751
  options['responseHeaders'] = [''];
594
752
  return this.hcClient.sendRequest(options);
595
753
  }
596
754
  /**
597
- * 获取规则击中次数
755
+ * 查询服务组成员列表
598
756
  *
599
757
  * Please refer to HUAWEI cloud API Explorer for details.
600
758
  *
601
- * @summary 获取规则击中次数
759
+ * @summary 查询服务成员列表
602
760
  * @param {string} projectId 租户项目id
761
+ * @param {string} setId 服务组id
762
+ * @param {number} limit 每页显示个数,范围为1-1024
763
+ * @param {number} offset 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
764
+ * @param {string} [keyWord] 查询字段
603
765
  * @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
604
766
  * @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
605
- * @param {ListRuleHitCountDto} [listRuleHitCountRequestBody] 获取规则击中次数DTO
606
767
  * @param {*} [options] Override http request option.
607
768
  * @throws {RequiredError}
608
769
  */
609
- listRuleHitCount(listRuleHitCountRequest) {
610
- const options = (0, exports.ParamCreater)().listRuleHitCount(listRuleHitCountRequest);
770
+ listServiceItems(listServiceItemsRequest) {
771
+ const options = (0, exports.ParamCreater)().listServiceItems(listServiceItemsRequest);
611
772
  // @ts-ignore
612
773
  options['responseHeaders'] = [''];
613
774
  return this.hcClient.sendRequest(options);
614
775
  }
615
776
  /**
616
- * 查询服务组成员列表
777
+ * 查询服务组细节
617
778
  *
618
779
  * Please refer to HUAWEI cloud API Explorer for details.
619
780
  *
620
- * @summary 查询服务成员列表
781
+ * @summary 查询服务组详情
621
782
  * @param {string} projectId 租户项目id
622
783
  * @param {string} setId 服务组id
623
- * @param {number} limit 每页显示个数
624
- * @param {number} offset 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
625
- * @param {string} [keyWord] 查询字段
626
784
  * @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
627
785
  * @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
628
786
  * @param {*} [options] Override http request option.
629
787
  * @throws {RequiredError}
630
788
  */
631
- listServiceItemsDetails(listServiceItemsDetailsRequest) {
632
- const options = (0, exports.ParamCreater)().listServiceItemsDetails(listServiceItemsDetailsRequest);
789
+ listServiceSetDetail(listServiceSetDetailRequest) {
790
+ const options = (0, exports.ParamCreater)().listServiceSetDetail(listServiceSetDetailRequest);
633
791
  // @ts-ignore
634
792
  options['responseHeaders'] = [''];
635
793
  return this.hcClient.sendRequest(options);
@@ -642,7 +800,7 @@ class CfwClient {
642
800
  * @summary 获取服务组列表
643
801
  * @param {string} projectId 租户项目id
644
802
  * @param {string} objectId 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用查询防火墙实例接口获得,注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。具体可参考APIExlorer和帮助中心FAQ。
645
- * @param {number} limit 每页查询个数
803
+ * @param {number} limit 每页查询个数,范围为1-1024
646
804
  * @param {number} offset 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
647
805
  * @param {string} [keyWord] 关键字
648
806
  * @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
@@ -650,27 +808,8 @@ class CfwClient {
650
808
  * @param {*} [options] Override http request option.
651
809
  * @throws {RequiredError}
652
810
  */
653
- listServiceSet(listServiceSetRequest) {
654
- const options = (0, exports.ParamCreater)().listServiceSet(listServiceSetRequest);
655
- // @ts-ignore
656
- options['responseHeaders'] = [''];
657
- return this.hcClient.sendRequest(options);
658
- }
659
- /**
660
- * 查询服务组细节
661
- *
662
- * Please refer to HUAWEI cloud API Explorer for details.
663
- *
664
- * @summary 查询服务组详情
665
- * @param {string} projectId 租户项目id
666
- * @param {string} setId 服务组id
667
- * @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
668
- * @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
669
- * @param {*} [options] Override http request option.
670
- * @throws {RequiredError}
671
- */
672
- listServiceSetDetails(listServiceSetDetailsRequest) {
673
- const options = (0, exports.ParamCreater)().listServiceSetDetails(listServiceSetDetailsRequest);
811
+ listServiceSets(listServiceSetsRequest) {
812
+ const options = (0, exports.ParamCreater)().listServiceSets(listServiceSetsRequest);
674
813
  // @ts-ignore
675
814
  options['responseHeaders'] = [''];
676
815
  return this.hcClient.sendRequest(options);
@@ -689,8 +828,8 @@ class CfwClient {
689
828
  * @param {*} [options] Override http request option.
690
829
  * @throws {RequiredError}
691
830
  */
692
- updateAddressSetInfoUsingPut(updateAddressSetInfoUsingPutRequest) {
693
- const options = (0, exports.ParamCreater)().updateAddressSetInfoUsingPut(updateAddressSetInfoUsingPutRequest);
831
+ updateAddressSet(updateAddressSetRequest) {
832
+ const options = (0, exports.ParamCreater)().updateAddressSet(updateAddressSetRequest);
694
833
  // @ts-ignore
695
834
  options['responseHeaders'] = [''];
696
835
  return this.hcClient.sendRequest(options);
@@ -709,8 +848,8 @@ class CfwClient {
709
848
  * @param {*} [options] Override http request option.
710
849
  * @throws {RequiredError}
711
850
  */
712
- updateBlackWhiteListUsingPut(updateBlackWhiteListUsingPutRequest) {
713
- const options = (0, exports.ParamCreater)().updateBlackWhiteListUsingPut(updateBlackWhiteListUsingPutRequest);
851
+ updateBlackWhiteList(updateBlackWhiteListRequest) {
852
+ const options = (0, exports.ParamCreater)().updateBlackWhiteList(updateBlackWhiteListRequest);
714
853
  // @ts-ignore
715
854
  options['responseHeaders'] = [''];
716
855
  return this.hcClient.sendRequest(options);
@@ -734,6 +873,25 @@ class CfwClient {
734
873
  options['responseHeaders'] = [''];
735
874
  return this.hcClient.sendRequest(options);
736
875
  }
876
+ /**
877
+ *
878
+ * Please refer to HUAWEI cloud API Explorer for details.
879
+ *
880
+ * @summary 更新域名组
881
+ * @param {string} projectId 租户项目id
882
+ * @param {string} setId 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用查询防火墙实例接口获得,注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。具体可参考APIExlorer和帮助中心FAQ。
883
+ * @param {UpdateDomainSetInfoDto} updateDomainSetInfoDto 更新域名组Dto
884
+ * @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
885
+ * @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
886
+ * @param {*} [options] Override http request option.
887
+ * @throws {RequiredError}
888
+ */
889
+ updateDomainSet(updateDomainSetRequest) {
890
+ const options = (0, exports.ParamCreater)().updateDomainSet(updateDomainSetRequest);
891
+ // @ts-ignore
892
+ options['responseHeaders'] = [''];
893
+ return this.hcClient.sendRequest(options);
894
+ }
737
895
  /**
738
896
  * 更新服务组
739
897
  *
@@ -748,8 +906,8 @@ class CfwClient {
748
906
  * @param {*} [options] Override http request option.
749
907
  * @throws {RequiredError}
750
908
  */
751
- updateServiceSetUsingPut(updateServiceSetUsingPutRequest) {
752
- const options = (0, exports.ParamCreater)().updateServiceSetUsingPut(updateServiceSetUsingPutRequest);
909
+ updateServiceSet(updateServiceSetRequest) {
910
+ const options = (0, exports.ParamCreater)().updateServiceSet(updateServiceSetRequest);
753
911
  // @ts-ignore
754
912
  options['responseHeaders'] = [''];
755
913
  return this.hcClient.sendRequest(options);
@@ -767,147 +925,244 @@ class CfwClient {
767
925
  * @param {*} [options] Override http request option.
768
926
  * @throws {RequiredError}
769
927
  */
770
- addRuleAclUsingPost(addRuleAclUsingPostRequest) {
771
- const options = (0, exports.ParamCreater)().addRuleAclUsingPost(addRuleAclUsingPostRequest);
928
+ addAclRule(addAclRuleRequest) {
929
+ const options = (0, exports.ParamCreater)().addAclRule(addAclRuleRequest);
772
930
  // @ts-ignore
773
931
  options['responseHeaders'] = [''];
774
932
  return this.hcClient.sendRequest(options);
775
933
  }
776
934
  /**
777
- * 删除ACL规则组
935
+ * 批量删除Acl规则
778
936
  *
779
937
  * Please refer to HUAWEI cloud API Explorer for details.
780
938
  *
781
- * @summary 删除ACL规则组
782
- * @param {string} projectId 租户项目Id
783
- * @param {string} aclRuleId 规则Id
939
+ * @summary 批量删除Acl规则
940
+ * @param {string} projectId 租户项目ID
941
+ * @param {DeleteRuleAclDto} deleteRuleAclDto 删除规则DTO
784
942
  * @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
785
943
  * @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
786
944
  * @param {*} [options] Override http request option.
787
945
  * @throws {RequiredError}
788
946
  */
789
- deleteRuleAclUsingDelete(deleteRuleAclUsingDeleteRequest) {
790
- const options = (0, exports.ParamCreater)().deleteRuleAclUsingDelete(deleteRuleAclUsingDeleteRequest);
947
+ batchDeleteAclRules(batchDeleteAclRulesRequest) {
948
+ const options = (0, exports.ParamCreater)().batchDeleteAclRules(batchDeleteAclRulesRequest);
791
949
  // @ts-ignore
792
950
  options['responseHeaders'] = [''];
793
951
  return this.hcClient.sendRequest(options);
794
952
  }
795
953
  /**
796
- * ACL防护规则优先级设置
797
954
  *
798
955
  * Please refer to HUAWEI cloud API Explorer for details.
799
956
  *
800
- * @summary ACL防护规则优先级设置
801
- * @param {string} projectId 租户项目id
802
- * @param {string} aclRuleId 规则id
803
- * @param {OrderRuleAclDto} listRuleAclUsingPUTRequestBody 规则排序请求体
957
+ * @summary 批量更新规则动作
958
+ * @param {string} projectId 租户项目ID
959
+ * @param {UpdateSecurityPolciesActionDto} updateSecurityPoliciesActionDto 更新规则动作请求体
804
960
  * @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
805
- * @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
806
961
  * @param {*} [options] Override http request option.
807
962
  * @throws {RequiredError}
808
963
  */
809
- listRuleAclUsingPut(listRuleAclUsingPutRequest) {
810
- const options = (0, exports.ParamCreater)().listRuleAclUsingPut(listRuleAclUsingPutRequest);
964
+ batchUpdateAclRuleActions(batchUpdateAclRuleActionsRequest) {
965
+ const options = (0, exports.ParamCreater)().batchUpdateAclRuleActions(batchUpdateAclRuleActionsRequest);
811
966
  // @ts-ignore
812
967
  options['responseHeaders'] = [''];
813
968
  return this.hcClient.sendRequest(options);
814
969
  }
815
970
  /**
816
- * 查询防护规则
971
+ * 删除ACL规则组
817
972
  *
818
973
  * Please refer to HUAWEI cloud API Explorer for details.
819
974
  *
820
- * @summary 查询防护规则
821
- * @param {string} projectId 租户项目id
822
- * @param {string} objectId 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用查询防火墙实例接口获得,注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。具体可参考APIExlorer和帮助中心FAQ。
823
- * @param {number} limit 每页显示个数
824
- * @param {number} offset 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
825
- * @param {0 | 1 | 2} [type] 规则Type0:互联网规则,1:vpc规则, 2:nat规则
826
- * @param {6 | 17 | 1 | 58} [protocol] 协议类型:TCP为6, UDP为17,ICMP为1,ICMPV6为58,ANY为-1
827
- * @param {string} [ip] ip地址
828
- * @param {string} [name] 名称
829
- * @param {number} [direction] 方向0:外到内1:内到外
830
- * @param {0 | 1} [status] 规则下发状态 0:禁用,1:启用
831
- * @param {0 | 1} [actionType] 动作0:permit,1:deny
832
- * @param {0 | 1 | 2} [addressType] 地址类型0 ipv4,1 ipv6,2 domain
975
+ * @summary 删除ACL规则
976
+ * @param {string} projectId 租户项目Id
977
+ * @param {string} aclRuleId 规则Id
833
978
  * @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
834
979
  * @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
835
980
  * @param {*} [options] Override http request option.
836
981
  * @throws {RequiredError}
837
982
  */
838
- listRuleAclsUsingGet(listRuleAclsUsingGetRequest) {
839
- const options = (0, exports.ParamCreater)().listRuleAclsUsingGet(listRuleAclsUsingGetRequest);
983
+ deleteAclRule(deleteAclRuleRequest) {
984
+ const options = (0, exports.ParamCreater)().deleteAclRule(deleteAclRuleRequest);
840
985
  // @ts-ignore
841
986
  options['responseHeaders'] = [''];
842
987
  return this.hcClient.sendRequest(options);
843
988
  }
844
989
  /**
845
- * 更新ACL规则
990
+ * 清除规则击中次数
846
991
  *
847
992
  * Please refer to HUAWEI cloud API Explorer for details.
848
993
  *
849
- * @summary 更新ACL规则
850
- * @param {string} projectId 租户项目id
851
- * @param {string} aclRuleId 规则Id
852
- * @param {UpdateRuleAclDto} updateRuleAclUsingPUTRequestBody 更新规则请求体
994
+ * @summary 删除规则击中次数
995
+ * @param {string} projectId project id
996
+ * @param {ClearAccessLogRuleHitCountsDto} deleteAclRuleCountRequestBody clear access log rule hit counts dto
853
997
  * @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
854
998
  * @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
855
999
  * @param {*} [options] Override http request option.
856
1000
  * @throws {RequiredError}
857
1001
  */
858
- updateRuleAclUsingPut(updateRuleAclUsingPutRequest) {
859
- const options = (0, exports.ParamCreater)().updateRuleAclUsingPut(updateRuleAclUsingPutRequest);
1002
+ deleteAclRuleHitCount(deleteAclRuleHitCountRequest) {
1003
+ const options = (0, exports.ParamCreater)().deleteAclRuleHitCount(deleteAclRuleHitCountRequest);
860
1004
  // @ts-ignore
861
1005
  options['responseHeaders'] = [''];
862
1006
  return this.hcClient.sendRequest(options);
863
1007
  }
864
1008
  /**
865
- * 开启关闭EIP
1009
+ * 获取规则击中次数
866
1010
  *
867
1011
  * Please refer to HUAWEI cloud API Explorer for details.
868
1012
  *
869
- * @summary 弹性IP开启关闭
870
- * @param {string} projectId 租户项目ID
871
- * @param {EipOperateProtectReq} changeProtectEipRequestBody 开启关闭EIP请求体
1013
+ * @summary 获取规则击中次数
1014
+ * @param {string} projectId 租户项目id
872
1015
  * @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
873
1016
  * @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
1017
+ * @param {ListRuleHitCountDto} [listRuleHitCountRequestBody] 获取规则击中次数DTO
874
1018
  * @param {*} [options] Override http request option.
875
1019
  * @throws {RequiredError}
876
1020
  */
877
- changeProtectEip(changeProtectEipRequest) {
878
- const options = (0, exports.ParamCreater)().changeProtectEip(changeProtectEipRequest);
1021
+ listAclRuleHitCount(listAclRuleHitCountRequest) {
1022
+ const options = (0, exports.ParamCreater)().listAclRuleHitCount(listAclRuleHitCountRequest);
879
1023
  // @ts-ignore
880
1024
  options['responseHeaders'] = [''];
881
1025
  return this.hcClient.sendRequest(options);
882
1026
  }
883
1027
  /**
884
- * 查询Eip个数
1028
+ * 查询防护规则
885
1029
  *
886
1030
  * Please refer to HUAWEI cloud API Explorer for details.
887
1031
  *
888
- * @summary 查询Eip个数
889
- * @param {string} projectId 租户项目ID
1032
+ * @summary 查询防护规则
1033
+ * @param {string} projectId 租户项目id
890
1034
  * @param {string} objectId 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用查询防火墙实例接口获得,注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。具体可参考APIExlorer和帮助中心FAQ。
1035
+ * @param {number} limit 每页显示个数,范围为1-1024
1036
+ * @param {number} offset 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
1037
+ * @param {0 | 1 | 2} [type] 规则Type0:互联网规则,1:vpc规则, 2:nat规则
1038
+ * @param {6 | 17 | 1 | 58} [protocol] 协议类型:TCP为6, UDP为17,ICMP为1,ICMPV6为58,ANY为-1
1039
+ * @param {string} [ip] ip地址
1040
+ * @param {string} [name] 名称
1041
+ * @param {number} [direction] 方向0:外到内1:内到外
1042
+ * @param {0 | 1} [status] 规则下发状态 0:禁用,1:启用
1043
+ * @param {0 | 1} [actionType] 动作0:permit,1:deny
1044
+ * @param {0 | 1 | 2} [addressType] 地址类型0 ipv4,1 ipv6,2 domain
891
1045
  * @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
892
1046
  * @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
1047
+ * @param {string} [tagsId] 标签id
1048
+ * @param {string} [source] 源地址
1049
+ * @param {string} [destination] 目的地址
1050
+ * @param {string} [service] 服务端口
893
1051
  * @param {*} [options] Override http request option.
894
1052
  * @throws {RequiredError}
895
1053
  */
896
- countEips(countEipsRequest) {
897
- const options = (0, exports.ParamCreater)().countEips(countEipsRequest);
1054
+ listAclRules(listAclRulesRequest) {
1055
+ const options = (0, exports.ParamCreater)().listAclRules(listAclRulesRequest);
898
1056
  // @ts-ignore
899
1057
  options['responseHeaders'] = [''];
900
1058
  return this.hcClient.sendRequest(options);
901
1059
  }
902
1060
  /**
903
- * 弹性IP列表查询
904
1061
  *
905
1062
  * Please refer to HUAWEI cloud API Explorer for details.
906
1063
  *
907
- * @summary 弹性IP列表查询
908
- * @param {string} projectId 租户项目ID
909
- * @param {string} objectId 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用查询防火墙实例接口获得,注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。具体可参考APIExlorer和帮助中心FAQ
910
- * @param {number} limit 每页显示个数
1064
+ * @summary 查询规则标签
1065
+ * @param {string} projectId 租户项目id
1066
+ * @param {string} fwInstanceId 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
1067
+ * @param {number} offset 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
1068
+ * @param {number} limit 每页显示个数,范围为1-1024
1069
+ * @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
1070
+ * @param {*} [options] Override http request option.
1071
+ * @throws {RequiredError}
1072
+ */
1073
+ listRuleAclTags(listRuleAclTagsRequest) {
1074
+ const options = (0, exports.ParamCreater)().listRuleAclTags(listRuleAclTagsRequest);
1075
+ // @ts-ignore
1076
+ options['responseHeaders'] = [''];
1077
+ return this.hcClient.sendRequest(options);
1078
+ }
1079
+ /**
1080
+ * 更新ACL规则
1081
+ *
1082
+ * Please refer to HUAWEI cloud API Explorer for details.
1083
+ *
1084
+ * @summary 更新ACL规则
1085
+ * @param {string} projectId 租户项目id
1086
+ * @param {string} aclRuleId 规则Id
1087
+ * @param {UpdateRuleAclDto} updateRuleAclUsingPUTRequestBody 更新规则请求体
1088
+ * @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
1089
+ * @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
1090
+ * @param {*} [options] Override http request option.
1091
+ * @throws {RequiredError}
1092
+ */
1093
+ updateAclRule(updateAclRuleRequest) {
1094
+ const options = (0, exports.ParamCreater)().updateAclRule(updateAclRuleRequest);
1095
+ // @ts-ignore
1096
+ options['responseHeaders'] = [''];
1097
+ return this.hcClient.sendRequest(options);
1098
+ }
1099
+ /**
1100
+ * ACL防护规则优先级设置
1101
+ *
1102
+ * Please refer to HUAWEI cloud API Explorer for details.
1103
+ *
1104
+ * @summary ACL防护规则优先级设置
1105
+ * @param {string} projectId 租户项目id
1106
+ * @param {string} aclRuleId 规则id
1107
+ * @param {OrderRuleAclDto} listRuleAclUsingPUTRequestBody 规则排序请求体
1108
+ * @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
1109
+ * @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
1110
+ * @param {*} [options] Override http request option.
1111
+ * @throws {RequiredError}
1112
+ */
1113
+ updateAclRuleOrder(updateAclRuleOrderRequest) {
1114
+ const options = (0, exports.ParamCreater)().updateAclRuleOrder(updateAclRuleOrderRequest);
1115
+ // @ts-ignore
1116
+ options['responseHeaders'] = [''];
1117
+ return this.hcClient.sendRequest(options);
1118
+ }
1119
+ /**
1120
+ * 开启关闭EIP,客户购买EIP后首次开启EIP防护前需使用ListEips同步EIP资产,sync字段设置为1。
1121
+ *
1122
+ * Please refer to HUAWEI cloud API Explorer for details.
1123
+ *
1124
+ * @summary 弹性IP开启关闭
1125
+ * @param {string} projectId 租户项目ID
1126
+ * @param {EipOperateProtectReq} changeProtectEipRequestBody 开启关闭EIP请求体
1127
+ * @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
1128
+ * @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
1129
+ * @param {*} [options] Override http request option.
1130
+ * @throws {RequiredError}
1131
+ */
1132
+ changeEipStatus(changeEipStatusRequest) {
1133
+ const options = (0, exports.ParamCreater)().changeEipStatus(changeEipStatusRequest);
1134
+ // @ts-ignore
1135
+ options['responseHeaders'] = [''];
1136
+ return this.hcClient.sendRequest(options);
1137
+ }
1138
+ /**
1139
+ * 查询Eip个数
1140
+ *
1141
+ * Please refer to HUAWEI cloud API Explorer for details.
1142
+ *
1143
+ * @summary 查询Eip个数
1144
+ * @param {string} projectId 租户项目ID
1145
+ * @param {string} objectId 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用查询防火墙实例接口获得,注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。具体可参考APIExlorer和帮助中心FAQ。
1146
+ * @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
1147
+ * @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
1148
+ * @param {*} [options] Override http request option.
1149
+ * @throws {RequiredError}
1150
+ */
1151
+ listEipCount(listEipCountRequest) {
1152
+ const options = (0, exports.ParamCreater)().listEipCount(listEipCountRequest);
1153
+ // @ts-ignore
1154
+ options['responseHeaders'] = [''];
1155
+ return this.hcClient.sendRequest(options);
1156
+ }
1157
+ /**
1158
+ * 弹性IP列表查询
1159
+ *
1160
+ * Please refer to HUAWEI cloud API Explorer for details.
1161
+ *
1162
+ * @summary 弹性IP列表查询
1163
+ * @param {string} projectId 租户项目ID
1164
+ * @param {string} objectId 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用查询防火墙实例接口获得,注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。具体可参考APIExlorer和帮助中心FAQ。
1165
+ * @param {number} limit 每页显示个数,范围为1-1024
911
1166
  * @param {number} offset 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
912
1167
  * @param {string} [keyWord] 弹性公网ID/弹性公网IP
913
1168
  * @param {'null' | '0' | '1'} [status] 防护状态 null-全部 0-开启防护 1-关闭防护
@@ -918,11 +1173,31 @@ class CfwClient {
918
1173
  * @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
919
1174
  * @param {string} [fwKeyWord] 所绑定防火墙id防火墙名称
920
1175
  * @param {string} [epsId] 弹性公网ip的企业项目id
1176
+ * @param {string} [tags] 标签列表信息
1177
+ * @param {*} [options] Override http request option.
1178
+ * @throws {RequiredError}
1179
+ */
1180
+ listEips(listEipsRequest) {
1181
+ const options = (0, exports.ParamCreater)().listEips(listEipsRequest);
1182
+ // @ts-ignore
1183
+ options['responseHeaders'] = [''];
1184
+ return this.hcClient.sendRequest(options);
1185
+ }
1186
+ /**
1187
+ * 切换防护模式
1188
+ *
1189
+ * Please refer to HUAWEI cloud API Explorer for details.
1190
+ *
1191
+ * @summary 切换防护模式
1192
+ * @param {string} projectId 租户项目id
1193
+ * @param {IpsProtectDTO} changeIpsProtectModeUsingPOSTRequestBody ChangeIpsProtectModeUsingPOSTRequestBody
1194
+ * @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
1195
+ * @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
921
1196
  * @param {*} [options] Override http request option.
922
1197
  * @throws {RequiredError}
923
1198
  */
924
- listEipResources(listEipResourcesRequest) {
925
- const options = (0, exports.ParamCreater)().listEipResources(listEipResourcesRequest);
1199
+ changeIpsProtectMode(changeIpsProtectModeRequest) {
1200
+ const options = (0, exports.ParamCreater)().changeIpsProtectMode(changeIpsProtectModeRequest);
926
1201
  // @ts-ignore
927
1202
  options['responseHeaders'] = [''];
928
1203
  return this.hcClient.sendRequest(options);
@@ -940,46 +1215,46 @@ class CfwClient {
940
1215
  * @param {*} [options] Override http request option.
941
1216
  * @throws {RequiredError}
942
1217
  */
943
- changeIpsSwitchUsingPost(changeIpsSwitchUsingPostRequest) {
944
- const options = (0, exports.ParamCreater)().changeIpsSwitchUsingPost(changeIpsSwitchUsingPostRequest);
1218
+ changeIpsSwitchStatus(changeIpsSwitchStatusRequest) {
1219
+ const options = (0, exports.ParamCreater)().changeIpsSwitchStatus(changeIpsSwitchStatusRequest);
945
1220
  // @ts-ignore
946
1221
  options['responseHeaders'] = [''];
947
1222
  return this.hcClient.sendRequest(options);
948
1223
  }
949
1224
  /**
950
- * 查询IPS特性开关状态
1225
+ * 查询防护模式
951
1226
  *
952
1227
  * Please refer to HUAWEI cloud API Explorer for details.
953
1228
  *
954
- * @summary 查询IPS特性开关状态
955
- * @param {string} projectId project_id
1229
+ * @summary 查询防护模式
1230
+ * @param {string} projectId 租户项目id
956
1231
  * @param {string} objectId 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用查询防火墙实例接口获得,注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。具体可参考APIExlorer和帮助中心FAQ。
957
1232
  * @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
958
1233
  * @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
959
1234
  * @param {*} [options] Override http request option.
960
1235
  * @throws {RequiredError}
961
1236
  */
962
- listIpsSwitchStatusUsingGet(listIpsSwitchStatusUsingGetRequest) {
963
- const options = (0, exports.ParamCreater)().listIpsSwitchStatusUsingGet(listIpsSwitchStatusUsingGetRequest);
1237
+ listIpsProtectMode(listIpsProtectModeRequest) {
1238
+ const options = (0, exports.ParamCreater)().listIpsProtectMode(listIpsProtectModeRequest);
964
1239
  // @ts-ignore
965
1240
  options['responseHeaders'] = [''];
966
1241
  return this.hcClient.sendRequest(options);
967
1242
  }
968
1243
  /**
969
- * 查询防护vpc信息
1244
+ * 查询IPS特性开关状态
970
1245
  *
971
1246
  * Please refer to HUAWEI cloud API Explorer for details.
972
1247
  *
973
- * @summary 查询防护VPC数
974
- * @param {string} projectId 租户项目id
1248
+ * @summary 查询IPS特性开关状态
1249
+ * @param {string} projectId 租户项目ID
975
1250
  * @param {string} objectId 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用查询防火墙实例接口获得,注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。具体可参考APIExlorer和帮助中心FAQ。
976
1251
  * @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
977
1252
  * @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
978
1253
  * @param {*} [options] Override http request option.
979
1254
  * @throws {RequiredError}
980
1255
  */
981
- listVpcProtects(listVpcProtectsRequest) {
982
- const options = (0, exports.ParamCreater)().listVpcProtects(listVpcProtectsRequest);
1256
+ listIpsSwitchStatus(listIpsSwitchStatusRequest) {
1257
+ const options = (0, exports.ParamCreater)().listIpsSwitchStatus(listIpsSwitchStatusRequest);
983
1258
  // @ts-ignore
984
1259
  options['responseHeaders'] = [''];
985
1260
  return this.hcClient.sendRequest(options);
@@ -993,7 +1268,7 @@ const ParamCreater = function () {
993
1268
  *
994
1269
  * Please refer to HUAWEI cloud API Explorer for details.
995
1270
  */
996
- addAddressItemsUsingPost(addAddressItemsUsingPostRequest) {
1271
+ addAddressItem(addAddressItemRequest) {
997
1272
  const options = {
998
1273
  method: "POST",
999
1274
  url: "/v1/{project_id}/address-items",
@@ -1009,22 +1284,22 @@ const ParamCreater = function () {
1009
1284
  let projectId;
1010
1285
  let enterpriseProjectId;
1011
1286
  let fwInstanceId;
1012
- if (addAddressItemsUsingPostRequest !== null && addAddressItemsUsingPostRequest !== undefined) {
1013
- if (addAddressItemsUsingPostRequest instanceof AddAddressItemsUsingPostRequest_1.AddAddressItemsUsingPostRequest) {
1014
- projectId = addAddressItemsUsingPostRequest.projectId;
1015
- body = addAddressItemsUsingPostRequest.body;
1016
- enterpriseProjectId = addAddressItemsUsingPostRequest.enterpriseProjectId;
1017
- fwInstanceId = addAddressItemsUsingPostRequest.fwInstanceId;
1287
+ if (addAddressItemRequest !== null && addAddressItemRequest !== undefined) {
1288
+ if (addAddressItemRequest instanceof AddAddressItemRequest_1.AddAddressItemRequest) {
1289
+ projectId = addAddressItemRequest.projectId;
1290
+ body = addAddressItemRequest.body;
1291
+ enterpriseProjectId = addAddressItemRequest.enterpriseProjectId;
1292
+ fwInstanceId = addAddressItemRequest.fwInstanceId;
1018
1293
  }
1019
1294
  else {
1020
- projectId = addAddressItemsUsingPostRequest['project_id'];
1021
- body = addAddressItemsUsingPostRequest['body'];
1022
- enterpriseProjectId = addAddressItemsUsingPostRequest['enterprise_project_id'];
1023
- fwInstanceId = addAddressItemsUsingPostRequest['fw_instance_id'];
1295
+ projectId = addAddressItemRequest['project_id'];
1296
+ body = addAddressItemRequest['body'];
1297
+ enterpriseProjectId = addAddressItemRequest['enterprise_project_id'];
1298
+ fwInstanceId = addAddressItemRequest['fw_instance_id'];
1024
1299
  }
1025
1300
  }
1026
1301
  if (projectId === null || projectId === undefined) {
1027
- throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling addAddressItemsUsingPost.');
1302
+ throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling addAddressItem.');
1028
1303
  }
1029
1304
  if (body === null || body === undefined) {
1030
1305
  throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
@@ -1047,7 +1322,7 @@ const ParamCreater = function () {
1047
1322
  *
1048
1323
  * Please refer to HUAWEI cloud API Explorer for details.
1049
1324
  */
1050
- addAddressSetInfoUsingPost(addAddressSetInfoUsingPostRequest) {
1325
+ addAddressSet(addAddressSetRequest) {
1051
1326
  const options = {
1052
1327
  method: "POST",
1053
1328
  url: "/v1/{project_id}/address-set",
@@ -1063,22 +1338,22 @@ const ParamCreater = function () {
1063
1338
  let projectId;
1064
1339
  let enterpriseProjectId;
1065
1340
  let fwInstanceId;
1066
- if (addAddressSetInfoUsingPostRequest !== null && addAddressSetInfoUsingPostRequest !== undefined) {
1067
- if (addAddressSetInfoUsingPostRequest instanceof AddAddressSetInfoUsingPostRequest_1.AddAddressSetInfoUsingPostRequest) {
1068
- projectId = addAddressSetInfoUsingPostRequest.projectId;
1069
- body = addAddressSetInfoUsingPostRequest.body;
1070
- enterpriseProjectId = addAddressSetInfoUsingPostRequest.enterpriseProjectId;
1071
- fwInstanceId = addAddressSetInfoUsingPostRequest.fwInstanceId;
1341
+ if (addAddressSetRequest !== null && addAddressSetRequest !== undefined) {
1342
+ if (addAddressSetRequest instanceof AddAddressSetRequest_1.AddAddressSetRequest) {
1343
+ projectId = addAddressSetRequest.projectId;
1344
+ body = addAddressSetRequest.body;
1345
+ enterpriseProjectId = addAddressSetRequest.enterpriseProjectId;
1346
+ fwInstanceId = addAddressSetRequest.fwInstanceId;
1072
1347
  }
1073
1348
  else {
1074
- projectId = addAddressSetInfoUsingPostRequest['project_id'];
1075
- body = addAddressSetInfoUsingPostRequest['body'];
1076
- enterpriseProjectId = addAddressSetInfoUsingPostRequest['enterprise_project_id'];
1077
- fwInstanceId = addAddressSetInfoUsingPostRequest['fw_instance_id'];
1349
+ projectId = addAddressSetRequest['project_id'];
1350
+ body = addAddressSetRequest['body'];
1351
+ enterpriseProjectId = addAddressSetRequest['enterprise_project_id'];
1352
+ fwInstanceId = addAddressSetRequest['fw_instance_id'];
1078
1353
  }
1079
1354
  }
1080
1355
  if (projectId === null || projectId === undefined) {
1081
- throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling addAddressSetInfoUsingPost.');
1356
+ throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling addAddressSet.');
1082
1357
  }
1083
1358
  if (body === null || body === undefined) {
1084
1359
  throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
@@ -1101,7 +1376,7 @@ const ParamCreater = function () {
1101
1376
  *
1102
1377
  * Please refer to HUAWEI cloud API Explorer for details.
1103
1378
  */
1104
- addBlackWhiteListUsingPost(addBlackWhiteListUsingPostRequest) {
1379
+ addBlackWhiteList(addBlackWhiteListRequest) {
1105
1380
  const options = {
1106
1381
  method: "POST",
1107
1382
  url: "/v1/{project_id}/black-white-list",
@@ -1117,22 +1392,129 @@ const ParamCreater = function () {
1117
1392
  let projectId;
1118
1393
  let enterpriseProjectId;
1119
1394
  let fwInstanceId;
1120
- if (addBlackWhiteListUsingPostRequest !== null && addBlackWhiteListUsingPostRequest !== undefined) {
1121
- if (addBlackWhiteListUsingPostRequest instanceof AddBlackWhiteListUsingPostRequest_1.AddBlackWhiteListUsingPostRequest) {
1122
- projectId = addBlackWhiteListUsingPostRequest.projectId;
1123
- body = addBlackWhiteListUsingPostRequest.body;
1124
- enterpriseProjectId = addBlackWhiteListUsingPostRequest.enterpriseProjectId;
1125
- fwInstanceId = addBlackWhiteListUsingPostRequest.fwInstanceId;
1395
+ if (addBlackWhiteListRequest !== null && addBlackWhiteListRequest !== undefined) {
1396
+ if (addBlackWhiteListRequest instanceof AddBlackWhiteListRequest_1.AddBlackWhiteListRequest) {
1397
+ projectId = addBlackWhiteListRequest.projectId;
1398
+ body = addBlackWhiteListRequest.body;
1399
+ enterpriseProjectId = addBlackWhiteListRequest.enterpriseProjectId;
1400
+ fwInstanceId = addBlackWhiteListRequest.fwInstanceId;
1401
+ }
1402
+ else {
1403
+ projectId = addBlackWhiteListRequest['project_id'];
1404
+ body = addBlackWhiteListRequest['body'];
1405
+ enterpriseProjectId = addBlackWhiteListRequest['enterprise_project_id'];
1406
+ fwInstanceId = addBlackWhiteListRequest['fw_instance_id'];
1407
+ }
1408
+ }
1409
+ if (projectId === null || projectId === undefined) {
1410
+ throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling addBlackWhiteList.');
1411
+ }
1412
+ if (body === null || body === undefined) {
1413
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
1414
+ }
1415
+ if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
1416
+ localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
1417
+ }
1418
+ if (fwInstanceId !== null && fwInstanceId !== undefined) {
1419
+ localVarQueryParameter['fw_instance_id'] = fwInstanceId;
1420
+ }
1421
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1422
+ options.data = body !== undefined ? body : {};
1423
+ options.queryParams = localVarQueryParameter;
1424
+ options.pathParams = { 'project_id': projectId, };
1425
+ options.headers = localVarHeaderParameter;
1426
+ return options;
1427
+ },
1428
+ /**
1429
+ *
1430
+ * Please refer to HUAWEI cloud API Explorer for details.
1431
+ */
1432
+ addDomainSet(addDomainSetRequest) {
1433
+ const options = {
1434
+ method: "POST",
1435
+ url: "/v1/{project_id}/domain-set",
1436
+ contentType: "application/json",
1437
+ queryParams: {},
1438
+ pathParams: {},
1439
+ headers: {},
1440
+ data: {}
1441
+ };
1442
+ const localVarHeaderParameter = {};
1443
+ const localVarQueryParameter = {};
1444
+ let body;
1445
+ let projectId;
1446
+ let enterpriseProjectId;
1447
+ let fwInstanceId;
1448
+ if (addDomainSetRequest !== null && addDomainSetRequest !== undefined) {
1449
+ if (addDomainSetRequest instanceof AddDomainSetRequest_1.AddDomainSetRequest) {
1450
+ projectId = addDomainSetRequest.projectId;
1451
+ body = addDomainSetRequest.body;
1452
+ enterpriseProjectId = addDomainSetRequest.enterpriseProjectId;
1453
+ fwInstanceId = addDomainSetRequest.fwInstanceId;
1454
+ }
1455
+ else {
1456
+ projectId = addDomainSetRequest['project_id'];
1457
+ body = addDomainSetRequest['body'];
1458
+ enterpriseProjectId = addDomainSetRequest['enterprise_project_id'];
1459
+ fwInstanceId = addDomainSetRequest['fw_instance_id'];
1460
+ }
1461
+ }
1462
+ if (projectId === null || projectId === undefined) {
1463
+ throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling addDomainSet.');
1464
+ }
1465
+ if (body === null || body === undefined) {
1466
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
1467
+ }
1468
+ if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
1469
+ localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
1470
+ }
1471
+ if (fwInstanceId !== null && fwInstanceId !== undefined) {
1472
+ localVarQueryParameter['fw_instance_id'] = fwInstanceId;
1473
+ }
1474
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1475
+ options.data = body !== undefined ? body : {};
1476
+ options.queryParams = localVarQueryParameter;
1477
+ options.pathParams = { 'project_id': projectId, };
1478
+ options.headers = localVarHeaderParameter;
1479
+ return options;
1480
+ },
1481
+ /**
1482
+ * 添加域名列表
1483
+ *
1484
+ * Please refer to HUAWEI cloud API Explorer for details.
1485
+ */
1486
+ addDomains(addDomainsRequest) {
1487
+ const options = {
1488
+ method: "POST",
1489
+ url: "/v1/{project_id}/domain-set/domains",
1490
+ contentType: "application/json",
1491
+ queryParams: {},
1492
+ pathParams: {},
1493
+ headers: {},
1494
+ data: {}
1495
+ };
1496
+ const localVarHeaderParameter = {};
1497
+ const localVarQueryParameter = {};
1498
+ let body;
1499
+ let projectId;
1500
+ let enterpriseProjectId;
1501
+ let fwInstanceId;
1502
+ if (addDomainsRequest !== null && addDomainsRequest !== undefined) {
1503
+ if (addDomainsRequest instanceof AddDomainsRequest_1.AddDomainsRequest) {
1504
+ projectId = addDomainsRequest.projectId;
1505
+ body = addDomainsRequest.body;
1506
+ enterpriseProjectId = addDomainsRequest.enterpriseProjectId;
1507
+ fwInstanceId = addDomainsRequest.fwInstanceId;
1126
1508
  }
1127
1509
  else {
1128
- projectId = addBlackWhiteListUsingPostRequest['project_id'];
1129
- body = addBlackWhiteListUsingPostRequest['body'];
1130
- enterpriseProjectId = addBlackWhiteListUsingPostRequest['enterprise_project_id'];
1131
- fwInstanceId = addBlackWhiteListUsingPostRequest['fw_instance_id'];
1510
+ projectId = addDomainsRequest['project_id'];
1511
+ body = addDomainsRequest['body'];
1512
+ enterpriseProjectId = addDomainsRequest['enterprise_project_id'];
1513
+ fwInstanceId = addDomainsRequest['fw_instance_id'];
1132
1514
  }
1133
1515
  }
1134
1516
  if (projectId === null || projectId === undefined) {
1135
- throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling addBlackWhiteListUsingPost.');
1517
+ throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling addDomains.');
1136
1518
  }
1137
1519
  if (body === null || body === undefined) {
1138
1520
  throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
@@ -1155,7 +1537,7 @@ const ParamCreater = function () {
1155
1537
  *
1156
1538
  * Please refer to HUAWEI cloud API Explorer for details.
1157
1539
  */
1158
- addServiceItemsUsingPost(addServiceItemsUsingPostRequest) {
1540
+ addServiceItems(addServiceItemsRequest) {
1159
1541
  const options = {
1160
1542
  method: "POST",
1161
1543
  url: "/v1/{project_id}/service-items",
@@ -1171,22 +1553,22 @@ const ParamCreater = function () {
1171
1553
  let projectId;
1172
1554
  let enterpriseProjectId;
1173
1555
  let fwInstanceId;
1174
- if (addServiceItemsUsingPostRequest !== null && addServiceItemsUsingPostRequest !== undefined) {
1175
- if (addServiceItemsUsingPostRequest instanceof AddServiceItemsUsingPostRequest_1.AddServiceItemsUsingPostRequest) {
1176
- projectId = addServiceItemsUsingPostRequest.projectId;
1177
- body = addServiceItemsUsingPostRequest.body;
1178
- enterpriseProjectId = addServiceItemsUsingPostRequest.enterpriseProjectId;
1179
- fwInstanceId = addServiceItemsUsingPostRequest.fwInstanceId;
1556
+ if (addServiceItemsRequest !== null && addServiceItemsRequest !== undefined) {
1557
+ if (addServiceItemsRequest instanceof AddServiceItemsRequest_1.AddServiceItemsRequest) {
1558
+ projectId = addServiceItemsRequest.projectId;
1559
+ body = addServiceItemsRequest.body;
1560
+ enterpriseProjectId = addServiceItemsRequest.enterpriseProjectId;
1561
+ fwInstanceId = addServiceItemsRequest.fwInstanceId;
1180
1562
  }
1181
1563
  else {
1182
- projectId = addServiceItemsUsingPostRequest['project_id'];
1183
- body = addServiceItemsUsingPostRequest['body'];
1184
- enterpriseProjectId = addServiceItemsUsingPostRequest['enterprise_project_id'];
1185
- fwInstanceId = addServiceItemsUsingPostRequest['fw_instance_id'];
1564
+ projectId = addServiceItemsRequest['project_id'];
1565
+ body = addServiceItemsRequest['body'];
1566
+ enterpriseProjectId = addServiceItemsRequest['enterprise_project_id'];
1567
+ fwInstanceId = addServiceItemsRequest['fw_instance_id'];
1186
1568
  }
1187
1569
  }
1188
1570
  if (projectId === null || projectId === undefined) {
1189
- throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling addServiceItemsUsingPost.');
1571
+ throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling addServiceItems.');
1190
1572
  }
1191
1573
  if (body === null || body === undefined) {
1192
1574
  throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
@@ -1209,7 +1591,7 @@ const ParamCreater = function () {
1209
1591
  *
1210
1592
  * Please refer to HUAWEI cloud API Explorer for details.
1211
1593
  */
1212
- addServiceSetUsingPost(addServiceSetUsingPostRequest) {
1594
+ addServiceSet(addServiceSetRequest) {
1213
1595
  const options = {
1214
1596
  method: "POST",
1215
1597
  url: "/v1/{project_id}/service-set",
@@ -1225,22 +1607,22 @@ const ParamCreater = function () {
1225
1607
  let projectId;
1226
1608
  let enterpriseProjectId;
1227
1609
  let fwInstanceId;
1228
- if (addServiceSetUsingPostRequest !== null && addServiceSetUsingPostRequest !== undefined) {
1229
- if (addServiceSetUsingPostRequest instanceof AddServiceSetUsingPostRequest_1.AddServiceSetUsingPostRequest) {
1230
- projectId = addServiceSetUsingPostRequest.projectId;
1231
- body = addServiceSetUsingPostRequest.body;
1232
- enterpriseProjectId = addServiceSetUsingPostRequest.enterpriseProjectId;
1233
- fwInstanceId = addServiceSetUsingPostRequest.fwInstanceId;
1610
+ if (addServiceSetRequest !== null && addServiceSetRequest !== undefined) {
1611
+ if (addServiceSetRequest instanceof AddServiceSetRequest_1.AddServiceSetRequest) {
1612
+ projectId = addServiceSetRequest.projectId;
1613
+ body = addServiceSetRequest.body;
1614
+ enterpriseProjectId = addServiceSetRequest.enterpriseProjectId;
1615
+ fwInstanceId = addServiceSetRequest.fwInstanceId;
1234
1616
  }
1235
1617
  else {
1236
- projectId = addServiceSetUsingPostRequest['project_id'];
1237
- body = addServiceSetUsingPostRequest['body'];
1238
- enterpriseProjectId = addServiceSetUsingPostRequest['enterprise_project_id'];
1239
- fwInstanceId = addServiceSetUsingPostRequest['fw_instance_id'];
1618
+ projectId = addServiceSetRequest['project_id'];
1619
+ body = addServiceSetRequest['body'];
1620
+ enterpriseProjectId = addServiceSetRequest['enterprise_project_id'];
1621
+ fwInstanceId = addServiceSetRequest['fw_instance_id'];
1240
1622
  }
1241
1623
  }
1242
1624
  if (projectId === null || projectId === undefined) {
1243
- throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling addServiceSetUsingPost.');
1625
+ throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling addServiceSet.');
1244
1626
  }
1245
1627
  if (body === null || body === undefined) {
1246
1628
  throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
@@ -1259,14 +1641,13 @@ const ParamCreater = function () {
1259
1641
  return options;
1260
1642
  },
1261
1643
  /**
1262
- * 东西向防护资源防护开启/关闭
1263
1644
  *
1264
1645
  * Please refer to HUAWEI cloud API Explorer for details.
1265
1646
  */
1266
- changeEwProtectStatus(changeEwProtectStatusRequest) {
1647
+ batchDeleteAddressItems(batchDeleteAddressItemsRequest) {
1267
1648
  const options = {
1268
- method: "POST",
1269
- url: "/v1/{project_id}/firewall/east-west/protect",
1649
+ method: "DELETE",
1650
+ url: "/v1/{project_id}/address-items",
1270
1651
  contentType: "application/json",
1271
1652
  queryParams: {},
1272
1653
  pathParams: {},
@@ -1279,22 +1660,22 @@ const ParamCreater = function () {
1279
1660
  let projectId;
1280
1661
  let enterpriseProjectId;
1281
1662
  let fwInstanceId;
1282
- if (changeEwProtectStatusRequest !== null && changeEwProtectStatusRequest !== undefined) {
1283
- if (changeEwProtectStatusRequest instanceof ChangeEwProtectStatusRequest_1.ChangeEwProtectStatusRequest) {
1284
- projectId = changeEwProtectStatusRequest.projectId;
1285
- body = changeEwProtectStatusRequest.body;
1286
- enterpriseProjectId = changeEwProtectStatusRequest.enterpriseProjectId;
1287
- fwInstanceId = changeEwProtectStatusRequest.fwInstanceId;
1663
+ if (batchDeleteAddressItemsRequest !== null && batchDeleteAddressItemsRequest !== undefined) {
1664
+ if (batchDeleteAddressItemsRequest instanceof BatchDeleteAddressItemsRequest_1.BatchDeleteAddressItemsRequest) {
1665
+ projectId = batchDeleteAddressItemsRequest.projectId;
1666
+ body = batchDeleteAddressItemsRequest.body;
1667
+ enterpriseProjectId = batchDeleteAddressItemsRequest.enterpriseProjectId;
1668
+ fwInstanceId = batchDeleteAddressItemsRequest.fwInstanceId;
1288
1669
  }
1289
1670
  else {
1290
- projectId = changeEwProtectStatusRequest['project_id'];
1291
- body = changeEwProtectStatusRequest['body'];
1292
- enterpriseProjectId = changeEwProtectStatusRequest['enterprise_project_id'];
1293
- fwInstanceId = changeEwProtectStatusRequest['fw_instance_id'];
1671
+ projectId = batchDeleteAddressItemsRequest['project_id'];
1672
+ body = batchDeleteAddressItemsRequest['body'];
1673
+ enterpriseProjectId = batchDeleteAddressItemsRequest['enterprise_project_id'];
1674
+ fwInstanceId = batchDeleteAddressItemsRequest['fw_instance_id'];
1294
1675
  }
1295
1676
  }
1296
1677
  if (projectId === null || projectId === undefined) {
1297
- throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling changeEwProtectStatus.');
1678
+ throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling batchDeleteAddressItems.');
1298
1679
  }
1299
1680
  if (body === null || body === undefined) {
1300
1681
  throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
@@ -1313,14 +1694,13 @@ const ParamCreater = function () {
1313
1694
  return options;
1314
1695
  },
1315
1696
  /**
1316
- * 切换防护模式
1317
1697
  *
1318
1698
  * Please refer to HUAWEI cloud API Explorer for details.
1319
1699
  */
1320
- changeIpsProtectModeUsingPost(changeIpsProtectModeUsingPostRequest) {
1700
+ batchDeleteServiceItems(batchDeleteServiceItemsRequest) {
1321
1701
  const options = {
1322
- method: "POST",
1323
- url: "/v1/{project_id}/ips/protect",
1702
+ method: "DELETE",
1703
+ url: "/v1/{project_id}/service-items",
1324
1704
  contentType: "application/json",
1325
1705
  queryParams: {},
1326
1706
  pathParams: {},
@@ -1333,22 +1713,22 @@ const ParamCreater = function () {
1333
1713
  let projectId;
1334
1714
  let enterpriseProjectId;
1335
1715
  let fwInstanceId;
1336
- if (changeIpsProtectModeUsingPostRequest !== null && changeIpsProtectModeUsingPostRequest !== undefined) {
1337
- if (changeIpsProtectModeUsingPostRequest instanceof ChangeIpsProtectModeUsingPostRequest_1.ChangeIpsProtectModeUsingPostRequest) {
1338
- projectId = changeIpsProtectModeUsingPostRequest.projectId;
1339
- body = changeIpsProtectModeUsingPostRequest.body;
1340
- enterpriseProjectId = changeIpsProtectModeUsingPostRequest.enterpriseProjectId;
1341
- fwInstanceId = changeIpsProtectModeUsingPostRequest.fwInstanceId;
1716
+ if (batchDeleteServiceItemsRequest !== null && batchDeleteServiceItemsRequest !== undefined) {
1717
+ if (batchDeleteServiceItemsRequest instanceof BatchDeleteServiceItemsRequest_1.BatchDeleteServiceItemsRequest) {
1718
+ projectId = batchDeleteServiceItemsRequest.projectId;
1719
+ body = batchDeleteServiceItemsRequest.body;
1720
+ enterpriseProjectId = batchDeleteServiceItemsRequest.enterpriseProjectId;
1721
+ fwInstanceId = batchDeleteServiceItemsRequest.fwInstanceId;
1342
1722
  }
1343
1723
  else {
1344
- projectId = changeIpsProtectModeUsingPostRequest['project_id'];
1345
- body = changeIpsProtectModeUsingPostRequest['body'];
1346
- enterpriseProjectId = changeIpsProtectModeUsingPostRequest['enterprise_project_id'];
1347
- fwInstanceId = changeIpsProtectModeUsingPostRequest['fw_instance_id'];
1724
+ projectId = batchDeleteServiceItemsRequest['project_id'];
1725
+ body = batchDeleteServiceItemsRequest['body'];
1726
+ enterpriseProjectId = batchDeleteServiceItemsRequest['enterprise_project_id'];
1727
+ fwInstanceId = batchDeleteServiceItemsRequest['fw_instance_id'];
1348
1728
  }
1349
1729
  }
1350
1730
  if (projectId === null || projectId === undefined) {
1351
- throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling changeIpsProtectModeUsingPost.');
1731
+ throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling batchDeleteServiceItems.');
1352
1732
  }
1353
1733
  if (body === null || body === undefined) {
1354
1734
  throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
@@ -1367,14 +1747,14 @@ const ParamCreater = function () {
1367
1747
  return options;
1368
1748
  },
1369
1749
  /**
1370
- * 清除规则击中次数
1750
+ * 东西向防护资源防护开启/关闭
1371
1751
  *
1372
1752
  * Please refer to HUAWEI cloud API Explorer for details.
1373
1753
  */
1374
- deleteAclRuleCount(deleteAclRuleCountRequest) {
1754
+ changeEastWestFirewallStatus(changeEastWestFirewallStatusRequest) {
1375
1755
  const options = {
1376
- method: "DELETE",
1377
- url: "/v1/{project_id}/acl-rule/count",
1756
+ method: "POST",
1757
+ url: "/v1/{project_id}/firewall/east-west/protect",
1378
1758
  contentType: "application/json",
1379
1759
  queryParams: {},
1380
1760
  pathParams: {},
@@ -1387,22 +1767,22 @@ const ParamCreater = function () {
1387
1767
  let projectId;
1388
1768
  let enterpriseProjectId;
1389
1769
  let fwInstanceId;
1390
- if (deleteAclRuleCountRequest !== null && deleteAclRuleCountRequest !== undefined) {
1391
- if (deleteAclRuleCountRequest instanceof DeleteAclRuleCountRequest_1.DeleteAclRuleCountRequest) {
1392
- projectId = deleteAclRuleCountRequest.projectId;
1393
- body = deleteAclRuleCountRequest.body;
1394
- enterpriseProjectId = deleteAclRuleCountRequest.enterpriseProjectId;
1395
- fwInstanceId = deleteAclRuleCountRequest.fwInstanceId;
1770
+ if (changeEastWestFirewallStatusRequest !== null && changeEastWestFirewallStatusRequest !== undefined) {
1771
+ if (changeEastWestFirewallStatusRequest instanceof ChangeEastWestFirewallStatusRequest_1.ChangeEastWestFirewallStatusRequest) {
1772
+ projectId = changeEastWestFirewallStatusRequest.projectId;
1773
+ body = changeEastWestFirewallStatusRequest.body;
1774
+ enterpriseProjectId = changeEastWestFirewallStatusRequest.enterpriseProjectId;
1775
+ fwInstanceId = changeEastWestFirewallStatusRequest.fwInstanceId;
1396
1776
  }
1397
1777
  else {
1398
- projectId = deleteAclRuleCountRequest['project_id'];
1399
- body = deleteAclRuleCountRequest['body'];
1400
- enterpriseProjectId = deleteAclRuleCountRequest['enterprise_project_id'];
1401
- fwInstanceId = deleteAclRuleCountRequest['fw_instance_id'];
1778
+ projectId = changeEastWestFirewallStatusRequest['project_id'];
1779
+ body = changeEastWestFirewallStatusRequest['body'];
1780
+ enterpriseProjectId = changeEastWestFirewallStatusRequest['enterprise_project_id'];
1781
+ fwInstanceId = changeEastWestFirewallStatusRequest['fw_instance_id'];
1402
1782
  }
1403
1783
  }
1404
1784
  if (projectId === null || projectId === undefined) {
1405
- throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling deleteAclRuleCount.');
1785
+ throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling changeEastWestFirewallStatus.');
1406
1786
  }
1407
1787
  if (body === null || body === undefined) {
1408
1788
  throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
@@ -1425,7 +1805,7 @@ const ParamCreater = function () {
1425
1805
  *
1426
1806
  * Please refer to HUAWEI cloud API Explorer for details.
1427
1807
  */
1428
- deleteAddressItemUsingDelete(deleteAddressItemUsingDeleteRequest) {
1808
+ deleteAddressItem(deleteAddressItemRequest) {
1429
1809
  const options = {
1430
1810
  method: "DELETE",
1431
1811
  url: "/v1/{project_id}/address-items/{item_id}",
@@ -1440,25 +1820,25 @@ const ParamCreater = function () {
1440
1820
  let projectId;
1441
1821
  let enterpriseProjectId;
1442
1822
  let fwInstanceId;
1443
- if (deleteAddressItemUsingDeleteRequest !== null && deleteAddressItemUsingDeleteRequest !== undefined) {
1444
- if (deleteAddressItemUsingDeleteRequest instanceof DeleteAddressItemUsingDeleteRequest_1.DeleteAddressItemUsingDeleteRequest) {
1445
- itemId = deleteAddressItemUsingDeleteRequest.itemId;
1446
- projectId = deleteAddressItemUsingDeleteRequest.projectId;
1447
- enterpriseProjectId = deleteAddressItemUsingDeleteRequest.enterpriseProjectId;
1448
- fwInstanceId = deleteAddressItemUsingDeleteRequest.fwInstanceId;
1823
+ if (deleteAddressItemRequest !== null && deleteAddressItemRequest !== undefined) {
1824
+ if (deleteAddressItemRequest instanceof DeleteAddressItemRequest_1.DeleteAddressItemRequest) {
1825
+ itemId = deleteAddressItemRequest.itemId;
1826
+ projectId = deleteAddressItemRequest.projectId;
1827
+ enterpriseProjectId = deleteAddressItemRequest.enterpriseProjectId;
1828
+ fwInstanceId = deleteAddressItemRequest.fwInstanceId;
1449
1829
  }
1450
1830
  else {
1451
- itemId = deleteAddressItemUsingDeleteRequest['item_id'];
1452
- projectId = deleteAddressItemUsingDeleteRequest['project_id'];
1453
- enterpriseProjectId = deleteAddressItemUsingDeleteRequest['enterprise_project_id'];
1454
- fwInstanceId = deleteAddressItemUsingDeleteRequest['fw_instance_id'];
1831
+ itemId = deleteAddressItemRequest['item_id'];
1832
+ projectId = deleteAddressItemRequest['project_id'];
1833
+ enterpriseProjectId = deleteAddressItemRequest['enterprise_project_id'];
1834
+ fwInstanceId = deleteAddressItemRequest['fw_instance_id'];
1455
1835
  }
1456
1836
  }
1457
1837
  if (itemId === null || itemId === undefined) {
1458
- throw new RequiredError('itemId', 'Required parameter itemId was null or undefined when calling deleteAddressItemUsingDelete.');
1838
+ throw new RequiredError('itemId', 'Required parameter itemId was null or undefined when calling deleteAddressItem.');
1459
1839
  }
1460
1840
  if (projectId === null || projectId === undefined) {
1461
- throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling deleteAddressItemUsingDelete.');
1841
+ throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling deleteAddressItem.');
1462
1842
  }
1463
1843
  if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
1464
1844
  localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
@@ -1476,7 +1856,7 @@ const ParamCreater = function () {
1476
1856
  *
1477
1857
  * Please refer to HUAWEI cloud API Explorer for details.
1478
1858
  */
1479
- deleteAddressSetInfoUsingDelete(deleteAddressSetInfoUsingDeleteRequest) {
1859
+ deleteAddressSet(deleteAddressSetRequest) {
1480
1860
  const options = {
1481
1861
  method: "DELETE",
1482
1862
  url: "/v1/{project_id}/address-sets/{set_id}",
@@ -1491,25 +1871,25 @@ const ParamCreater = function () {
1491
1871
  let setId;
1492
1872
  let enterpriseProjectId;
1493
1873
  let fwInstanceId;
1494
- if (deleteAddressSetInfoUsingDeleteRequest !== null && deleteAddressSetInfoUsingDeleteRequest !== undefined) {
1495
- if (deleteAddressSetInfoUsingDeleteRequest instanceof DeleteAddressSetInfoUsingDeleteRequest_1.DeleteAddressSetInfoUsingDeleteRequest) {
1496
- projectId = deleteAddressSetInfoUsingDeleteRequest.projectId;
1497
- setId = deleteAddressSetInfoUsingDeleteRequest.setId;
1498
- enterpriseProjectId = deleteAddressSetInfoUsingDeleteRequest.enterpriseProjectId;
1499
- fwInstanceId = deleteAddressSetInfoUsingDeleteRequest.fwInstanceId;
1874
+ if (deleteAddressSetRequest !== null && deleteAddressSetRequest !== undefined) {
1875
+ if (deleteAddressSetRequest instanceof DeleteAddressSetRequest_1.DeleteAddressSetRequest) {
1876
+ projectId = deleteAddressSetRequest.projectId;
1877
+ setId = deleteAddressSetRequest.setId;
1878
+ enterpriseProjectId = deleteAddressSetRequest.enterpriseProjectId;
1879
+ fwInstanceId = deleteAddressSetRequest.fwInstanceId;
1500
1880
  }
1501
1881
  else {
1502
- projectId = deleteAddressSetInfoUsingDeleteRequest['project_id'];
1503
- setId = deleteAddressSetInfoUsingDeleteRequest['set_id'];
1504
- enterpriseProjectId = deleteAddressSetInfoUsingDeleteRequest['enterprise_project_id'];
1505
- fwInstanceId = deleteAddressSetInfoUsingDeleteRequest['fw_instance_id'];
1882
+ projectId = deleteAddressSetRequest['project_id'];
1883
+ setId = deleteAddressSetRequest['set_id'];
1884
+ enterpriseProjectId = deleteAddressSetRequest['enterprise_project_id'];
1885
+ fwInstanceId = deleteAddressSetRequest['fw_instance_id'];
1506
1886
  }
1507
1887
  }
1508
1888
  if (projectId === null || projectId === undefined) {
1509
- throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling deleteAddressSetInfoUsingDelete.');
1889
+ throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling deleteAddressSet.');
1510
1890
  }
1511
1891
  if (setId === null || setId === undefined) {
1512
- throw new RequiredError('setId', 'Required parameter setId was null or undefined when calling deleteAddressSetInfoUsingDelete.');
1892
+ throw new RequiredError('setId', 'Required parameter setId was null or undefined when calling deleteAddressSet.');
1513
1893
  }
1514
1894
  if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
1515
1895
  localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
@@ -1527,7 +1907,7 @@ const ParamCreater = function () {
1527
1907
  *
1528
1908
  * Please refer to HUAWEI cloud API Explorer for details.
1529
1909
  */
1530
- deleteBlackWhiteListUsingDelete(deleteBlackWhiteListUsingDeleteRequest) {
1910
+ deleteBlackWhiteList(deleteBlackWhiteListRequest) {
1531
1911
  const options = {
1532
1912
  method: "DELETE",
1533
1913
  url: "/v1/{project_id}/black-white-list/{list_id}",
@@ -1542,25 +1922,25 @@ const ParamCreater = function () {
1542
1922
  let listId;
1543
1923
  let enterpriseProjectId;
1544
1924
  let fwInstanceId;
1545
- if (deleteBlackWhiteListUsingDeleteRequest !== null && deleteBlackWhiteListUsingDeleteRequest !== undefined) {
1546
- if (deleteBlackWhiteListUsingDeleteRequest instanceof DeleteBlackWhiteListUsingDeleteRequest_1.DeleteBlackWhiteListUsingDeleteRequest) {
1547
- projectId = deleteBlackWhiteListUsingDeleteRequest.projectId;
1548
- listId = deleteBlackWhiteListUsingDeleteRequest.listId;
1549
- enterpriseProjectId = deleteBlackWhiteListUsingDeleteRequest.enterpriseProjectId;
1550
- fwInstanceId = deleteBlackWhiteListUsingDeleteRequest.fwInstanceId;
1925
+ if (deleteBlackWhiteListRequest !== null && deleteBlackWhiteListRequest !== undefined) {
1926
+ if (deleteBlackWhiteListRequest instanceof DeleteBlackWhiteListRequest_1.DeleteBlackWhiteListRequest) {
1927
+ projectId = deleteBlackWhiteListRequest.projectId;
1928
+ listId = deleteBlackWhiteListRequest.listId;
1929
+ enterpriseProjectId = deleteBlackWhiteListRequest.enterpriseProjectId;
1930
+ fwInstanceId = deleteBlackWhiteListRequest.fwInstanceId;
1551
1931
  }
1552
1932
  else {
1553
- projectId = deleteBlackWhiteListUsingDeleteRequest['project_id'];
1554
- listId = deleteBlackWhiteListUsingDeleteRequest['list_id'];
1555
- enterpriseProjectId = deleteBlackWhiteListUsingDeleteRequest['enterprise_project_id'];
1556
- fwInstanceId = deleteBlackWhiteListUsingDeleteRequest['fw_instance_id'];
1933
+ projectId = deleteBlackWhiteListRequest['project_id'];
1934
+ listId = deleteBlackWhiteListRequest['list_id'];
1935
+ enterpriseProjectId = deleteBlackWhiteListRequest['enterprise_project_id'];
1936
+ fwInstanceId = deleteBlackWhiteListRequest['fw_instance_id'];
1557
1937
  }
1558
1938
  }
1559
1939
  if (projectId === null || projectId === undefined) {
1560
- throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling deleteBlackWhiteListUsingDelete.');
1940
+ throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling deleteBlackWhiteList.');
1561
1941
  }
1562
1942
  if (listId === null || listId === undefined) {
1563
- throw new RequiredError('listId', 'Required parameter listId was null or undefined when calling deleteBlackWhiteListUsingDelete.');
1943
+ throw new RequiredError('listId', 'Required parameter listId was null or undefined when calling deleteBlackWhiteList.');
1564
1944
  }
1565
1945
  if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
1566
1946
  localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
@@ -1574,14 +1954,13 @@ const ParamCreater = function () {
1574
1954
  return options;
1575
1955
  },
1576
1956
  /**
1577
- * 删除服务组成员
1578
1957
  *
1579
1958
  * Please refer to HUAWEI cloud API Explorer for details.
1580
1959
  */
1581
- deleteServiceItemUsingDelete(deleteServiceItemUsingDeleteRequest) {
1960
+ deleteDomainSet(deleteDomainSetRequest) {
1582
1961
  const options = {
1583
1962
  method: "DELETE",
1584
- url: "/v1/{project_id}/service-items/{item_id}",
1963
+ url: "/v1/{project_id}/domain-set/{set_id}",
1585
1964
  contentType: "application/json",
1586
1965
  queryParams: {},
1587
1966
  pathParams: {},
@@ -1590,100 +1969,97 @@ const ParamCreater = function () {
1590
1969
  const localVarHeaderParameter = {};
1591
1970
  const localVarQueryParameter = {};
1592
1971
  let projectId;
1593
- let itemId;
1594
- let enterpriseProjectId;
1972
+ let setId;
1595
1973
  let fwInstanceId;
1596
- if (deleteServiceItemUsingDeleteRequest !== null && deleteServiceItemUsingDeleteRequest !== undefined) {
1597
- if (deleteServiceItemUsingDeleteRequest instanceof DeleteServiceItemUsingDeleteRequest_1.DeleteServiceItemUsingDeleteRequest) {
1598
- projectId = deleteServiceItemUsingDeleteRequest.projectId;
1599
- itemId = deleteServiceItemUsingDeleteRequest.itemId;
1600
- enterpriseProjectId = deleteServiceItemUsingDeleteRequest.enterpriseProjectId;
1601
- fwInstanceId = deleteServiceItemUsingDeleteRequest.fwInstanceId;
1974
+ let enterpriseProjectId;
1975
+ if (deleteDomainSetRequest !== null && deleteDomainSetRequest !== undefined) {
1976
+ if (deleteDomainSetRequest instanceof DeleteDomainSetRequest_1.DeleteDomainSetRequest) {
1977
+ projectId = deleteDomainSetRequest.projectId;
1978
+ setId = deleteDomainSetRequest.setId;
1979
+ fwInstanceId = deleteDomainSetRequest.fwInstanceId;
1980
+ enterpriseProjectId = deleteDomainSetRequest.enterpriseProjectId;
1602
1981
  }
1603
1982
  else {
1604
- projectId = deleteServiceItemUsingDeleteRequest['project_id'];
1605
- itemId = deleteServiceItemUsingDeleteRequest['item_id'];
1606
- enterpriseProjectId = deleteServiceItemUsingDeleteRequest['enterprise_project_id'];
1607
- fwInstanceId = deleteServiceItemUsingDeleteRequest['fw_instance_id'];
1983
+ projectId = deleteDomainSetRequest['project_id'];
1984
+ setId = deleteDomainSetRequest['set_id'];
1985
+ fwInstanceId = deleteDomainSetRequest['fw_instance_id'];
1986
+ enterpriseProjectId = deleteDomainSetRequest['enterprise_project_id'];
1608
1987
  }
1609
1988
  }
1610
1989
  if (projectId === null || projectId === undefined) {
1611
- throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling deleteServiceItemUsingDelete.');
1990
+ throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling deleteDomainSet.');
1612
1991
  }
1613
- if (itemId === null || itemId === undefined) {
1614
- throw new RequiredError('itemId', 'Required parameter itemId was null or undefined when calling deleteServiceItemUsingDelete.');
1992
+ if (setId === null || setId === undefined) {
1993
+ throw new RequiredError('setId', 'Required parameter setId was null or undefined when calling deleteDomainSet.');
1615
1994
  }
1616
- if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
1617
- localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
1995
+ if (fwInstanceId === null || fwInstanceId === undefined) {
1996
+ throw new RequiredError('fwInstanceId', 'Required parameter fwInstanceId was null or undefined when calling deleteDomainSet.');
1618
1997
  }
1619
1998
  if (fwInstanceId !== null && fwInstanceId !== undefined) {
1620
1999
  localVarQueryParameter['fw_instance_id'] = fwInstanceId;
1621
2000
  }
2001
+ if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
2002
+ localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
2003
+ }
1622
2004
  options.queryParams = localVarQueryParameter;
1623
- options.pathParams = { 'project_id': projectId, 'item_id': itemId, };
2005
+ options.pathParams = { 'project_id': projectId, 'set_id': setId, };
1624
2006
  options.headers = localVarHeaderParameter;
1625
2007
  return options;
1626
2008
  },
1627
2009
  /**
1628
- * 删除服务组
2010
+ * 删除域名列表
1629
2011
  *
1630
2012
  * Please refer to HUAWEI cloud API Explorer for details.
1631
2013
  */
1632
- deleteServiceSetUsingDelete(deleteServiceSetUsingDeleteRequest) {
2014
+ deleteDomains(deleteDomainsRequest) {
1633
2015
  const options = {
1634
2016
  method: "DELETE",
1635
- url: "/v1/{project_id}/service-sets/{set_id}",
2017
+ url: "/v1/{project_id}/domain-set/domains",
1636
2018
  contentType: "application/json",
1637
2019
  queryParams: {},
1638
2020
  pathParams: {},
1639
- headers: {}
2021
+ headers: {},
2022
+ data: {}
1640
2023
  };
1641
2024
  const localVarHeaderParameter = {};
1642
2025
  const localVarQueryParameter = {};
2026
+ let body;
1643
2027
  let projectId;
1644
- let setId;
1645
2028
  let enterpriseProjectId;
1646
- let fwInstanceId;
1647
- if (deleteServiceSetUsingDeleteRequest !== null && deleteServiceSetUsingDeleteRequest !== undefined) {
1648
- if (deleteServiceSetUsingDeleteRequest instanceof DeleteServiceSetUsingDeleteRequest_1.DeleteServiceSetUsingDeleteRequest) {
1649
- projectId = deleteServiceSetUsingDeleteRequest.projectId;
1650
- setId = deleteServiceSetUsingDeleteRequest.setId;
1651
- enterpriseProjectId = deleteServiceSetUsingDeleteRequest.enterpriseProjectId;
1652
- fwInstanceId = deleteServiceSetUsingDeleteRequest.fwInstanceId;
2029
+ if (deleteDomainsRequest !== null && deleteDomainsRequest !== undefined) {
2030
+ if (deleteDomainsRequest instanceof DeleteDomainsRequest_1.DeleteDomainsRequest) {
2031
+ projectId = deleteDomainsRequest.projectId;
2032
+ enterpriseProjectId = deleteDomainsRequest.enterpriseProjectId;
2033
+ body = deleteDomainsRequest.body;
1653
2034
  }
1654
2035
  else {
1655
- projectId = deleteServiceSetUsingDeleteRequest['project_id'];
1656
- setId = deleteServiceSetUsingDeleteRequest['set_id'];
1657
- enterpriseProjectId = deleteServiceSetUsingDeleteRequest['enterprise_project_id'];
1658
- fwInstanceId = deleteServiceSetUsingDeleteRequest['fw_instance_id'];
2036
+ projectId = deleteDomainsRequest['project_id'];
2037
+ enterpriseProjectId = deleteDomainsRequest['enterprise_project_id'];
2038
+ body = deleteDomainsRequest['body'];
1659
2039
  }
1660
2040
  }
1661
2041
  if (projectId === null || projectId === undefined) {
1662
- throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling deleteServiceSetUsingDelete.');
1663
- }
1664
- if (setId === null || setId === undefined) {
1665
- throw new RequiredError('setId', 'Required parameter setId was null or undefined when calling deleteServiceSetUsingDelete.');
2042
+ throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling deleteDomains.');
1666
2043
  }
1667
2044
  if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
1668
2045
  localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
1669
2046
  }
1670
- if (fwInstanceId !== null && fwInstanceId !== undefined) {
1671
- localVarQueryParameter['fw_instance_id'] = fwInstanceId;
1672
- }
2047
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2048
+ options.data = body !== undefined ? body : {};
1673
2049
  options.queryParams = localVarQueryParameter;
1674
- options.pathParams = { 'project_id': projectId, 'set_id': setId, };
2050
+ options.pathParams = { 'project_id': projectId, };
1675
2051
  options.headers = localVarHeaderParameter;
1676
2052
  return options;
1677
2053
  },
1678
2054
  /**
1679
- * 查询访问控制日志
2055
+ * 删除服务组成员
1680
2056
  *
1681
2057
  * Please refer to HUAWEI cloud API Explorer for details.
1682
2058
  */
1683
- listAccessControlLogs(listAccessControlLogsRequest) {
2059
+ deleteServiceItem(deleteServiceItemRequest) {
1684
2060
  const options = {
1685
- method: "GET",
1686
- url: "/v1/{project_id}/cfw/logs/access-control",
2061
+ method: "DELETE",
2062
+ url: "/v1/{project_id}/service-items/{item_id}",
1687
2063
  contentType: "application/json",
1688
2064
  queryParams: {},
1689
2065
  pathParams: {},
@@ -1692,10 +2068,112 @@ const ParamCreater = function () {
1692
2068
  const localVarHeaderParameter = {};
1693
2069
  const localVarQueryParameter = {};
1694
2070
  let projectId;
2071
+ let itemId;
2072
+ let enterpriseProjectId;
1695
2073
  let fwInstanceId;
1696
- let startTime;
1697
- let endTime;
1698
- let limit;
2074
+ if (deleteServiceItemRequest !== null && deleteServiceItemRequest !== undefined) {
2075
+ if (deleteServiceItemRequest instanceof DeleteServiceItemRequest_1.DeleteServiceItemRequest) {
2076
+ projectId = deleteServiceItemRequest.projectId;
2077
+ itemId = deleteServiceItemRequest.itemId;
2078
+ enterpriseProjectId = deleteServiceItemRequest.enterpriseProjectId;
2079
+ fwInstanceId = deleteServiceItemRequest.fwInstanceId;
2080
+ }
2081
+ else {
2082
+ projectId = deleteServiceItemRequest['project_id'];
2083
+ itemId = deleteServiceItemRequest['item_id'];
2084
+ enterpriseProjectId = deleteServiceItemRequest['enterprise_project_id'];
2085
+ fwInstanceId = deleteServiceItemRequest['fw_instance_id'];
2086
+ }
2087
+ }
2088
+ if (projectId === null || projectId === undefined) {
2089
+ throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling deleteServiceItem.');
2090
+ }
2091
+ if (itemId === null || itemId === undefined) {
2092
+ throw new RequiredError('itemId', 'Required parameter itemId was null or undefined when calling deleteServiceItem.');
2093
+ }
2094
+ if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
2095
+ localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
2096
+ }
2097
+ if (fwInstanceId !== null && fwInstanceId !== undefined) {
2098
+ localVarQueryParameter['fw_instance_id'] = fwInstanceId;
2099
+ }
2100
+ options.queryParams = localVarQueryParameter;
2101
+ options.pathParams = { 'project_id': projectId, 'item_id': itemId, };
2102
+ options.headers = localVarHeaderParameter;
2103
+ return options;
2104
+ },
2105
+ /**
2106
+ * 删除服务组
2107
+ *
2108
+ * Please refer to HUAWEI cloud API Explorer for details.
2109
+ */
2110
+ deleteServiceSet(deleteServiceSetRequest) {
2111
+ const options = {
2112
+ method: "DELETE",
2113
+ url: "/v1/{project_id}/service-sets/{set_id}",
2114
+ contentType: "application/json",
2115
+ queryParams: {},
2116
+ pathParams: {},
2117
+ headers: {}
2118
+ };
2119
+ const localVarHeaderParameter = {};
2120
+ const localVarQueryParameter = {};
2121
+ let projectId;
2122
+ let setId;
2123
+ let enterpriseProjectId;
2124
+ let fwInstanceId;
2125
+ if (deleteServiceSetRequest !== null && deleteServiceSetRequest !== undefined) {
2126
+ if (deleteServiceSetRequest instanceof DeleteServiceSetRequest_1.DeleteServiceSetRequest) {
2127
+ projectId = deleteServiceSetRequest.projectId;
2128
+ setId = deleteServiceSetRequest.setId;
2129
+ enterpriseProjectId = deleteServiceSetRequest.enterpriseProjectId;
2130
+ fwInstanceId = deleteServiceSetRequest.fwInstanceId;
2131
+ }
2132
+ else {
2133
+ projectId = deleteServiceSetRequest['project_id'];
2134
+ setId = deleteServiceSetRequest['set_id'];
2135
+ enterpriseProjectId = deleteServiceSetRequest['enterprise_project_id'];
2136
+ fwInstanceId = deleteServiceSetRequest['fw_instance_id'];
2137
+ }
2138
+ }
2139
+ if (projectId === null || projectId === undefined) {
2140
+ throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling deleteServiceSet.');
2141
+ }
2142
+ if (setId === null || setId === undefined) {
2143
+ throw new RequiredError('setId', 'Required parameter setId was null or undefined when calling deleteServiceSet.');
2144
+ }
2145
+ if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
2146
+ localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
2147
+ }
2148
+ if (fwInstanceId !== null && fwInstanceId !== undefined) {
2149
+ localVarQueryParameter['fw_instance_id'] = fwInstanceId;
2150
+ }
2151
+ options.queryParams = localVarQueryParameter;
2152
+ options.pathParams = { 'project_id': projectId, 'set_id': setId, };
2153
+ options.headers = localVarHeaderParameter;
2154
+ return options;
2155
+ },
2156
+ /**
2157
+ * 查询访问控制日志
2158
+ *
2159
+ * Please refer to HUAWEI cloud API Explorer for details.
2160
+ */
2161
+ listAccessControlLogs(listAccessControlLogsRequest) {
2162
+ const options = {
2163
+ method: "GET",
2164
+ url: "/v1/{project_id}/cfw/logs/access-control",
2165
+ contentType: "application/json",
2166
+ queryParams: {},
2167
+ pathParams: {},
2168
+ headers: {}
2169
+ };
2170
+ const localVarHeaderParameter = {};
2171
+ const localVarQueryParameter = {};
2172
+ let projectId;
2173
+ let fwInstanceId;
2174
+ let startTime;
2175
+ let endTime;
2176
+ let limit;
1699
2177
  let ruleId;
1700
2178
  let srcIp;
1701
2179
  let srcPort;
@@ -1708,6 +2186,9 @@ const ParamCreater = function () {
1708
2186
  let offset;
1709
2187
  let logType;
1710
2188
  let enterpriseProjectId;
2189
+ let dstHost;
2190
+ let ruleName;
2191
+ let action;
1711
2192
  if (listAccessControlLogsRequest !== null && listAccessControlLogsRequest !== undefined) {
1712
2193
  if (listAccessControlLogsRequest instanceof ListAccessControlLogsRequest_1.ListAccessControlLogsRequest) {
1713
2194
  projectId = listAccessControlLogsRequest.projectId;
@@ -1727,6 +2208,9 @@ const ParamCreater = function () {
1727
2208
  offset = listAccessControlLogsRequest.offset;
1728
2209
  logType = listAccessControlLogsRequest.logType;
1729
2210
  enterpriseProjectId = listAccessControlLogsRequest.enterpriseProjectId;
2211
+ dstHost = listAccessControlLogsRequest.dstHost;
2212
+ ruleName = listAccessControlLogsRequest.ruleName;
2213
+ action = listAccessControlLogsRequest.action;
1730
2214
  }
1731
2215
  else {
1732
2216
  projectId = listAccessControlLogsRequest['project_id'];
@@ -1746,6 +2230,9 @@ const ParamCreater = function () {
1746
2230
  offset = listAccessControlLogsRequest['offset'];
1747
2231
  logType = listAccessControlLogsRequest['log_type'];
1748
2232
  enterpriseProjectId = listAccessControlLogsRequest['enterprise_project_id'];
2233
+ dstHost = listAccessControlLogsRequest['dst_host'];
2234
+ ruleName = listAccessControlLogsRequest['rule_name'];
2235
+ action = listAccessControlLogsRequest['action'];
1749
2236
  }
1750
2237
  }
1751
2238
  if (projectId === null || projectId === undefined) {
@@ -1811,6 +2298,15 @@ const ParamCreater = function () {
1811
2298
  if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
1812
2299
  localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
1813
2300
  }
2301
+ if (dstHost !== null && dstHost !== undefined) {
2302
+ localVarQueryParameter['dst_host'] = dstHost;
2303
+ }
2304
+ if (ruleName !== null && ruleName !== undefined) {
2305
+ localVarQueryParameter['rule_name'] = ruleName;
2306
+ }
2307
+ if (action !== null && action !== undefined) {
2308
+ localVarQueryParameter['action'] = action;
2309
+ }
1814
2310
  options.queryParams = localVarQueryParameter;
1815
2311
  options.pathParams = { 'project_id': projectId, };
1816
2312
  options.headers = localVarHeaderParameter;
@@ -1821,7 +2317,7 @@ const ParamCreater = function () {
1821
2317
  *
1822
2318
  * Please refer to HUAWEI cloud API Explorer for details.
1823
2319
  */
1824
- listAddressItemsUsingGet(listAddressItemsUsingGetRequest) {
2320
+ listAddressItems(listAddressItemsRequest) {
1825
2321
  const options = {
1826
2322
  method: "GET",
1827
2323
  url: "/v1/{project_id}/address-items",
@@ -1840,45 +2336,45 @@ const ParamCreater = function () {
1840
2336
  let address;
1841
2337
  let enterpriseProjectId;
1842
2338
  let fwInstanceId;
1843
- if (listAddressItemsUsingGetRequest !== null && listAddressItemsUsingGetRequest !== undefined) {
1844
- if (listAddressItemsUsingGetRequest instanceof ListAddressItemsUsingGetRequest_1.ListAddressItemsUsingGetRequest) {
1845
- projectId = listAddressItemsUsingGetRequest.projectId;
1846
- setId = listAddressItemsUsingGetRequest.setId;
1847
- limit = listAddressItemsUsingGetRequest.limit;
1848
- offset = listAddressItemsUsingGetRequest.offset;
1849
- keyWord = listAddressItemsUsingGetRequest.keyWord;
1850
- address = listAddressItemsUsingGetRequest.address;
1851
- enterpriseProjectId = listAddressItemsUsingGetRequest.enterpriseProjectId;
1852
- fwInstanceId = listAddressItemsUsingGetRequest.fwInstanceId;
2339
+ if (listAddressItemsRequest !== null && listAddressItemsRequest !== undefined) {
2340
+ if (listAddressItemsRequest instanceof ListAddressItemsRequest_1.ListAddressItemsRequest) {
2341
+ projectId = listAddressItemsRequest.projectId;
2342
+ setId = listAddressItemsRequest.setId;
2343
+ limit = listAddressItemsRequest.limit;
2344
+ offset = listAddressItemsRequest.offset;
2345
+ keyWord = listAddressItemsRequest.keyWord;
2346
+ address = listAddressItemsRequest.address;
2347
+ enterpriseProjectId = listAddressItemsRequest.enterpriseProjectId;
2348
+ fwInstanceId = listAddressItemsRequest.fwInstanceId;
1853
2349
  }
1854
2350
  else {
1855
- projectId = listAddressItemsUsingGetRequest['project_id'];
1856
- setId = listAddressItemsUsingGetRequest['set_id'];
1857
- limit = listAddressItemsUsingGetRequest['limit'];
1858
- offset = listAddressItemsUsingGetRequest['offset'];
1859
- keyWord = listAddressItemsUsingGetRequest['key_word'];
1860
- address = listAddressItemsUsingGetRequest['address'];
1861
- enterpriseProjectId = listAddressItemsUsingGetRequest['enterprise_project_id'];
1862
- fwInstanceId = listAddressItemsUsingGetRequest['fw_instance_id'];
2351
+ projectId = listAddressItemsRequest['project_id'];
2352
+ setId = listAddressItemsRequest['set_id'];
2353
+ limit = listAddressItemsRequest['limit'];
2354
+ offset = listAddressItemsRequest['offset'];
2355
+ keyWord = listAddressItemsRequest['key_word'];
2356
+ address = listAddressItemsRequest['address'];
2357
+ enterpriseProjectId = listAddressItemsRequest['enterprise_project_id'];
2358
+ fwInstanceId = listAddressItemsRequest['fw_instance_id'];
1863
2359
  }
1864
2360
  }
1865
2361
  if (projectId === null || projectId === undefined) {
1866
- throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listAddressItemsUsingGet.');
2362
+ throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listAddressItems.');
1867
2363
  }
1868
2364
  if (setId === null || setId === undefined) {
1869
- throw new RequiredError('setId', 'Required parameter setId was null or undefined when calling listAddressItemsUsingGet.');
2365
+ throw new RequiredError('setId', 'Required parameter setId was null or undefined when calling listAddressItems.');
1870
2366
  }
1871
2367
  if (setId !== null && setId !== undefined) {
1872
2368
  localVarQueryParameter['set_id'] = setId;
1873
2369
  }
1874
2370
  if (limit === null || limit === undefined) {
1875
- throw new RequiredError('limit', 'Required parameter limit was null or undefined when calling listAddressItemsUsingGet.');
2371
+ throw new RequiredError('limit', 'Required parameter limit was null or undefined when calling listAddressItems.');
1876
2372
  }
1877
2373
  if (limit !== null && limit !== undefined) {
1878
2374
  localVarQueryParameter['limit'] = limit;
1879
2375
  }
1880
2376
  if (offset === null || offset === undefined) {
1881
- throw new RequiredError('offset', 'Required parameter offset was null or undefined when calling listAddressItemsUsingGet.');
2377
+ throw new RequiredError('offset', 'Required parameter offset was null or undefined when calling listAddressItems.');
1882
2378
  }
1883
2379
  if (offset !== null && offset !== undefined) {
1884
2380
  localVarQueryParameter['offset'] = offset;
@@ -1905,7 +2401,7 @@ const ParamCreater = function () {
1905
2401
  *
1906
2402
  * Please refer to HUAWEI cloud API Explorer for details.
1907
2403
  */
1908
- listAddressSetDetailUsingGet(listAddressSetDetailUsingGetRequest) {
2404
+ listAddressSetDetail(listAddressSetDetailRequest) {
1909
2405
  const options = {
1910
2406
  method: "GET",
1911
2407
  url: "/v1/{project_id}/address-sets/{set_id}",
@@ -1920,25 +2416,25 @@ const ParamCreater = function () {
1920
2416
  let setId;
1921
2417
  let enterpriseProjectId;
1922
2418
  let fwInstanceId;
1923
- if (listAddressSetDetailUsingGetRequest !== null && listAddressSetDetailUsingGetRequest !== undefined) {
1924
- if (listAddressSetDetailUsingGetRequest instanceof ListAddressSetDetailUsingGetRequest_1.ListAddressSetDetailUsingGetRequest) {
1925
- projectId = listAddressSetDetailUsingGetRequest.projectId;
1926
- setId = listAddressSetDetailUsingGetRequest.setId;
1927
- enterpriseProjectId = listAddressSetDetailUsingGetRequest.enterpriseProjectId;
1928
- fwInstanceId = listAddressSetDetailUsingGetRequest.fwInstanceId;
2419
+ if (listAddressSetDetailRequest !== null && listAddressSetDetailRequest !== undefined) {
2420
+ if (listAddressSetDetailRequest instanceof ListAddressSetDetailRequest_1.ListAddressSetDetailRequest) {
2421
+ projectId = listAddressSetDetailRequest.projectId;
2422
+ setId = listAddressSetDetailRequest.setId;
2423
+ enterpriseProjectId = listAddressSetDetailRequest.enterpriseProjectId;
2424
+ fwInstanceId = listAddressSetDetailRequest.fwInstanceId;
1929
2425
  }
1930
2426
  else {
1931
- projectId = listAddressSetDetailUsingGetRequest['project_id'];
1932
- setId = listAddressSetDetailUsingGetRequest['set_id'];
1933
- enterpriseProjectId = listAddressSetDetailUsingGetRequest['enterprise_project_id'];
1934
- fwInstanceId = listAddressSetDetailUsingGetRequest['fw_instance_id'];
2427
+ projectId = listAddressSetDetailRequest['project_id'];
2428
+ setId = listAddressSetDetailRequest['set_id'];
2429
+ enterpriseProjectId = listAddressSetDetailRequest['enterprise_project_id'];
2430
+ fwInstanceId = listAddressSetDetailRequest['fw_instance_id'];
1935
2431
  }
1936
2432
  }
1937
2433
  if (projectId === null || projectId === undefined) {
1938
- throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listAddressSetDetailUsingGet.');
2434
+ throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listAddressSetDetail.');
1939
2435
  }
1940
2436
  if (setId === null || setId === undefined) {
1941
- throw new RequiredError('setId', 'Required parameter setId was null or undefined when calling listAddressSetDetailUsingGet.');
2437
+ throw new RequiredError('setId', 'Required parameter setId was null or undefined when calling listAddressSetDetail.');
1942
2438
  }
1943
2439
  if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
1944
2440
  localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
@@ -1956,7 +2452,7 @@ const ParamCreater = function () {
1956
2452
  *
1957
2453
  * Please refer to HUAWEI cloud API Explorer for details.
1958
2454
  */
1959
- listAddressSetListUsingGet(listAddressSetListUsingGetRequest) {
2455
+ listAddressSets(listAddressSetsRequest) {
1960
2456
  const options = {
1961
2457
  method: "GET",
1962
2458
  url: "/v1/{project_id}/address-sets",
@@ -1976,47 +2472,47 @@ const ParamCreater = function () {
1976
2472
  let addressType;
1977
2473
  let enterpriseProjectId;
1978
2474
  let fwInstanceId;
1979
- if (listAddressSetListUsingGetRequest !== null && listAddressSetListUsingGetRequest !== undefined) {
1980
- if (listAddressSetListUsingGetRequest instanceof ListAddressSetListUsingGetRequest_1.ListAddressSetListUsingGetRequest) {
1981
- projectId = listAddressSetListUsingGetRequest.projectId;
1982
- objectId = listAddressSetListUsingGetRequest.objectId;
1983
- limit = listAddressSetListUsingGetRequest.limit;
1984
- offset = listAddressSetListUsingGetRequest.offset;
1985
- keyWord = listAddressSetListUsingGetRequest.keyWord;
1986
- address = listAddressSetListUsingGetRequest.address;
1987
- addressType = listAddressSetListUsingGetRequest.addressType;
1988
- enterpriseProjectId = listAddressSetListUsingGetRequest.enterpriseProjectId;
1989
- fwInstanceId = listAddressSetListUsingGetRequest.fwInstanceId;
2475
+ if (listAddressSetsRequest !== null && listAddressSetsRequest !== undefined) {
2476
+ if (listAddressSetsRequest instanceof ListAddressSetsRequest_1.ListAddressSetsRequest) {
2477
+ projectId = listAddressSetsRequest.projectId;
2478
+ objectId = listAddressSetsRequest.objectId;
2479
+ limit = listAddressSetsRequest.limit;
2480
+ offset = listAddressSetsRequest.offset;
2481
+ keyWord = listAddressSetsRequest.keyWord;
2482
+ address = listAddressSetsRequest.address;
2483
+ addressType = listAddressSetsRequest.addressType;
2484
+ enterpriseProjectId = listAddressSetsRequest.enterpriseProjectId;
2485
+ fwInstanceId = listAddressSetsRequest.fwInstanceId;
1990
2486
  }
1991
2487
  else {
1992
- projectId = listAddressSetListUsingGetRequest['project_id'];
1993
- objectId = listAddressSetListUsingGetRequest['object_id'];
1994
- limit = listAddressSetListUsingGetRequest['limit'];
1995
- offset = listAddressSetListUsingGetRequest['offset'];
1996
- keyWord = listAddressSetListUsingGetRequest['key_word'];
1997
- address = listAddressSetListUsingGetRequest['address'];
1998
- addressType = listAddressSetListUsingGetRequest['address_type'];
1999
- enterpriseProjectId = listAddressSetListUsingGetRequest['enterprise_project_id'];
2000
- fwInstanceId = listAddressSetListUsingGetRequest['fw_instance_id'];
2488
+ projectId = listAddressSetsRequest['project_id'];
2489
+ objectId = listAddressSetsRequest['object_id'];
2490
+ limit = listAddressSetsRequest['limit'];
2491
+ offset = listAddressSetsRequest['offset'];
2492
+ keyWord = listAddressSetsRequest['key_word'];
2493
+ address = listAddressSetsRequest['address'];
2494
+ addressType = listAddressSetsRequest['address_type'];
2495
+ enterpriseProjectId = listAddressSetsRequest['enterprise_project_id'];
2496
+ fwInstanceId = listAddressSetsRequest['fw_instance_id'];
2001
2497
  }
2002
2498
  }
2003
2499
  if (projectId === null || projectId === undefined) {
2004
- throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listAddressSetListUsingGet.');
2500
+ throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listAddressSets.');
2005
2501
  }
2006
2502
  if (objectId === null || objectId === undefined) {
2007
- throw new RequiredError('objectId', 'Required parameter objectId was null or undefined when calling listAddressSetListUsingGet.');
2503
+ throw new RequiredError('objectId', 'Required parameter objectId was null or undefined when calling listAddressSets.');
2008
2504
  }
2009
2505
  if (objectId !== null && objectId !== undefined) {
2010
2506
  localVarQueryParameter['object_id'] = objectId;
2011
2507
  }
2012
2508
  if (limit === null || limit === undefined) {
2013
- throw new RequiredError('limit', 'Required parameter limit was null or undefined when calling listAddressSetListUsingGet.');
2509
+ throw new RequiredError('limit', 'Required parameter limit was null or undefined when calling listAddressSets.');
2014
2510
  }
2015
2511
  if (limit !== null && limit !== undefined) {
2016
2512
  localVarQueryParameter['limit'] = limit;
2017
2513
  }
2018
2514
  if (offset === null || offset === undefined) {
2019
- throw new RequiredError('offset', 'Required parameter offset was null or undefined when calling listAddressSetListUsingGet.');
2515
+ throw new RequiredError('offset', 'Required parameter offset was null or undefined when calling listAddressSets.');
2020
2516
  }
2021
2517
  if (offset !== null && offset !== undefined) {
2022
2518
  localVarQueryParameter['offset'] = offset;
@@ -2078,6 +2574,8 @@ const ParamCreater = function () {
2078
2574
  let level;
2079
2575
  let source;
2080
2576
  let enterpriseProjectId;
2577
+ let dstHost;
2578
+ let logType;
2081
2579
  if (listAttackLogsRequest !== null && listAttackLogsRequest !== undefined) {
2082
2580
  if (listAttackLogsRequest instanceof ListAttackLogsRequest_1.ListAttackLogsRequest) {
2083
2581
  projectId = listAttackLogsRequest.projectId;
@@ -2101,6 +2599,8 @@ const ParamCreater = function () {
2101
2599
  level = listAttackLogsRequest.level;
2102
2600
  source = listAttackLogsRequest.source;
2103
2601
  enterpriseProjectId = listAttackLogsRequest.enterpriseProjectId;
2602
+ dstHost = listAttackLogsRequest.dstHost;
2603
+ logType = listAttackLogsRequest.logType;
2104
2604
  }
2105
2605
  else {
2106
2606
  projectId = listAttackLogsRequest['project_id'];
@@ -2124,6 +2624,8 @@ const ParamCreater = function () {
2124
2624
  level = listAttackLogsRequest['level'];
2125
2625
  source = listAttackLogsRequest['source'];
2126
2626
  enterpriseProjectId = listAttackLogsRequest['enterprise_project_id'];
2627
+ dstHost = listAttackLogsRequest['dst_host'];
2628
+ logType = listAttackLogsRequest['log_type'];
2127
2629
  }
2128
2630
  }
2129
2631
  if (projectId === null || projectId === undefined) {
@@ -2201,6 +2703,12 @@ const ParamCreater = function () {
2201
2703
  if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
2202
2704
  localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
2203
2705
  }
2706
+ if (dstHost !== null && dstHost !== undefined) {
2707
+ localVarQueryParameter['dst_host'] = dstHost;
2708
+ }
2709
+ if (logType !== null && logType !== undefined) {
2710
+ localVarQueryParameter['log_type'] = logType;
2711
+ }
2204
2712
  options.queryParams = localVarQueryParameter;
2205
2713
  options.pathParams = { 'project_id': projectId, };
2206
2714
  options.headers = localVarHeaderParameter;
@@ -2211,7 +2719,7 @@ const ParamCreater = function () {
2211
2719
  *
2212
2720
  * Please refer to HUAWEI cloud API Explorer for details.
2213
2721
  */
2214
- listBlackWhiteListsUsingGet(listBlackWhiteListsUsingGetRequest) {
2722
+ listBlackWhiteLists(listBlackWhiteListsRequest) {
2215
2723
  const options = {
2216
2724
  method: "GET",
2217
2725
  url: "/v1/{project_id}/black-white-lists",
@@ -2232,55 +2740,55 @@ const ParamCreater = function () {
2232
2740
  let port;
2233
2741
  let enterpriseProjectId;
2234
2742
  let fwInstanceId;
2235
- if (listBlackWhiteListsUsingGetRequest !== null && listBlackWhiteListsUsingGetRequest !== undefined) {
2236
- if (listBlackWhiteListsUsingGetRequest instanceof ListBlackWhiteListsUsingGetRequest_1.ListBlackWhiteListsUsingGetRequest) {
2237
- projectId = listBlackWhiteListsUsingGetRequest.projectId;
2238
- objectId = listBlackWhiteListsUsingGetRequest.objectId;
2239
- listType = listBlackWhiteListsUsingGetRequest.listType;
2240
- limit = listBlackWhiteListsUsingGetRequest.limit;
2241
- offset = listBlackWhiteListsUsingGetRequest.offset;
2242
- addressType = listBlackWhiteListsUsingGetRequest.addressType;
2243
- address = listBlackWhiteListsUsingGetRequest.address;
2244
- port = listBlackWhiteListsUsingGetRequest.port;
2245
- enterpriseProjectId = listBlackWhiteListsUsingGetRequest.enterpriseProjectId;
2246
- fwInstanceId = listBlackWhiteListsUsingGetRequest.fwInstanceId;
2743
+ if (listBlackWhiteListsRequest !== null && listBlackWhiteListsRequest !== undefined) {
2744
+ if (listBlackWhiteListsRequest instanceof ListBlackWhiteListsRequest_1.ListBlackWhiteListsRequest) {
2745
+ projectId = listBlackWhiteListsRequest.projectId;
2746
+ objectId = listBlackWhiteListsRequest.objectId;
2747
+ listType = listBlackWhiteListsRequest.listType;
2748
+ limit = listBlackWhiteListsRequest.limit;
2749
+ offset = listBlackWhiteListsRequest.offset;
2750
+ addressType = listBlackWhiteListsRequest.addressType;
2751
+ address = listBlackWhiteListsRequest.address;
2752
+ port = listBlackWhiteListsRequest.port;
2753
+ enterpriseProjectId = listBlackWhiteListsRequest.enterpriseProjectId;
2754
+ fwInstanceId = listBlackWhiteListsRequest.fwInstanceId;
2247
2755
  }
2248
2756
  else {
2249
- projectId = listBlackWhiteListsUsingGetRequest['project_id'];
2250
- objectId = listBlackWhiteListsUsingGetRequest['object_id'];
2251
- listType = listBlackWhiteListsUsingGetRequest['list_type'];
2252
- limit = listBlackWhiteListsUsingGetRequest['limit'];
2253
- offset = listBlackWhiteListsUsingGetRequest['offset'];
2254
- addressType = listBlackWhiteListsUsingGetRequest['address_type'];
2255
- address = listBlackWhiteListsUsingGetRequest['address'];
2256
- port = listBlackWhiteListsUsingGetRequest['port'];
2257
- enterpriseProjectId = listBlackWhiteListsUsingGetRequest['enterprise_project_id'];
2258
- fwInstanceId = listBlackWhiteListsUsingGetRequest['fw_instance_id'];
2757
+ projectId = listBlackWhiteListsRequest['project_id'];
2758
+ objectId = listBlackWhiteListsRequest['object_id'];
2759
+ listType = listBlackWhiteListsRequest['list_type'];
2760
+ limit = listBlackWhiteListsRequest['limit'];
2761
+ offset = listBlackWhiteListsRequest['offset'];
2762
+ addressType = listBlackWhiteListsRequest['address_type'];
2763
+ address = listBlackWhiteListsRequest['address'];
2764
+ port = listBlackWhiteListsRequest['port'];
2765
+ enterpriseProjectId = listBlackWhiteListsRequest['enterprise_project_id'];
2766
+ fwInstanceId = listBlackWhiteListsRequest['fw_instance_id'];
2259
2767
  }
2260
2768
  }
2261
2769
  if (projectId === null || projectId === undefined) {
2262
- throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listBlackWhiteListsUsingGet.');
2770
+ throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listBlackWhiteLists.');
2263
2771
  }
2264
2772
  if (objectId === null || objectId === undefined) {
2265
- throw new RequiredError('objectId', 'Required parameter objectId was null or undefined when calling listBlackWhiteListsUsingGet.');
2773
+ throw new RequiredError('objectId', 'Required parameter objectId was null or undefined when calling listBlackWhiteLists.');
2266
2774
  }
2267
2775
  if (objectId !== null && objectId !== undefined) {
2268
2776
  localVarQueryParameter['object_id'] = objectId;
2269
2777
  }
2270
2778
  if (listType === null || listType === undefined) {
2271
- throw new RequiredError('listType', 'Required parameter listType was null or undefined when calling listBlackWhiteListsUsingGet.');
2779
+ throw new RequiredError('listType', 'Required parameter listType was null or undefined when calling listBlackWhiteLists.');
2272
2780
  }
2273
2781
  if (listType !== null && listType !== undefined) {
2274
2782
  localVarQueryParameter['list_type'] = listType;
2275
2783
  }
2276
2784
  if (limit === null || limit === undefined) {
2277
- throw new RequiredError('limit', 'Required parameter limit was null or undefined when calling listBlackWhiteListsUsingGet.');
2785
+ throw new RequiredError('limit', 'Required parameter limit was null or undefined when calling listBlackWhiteLists.');
2278
2786
  }
2279
2787
  if (limit !== null && limit !== undefined) {
2280
2788
  localVarQueryParameter['limit'] = limit;
2281
2789
  }
2282
2790
  if (offset === null || offset === undefined) {
2283
- throw new RequiredError('offset', 'Required parameter offset was null or undefined when calling listBlackWhiteListsUsingGet.');
2791
+ throw new RequiredError('offset', 'Required parameter offset was null or undefined when calling listBlackWhiteLists.');
2284
2792
  }
2285
2793
  if (offset !== null && offset !== undefined) {
2286
2794
  localVarQueryParameter['offset'] = offset;
@@ -2363,7 +2871,253 @@ const ParamCreater = function () {
2363
2871
  return options;
2364
2872
  },
2365
2873
  /**
2366
- * 查询东西向防火墙信息
2874
+ * 测试域名有效性
2875
+ *
2876
+ * Please refer to HUAWEI cloud API Explorer for details.
2877
+ */
2878
+ listDomainParseDetail(listDomainParseDetailRequest) {
2879
+ const options = {
2880
+ method: "GET",
2881
+ url: "/v1/{project_id}/domain/parse/{domain_name}",
2882
+ contentType: "application/json",
2883
+ queryParams: {},
2884
+ pathParams: {},
2885
+ headers: {}
2886
+ };
2887
+ const localVarHeaderParameter = {};
2888
+ const localVarQueryParameter = {};
2889
+ let projectId;
2890
+ let domainName;
2891
+ let enterpriseProjectId;
2892
+ let fwInstanceId;
2893
+ let addressType;
2894
+ if (listDomainParseDetailRequest !== null && listDomainParseDetailRequest !== undefined) {
2895
+ if (listDomainParseDetailRequest instanceof ListDomainParseDetailRequest_1.ListDomainParseDetailRequest) {
2896
+ projectId = listDomainParseDetailRequest.projectId;
2897
+ domainName = listDomainParseDetailRequest.domainName;
2898
+ enterpriseProjectId = listDomainParseDetailRequest.enterpriseProjectId;
2899
+ fwInstanceId = listDomainParseDetailRequest.fwInstanceId;
2900
+ addressType = listDomainParseDetailRequest.addressType;
2901
+ }
2902
+ else {
2903
+ projectId = listDomainParseDetailRequest['project_id'];
2904
+ domainName = listDomainParseDetailRequest['domain_name'];
2905
+ enterpriseProjectId = listDomainParseDetailRequest['enterprise_project_id'];
2906
+ fwInstanceId = listDomainParseDetailRequest['fw_instance_id'];
2907
+ addressType = listDomainParseDetailRequest['address_type'];
2908
+ }
2909
+ }
2910
+ if (projectId === null || projectId === undefined) {
2911
+ throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listDomainParseDetail.');
2912
+ }
2913
+ if (domainName === null || domainName === undefined) {
2914
+ throw new RequiredError('domainName', 'Required parameter domainName was null or undefined when calling listDomainParseDetail.');
2915
+ }
2916
+ if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
2917
+ localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
2918
+ }
2919
+ if (fwInstanceId !== null && fwInstanceId !== undefined) {
2920
+ localVarQueryParameter['fw_instance_id'] = fwInstanceId;
2921
+ }
2922
+ if (addressType !== null && addressType !== undefined) {
2923
+ localVarQueryParameter['address_type'] = addressType;
2924
+ }
2925
+ options.queryParams = localVarQueryParameter;
2926
+ options.pathParams = { 'project_id': projectId, 'domain_name': domainName, };
2927
+ options.headers = localVarHeaderParameter;
2928
+ return options;
2929
+ },
2930
+ /**
2931
+ * 查询域名组列表
2932
+ *
2933
+ * Please refer to HUAWEI cloud API Explorer for details.
2934
+ */
2935
+ listDomainSets(listDomainSetsRequest) {
2936
+ const options = {
2937
+ method: "GET",
2938
+ url: "/v1/{project_id}/domain-sets",
2939
+ contentType: "application/json",
2940
+ queryParams: {},
2941
+ pathParams: {},
2942
+ headers: {}
2943
+ };
2944
+ const localVarHeaderParameter = {};
2945
+ const localVarQueryParameter = {};
2946
+ let projectId;
2947
+ let fwInstanceId;
2948
+ let limit;
2949
+ let offset;
2950
+ let objectId;
2951
+ let enterpriseProjectId;
2952
+ let keyWord;
2953
+ let domainSetType;
2954
+ let configStatus;
2955
+ if (listDomainSetsRequest !== null && listDomainSetsRequest !== undefined) {
2956
+ if (listDomainSetsRequest instanceof ListDomainSetsRequest_1.ListDomainSetsRequest) {
2957
+ projectId = listDomainSetsRequest.projectId;
2958
+ fwInstanceId = listDomainSetsRequest.fwInstanceId;
2959
+ limit = listDomainSetsRequest.limit;
2960
+ offset = listDomainSetsRequest.offset;
2961
+ objectId = listDomainSetsRequest.objectId;
2962
+ enterpriseProjectId = listDomainSetsRequest.enterpriseProjectId;
2963
+ keyWord = listDomainSetsRequest.keyWord;
2964
+ domainSetType = listDomainSetsRequest.domainSetType;
2965
+ configStatus = listDomainSetsRequest.configStatus;
2966
+ }
2967
+ else {
2968
+ projectId = listDomainSetsRequest['project_id'];
2969
+ fwInstanceId = listDomainSetsRequest['fw_instance_id'];
2970
+ limit = listDomainSetsRequest['limit'];
2971
+ offset = listDomainSetsRequest['offset'];
2972
+ objectId = listDomainSetsRequest['object_id'];
2973
+ enterpriseProjectId = listDomainSetsRequest['enterprise_project_id'];
2974
+ keyWord = listDomainSetsRequest['key_word'];
2975
+ domainSetType = listDomainSetsRequest['domain_set_type'];
2976
+ configStatus = listDomainSetsRequest['config_status'];
2977
+ }
2978
+ }
2979
+ if (projectId === null || projectId === undefined) {
2980
+ throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listDomainSets.');
2981
+ }
2982
+ if (fwInstanceId === null || fwInstanceId === undefined) {
2983
+ throw new RequiredError('fwInstanceId', 'Required parameter fwInstanceId was null or undefined when calling listDomainSets.');
2984
+ }
2985
+ if (fwInstanceId !== null && fwInstanceId !== undefined) {
2986
+ localVarQueryParameter['fw_instance_id'] = fwInstanceId;
2987
+ }
2988
+ if (limit === null || limit === undefined) {
2989
+ throw new RequiredError('limit', 'Required parameter limit was null or undefined when calling listDomainSets.');
2990
+ }
2991
+ if (limit !== null && limit !== undefined) {
2992
+ localVarQueryParameter['limit'] = limit;
2993
+ }
2994
+ if (offset === null || offset === undefined) {
2995
+ throw new RequiredError('offset', 'Required parameter offset was null or undefined when calling listDomainSets.');
2996
+ }
2997
+ if (offset !== null && offset !== undefined) {
2998
+ localVarQueryParameter['offset'] = offset;
2999
+ }
3000
+ if (objectId === null || objectId === undefined) {
3001
+ throw new RequiredError('objectId', 'Required parameter objectId was null or undefined when calling listDomainSets.');
3002
+ }
3003
+ if (objectId !== null && objectId !== undefined) {
3004
+ localVarQueryParameter['object_id'] = objectId;
3005
+ }
3006
+ if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
3007
+ localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
3008
+ }
3009
+ if (keyWord !== null && keyWord !== undefined) {
3010
+ localVarQueryParameter['key_word'] = keyWord;
3011
+ }
3012
+ if (domainSetType !== null && domainSetType !== undefined) {
3013
+ localVarQueryParameter['domain_set_type'] = domainSetType;
3014
+ }
3015
+ if (configStatus !== null && configStatus !== undefined) {
3016
+ localVarQueryParameter['config_status'] = configStatus;
3017
+ }
3018
+ options.queryParams = localVarQueryParameter;
3019
+ options.pathParams = { 'project_id': projectId, };
3020
+ options.headers = localVarHeaderParameter;
3021
+ return options;
3022
+ },
3023
+ /**
3024
+ * 获取域名组下域名列表
3025
+ *
3026
+ * Please refer to HUAWEI cloud API Explorer for details.
3027
+ */
3028
+ listDomains(listDomainsRequest) {
3029
+ const options = {
3030
+ method: "GET",
3031
+ url: "/v1/{project_id}/domain-set/domains/{domain_set_id}",
3032
+ contentType: "application/json",
3033
+ queryParams: {},
3034
+ pathParams: {},
3035
+ headers: {}
3036
+ };
3037
+ const localVarHeaderParameter = {};
3038
+ const localVarQueryParameter = {};
3039
+ let projectId;
3040
+ let domainSetId;
3041
+ let fwInstanceId;
3042
+ let limit;
3043
+ let offset;
3044
+ let enterpriseProjectId;
3045
+ let domainName;
3046
+ let description;
3047
+ let setId;
3048
+ let objectId;
3049
+ if (listDomainsRequest !== null && listDomainsRequest !== undefined) {
3050
+ if (listDomainsRequest instanceof ListDomainsRequest_1.ListDomainsRequest) {
3051
+ projectId = listDomainsRequest.projectId;
3052
+ domainSetId = listDomainsRequest.domainSetId;
3053
+ fwInstanceId = listDomainsRequest.fwInstanceId;
3054
+ limit = listDomainsRequest.limit;
3055
+ offset = listDomainsRequest.offset;
3056
+ enterpriseProjectId = listDomainsRequest.enterpriseProjectId;
3057
+ domainName = listDomainsRequest.domainName;
3058
+ description = listDomainsRequest.description;
3059
+ setId = listDomainsRequest.setId;
3060
+ objectId = listDomainsRequest.objectId;
3061
+ }
3062
+ else {
3063
+ projectId = listDomainsRequest['project_id'];
3064
+ domainSetId = listDomainsRequest['domain_set_id'];
3065
+ fwInstanceId = listDomainsRequest['fw_instance_id'];
3066
+ limit = listDomainsRequest['limit'];
3067
+ offset = listDomainsRequest['offset'];
3068
+ enterpriseProjectId = listDomainsRequest['enterprise_project_id'];
3069
+ domainName = listDomainsRequest['domain_name'];
3070
+ description = listDomainsRequest['description'];
3071
+ setId = listDomainsRequest['set_id'];
3072
+ objectId = listDomainsRequest['object_Id'];
3073
+ }
3074
+ }
3075
+ if (projectId === null || projectId === undefined) {
3076
+ throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listDomains.');
3077
+ }
3078
+ if (domainSetId === null || domainSetId === undefined) {
3079
+ throw new RequiredError('domainSetId', 'Required parameter domainSetId was null or undefined when calling listDomains.');
3080
+ }
3081
+ if (fwInstanceId === null || fwInstanceId === undefined) {
3082
+ throw new RequiredError('fwInstanceId', 'Required parameter fwInstanceId was null or undefined when calling listDomains.');
3083
+ }
3084
+ if (fwInstanceId !== null && fwInstanceId !== undefined) {
3085
+ localVarQueryParameter['fw_instance_id'] = fwInstanceId;
3086
+ }
3087
+ if (limit === null || limit === undefined) {
3088
+ throw new RequiredError('limit', 'Required parameter limit was null or undefined when calling listDomains.');
3089
+ }
3090
+ if (limit !== null && limit !== undefined) {
3091
+ localVarQueryParameter['limit'] = limit;
3092
+ }
3093
+ if (offset === null || offset === undefined) {
3094
+ throw new RequiredError('offset', 'Required parameter offset was null or undefined when calling listDomains.');
3095
+ }
3096
+ if (offset !== null && offset !== undefined) {
3097
+ localVarQueryParameter['offset'] = offset;
3098
+ }
3099
+ if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
3100
+ localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
3101
+ }
3102
+ if (domainName !== null && domainName !== undefined) {
3103
+ localVarQueryParameter['domain_name'] = domainName;
3104
+ }
3105
+ if (description !== null && description !== undefined) {
3106
+ localVarQueryParameter['description'] = description;
3107
+ }
3108
+ if (setId !== null && setId !== undefined) {
3109
+ localVarQueryParameter['set_id'] = setId;
3110
+ }
3111
+ if (objectId !== null && objectId !== undefined) {
3112
+ localVarQueryParameter['object_Id'] = objectId;
3113
+ }
3114
+ options.queryParams = localVarQueryParameter;
3115
+ options.pathParams = { 'project_id': projectId, 'domain_set_id': domainSetId, };
3116
+ options.headers = localVarHeaderParameter;
3117
+ return options;
3118
+ },
3119
+ /**
3120
+ * 获取东西向防火墙信息
2367
3121
  *
2368
3122
  * Please refer to HUAWEI cloud API Explorer for details.
2369
3123
  */
@@ -2430,7 +3184,7 @@ const ParamCreater = function () {
2430
3184
  *
2431
3185
  * Please refer to HUAWEI cloud API Explorer for details.
2432
3186
  */
2433
- listFirewallUsingGet(listFirewallUsingGetRequest) {
3187
+ listFirewallDetail(listFirewallDetailRequest) {
2434
3188
  const options = {
2435
3189
  method: "GET",
2436
3190
  url: "/v1/{project_id}/firewall/exist",
@@ -2447,41 +3201,41 @@ const ParamCreater = function () {
2447
3201
  let serviceType;
2448
3202
  let enterpriseProjectId;
2449
3203
  let fwInstanceId;
2450
- if (listFirewallUsingGetRequest !== null && listFirewallUsingGetRequest !== undefined) {
2451
- if (listFirewallUsingGetRequest instanceof ListFirewallUsingGetRequest_1.ListFirewallUsingGetRequest) {
2452
- projectId = listFirewallUsingGetRequest.projectId;
2453
- offset = listFirewallUsingGetRequest.offset;
2454
- limit = listFirewallUsingGetRequest.limit;
2455
- serviceType = listFirewallUsingGetRequest.serviceType;
2456
- enterpriseProjectId = listFirewallUsingGetRequest.enterpriseProjectId;
2457
- fwInstanceId = listFirewallUsingGetRequest.fwInstanceId;
3204
+ if (listFirewallDetailRequest !== null && listFirewallDetailRequest !== undefined) {
3205
+ if (listFirewallDetailRequest instanceof ListFirewallDetailRequest_1.ListFirewallDetailRequest) {
3206
+ projectId = listFirewallDetailRequest.projectId;
3207
+ offset = listFirewallDetailRequest.offset;
3208
+ limit = listFirewallDetailRequest.limit;
3209
+ serviceType = listFirewallDetailRequest.serviceType;
3210
+ enterpriseProjectId = listFirewallDetailRequest.enterpriseProjectId;
3211
+ fwInstanceId = listFirewallDetailRequest.fwInstanceId;
2458
3212
  }
2459
3213
  else {
2460
- projectId = listFirewallUsingGetRequest['project_id'];
2461
- offset = listFirewallUsingGetRequest['offset'];
2462
- limit = listFirewallUsingGetRequest['limit'];
2463
- serviceType = listFirewallUsingGetRequest['service_type'];
2464
- enterpriseProjectId = listFirewallUsingGetRequest['enterprise_project_id'];
2465
- fwInstanceId = listFirewallUsingGetRequest['fw_instance_id'];
3214
+ projectId = listFirewallDetailRequest['project_id'];
3215
+ offset = listFirewallDetailRequest['offset'];
3216
+ limit = listFirewallDetailRequest['limit'];
3217
+ serviceType = listFirewallDetailRequest['service_type'];
3218
+ enterpriseProjectId = listFirewallDetailRequest['enterprise_project_id'];
3219
+ fwInstanceId = listFirewallDetailRequest['fw_instance_id'];
2466
3220
  }
2467
3221
  }
2468
3222
  if (projectId === null || projectId === undefined) {
2469
- throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listFirewallUsingGet.');
3223
+ throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listFirewallDetail.');
2470
3224
  }
2471
3225
  if (offset === null || offset === undefined) {
2472
- throw new RequiredError('offset', 'Required parameter offset was null or undefined when calling listFirewallUsingGet.');
3226
+ throw new RequiredError('offset', 'Required parameter offset was null or undefined when calling listFirewallDetail.');
2473
3227
  }
2474
3228
  if (offset !== null && offset !== undefined) {
2475
3229
  localVarQueryParameter['offset'] = offset;
2476
3230
  }
2477
3231
  if (limit === null || limit === undefined) {
2478
- throw new RequiredError('limit', 'Required parameter limit was null or undefined when calling listFirewallUsingGet.');
3232
+ throw new RequiredError('limit', 'Required parameter limit was null or undefined when calling listFirewallDetail.');
2479
3233
  }
2480
3234
  if (limit !== null && limit !== undefined) {
2481
3235
  localVarQueryParameter['limit'] = limit;
2482
3236
  }
2483
3237
  if (serviceType === null || serviceType === undefined) {
2484
- throw new RequiredError('serviceType', 'Required parameter serviceType was null or undefined when calling listFirewallUsingGet.');
3238
+ throw new RequiredError('serviceType', 'Required parameter serviceType was null or undefined when calling listFirewallDetail.');
2485
3239
  }
2486
3240
  if (serviceType !== null && serviceType !== undefined) {
2487
3241
  localVarQueryParameter['service_type'] = serviceType;
@@ -2497,6 +3251,54 @@ const ParamCreater = function () {
2497
3251
  options.headers = localVarHeaderParameter;
2498
3252
  return options;
2499
3253
  },
3254
+ /**
3255
+ * 查询防火墙列表
3256
+ *
3257
+ * Please refer to HUAWEI cloud API Explorer for details.
3258
+ */
3259
+ listFirewallList(listFirewallListRequest) {
3260
+ const options = {
3261
+ method: "POST",
3262
+ url: "/v1/{project_id}/firewalls/list",
3263
+ contentType: "application/json",
3264
+ queryParams: {},
3265
+ pathParams: {},
3266
+ headers: {},
3267
+ data: {}
3268
+ };
3269
+ const localVarHeaderParameter = {};
3270
+ const localVarQueryParameter = {};
3271
+ let body;
3272
+ let projectId;
3273
+ let enterpriseProjectId;
3274
+ if (listFirewallListRequest !== null && listFirewallListRequest !== undefined) {
3275
+ if (listFirewallListRequest instanceof ListFirewallListRequest_1.ListFirewallListRequest) {
3276
+ projectId = listFirewallListRequest.projectId;
3277
+ body = listFirewallListRequest.body;
3278
+ enterpriseProjectId = listFirewallListRequest.enterpriseProjectId;
3279
+ }
3280
+ else {
3281
+ projectId = listFirewallListRequest['project_id'];
3282
+ body = listFirewallListRequest['body'];
3283
+ enterpriseProjectId = listFirewallListRequest['enterprise_project_id'];
3284
+ }
3285
+ }
3286
+ if (projectId === null || projectId === undefined) {
3287
+ throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listFirewallList.');
3288
+ }
3289
+ if (body === null || body === undefined) {
3290
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
3291
+ }
3292
+ if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
3293
+ localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
3294
+ }
3295
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3296
+ options.data = body !== undefined ? body : {};
3297
+ options.queryParams = localVarQueryParameter;
3298
+ options.pathParams = { 'project_id': projectId, };
3299
+ options.headers = localVarHeaderParameter;
3300
+ return options;
3301
+ },
2500
3302
  /**
2501
3303
  * 查询流日志
2502
3304
  *
@@ -2530,6 +3332,7 @@ const ParamCreater = function () {
2530
3332
  let nextDate;
2531
3333
  let offset;
2532
3334
  let enterpriseProjectId;
3335
+ let dstHost;
2533
3336
  if (listFlowLogsRequest !== null && listFlowLogsRequest !== undefined) {
2534
3337
  if (listFlowLogsRequest instanceof ListFlowLogsRequest_1.ListFlowLogsRequest) {
2535
3338
  projectId = listFlowLogsRequest.projectId;
@@ -2549,6 +3352,7 @@ const ParamCreater = function () {
2549
3352
  nextDate = listFlowLogsRequest.nextDate;
2550
3353
  offset = listFlowLogsRequest.offset;
2551
3354
  enterpriseProjectId = listFlowLogsRequest.enterpriseProjectId;
3355
+ dstHost = listFlowLogsRequest.dstHost;
2552
3356
  }
2553
3357
  else {
2554
3358
  projectId = listFlowLogsRequest['project_id'];
@@ -2568,6 +3372,7 @@ const ParamCreater = function () {
2568
3372
  nextDate = listFlowLogsRequest['next_date'];
2569
3373
  offset = listFlowLogsRequest['offset'];
2570
3374
  enterpriseProjectId = listFlowLogsRequest['enterprise_project_id'];
3375
+ dstHost = listFlowLogsRequest['dst_host'];
2571
3376
  }
2572
3377
  }
2573
3378
  if (projectId === null || projectId === undefined) {
@@ -2633,20 +3438,23 @@ const ParamCreater = function () {
2633
3438
  if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
2634
3439
  localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
2635
3440
  }
3441
+ if (dstHost !== null && dstHost !== undefined) {
3442
+ localVarQueryParameter['dst_host'] = dstHost;
3443
+ }
2636
3444
  options.queryParams = localVarQueryParameter;
2637
3445
  options.pathParams = { 'project_id': projectId, };
2638
3446
  options.headers = localVarHeaderParameter;
2639
3447
  return options;
2640
3448
  },
2641
3449
  /**
2642
- * 查询防护模式
3450
+ * 查询防护vpc信息
2643
3451
  *
2644
3452
  * Please refer to HUAWEI cloud API Explorer for details.
2645
3453
  */
2646
- listIpsProtectModeUsingPost(listIpsProtectModeUsingPostRequest) {
3454
+ listProtectedVpcs(listProtectedVpcsRequest) {
2647
3455
  const options = {
2648
3456
  method: "GET",
2649
- url: "/v1/{project_id}/ips/protect",
3457
+ url: "/v1/{project_id}/vpcs/protection",
2650
3458
  contentType: "application/json",
2651
3459
  queryParams: {},
2652
3460
  pathParams: {},
@@ -2658,25 +3466,25 @@ const ParamCreater = function () {
2658
3466
  let objectId;
2659
3467
  let enterpriseProjectId;
2660
3468
  let fwInstanceId;
2661
- if (listIpsProtectModeUsingPostRequest !== null && listIpsProtectModeUsingPostRequest !== undefined) {
2662
- if (listIpsProtectModeUsingPostRequest instanceof ListIpsProtectModeUsingPostRequest_1.ListIpsProtectModeUsingPostRequest) {
2663
- projectId = listIpsProtectModeUsingPostRequest.projectId;
2664
- objectId = listIpsProtectModeUsingPostRequest.objectId;
2665
- enterpriseProjectId = listIpsProtectModeUsingPostRequest.enterpriseProjectId;
2666
- fwInstanceId = listIpsProtectModeUsingPostRequest.fwInstanceId;
3469
+ if (listProtectedVpcsRequest !== null && listProtectedVpcsRequest !== undefined) {
3470
+ if (listProtectedVpcsRequest instanceof ListProtectedVpcsRequest_1.ListProtectedVpcsRequest) {
3471
+ projectId = listProtectedVpcsRequest.projectId;
3472
+ objectId = listProtectedVpcsRequest.objectId;
3473
+ enterpriseProjectId = listProtectedVpcsRequest.enterpriseProjectId;
3474
+ fwInstanceId = listProtectedVpcsRequest.fwInstanceId;
2667
3475
  }
2668
3476
  else {
2669
- projectId = listIpsProtectModeUsingPostRequest['project_id'];
2670
- objectId = listIpsProtectModeUsingPostRequest['object_id'];
2671
- enterpriseProjectId = listIpsProtectModeUsingPostRequest['enterprise_project_id'];
2672
- fwInstanceId = listIpsProtectModeUsingPostRequest['fw_instance_id'];
3477
+ projectId = listProtectedVpcsRequest['project_id'];
3478
+ objectId = listProtectedVpcsRequest['object_id'];
3479
+ enterpriseProjectId = listProtectedVpcsRequest['enterprise_project_id'];
3480
+ fwInstanceId = listProtectedVpcsRequest['fw_instance_id'];
2673
3481
  }
2674
3482
  }
2675
3483
  if (projectId === null || projectId === undefined) {
2676
- throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listIpsProtectModeUsingPost.');
3484
+ throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listProtectedVpcs.');
2677
3485
  }
2678
3486
  if (objectId === null || objectId === undefined) {
2679
- throw new RequiredError('objectId', 'Required parameter objectId was null or undefined when calling listIpsProtectModeUsingPost.');
3487
+ throw new RequiredError('objectId', 'Required parameter objectId was null or undefined when calling listProtectedVpcs.');
2680
3488
  }
2681
3489
  if (objectId !== null && objectId !== undefined) {
2682
3490
  localVarQueryParameter['object_id'] = objectId;
@@ -2693,14 +3501,14 @@ const ParamCreater = function () {
2693
3501
  return options;
2694
3502
  },
2695
3503
  /**
2696
- * 测试域名有效性
3504
+ * 查询服务组成员列表
2697
3505
  *
2698
3506
  * Please refer to HUAWEI cloud API Explorer for details.
2699
3507
  */
2700
- listParseDomainDetails(listParseDomainDetailsRequest) {
3508
+ listServiceItems(listServiceItemsRequest) {
2701
3509
  const options = {
2702
3510
  method: "GET",
2703
- url: "/v1/{project_id}/domain/parse/{domain_name}",
3511
+ url: "/v1/{project_id}/service-items",
2704
3512
  contentType: "application/json",
2705
3513
  queryParams: {},
2706
3514
  pathParams: {},
@@ -2709,28 +3517,55 @@ const ParamCreater = function () {
2709
3517
  const localVarHeaderParameter = {};
2710
3518
  const localVarQueryParameter = {};
2711
3519
  let projectId;
2712
- let domainName;
3520
+ let setId;
3521
+ let limit;
3522
+ let offset;
3523
+ let keyWord;
2713
3524
  let enterpriseProjectId;
2714
3525
  let fwInstanceId;
2715
- if (listParseDomainDetailsRequest !== null && listParseDomainDetailsRequest !== undefined) {
2716
- if (listParseDomainDetailsRequest instanceof ListParseDomainDetailsRequest_1.ListParseDomainDetailsRequest) {
2717
- projectId = listParseDomainDetailsRequest.projectId;
2718
- domainName = listParseDomainDetailsRequest.domainName;
2719
- enterpriseProjectId = listParseDomainDetailsRequest.enterpriseProjectId;
2720
- fwInstanceId = listParseDomainDetailsRequest.fwInstanceId;
3526
+ if (listServiceItemsRequest !== null && listServiceItemsRequest !== undefined) {
3527
+ if (listServiceItemsRequest instanceof ListServiceItemsRequest_1.ListServiceItemsRequest) {
3528
+ projectId = listServiceItemsRequest.projectId;
3529
+ setId = listServiceItemsRequest.setId;
3530
+ limit = listServiceItemsRequest.limit;
3531
+ offset = listServiceItemsRequest.offset;
3532
+ keyWord = listServiceItemsRequest.keyWord;
3533
+ enterpriseProjectId = listServiceItemsRequest.enterpriseProjectId;
3534
+ fwInstanceId = listServiceItemsRequest.fwInstanceId;
2721
3535
  }
2722
3536
  else {
2723
- projectId = listParseDomainDetailsRequest['project_id'];
2724
- domainName = listParseDomainDetailsRequest['domain_name'];
2725
- enterpriseProjectId = listParseDomainDetailsRequest['enterprise_project_id'];
2726
- fwInstanceId = listParseDomainDetailsRequest['fw_instance_id'];
3537
+ projectId = listServiceItemsRequest['project_id'];
3538
+ setId = listServiceItemsRequest['set_id'];
3539
+ limit = listServiceItemsRequest['limit'];
3540
+ offset = listServiceItemsRequest['offset'];
3541
+ keyWord = listServiceItemsRequest['key_word'];
3542
+ enterpriseProjectId = listServiceItemsRequest['enterprise_project_id'];
3543
+ fwInstanceId = listServiceItemsRequest['fw_instance_id'];
2727
3544
  }
2728
3545
  }
2729
3546
  if (projectId === null || projectId === undefined) {
2730
- throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listParseDomainDetails.');
3547
+ throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listServiceItems.');
2731
3548
  }
2732
- if (domainName === null || domainName === undefined) {
2733
- throw new RequiredError('domainName', 'Required parameter domainName was null or undefined when calling listParseDomainDetails.');
3549
+ if (setId === null || setId === undefined) {
3550
+ throw new RequiredError('setId', 'Required parameter setId was null or undefined when calling listServiceItems.');
3551
+ }
3552
+ if (setId !== null && setId !== undefined) {
3553
+ localVarQueryParameter['set_id'] = setId;
3554
+ }
3555
+ if (limit === null || limit === undefined) {
3556
+ throw new RequiredError('limit', 'Required parameter limit was null or undefined when calling listServiceItems.');
3557
+ }
3558
+ if (limit !== null && limit !== undefined) {
3559
+ localVarQueryParameter['limit'] = limit;
3560
+ }
3561
+ if (offset === null || offset === undefined) {
3562
+ throw new RequiredError('offset', 'Required parameter offset was null or undefined when calling listServiceItems.');
3563
+ }
3564
+ if (offset !== null && offset !== undefined) {
3565
+ localVarQueryParameter['offset'] = offset;
3566
+ }
3567
+ if (keyWord !== null && keyWord !== undefined) {
3568
+ localVarQueryParameter['key_word'] = keyWord;
2734
3569
  }
2735
3570
  if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
2736
3571
  localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
@@ -2739,47 +3574,49 @@ const ParamCreater = function () {
2739
3574
  localVarQueryParameter['fw_instance_id'] = fwInstanceId;
2740
3575
  }
2741
3576
  options.queryParams = localVarQueryParameter;
2742
- options.pathParams = { 'project_id': projectId, 'domain_name': domainName, };
3577
+ options.pathParams = { 'project_id': projectId, };
2743
3578
  options.headers = localVarHeaderParameter;
2744
3579
  return options;
2745
3580
  },
2746
3581
  /**
2747
- * 获取规则击中次数
3582
+ * 查询服务组细节
2748
3583
  *
2749
3584
  * Please refer to HUAWEI cloud API Explorer for details.
2750
3585
  */
2751
- listRuleHitCount(listRuleHitCountRequest) {
3586
+ listServiceSetDetail(listServiceSetDetailRequest) {
2752
3587
  const options = {
2753
- method: "POST",
2754
- url: "/v1/{project_id}/acl-rule/count",
3588
+ method: "GET",
3589
+ url: "/v1/{project_id}/service-sets/{set_id}",
2755
3590
  contentType: "application/json",
2756
3591
  queryParams: {},
2757
3592
  pathParams: {},
2758
- headers: {},
2759
- data: {}
3593
+ headers: {}
2760
3594
  };
2761
3595
  const localVarHeaderParameter = {};
2762
3596
  const localVarQueryParameter = {};
2763
- let body;
2764
3597
  let projectId;
3598
+ let setId;
2765
3599
  let enterpriseProjectId;
2766
3600
  let fwInstanceId;
2767
- if (listRuleHitCountRequest !== null && listRuleHitCountRequest !== undefined) {
2768
- if (listRuleHitCountRequest instanceof ListRuleHitCountRequest_1.ListRuleHitCountRequest) {
2769
- projectId = listRuleHitCountRequest.projectId;
2770
- enterpriseProjectId = listRuleHitCountRequest.enterpriseProjectId;
2771
- fwInstanceId = listRuleHitCountRequest.fwInstanceId;
2772
- body = listRuleHitCountRequest.body;
3601
+ if (listServiceSetDetailRequest !== null && listServiceSetDetailRequest !== undefined) {
3602
+ if (listServiceSetDetailRequest instanceof ListServiceSetDetailRequest_1.ListServiceSetDetailRequest) {
3603
+ projectId = listServiceSetDetailRequest.projectId;
3604
+ setId = listServiceSetDetailRequest.setId;
3605
+ enterpriseProjectId = listServiceSetDetailRequest.enterpriseProjectId;
3606
+ fwInstanceId = listServiceSetDetailRequest.fwInstanceId;
2773
3607
  }
2774
3608
  else {
2775
- projectId = listRuleHitCountRequest['project_id'];
2776
- enterpriseProjectId = listRuleHitCountRequest['enterprise_project_id'];
2777
- fwInstanceId = listRuleHitCountRequest['fw_instance_id'];
2778
- body = listRuleHitCountRequest['body'];
3609
+ projectId = listServiceSetDetailRequest['project_id'];
3610
+ setId = listServiceSetDetailRequest['set_id'];
3611
+ enterpriseProjectId = listServiceSetDetailRequest['enterprise_project_id'];
3612
+ fwInstanceId = listServiceSetDetailRequest['fw_instance_id'];
2779
3613
  }
2780
3614
  }
2781
3615
  if (projectId === null || projectId === undefined) {
2782
- throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listRuleHitCount.');
3616
+ throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listServiceSetDetail.');
3617
+ }
3618
+ if (setId === null || setId === undefined) {
3619
+ throw new RequiredError('setId', 'Required parameter setId was null or undefined when calling listServiceSetDetail.');
2783
3620
  }
2784
3621
  if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
2785
3622
  localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
@@ -2787,22 +3624,20 @@ const ParamCreater = function () {
2787
3624
  if (fwInstanceId !== null && fwInstanceId !== undefined) {
2788
3625
  localVarQueryParameter['fw_instance_id'] = fwInstanceId;
2789
3626
  }
2790
- localVarHeaderParameter['Content-Type'] = 'application/json';
2791
- options.data = body !== undefined ? body : {};
2792
3627
  options.queryParams = localVarQueryParameter;
2793
- options.pathParams = { 'project_id': projectId, };
3628
+ options.pathParams = { 'project_id': projectId, 'set_id': setId, };
2794
3629
  options.headers = localVarHeaderParameter;
2795
3630
  return options;
2796
3631
  },
2797
3632
  /**
2798
- * 查询服务组成员列表
3633
+ * 获取服务组列表
2799
3634
  *
2800
3635
  * Please refer to HUAWEI cloud API Explorer for details.
2801
3636
  */
2802
- listServiceItemsDetails(listServiceItemsDetailsRequest) {
3637
+ listServiceSets(listServiceSetsRequest) {
2803
3638
  const options = {
2804
3639
  method: "GET",
2805
- url: "/v1/{project_id}/service-items",
3640
+ url: "/v1/{project_id}/service-sets",
2806
3641
  contentType: "application/json",
2807
3642
  queryParams: {},
2808
3643
  pathParams: {},
@@ -2811,49 +3646,49 @@ const ParamCreater = function () {
2811
3646
  const localVarHeaderParameter = {};
2812
3647
  const localVarQueryParameter = {};
2813
3648
  let projectId;
2814
- let setId;
3649
+ let objectId;
2815
3650
  let limit;
2816
3651
  let offset;
2817
3652
  let keyWord;
2818
3653
  let enterpriseProjectId;
2819
3654
  let fwInstanceId;
2820
- if (listServiceItemsDetailsRequest !== null && listServiceItemsDetailsRequest !== undefined) {
2821
- if (listServiceItemsDetailsRequest instanceof ListServiceItemsDetailsRequest_1.ListServiceItemsDetailsRequest) {
2822
- projectId = listServiceItemsDetailsRequest.projectId;
2823
- setId = listServiceItemsDetailsRequest.setId;
2824
- limit = listServiceItemsDetailsRequest.limit;
2825
- offset = listServiceItemsDetailsRequest.offset;
2826
- keyWord = listServiceItemsDetailsRequest.keyWord;
2827
- enterpriseProjectId = listServiceItemsDetailsRequest.enterpriseProjectId;
2828
- fwInstanceId = listServiceItemsDetailsRequest.fwInstanceId;
3655
+ if (listServiceSetsRequest !== null && listServiceSetsRequest !== undefined) {
3656
+ if (listServiceSetsRequest instanceof ListServiceSetsRequest_1.ListServiceSetsRequest) {
3657
+ projectId = listServiceSetsRequest.projectId;
3658
+ objectId = listServiceSetsRequest.objectId;
3659
+ limit = listServiceSetsRequest.limit;
3660
+ offset = listServiceSetsRequest.offset;
3661
+ keyWord = listServiceSetsRequest.keyWord;
3662
+ enterpriseProjectId = listServiceSetsRequest.enterpriseProjectId;
3663
+ fwInstanceId = listServiceSetsRequest.fwInstanceId;
2829
3664
  }
2830
3665
  else {
2831
- projectId = listServiceItemsDetailsRequest['project_id'];
2832
- setId = listServiceItemsDetailsRequest['set_id'];
2833
- limit = listServiceItemsDetailsRequest['limit'];
2834
- offset = listServiceItemsDetailsRequest['offset'];
2835
- keyWord = listServiceItemsDetailsRequest['key_word'];
2836
- enterpriseProjectId = listServiceItemsDetailsRequest['enterprise_project_id'];
2837
- fwInstanceId = listServiceItemsDetailsRequest['fw_instance_id'];
3666
+ projectId = listServiceSetsRequest['project_id'];
3667
+ objectId = listServiceSetsRequest['object_id'];
3668
+ limit = listServiceSetsRequest['limit'];
3669
+ offset = listServiceSetsRequest['offset'];
3670
+ keyWord = listServiceSetsRequest['key_word'];
3671
+ enterpriseProjectId = listServiceSetsRequest['enterprise_project_id'];
3672
+ fwInstanceId = listServiceSetsRequest['fw_instance_id'];
2838
3673
  }
2839
3674
  }
2840
3675
  if (projectId === null || projectId === undefined) {
2841
- throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listServiceItemsDetails.');
3676
+ throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listServiceSets.');
2842
3677
  }
2843
- if (setId === null || setId === undefined) {
2844
- throw new RequiredError('setId', 'Required parameter setId was null or undefined when calling listServiceItemsDetails.');
3678
+ if (objectId === null || objectId === undefined) {
3679
+ throw new RequiredError('objectId', 'Required parameter objectId was null or undefined when calling listServiceSets.');
2845
3680
  }
2846
- if (setId !== null && setId !== undefined) {
2847
- localVarQueryParameter['set_id'] = setId;
3681
+ if (objectId !== null && objectId !== undefined) {
3682
+ localVarQueryParameter['object_id'] = objectId;
2848
3683
  }
2849
3684
  if (limit === null || limit === undefined) {
2850
- throw new RequiredError('limit', 'Required parameter limit was null or undefined when calling listServiceItemsDetails.');
3685
+ throw new RequiredError('limit', 'Required parameter limit was null or undefined when calling listServiceSets.');
2851
3686
  }
2852
3687
  if (limit !== null && limit !== undefined) {
2853
3688
  localVarQueryParameter['limit'] = limit;
2854
3689
  }
2855
3690
  if (offset === null || offset === undefined) {
2856
- throw new RequiredError('offset', 'Required parameter offset was null or undefined when calling listServiceItemsDetails.');
3691
+ throw new RequiredError('offset', 'Required parameter offset was null or undefined when calling listServiceSets.');
2857
3692
  }
2858
3693
  if (offset !== null && offset !== undefined) {
2859
3694
  localVarQueryParameter['offset'] = offset;
@@ -2873,71 +3708,111 @@ const ParamCreater = function () {
2873
3708
  return options;
2874
3709
  },
2875
3710
  /**
2876
- * 获取服务组列表
3711
+ * 更新地址组信息
2877
3712
  *
2878
3713
  * Please refer to HUAWEI cloud API Explorer for details.
2879
3714
  */
2880
- listServiceSet(listServiceSetRequest) {
3715
+ updateAddressSet(updateAddressSetRequest) {
2881
3716
  const options = {
2882
- method: "GET",
2883
- url: "/v1/{project_id}/service-sets",
3717
+ method: "PUT",
3718
+ url: "/v1/{project_id}/address-sets/{set_id}",
2884
3719
  contentType: "application/json",
2885
3720
  queryParams: {},
2886
3721
  pathParams: {},
2887
- headers: {}
3722
+ headers: {},
3723
+ data: {}
2888
3724
  };
2889
3725
  const localVarHeaderParameter = {};
2890
3726
  const localVarQueryParameter = {};
3727
+ let body;
2891
3728
  let projectId;
2892
- let objectId;
2893
- let limit;
2894
- let offset;
2895
- let keyWord;
3729
+ let setId;
2896
3730
  let enterpriseProjectId;
2897
3731
  let fwInstanceId;
2898
- if (listServiceSetRequest !== null && listServiceSetRequest !== undefined) {
2899
- if (listServiceSetRequest instanceof ListServiceSetRequest_1.ListServiceSetRequest) {
2900
- projectId = listServiceSetRequest.projectId;
2901
- objectId = listServiceSetRequest.objectId;
2902
- limit = listServiceSetRequest.limit;
2903
- offset = listServiceSetRequest.offset;
2904
- keyWord = listServiceSetRequest.keyWord;
2905
- enterpriseProjectId = listServiceSetRequest.enterpriseProjectId;
2906
- fwInstanceId = listServiceSetRequest.fwInstanceId;
3732
+ if (updateAddressSetRequest !== null && updateAddressSetRequest !== undefined) {
3733
+ if (updateAddressSetRequest instanceof UpdateAddressSetRequest_1.UpdateAddressSetRequest) {
3734
+ projectId = updateAddressSetRequest.projectId;
3735
+ setId = updateAddressSetRequest.setId;
3736
+ body = updateAddressSetRequest.body;
3737
+ enterpriseProjectId = updateAddressSetRequest.enterpriseProjectId;
3738
+ fwInstanceId = updateAddressSetRequest.fwInstanceId;
2907
3739
  }
2908
3740
  else {
2909
- projectId = listServiceSetRequest['project_id'];
2910
- objectId = listServiceSetRequest['object_id'];
2911
- limit = listServiceSetRequest['limit'];
2912
- offset = listServiceSetRequest['offset'];
2913
- keyWord = listServiceSetRequest['key_word'];
2914
- enterpriseProjectId = listServiceSetRequest['enterprise_project_id'];
2915
- fwInstanceId = listServiceSetRequest['fw_instance_id'];
3741
+ projectId = updateAddressSetRequest['project_id'];
3742
+ setId = updateAddressSetRequest['set_id'];
3743
+ body = updateAddressSetRequest['body'];
3744
+ enterpriseProjectId = updateAddressSetRequest['enterprise_project_id'];
3745
+ fwInstanceId = updateAddressSetRequest['fw_instance_id'];
2916
3746
  }
2917
3747
  }
2918
3748
  if (projectId === null || projectId === undefined) {
2919
- throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listServiceSet.');
3749
+ throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling updateAddressSet.');
2920
3750
  }
2921
- if (objectId === null || objectId === undefined) {
2922
- throw new RequiredError('objectId', 'Required parameter objectId was null or undefined when calling listServiceSet.');
3751
+ if (setId === null || setId === undefined) {
3752
+ throw new RequiredError('setId', 'Required parameter setId was null or undefined when calling updateAddressSet.');
2923
3753
  }
2924
- if (objectId !== null && objectId !== undefined) {
2925
- localVarQueryParameter['object_id'] = objectId;
3754
+ if (body === null || body === undefined) {
3755
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
2926
3756
  }
2927
- if (limit === null || limit === undefined) {
2928
- throw new RequiredError('limit', 'Required parameter limit was null or undefined when calling listServiceSet.');
3757
+ if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
3758
+ localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
2929
3759
  }
2930
- if (limit !== null && limit !== undefined) {
2931
- localVarQueryParameter['limit'] = limit;
3760
+ if (fwInstanceId !== null && fwInstanceId !== undefined) {
3761
+ localVarQueryParameter['fw_instance_id'] = fwInstanceId;
2932
3762
  }
2933
- if (offset === null || offset === undefined) {
2934
- throw new RequiredError('offset', 'Required parameter offset was null or undefined when calling listServiceSet.');
3763
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3764
+ options.data = body !== undefined ? body : {};
3765
+ options.queryParams = localVarQueryParameter;
3766
+ options.pathParams = { 'project_id': projectId, 'set_id': setId, };
3767
+ options.headers = localVarHeaderParameter;
3768
+ return options;
3769
+ },
3770
+ /**
3771
+ * 更新黑白名单列表
3772
+ *
3773
+ * Please refer to HUAWEI cloud API Explorer for details.
3774
+ */
3775
+ updateBlackWhiteList(updateBlackWhiteListRequest) {
3776
+ const options = {
3777
+ method: "PUT",
3778
+ url: "/v1/{project_id}/black-white-list/{list_id}",
3779
+ contentType: "application/json",
3780
+ queryParams: {},
3781
+ pathParams: {},
3782
+ headers: {},
3783
+ data: {}
3784
+ };
3785
+ const localVarHeaderParameter = {};
3786
+ const localVarQueryParameter = {};
3787
+ let body;
3788
+ let projectId;
3789
+ let listId;
3790
+ let enterpriseProjectId;
3791
+ let fwInstanceId;
3792
+ if (updateBlackWhiteListRequest !== null && updateBlackWhiteListRequest !== undefined) {
3793
+ if (updateBlackWhiteListRequest instanceof UpdateBlackWhiteListRequest_1.UpdateBlackWhiteListRequest) {
3794
+ projectId = updateBlackWhiteListRequest.projectId;
3795
+ listId = updateBlackWhiteListRequest.listId;
3796
+ body = updateBlackWhiteListRequest.body;
3797
+ enterpriseProjectId = updateBlackWhiteListRequest.enterpriseProjectId;
3798
+ fwInstanceId = updateBlackWhiteListRequest.fwInstanceId;
3799
+ }
3800
+ else {
3801
+ projectId = updateBlackWhiteListRequest['project_id'];
3802
+ listId = updateBlackWhiteListRequest['list_id'];
3803
+ body = updateBlackWhiteListRequest['body'];
3804
+ enterpriseProjectId = updateBlackWhiteListRequest['enterprise_project_id'];
3805
+ fwInstanceId = updateBlackWhiteListRequest['fw_instance_id'];
3806
+ }
2935
3807
  }
2936
- if (offset !== null && offset !== undefined) {
2937
- localVarQueryParameter['offset'] = offset;
3808
+ if (projectId === null || projectId === undefined) {
3809
+ throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling updateBlackWhiteList.');
2938
3810
  }
2939
- if (keyWord !== null && keyWord !== undefined) {
2940
- localVarQueryParameter['key_word'] = keyWord;
3811
+ if (listId === null || listId === undefined) {
3812
+ throw new RequiredError('listId', 'Required parameter listId was null or undefined when calling updateBlackWhiteList.');
3813
+ }
3814
+ if (body === null || body === undefined) {
3815
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
2941
3816
  }
2942
3817
  if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
2943
3818
  localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
@@ -2945,50 +3820,112 @@ const ParamCreater = function () {
2945
3820
  if (fwInstanceId !== null && fwInstanceId !== undefined) {
2946
3821
  localVarQueryParameter['fw_instance_id'] = fwInstanceId;
2947
3822
  }
3823
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3824
+ options.data = body !== undefined ? body : {};
3825
+ options.queryParams = localVarQueryParameter;
3826
+ options.pathParams = { 'project_id': projectId, 'list_id': listId, };
3827
+ options.headers = localVarHeaderParameter;
3828
+ return options;
3829
+ },
3830
+ /**
3831
+ * 更新dns服务器列表
3832
+ *
3833
+ * Please refer to HUAWEI cloud API Explorer for details.
3834
+ */
3835
+ updateDnsServers(updateDnsServersRequest) {
3836
+ const options = {
3837
+ method: "PUT",
3838
+ url: "/v1/{project_id}/dns/servers",
3839
+ contentType: "application/json",
3840
+ queryParams: {},
3841
+ pathParams: {},
3842
+ headers: {},
3843
+ data: {}
3844
+ };
3845
+ const localVarHeaderParameter = {};
3846
+ const localVarQueryParameter = {};
3847
+ let body;
3848
+ let projectId;
3849
+ let fwInstanceId;
3850
+ let enterpriseProjectId;
3851
+ if (updateDnsServersRequest !== null && updateDnsServersRequest !== undefined) {
3852
+ if (updateDnsServersRequest instanceof UpdateDnsServersRequest_1.UpdateDnsServersRequest) {
3853
+ projectId = updateDnsServersRequest.projectId;
3854
+ body = updateDnsServersRequest.body;
3855
+ fwInstanceId = updateDnsServersRequest.fwInstanceId;
3856
+ enterpriseProjectId = updateDnsServersRequest.enterpriseProjectId;
3857
+ }
3858
+ else {
3859
+ projectId = updateDnsServersRequest['project_id'];
3860
+ body = updateDnsServersRequest['body'];
3861
+ fwInstanceId = updateDnsServersRequest['fw_instance_id'];
3862
+ enterpriseProjectId = updateDnsServersRequest['enterprise_project_id'];
3863
+ }
3864
+ }
3865
+ if (projectId === null || projectId === undefined) {
3866
+ throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling updateDnsServers.');
3867
+ }
3868
+ if (body === null || body === undefined) {
3869
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
3870
+ }
3871
+ if (fwInstanceId !== null && fwInstanceId !== undefined) {
3872
+ localVarQueryParameter['fw_instance_id'] = fwInstanceId;
3873
+ }
3874
+ if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
3875
+ localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
3876
+ }
3877
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3878
+ options.data = body !== undefined ? body : {};
2948
3879
  options.queryParams = localVarQueryParameter;
2949
3880
  options.pathParams = { 'project_id': projectId, };
2950
3881
  options.headers = localVarHeaderParameter;
2951
3882
  return options;
2952
3883
  },
2953
3884
  /**
2954
- * 查询服务组细节
2955
3885
  *
2956
3886
  * Please refer to HUAWEI cloud API Explorer for details.
2957
3887
  */
2958
- listServiceSetDetails(listServiceSetDetailsRequest) {
3888
+ updateDomainSet(updateDomainSetRequest) {
2959
3889
  const options = {
2960
- method: "GET",
2961
- url: "/v1/{project_id}/service-sets/{set_id}",
3890
+ method: "PUT",
3891
+ url: "/v1/{project_id}/domain-set/{set_id}",
2962
3892
  contentType: "application/json",
2963
3893
  queryParams: {},
2964
3894
  pathParams: {},
2965
- headers: {}
3895
+ headers: {},
3896
+ data: {}
2966
3897
  };
2967
3898
  const localVarHeaderParameter = {};
2968
3899
  const localVarQueryParameter = {};
3900
+ let body;
2969
3901
  let projectId;
2970
3902
  let setId;
2971
3903
  let enterpriseProjectId;
2972
3904
  let fwInstanceId;
2973
- if (listServiceSetDetailsRequest !== null && listServiceSetDetailsRequest !== undefined) {
2974
- if (listServiceSetDetailsRequest instanceof ListServiceSetDetailsRequest_1.ListServiceSetDetailsRequest) {
2975
- projectId = listServiceSetDetailsRequest.projectId;
2976
- setId = listServiceSetDetailsRequest.setId;
2977
- enterpriseProjectId = listServiceSetDetailsRequest.enterpriseProjectId;
2978
- fwInstanceId = listServiceSetDetailsRequest.fwInstanceId;
3905
+ if (updateDomainSetRequest !== null && updateDomainSetRequest !== undefined) {
3906
+ if (updateDomainSetRequest instanceof UpdateDomainSetRequest_1.UpdateDomainSetRequest) {
3907
+ projectId = updateDomainSetRequest.projectId;
3908
+ setId = updateDomainSetRequest.setId;
3909
+ body = updateDomainSetRequest.body;
3910
+ enterpriseProjectId = updateDomainSetRequest.enterpriseProjectId;
3911
+ fwInstanceId = updateDomainSetRequest.fwInstanceId;
2979
3912
  }
2980
3913
  else {
2981
- projectId = listServiceSetDetailsRequest['project_id'];
2982
- setId = listServiceSetDetailsRequest['set_id'];
2983
- enterpriseProjectId = listServiceSetDetailsRequest['enterprise_project_id'];
2984
- fwInstanceId = listServiceSetDetailsRequest['fw_instance_id'];
3914
+ projectId = updateDomainSetRequest['project_id'];
3915
+ setId = updateDomainSetRequest['set_id'];
3916
+ body = updateDomainSetRequest['body'];
3917
+ enterpriseProjectId = updateDomainSetRequest['enterprise_project_id'];
3918
+ fwInstanceId = updateDomainSetRequest['fw_instance_id'];
2985
3919
  }
2986
3920
  }
2987
3921
  if (projectId === null || projectId === undefined) {
2988
- throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listServiceSetDetails.');
3922
+ throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling updateDomainSet.');
2989
3923
  }
2990
3924
  if (setId === null || setId === undefined) {
2991
- throw new RequiredError('setId', 'Required parameter setId was null or undefined when calling listServiceSetDetails.');
3925
+ throw new RequiredError('setId', 'Required parameter setId was null or undefined when calling updateDomainSet.');
3926
+ }
3927
+ if (body === null || body === undefined) {
3928
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
2992
3929
  }
2993
3930
  if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
2994
3931
  localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
@@ -2996,20 +3933,22 @@ const ParamCreater = function () {
2996
3933
  if (fwInstanceId !== null && fwInstanceId !== undefined) {
2997
3934
  localVarQueryParameter['fw_instance_id'] = fwInstanceId;
2998
3935
  }
3936
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3937
+ options.data = body !== undefined ? body : {};
2999
3938
  options.queryParams = localVarQueryParameter;
3000
3939
  options.pathParams = { 'project_id': projectId, 'set_id': setId, };
3001
3940
  options.headers = localVarHeaderParameter;
3002
3941
  return options;
3003
3942
  },
3004
3943
  /**
3005
- * 更新地址组信息
3944
+ * 更新服务组
3006
3945
  *
3007
3946
  * Please refer to HUAWEI cloud API Explorer for details.
3008
3947
  */
3009
- updateAddressSetInfoUsingPut(updateAddressSetInfoUsingPutRequest) {
3948
+ updateServiceSet(updateServiceSetRequest) {
3010
3949
  const options = {
3011
3950
  method: "PUT",
3012
- url: "/v1/{project_id}/address-sets/{set_id}",
3951
+ url: "/v1/{project_id}/service-sets/{set_id}",
3013
3952
  contentType: "application/json",
3014
3953
  queryParams: {},
3015
3954
  pathParams: {},
@@ -3023,27 +3962,27 @@ const ParamCreater = function () {
3023
3962
  let setId;
3024
3963
  let enterpriseProjectId;
3025
3964
  let fwInstanceId;
3026
- if (updateAddressSetInfoUsingPutRequest !== null && updateAddressSetInfoUsingPutRequest !== undefined) {
3027
- if (updateAddressSetInfoUsingPutRequest instanceof UpdateAddressSetInfoUsingPutRequest_1.UpdateAddressSetInfoUsingPutRequest) {
3028
- projectId = updateAddressSetInfoUsingPutRequest.projectId;
3029
- setId = updateAddressSetInfoUsingPutRequest.setId;
3030
- body = updateAddressSetInfoUsingPutRequest.body;
3031
- enterpriseProjectId = updateAddressSetInfoUsingPutRequest.enterpriseProjectId;
3032
- fwInstanceId = updateAddressSetInfoUsingPutRequest.fwInstanceId;
3965
+ if (updateServiceSetRequest !== null && updateServiceSetRequest !== undefined) {
3966
+ if (updateServiceSetRequest instanceof UpdateServiceSetRequest_1.UpdateServiceSetRequest) {
3967
+ projectId = updateServiceSetRequest.projectId;
3968
+ setId = updateServiceSetRequest.setId;
3969
+ body = updateServiceSetRequest.body;
3970
+ enterpriseProjectId = updateServiceSetRequest.enterpriseProjectId;
3971
+ fwInstanceId = updateServiceSetRequest.fwInstanceId;
3033
3972
  }
3034
3973
  else {
3035
- projectId = updateAddressSetInfoUsingPutRequest['project_id'];
3036
- setId = updateAddressSetInfoUsingPutRequest['set_id'];
3037
- body = updateAddressSetInfoUsingPutRequest['body'];
3038
- enterpriseProjectId = updateAddressSetInfoUsingPutRequest['enterprise_project_id'];
3039
- fwInstanceId = updateAddressSetInfoUsingPutRequest['fw_instance_id'];
3974
+ projectId = updateServiceSetRequest['project_id'];
3975
+ setId = updateServiceSetRequest['set_id'];
3976
+ body = updateServiceSetRequest['body'];
3977
+ enterpriseProjectId = updateServiceSetRequest['enterprise_project_id'];
3978
+ fwInstanceId = updateServiceSetRequest['fw_instance_id'];
3040
3979
  }
3041
3980
  }
3042
3981
  if (projectId === null || projectId === undefined) {
3043
- throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling updateAddressSetInfoUsingPut.');
3982
+ throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling updateServiceSet.');
3044
3983
  }
3045
3984
  if (setId === null || setId === undefined) {
3046
- throw new RequiredError('setId', 'Required parameter setId was null or undefined when calling updateAddressSetInfoUsingPut.');
3985
+ throw new RequiredError('setId', 'Required parameter setId was null or undefined when calling updateServiceSet.');
3047
3986
  }
3048
3987
  if (body === null || body === undefined) {
3049
3988
  throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
@@ -3062,14 +4001,14 @@ const ParamCreater = function () {
3062
4001
  return options;
3063
4002
  },
3064
4003
  /**
3065
- * 更新黑白名单列表
4004
+ * 创建ACL规则
3066
4005
  *
3067
4006
  * Please refer to HUAWEI cloud API Explorer for details.
3068
4007
  */
3069
- updateBlackWhiteListUsingPut(updateBlackWhiteListUsingPutRequest) {
4008
+ addAclRule(addAclRuleRequest) {
3070
4009
  const options = {
3071
- method: "PUT",
3072
- url: "/v1/{project_id}/black-white-list/{list_id}",
4010
+ method: "POST",
4011
+ url: "/v1/{project_id}/acl-rule",
3073
4012
  contentType: "application/json",
3074
4013
  queryParams: {},
3075
4014
  pathParams: {},
@@ -3080,30 +4019,24 @@ const ParamCreater = function () {
3080
4019
  const localVarQueryParameter = {};
3081
4020
  let body;
3082
4021
  let projectId;
3083
- let listId;
3084
4022
  let enterpriseProjectId;
3085
4023
  let fwInstanceId;
3086
- if (updateBlackWhiteListUsingPutRequest !== null && updateBlackWhiteListUsingPutRequest !== undefined) {
3087
- if (updateBlackWhiteListUsingPutRequest instanceof UpdateBlackWhiteListUsingPutRequest_1.UpdateBlackWhiteListUsingPutRequest) {
3088
- projectId = updateBlackWhiteListUsingPutRequest.projectId;
3089
- listId = updateBlackWhiteListUsingPutRequest.listId;
3090
- body = updateBlackWhiteListUsingPutRequest.body;
3091
- enterpriseProjectId = updateBlackWhiteListUsingPutRequest.enterpriseProjectId;
3092
- fwInstanceId = updateBlackWhiteListUsingPutRequest.fwInstanceId;
4024
+ if (addAclRuleRequest !== null && addAclRuleRequest !== undefined) {
4025
+ if (addAclRuleRequest instanceof AddAclRuleRequest_1.AddAclRuleRequest) {
4026
+ projectId = addAclRuleRequest.projectId;
4027
+ body = addAclRuleRequest.body;
4028
+ enterpriseProjectId = addAclRuleRequest.enterpriseProjectId;
4029
+ fwInstanceId = addAclRuleRequest.fwInstanceId;
3093
4030
  }
3094
4031
  else {
3095
- projectId = updateBlackWhiteListUsingPutRequest['project_id'];
3096
- listId = updateBlackWhiteListUsingPutRequest['list_id'];
3097
- body = updateBlackWhiteListUsingPutRequest['body'];
3098
- enterpriseProjectId = updateBlackWhiteListUsingPutRequest['enterprise_project_id'];
3099
- fwInstanceId = updateBlackWhiteListUsingPutRequest['fw_instance_id'];
4032
+ projectId = addAclRuleRequest['project_id'];
4033
+ body = addAclRuleRequest['body'];
4034
+ enterpriseProjectId = addAclRuleRequest['enterprise_project_id'];
4035
+ fwInstanceId = addAclRuleRequest['fw_instance_id'];
3100
4036
  }
3101
4037
  }
3102
4038
  if (projectId === null || projectId === undefined) {
3103
- throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling updateBlackWhiteListUsingPut.');
3104
- }
3105
- if (listId === null || listId === undefined) {
3106
- throw new RequiredError('listId', 'Required parameter listId was null or undefined when calling updateBlackWhiteListUsingPut.');
4039
+ throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling addAclRule.');
3107
4040
  }
3108
4041
  if (body === null || body === undefined) {
3109
4042
  throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
@@ -3117,19 +4050,19 @@ const ParamCreater = function () {
3117
4050
  localVarHeaderParameter['Content-Type'] = 'application/json';
3118
4051
  options.data = body !== undefined ? body : {};
3119
4052
  options.queryParams = localVarQueryParameter;
3120
- options.pathParams = { 'project_id': projectId, 'list_id': listId, };
4053
+ options.pathParams = { 'project_id': projectId, };
3121
4054
  options.headers = localVarHeaderParameter;
3122
4055
  return options;
3123
4056
  },
3124
4057
  /**
3125
- * 更新dns服务器列表
4058
+ * 批量删除Acl规则
3126
4059
  *
3127
4060
  * Please refer to HUAWEI cloud API Explorer for details.
3128
4061
  */
3129
- updateDnsServers(updateDnsServersRequest) {
4062
+ batchDeleteAclRules(batchDeleteAclRulesRequest) {
3130
4063
  const options = {
3131
- method: "PUT",
3132
- url: "/v1/{project_id}/dns/servers",
4064
+ method: "DELETE",
4065
+ url: "/v1/{project_id}/acl-rule",
3133
4066
  contentType: "application/json",
3134
4067
  queryParams: {},
3135
4068
  pathParams: {},
@@ -3140,34 +4073,34 @@ const ParamCreater = function () {
3140
4073
  const localVarQueryParameter = {};
3141
4074
  let body;
3142
4075
  let projectId;
3143
- let fwInstanceId;
3144
4076
  let enterpriseProjectId;
3145
- if (updateDnsServersRequest !== null && updateDnsServersRequest !== undefined) {
3146
- if (updateDnsServersRequest instanceof UpdateDnsServersRequest_1.UpdateDnsServersRequest) {
3147
- projectId = updateDnsServersRequest.projectId;
3148
- body = updateDnsServersRequest.body;
3149
- fwInstanceId = updateDnsServersRequest.fwInstanceId;
3150
- enterpriseProjectId = updateDnsServersRequest.enterpriseProjectId;
4077
+ let fwInstanceId;
4078
+ if (batchDeleteAclRulesRequest !== null && batchDeleteAclRulesRequest !== undefined) {
4079
+ if (batchDeleteAclRulesRequest instanceof BatchDeleteAclRulesRequest_1.BatchDeleteAclRulesRequest) {
4080
+ projectId = batchDeleteAclRulesRequest.projectId;
4081
+ body = batchDeleteAclRulesRequest.body;
4082
+ enterpriseProjectId = batchDeleteAclRulesRequest.enterpriseProjectId;
4083
+ fwInstanceId = batchDeleteAclRulesRequest.fwInstanceId;
3151
4084
  }
3152
4085
  else {
3153
- projectId = updateDnsServersRequest['project_id'];
3154
- body = updateDnsServersRequest['body'];
3155
- fwInstanceId = updateDnsServersRequest['fw_instance_id'];
3156
- enterpriseProjectId = updateDnsServersRequest['enterprise_project_id'];
4086
+ projectId = batchDeleteAclRulesRequest['project_id'];
4087
+ body = batchDeleteAclRulesRequest['body'];
4088
+ enterpriseProjectId = batchDeleteAclRulesRequest['enterprise_project_id'];
4089
+ fwInstanceId = batchDeleteAclRulesRequest['fw_instance_id'];
3157
4090
  }
3158
4091
  }
3159
4092
  if (projectId === null || projectId === undefined) {
3160
- throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling updateDnsServers.');
4093
+ throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling batchDeleteAclRules.');
3161
4094
  }
3162
4095
  if (body === null || body === undefined) {
3163
4096
  throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
3164
4097
  }
3165
- if (fwInstanceId !== null && fwInstanceId !== undefined) {
3166
- localVarQueryParameter['fw_instance_id'] = fwInstanceId;
3167
- }
3168
4098
  if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
3169
4099
  localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
3170
4100
  }
4101
+ if (fwInstanceId !== null && fwInstanceId !== undefined) {
4102
+ localVarQueryParameter['fw_instance_id'] = fwInstanceId;
4103
+ }
3171
4104
  localVarHeaderParameter['Content-Type'] = 'application/json';
3172
4105
  options.data = body !== undefined ? body : {};
3173
4106
  options.queryParams = localVarQueryParameter;
@@ -3176,14 +4109,13 @@ const ParamCreater = function () {
3176
4109
  return options;
3177
4110
  },
3178
4111
  /**
3179
- * 更新服务组
3180
4112
  *
3181
4113
  * Please refer to HUAWEI cloud API Explorer for details.
3182
4114
  */
3183
- updateServiceSetUsingPut(updateServiceSetUsingPutRequest) {
4115
+ batchUpdateAclRuleActions(batchUpdateAclRuleActionsRequest) {
3184
4116
  const options = {
3185
4117
  method: "PUT",
3186
- url: "/v1/{project_id}/service-sets/{set_id}",
4118
+ url: "/v1/{project_id}/acl-rule/action",
3187
4119
  contentType: "application/json",
3188
4120
  queryParams: {},
3189
4121
  pathParams: {},
@@ -3194,30 +4126,21 @@ const ParamCreater = function () {
3194
4126
  const localVarQueryParameter = {};
3195
4127
  let body;
3196
4128
  let projectId;
3197
- let setId;
3198
4129
  let enterpriseProjectId;
3199
- let fwInstanceId;
3200
- if (updateServiceSetUsingPutRequest !== null && updateServiceSetUsingPutRequest !== undefined) {
3201
- if (updateServiceSetUsingPutRequest instanceof UpdateServiceSetUsingPutRequest_1.UpdateServiceSetUsingPutRequest) {
3202
- projectId = updateServiceSetUsingPutRequest.projectId;
3203
- setId = updateServiceSetUsingPutRequest.setId;
3204
- body = updateServiceSetUsingPutRequest.body;
3205
- enterpriseProjectId = updateServiceSetUsingPutRequest.enterpriseProjectId;
3206
- fwInstanceId = updateServiceSetUsingPutRequest.fwInstanceId;
4130
+ if (batchUpdateAclRuleActionsRequest !== null && batchUpdateAclRuleActionsRequest !== undefined) {
4131
+ if (batchUpdateAclRuleActionsRequest instanceof BatchUpdateAclRuleActionsRequest_1.BatchUpdateAclRuleActionsRequest) {
4132
+ projectId = batchUpdateAclRuleActionsRequest.projectId;
4133
+ body = batchUpdateAclRuleActionsRequest.body;
4134
+ enterpriseProjectId = batchUpdateAclRuleActionsRequest.enterpriseProjectId;
3207
4135
  }
3208
4136
  else {
3209
- projectId = updateServiceSetUsingPutRequest['project_id'];
3210
- setId = updateServiceSetUsingPutRequest['set_id'];
3211
- body = updateServiceSetUsingPutRequest['body'];
3212
- enterpriseProjectId = updateServiceSetUsingPutRequest['enterprise_project_id'];
3213
- fwInstanceId = updateServiceSetUsingPutRequest['fw_instance_id'];
4137
+ projectId = batchUpdateAclRuleActionsRequest['project_id'];
4138
+ body = batchUpdateAclRuleActionsRequest['body'];
4139
+ enterpriseProjectId = batchUpdateAclRuleActionsRequest['enterprise_project_id'];
3214
4140
  }
3215
4141
  }
3216
4142
  if (projectId === null || projectId === undefined) {
3217
- throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling updateServiceSetUsingPut.');
3218
- }
3219
- if (setId === null || setId === undefined) {
3220
- throw new RequiredError('setId', 'Required parameter setId was null or undefined when calling updateServiceSetUsingPut.');
4143
+ throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling batchUpdateAclRuleActions.');
3221
4144
  }
3222
4145
  if (body === null || body === undefined) {
3223
4146
  throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
@@ -3225,56 +4148,52 @@ const ParamCreater = function () {
3225
4148
  if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
3226
4149
  localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
3227
4150
  }
3228
- if (fwInstanceId !== null && fwInstanceId !== undefined) {
3229
- localVarQueryParameter['fw_instance_id'] = fwInstanceId;
3230
- }
3231
4151
  localVarHeaderParameter['Content-Type'] = 'application/json';
3232
4152
  options.data = body !== undefined ? body : {};
3233
4153
  options.queryParams = localVarQueryParameter;
3234
- options.pathParams = { 'project_id': projectId, 'set_id': setId, };
4154
+ options.pathParams = { 'project_id': projectId, };
3235
4155
  options.headers = localVarHeaderParameter;
3236
4156
  return options;
3237
4157
  },
3238
4158
  /**
3239
- * 创建ACL规则
4159
+ * 删除ACL规则组
3240
4160
  *
3241
4161
  * Please refer to HUAWEI cloud API Explorer for details.
3242
4162
  */
3243
- addRuleAclUsingPost(addRuleAclUsingPostRequest) {
4163
+ deleteAclRule(deleteAclRuleRequest) {
3244
4164
  const options = {
3245
- method: "POST",
3246
- url: "/v1/{project_id}/acl-rule",
4165
+ method: "DELETE",
4166
+ url: "/v1/{project_id}/acl-rule/{acl_rule_id}",
3247
4167
  contentType: "application/json",
3248
4168
  queryParams: {},
3249
4169
  pathParams: {},
3250
- headers: {},
3251
- data: {}
4170
+ headers: {}
3252
4171
  };
3253
4172
  const localVarHeaderParameter = {};
3254
4173
  const localVarQueryParameter = {};
3255
- let body;
3256
4174
  let projectId;
4175
+ let aclRuleId;
3257
4176
  let enterpriseProjectId;
3258
4177
  let fwInstanceId;
3259
- if (addRuleAclUsingPostRequest !== null && addRuleAclUsingPostRequest !== undefined) {
3260
- if (addRuleAclUsingPostRequest instanceof AddRuleAclUsingPostRequest_1.AddRuleAclUsingPostRequest) {
3261
- projectId = addRuleAclUsingPostRequest.projectId;
3262
- body = addRuleAclUsingPostRequest.body;
3263
- enterpriseProjectId = addRuleAclUsingPostRequest.enterpriseProjectId;
3264
- fwInstanceId = addRuleAclUsingPostRequest.fwInstanceId;
4178
+ if (deleteAclRuleRequest !== null && deleteAclRuleRequest !== undefined) {
4179
+ if (deleteAclRuleRequest instanceof DeleteAclRuleRequest_1.DeleteAclRuleRequest) {
4180
+ projectId = deleteAclRuleRequest.projectId;
4181
+ aclRuleId = deleteAclRuleRequest.aclRuleId;
4182
+ enterpriseProjectId = deleteAclRuleRequest.enterpriseProjectId;
4183
+ fwInstanceId = deleteAclRuleRequest.fwInstanceId;
3265
4184
  }
3266
4185
  else {
3267
- projectId = addRuleAclUsingPostRequest['project_id'];
3268
- body = addRuleAclUsingPostRequest['body'];
3269
- enterpriseProjectId = addRuleAclUsingPostRequest['enterprise_project_id'];
3270
- fwInstanceId = addRuleAclUsingPostRequest['fw_instance_id'];
4186
+ projectId = deleteAclRuleRequest['project_id'];
4187
+ aclRuleId = deleteAclRuleRequest['acl_rule_id'];
4188
+ enterpriseProjectId = deleteAclRuleRequest['enterprise_project_id'];
4189
+ fwInstanceId = deleteAclRuleRequest['fw_instance_id'];
3271
4190
  }
3272
4191
  }
3273
4192
  if (projectId === null || projectId === undefined) {
3274
- throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling addRuleAclUsingPost.');
4193
+ throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling deleteAclRule.');
3275
4194
  }
3276
- if (body === null || body === undefined) {
3277
- throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
4195
+ if (aclRuleId === null || aclRuleId === undefined) {
4196
+ throw new RequiredError('aclRuleId', 'Required parameter aclRuleId was null or undefined when calling deleteAclRule.');
3278
4197
  }
3279
4198
  if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
3280
4199
  localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
@@ -3282,52 +4201,51 @@ const ParamCreater = function () {
3282
4201
  if (fwInstanceId !== null && fwInstanceId !== undefined) {
3283
4202
  localVarQueryParameter['fw_instance_id'] = fwInstanceId;
3284
4203
  }
3285
- localVarHeaderParameter['Content-Type'] = 'application/json';
3286
- options.data = body !== undefined ? body : {};
3287
4204
  options.queryParams = localVarQueryParameter;
3288
- options.pathParams = { 'project_id': projectId, };
4205
+ options.pathParams = { 'project_id': projectId, 'acl_rule_id': aclRuleId, };
3289
4206
  options.headers = localVarHeaderParameter;
3290
4207
  return options;
3291
4208
  },
3292
4209
  /**
3293
- * 删除ACL规则组
4210
+ * 清除规则击中次数
3294
4211
  *
3295
4212
  * Please refer to HUAWEI cloud API Explorer for details.
3296
4213
  */
3297
- deleteRuleAclUsingDelete(deleteRuleAclUsingDeleteRequest) {
4214
+ deleteAclRuleHitCount(deleteAclRuleHitCountRequest) {
3298
4215
  const options = {
3299
4216
  method: "DELETE",
3300
- url: "/v1/{project_id}/acl-rule/{acl_rule_id}",
4217
+ url: "/v1/{project_id}/acl-rule/count",
3301
4218
  contentType: "application/json",
3302
4219
  queryParams: {},
3303
4220
  pathParams: {},
3304
- headers: {}
4221
+ headers: {},
4222
+ data: {}
3305
4223
  };
3306
4224
  const localVarHeaderParameter = {};
3307
4225
  const localVarQueryParameter = {};
4226
+ let body;
3308
4227
  let projectId;
3309
- let aclRuleId;
3310
4228
  let enterpriseProjectId;
3311
4229
  let fwInstanceId;
3312
- if (deleteRuleAclUsingDeleteRequest !== null && deleteRuleAclUsingDeleteRequest !== undefined) {
3313
- if (deleteRuleAclUsingDeleteRequest instanceof DeleteRuleAclUsingDeleteRequest_1.DeleteRuleAclUsingDeleteRequest) {
3314
- projectId = deleteRuleAclUsingDeleteRequest.projectId;
3315
- aclRuleId = deleteRuleAclUsingDeleteRequest.aclRuleId;
3316
- enterpriseProjectId = deleteRuleAclUsingDeleteRequest.enterpriseProjectId;
3317
- fwInstanceId = deleteRuleAclUsingDeleteRequest.fwInstanceId;
4230
+ if (deleteAclRuleHitCountRequest !== null && deleteAclRuleHitCountRequest !== undefined) {
4231
+ if (deleteAclRuleHitCountRequest instanceof DeleteAclRuleHitCountRequest_1.DeleteAclRuleHitCountRequest) {
4232
+ projectId = deleteAclRuleHitCountRequest.projectId;
4233
+ body = deleteAclRuleHitCountRequest.body;
4234
+ enterpriseProjectId = deleteAclRuleHitCountRequest.enterpriseProjectId;
4235
+ fwInstanceId = deleteAclRuleHitCountRequest.fwInstanceId;
3318
4236
  }
3319
4237
  else {
3320
- projectId = deleteRuleAclUsingDeleteRequest['project_id'];
3321
- aclRuleId = deleteRuleAclUsingDeleteRequest['acl_rule_id'];
3322
- enterpriseProjectId = deleteRuleAclUsingDeleteRequest['enterprise_project_id'];
3323
- fwInstanceId = deleteRuleAclUsingDeleteRequest['fw_instance_id'];
4238
+ projectId = deleteAclRuleHitCountRequest['project_id'];
4239
+ body = deleteAclRuleHitCountRequest['body'];
4240
+ enterpriseProjectId = deleteAclRuleHitCountRequest['enterprise_project_id'];
4241
+ fwInstanceId = deleteAclRuleHitCountRequest['fw_instance_id'];
3324
4242
  }
3325
4243
  }
3326
4244
  if (projectId === null || projectId === undefined) {
3327
- throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling deleteRuleAclUsingDelete.');
4245
+ throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling deleteAclRuleHitCount.');
3328
4246
  }
3329
- if (aclRuleId === null || aclRuleId === undefined) {
3330
- throw new RequiredError('aclRuleId', 'Required parameter aclRuleId was null or undefined when calling deleteRuleAclUsingDelete.');
4247
+ if (body === null || body === undefined) {
4248
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
3331
4249
  }
3332
4250
  if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
3333
4251
  localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
@@ -3335,20 +4253,22 @@ const ParamCreater = function () {
3335
4253
  if (fwInstanceId !== null && fwInstanceId !== undefined) {
3336
4254
  localVarQueryParameter['fw_instance_id'] = fwInstanceId;
3337
4255
  }
4256
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4257
+ options.data = body !== undefined ? body : {};
3338
4258
  options.queryParams = localVarQueryParameter;
3339
- options.pathParams = { 'project_id': projectId, 'acl_rule_id': aclRuleId, };
4259
+ options.pathParams = { 'project_id': projectId, };
3340
4260
  options.headers = localVarHeaderParameter;
3341
4261
  return options;
3342
4262
  },
3343
4263
  /**
3344
- * ACL防护规则优先级设置
4264
+ * 获取规则击中次数
3345
4265
  *
3346
4266
  * Please refer to HUAWEI cloud API Explorer for details.
3347
4267
  */
3348
- listRuleAclUsingPut(listRuleAclUsingPutRequest) {
4268
+ listAclRuleHitCount(listAclRuleHitCountRequest) {
3349
4269
  const options = {
3350
- method: "PUT",
3351
- url: "/v1/{project_id}/acl-rule/order/{acl_rule_id}",
4270
+ method: "POST",
4271
+ url: "/v1/{project_id}/acl-rule/count",
3352
4272
  contentType: "application/json",
3353
4273
  queryParams: {},
3354
4274
  pathParams: {},
@@ -3359,33 +4279,24 @@ const ParamCreater = function () {
3359
4279
  const localVarQueryParameter = {};
3360
4280
  let body;
3361
4281
  let projectId;
3362
- let aclRuleId;
3363
4282
  let enterpriseProjectId;
3364
4283
  let fwInstanceId;
3365
- if (listRuleAclUsingPutRequest !== null && listRuleAclUsingPutRequest !== undefined) {
3366
- if (listRuleAclUsingPutRequest instanceof ListRuleAclUsingPutRequest_1.ListRuleAclUsingPutRequest) {
3367
- projectId = listRuleAclUsingPutRequest.projectId;
3368
- aclRuleId = listRuleAclUsingPutRequest.aclRuleId;
3369
- body = listRuleAclUsingPutRequest.body;
3370
- enterpriseProjectId = listRuleAclUsingPutRequest.enterpriseProjectId;
3371
- fwInstanceId = listRuleAclUsingPutRequest.fwInstanceId;
4284
+ if (listAclRuleHitCountRequest !== null && listAclRuleHitCountRequest !== undefined) {
4285
+ if (listAclRuleHitCountRequest instanceof ListAclRuleHitCountRequest_1.ListAclRuleHitCountRequest) {
4286
+ projectId = listAclRuleHitCountRequest.projectId;
4287
+ enterpriseProjectId = listAclRuleHitCountRequest.enterpriseProjectId;
4288
+ fwInstanceId = listAclRuleHitCountRequest.fwInstanceId;
4289
+ body = listAclRuleHitCountRequest.body;
3372
4290
  }
3373
4291
  else {
3374
- projectId = listRuleAclUsingPutRequest['project_id'];
3375
- aclRuleId = listRuleAclUsingPutRequest['acl_rule_id'];
3376
- body = listRuleAclUsingPutRequest['body'];
3377
- enterpriseProjectId = listRuleAclUsingPutRequest['enterprise_project_id'];
3378
- fwInstanceId = listRuleAclUsingPutRequest['fw_instance_id'];
4292
+ projectId = listAclRuleHitCountRequest['project_id'];
4293
+ enterpriseProjectId = listAclRuleHitCountRequest['enterprise_project_id'];
4294
+ fwInstanceId = listAclRuleHitCountRequest['fw_instance_id'];
4295
+ body = listAclRuleHitCountRequest['body'];
3379
4296
  }
3380
4297
  }
3381
4298
  if (projectId === null || projectId === undefined) {
3382
- throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listRuleAclUsingPut.');
3383
- }
3384
- if (aclRuleId === null || aclRuleId === undefined) {
3385
- throw new RequiredError('aclRuleId', 'Required parameter aclRuleId was null or undefined when calling listRuleAclUsingPut.');
3386
- }
3387
- if (body === null || body === undefined) {
3388
- throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
4299
+ throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listAclRuleHitCount.');
3389
4300
  }
3390
4301
  if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
3391
4302
  localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
@@ -3396,7 +4307,7 @@ const ParamCreater = function () {
3396
4307
  localVarHeaderParameter['Content-Type'] = 'application/json';
3397
4308
  options.data = body !== undefined ? body : {};
3398
4309
  options.queryParams = localVarQueryParameter;
3399
- options.pathParams = { 'project_id': projectId, 'acl_rule_id': aclRuleId, };
4310
+ options.pathParams = { 'project_id': projectId, };
3400
4311
  options.headers = localVarHeaderParameter;
3401
4312
  return options;
3402
4313
  },
@@ -3405,7 +4316,7 @@ const ParamCreater = function () {
3405
4316
  *
3406
4317
  * Please refer to HUAWEI cloud API Explorer for details.
3407
4318
  */
3408
- listRuleAclsUsingGet(listRuleAclsUsingGetRequest) {
4319
+ listAclRules(listAclRulesRequest) {
3409
4320
  const options = {
3410
4321
  method: "GET",
3411
4322
  url: "/v1/{project_id}/acl-rules",
@@ -3430,57 +4341,69 @@ const ParamCreater = function () {
3430
4341
  let addressType;
3431
4342
  let enterpriseProjectId;
3432
4343
  let fwInstanceId;
3433
- if (listRuleAclsUsingGetRequest !== null && listRuleAclsUsingGetRequest !== undefined) {
3434
- if (listRuleAclsUsingGetRequest instanceof ListRuleAclsUsingGetRequest_1.ListRuleAclsUsingGetRequest) {
3435
- projectId = listRuleAclsUsingGetRequest.projectId;
3436
- objectId = listRuleAclsUsingGetRequest.objectId;
3437
- limit = listRuleAclsUsingGetRequest.limit;
3438
- offset = listRuleAclsUsingGetRequest.offset;
3439
- type = listRuleAclsUsingGetRequest.type;
3440
- protocol = listRuleAclsUsingGetRequest.protocol;
3441
- ip = listRuleAclsUsingGetRequest.ip;
3442
- name = listRuleAclsUsingGetRequest.name;
3443
- direction = listRuleAclsUsingGetRequest.direction;
3444
- status = listRuleAclsUsingGetRequest.status;
3445
- actionType = listRuleAclsUsingGetRequest.actionType;
3446
- addressType = listRuleAclsUsingGetRequest.addressType;
3447
- enterpriseProjectId = listRuleAclsUsingGetRequest.enterpriseProjectId;
3448
- fwInstanceId = listRuleAclsUsingGetRequest.fwInstanceId;
4344
+ let tagsId;
4345
+ let source;
4346
+ let destination;
4347
+ let service;
4348
+ if (listAclRulesRequest !== null && listAclRulesRequest !== undefined) {
4349
+ if (listAclRulesRequest instanceof ListAclRulesRequest_1.ListAclRulesRequest) {
4350
+ projectId = listAclRulesRequest.projectId;
4351
+ objectId = listAclRulesRequest.objectId;
4352
+ limit = listAclRulesRequest.limit;
4353
+ offset = listAclRulesRequest.offset;
4354
+ type = listAclRulesRequest.type;
4355
+ protocol = listAclRulesRequest.protocol;
4356
+ ip = listAclRulesRequest.ip;
4357
+ name = listAclRulesRequest.name;
4358
+ direction = listAclRulesRequest.direction;
4359
+ status = listAclRulesRequest.status;
4360
+ actionType = listAclRulesRequest.actionType;
4361
+ addressType = listAclRulesRequest.addressType;
4362
+ enterpriseProjectId = listAclRulesRequest.enterpriseProjectId;
4363
+ fwInstanceId = listAclRulesRequest.fwInstanceId;
4364
+ tagsId = listAclRulesRequest.tagsId;
4365
+ source = listAclRulesRequest.source;
4366
+ destination = listAclRulesRequest.destination;
4367
+ service = listAclRulesRequest.service;
3449
4368
  }
3450
4369
  else {
3451
- projectId = listRuleAclsUsingGetRequest['project_id'];
3452
- objectId = listRuleAclsUsingGetRequest['object_id'];
3453
- limit = listRuleAclsUsingGetRequest['limit'];
3454
- offset = listRuleAclsUsingGetRequest['offset'];
3455
- type = listRuleAclsUsingGetRequest['type'];
3456
- protocol = listRuleAclsUsingGetRequest['protocol'];
3457
- ip = listRuleAclsUsingGetRequest['ip'];
3458
- name = listRuleAclsUsingGetRequest['name'];
3459
- direction = listRuleAclsUsingGetRequest['direction'];
3460
- status = listRuleAclsUsingGetRequest['status'];
3461
- actionType = listRuleAclsUsingGetRequest['action_type'];
3462
- addressType = listRuleAclsUsingGetRequest['address_type'];
3463
- enterpriseProjectId = listRuleAclsUsingGetRequest['enterprise_project_id'];
3464
- fwInstanceId = listRuleAclsUsingGetRequest['fw_instance_id'];
4370
+ projectId = listAclRulesRequest['project_id'];
4371
+ objectId = listAclRulesRequest['object_id'];
4372
+ limit = listAclRulesRequest['limit'];
4373
+ offset = listAclRulesRequest['offset'];
4374
+ type = listAclRulesRequest['type'];
4375
+ protocol = listAclRulesRequest['protocol'];
4376
+ ip = listAclRulesRequest['ip'];
4377
+ name = listAclRulesRequest['name'];
4378
+ direction = listAclRulesRequest['direction'];
4379
+ status = listAclRulesRequest['status'];
4380
+ actionType = listAclRulesRequest['action_type'];
4381
+ addressType = listAclRulesRequest['address_type'];
4382
+ enterpriseProjectId = listAclRulesRequest['enterprise_project_id'];
4383
+ fwInstanceId = listAclRulesRequest['fw_instance_id'];
4384
+ tagsId = listAclRulesRequest['tags_id'];
4385
+ source = listAclRulesRequest['source'];
4386
+ destination = listAclRulesRequest['destination'];
4387
+ service = listAclRulesRequest['service'];
3465
4388
  }
3466
4389
  }
3467
4390
  if (projectId === null || projectId === undefined) {
3468
- throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listRuleAclsUsingGet.');
4391
+ throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listAclRules.');
3469
4392
  }
3470
4393
  if (objectId === null || objectId === undefined) {
3471
- throw new RequiredError('objectId', 'Required parameter objectId was null or undefined when calling listRuleAclsUsingGet.');
4394
+ throw new RequiredError('objectId', 'Required parameter objectId was null or undefined when calling listAclRules.');
3472
4395
  }
3473
4396
  if (objectId !== null && objectId !== undefined) {
3474
4397
  localVarQueryParameter['object_id'] = objectId;
3475
4398
  }
3476
4399
  if (limit === null || limit === undefined) {
3477
- throw new RequiredError('limit', 'Required parameter limit was null or undefined when calling listRuleAclsUsingGet.');
4400
+ throw new RequiredError('limit', 'Required parameter limit was null or undefined when calling listAclRules.');
3478
4401
  }
3479
4402
  if (limit !== null && limit !== undefined) {
3480
4403
  localVarQueryParameter['limit'] = limit;
3481
4404
  }
3482
4405
  if (offset === null || offset === undefined) {
3483
- throw new RequiredError('offset', 'Required parameter offset was null or undefined when calling listRuleAclsUsingGet.');
4406
+ throw new RequiredError('offset', 'Required parameter offset was null or undefined when calling listAclRules.');
3484
4407
  }
3485
4408
  if (offset !== null && offset !== undefined) {
3486
4409
  localVarQueryParameter['offset'] = offset;
@@ -3515,6 +4438,83 @@ const ParamCreater = function () {
3515
4438
  if (fwInstanceId !== null && fwInstanceId !== undefined) {
3516
4439
  localVarQueryParameter['fw_instance_id'] = fwInstanceId;
3517
4440
  }
4441
+ if (tagsId !== null && tagsId !== undefined) {
4442
+ localVarQueryParameter['tags_id'] = tagsId;
4443
+ }
4444
+ if (source !== null && source !== undefined) {
4445
+ localVarQueryParameter['source'] = source;
4446
+ }
4447
+ if (destination !== null && destination !== undefined) {
4448
+ localVarQueryParameter['destination'] = destination;
4449
+ }
4450
+ if (service !== null && service !== undefined) {
4451
+ localVarQueryParameter['service'] = service;
4452
+ }
4453
+ options.queryParams = localVarQueryParameter;
4454
+ options.pathParams = { 'project_id': projectId, };
4455
+ options.headers = localVarHeaderParameter;
4456
+ return options;
4457
+ },
4458
+ /**
4459
+ *
4460
+ * Please refer to HUAWEI cloud API Explorer for details.
4461
+ */
4462
+ listRuleAclTags(listRuleAclTagsRequest) {
4463
+ const options = {
4464
+ method: "GET",
4465
+ url: "/v2/{project_id}/cfw-acl/tags",
4466
+ contentType: "application/json",
4467
+ queryParams: {},
4468
+ pathParams: {},
4469
+ headers: {}
4470
+ };
4471
+ const localVarHeaderParameter = {};
4472
+ const localVarQueryParameter = {};
4473
+ let projectId;
4474
+ let fwInstanceId;
4475
+ let offset;
4476
+ let limit;
4477
+ let enterpriseProjectId;
4478
+ if (listRuleAclTagsRequest !== null && listRuleAclTagsRequest !== undefined) {
4479
+ if (listRuleAclTagsRequest instanceof ListRuleAclTagsRequest_1.ListRuleAclTagsRequest) {
4480
+ projectId = listRuleAclTagsRequest.projectId;
4481
+ fwInstanceId = listRuleAclTagsRequest.fwInstanceId;
4482
+ offset = listRuleAclTagsRequest.offset;
4483
+ limit = listRuleAclTagsRequest.limit;
4484
+ enterpriseProjectId = listRuleAclTagsRequest.enterpriseProjectId;
4485
+ }
4486
+ else {
4487
+ projectId = listRuleAclTagsRequest['project_id'];
4488
+ fwInstanceId = listRuleAclTagsRequest['fw_instance_id'];
4489
+ offset = listRuleAclTagsRequest['offset'];
4490
+ limit = listRuleAclTagsRequest['limit'];
4491
+ enterpriseProjectId = listRuleAclTagsRequest['enterprise_project_id'];
4492
+ }
4493
+ }
4494
+ if (projectId === null || projectId === undefined) {
4495
+ throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listRuleAclTags.');
4496
+ }
4497
+ if (fwInstanceId === null || fwInstanceId === undefined) {
4498
+ throw new RequiredError('fwInstanceId', 'Required parameter fwInstanceId was null or undefined when calling listRuleAclTags.');
4499
+ }
4500
+ if (fwInstanceId !== null && fwInstanceId !== undefined) {
4501
+ localVarQueryParameter['fw_instance_id'] = fwInstanceId;
4502
+ }
4503
+ if (offset === null || offset === undefined) {
4504
+ throw new RequiredError('offset', 'Required parameter offset was null or undefined when calling listRuleAclTags.');
4505
+ }
4506
+ if (offset !== null && offset !== undefined) {
4507
+ localVarQueryParameter['offset'] = offset;
4508
+ }
4509
+ if (limit === null || limit === undefined) {
4510
+ throw new RequiredError('limit', 'Required parameter limit was null or undefined when calling listRuleAclTags.');
4511
+ }
4512
+ if (limit !== null && limit !== undefined) {
4513
+ localVarQueryParameter['limit'] = limit;
4514
+ }
4515
+ if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
4516
+ localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
4517
+ }
3518
4518
  options.queryParams = localVarQueryParameter;
3519
4519
  options.pathParams = { 'project_id': projectId, };
3520
4520
  options.headers = localVarHeaderParameter;
@@ -3525,7 +4525,7 @@ const ParamCreater = function () {
3525
4525
  *
3526
4526
  * Please refer to HUAWEI cloud API Explorer for details.
3527
4527
  */
3528
- updateRuleAclUsingPut(updateRuleAclUsingPutRequest) {
4528
+ updateAclRule(updateAclRuleRequest) {
3529
4529
  const options = {
3530
4530
  method: "PUT",
3531
4531
  url: "/v1/{project_id}/acl-rule/{acl_rule_id}",
@@ -3542,27 +4542,87 @@ const ParamCreater = function () {
3542
4542
  let aclRuleId;
3543
4543
  let enterpriseProjectId;
3544
4544
  let fwInstanceId;
3545
- if (updateRuleAclUsingPutRequest !== null && updateRuleAclUsingPutRequest !== undefined) {
3546
- if (updateRuleAclUsingPutRequest instanceof UpdateRuleAclUsingPutRequest_1.UpdateRuleAclUsingPutRequest) {
3547
- projectId = updateRuleAclUsingPutRequest.projectId;
3548
- aclRuleId = updateRuleAclUsingPutRequest.aclRuleId;
3549
- body = updateRuleAclUsingPutRequest.body;
3550
- enterpriseProjectId = updateRuleAclUsingPutRequest.enterpriseProjectId;
3551
- fwInstanceId = updateRuleAclUsingPutRequest.fwInstanceId;
4545
+ if (updateAclRuleRequest !== null && updateAclRuleRequest !== undefined) {
4546
+ if (updateAclRuleRequest instanceof UpdateAclRuleRequest_1.UpdateAclRuleRequest) {
4547
+ projectId = updateAclRuleRequest.projectId;
4548
+ aclRuleId = updateAclRuleRequest.aclRuleId;
4549
+ body = updateAclRuleRequest.body;
4550
+ enterpriseProjectId = updateAclRuleRequest.enterpriseProjectId;
4551
+ fwInstanceId = updateAclRuleRequest.fwInstanceId;
4552
+ }
4553
+ else {
4554
+ projectId = updateAclRuleRequest['project_id'];
4555
+ aclRuleId = updateAclRuleRequest['acl_rule_id'];
4556
+ body = updateAclRuleRequest['body'];
4557
+ enterpriseProjectId = updateAclRuleRequest['enterprise_project_id'];
4558
+ fwInstanceId = updateAclRuleRequest['fw_instance_id'];
4559
+ }
4560
+ }
4561
+ if (projectId === null || projectId === undefined) {
4562
+ throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling updateAclRule.');
4563
+ }
4564
+ if (aclRuleId === null || aclRuleId === undefined) {
4565
+ throw new RequiredError('aclRuleId', 'Required parameter aclRuleId was null or undefined when calling updateAclRule.');
4566
+ }
4567
+ if (body === null || body === undefined) {
4568
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
4569
+ }
4570
+ if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
4571
+ localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
4572
+ }
4573
+ if (fwInstanceId !== null && fwInstanceId !== undefined) {
4574
+ localVarQueryParameter['fw_instance_id'] = fwInstanceId;
4575
+ }
4576
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4577
+ options.data = body !== undefined ? body : {};
4578
+ options.queryParams = localVarQueryParameter;
4579
+ options.pathParams = { 'project_id': projectId, 'acl_rule_id': aclRuleId, };
4580
+ options.headers = localVarHeaderParameter;
4581
+ return options;
4582
+ },
4583
+ /**
4584
+ * ACL防护规则优先级设置
4585
+ *
4586
+ * Please refer to HUAWEI cloud API Explorer for details.
4587
+ */
4588
+ updateAclRuleOrder(updateAclRuleOrderRequest) {
4589
+ const options = {
4590
+ method: "PUT",
4591
+ url: "/v1/{project_id}/acl-rule/order/{acl_rule_id}",
4592
+ contentType: "application/json",
4593
+ queryParams: {},
4594
+ pathParams: {},
4595
+ headers: {},
4596
+ data: {}
4597
+ };
4598
+ const localVarHeaderParameter = {};
4599
+ const localVarQueryParameter = {};
4600
+ let body;
4601
+ let projectId;
4602
+ let aclRuleId;
4603
+ let enterpriseProjectId;
4604
+ let fwInstanceId;
4605
+ if (updateAclRuleOrderRequest !== null && updateAclRuleOrderRequest !== undefined) {
4606
+ if (updateAclRuleOrderRequest instanceof UpdateAclRuleOrderRequest_1.UpdateAclRuleOrderRequest) {
4607
+ projectId = updateAclRuleOrderRequest.projectId;
4608
+ aclRuleId = updateAclRuleOrderRequest.aclRuleId;
4609
+ body = updateAclRuleOrderRequest.body;
4610
+ enterpriseProjectId = updateAclRuleOrderRequest.enterpriseProjectId;
4611
+ fwInstanceId = updateAclRuleOrderRequest.fwInstanceId;
3552
4612
  }
3553
4613
  else {
3554
- projectId = updateRuleAclUsingPutRequest['project_id'];
3555
- aclRuleId = updateRuleAclUsingPutRequest['acl_rule_id'];
3556
- body = updateRuleAclUsingPutRequest['body'];
3557
- enterpriseProjectId = updateRuleAclUsingPutRequest['enterprise_project_id'];
3558
- fwInstanceId = updateRuleAclUsingPutRequest['fw_instance_id'];
4614
+ projectId = updateAclRuleOrderRequest['project_id'];
4615
+ aclRuleId = updateAclRuleOrderRequest['acl_rule_id'];
4616
+ body = updateAclRuleOrderRequest['body'];
4617
+ enterpriseProjectId = updateAclRuleOrderRequest['enterprise_project_id'];
4618
+ fwInstanceId = updateAclRuleOrderRequest['fw_instance_id'];
3559
4619
  }
3560
4620
  }
3561
4621
  if (projectId === null || projectId === undefined) {
3562
- throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling updateRuleAclUsingPut.');
4622
+ throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling updateAclRuleOrder.');
3563
4623
  }
3564
4624
  if (aclRuleId === null || aclRuleId === undefined) {
3565
- throw new RequiredError('aclRuleId', 'Required parameter aclRuleId was null or undefined when calling updateRuleAclUsingPut.');
4625
+ throw new RequiredError('aclRuleId', 'Required parameter aclRuleId was null or undefined when calling updateAclRuleOrder.');
3566
4626
  }
3567
4627
  if (body === null || body === undefined) {
3568
4628
  throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
@@ -3581,11 +4641,11 @@ const ParamCreater = function () {
3581
4641
  return options;
3582
4642
  },
3583
4643
  /**
3584
- * 开启关闭EIP
4644
+ * 开启关闭EIP,客户购买EIP后首次开启EIP防护前需使用ListEips同步EIP资产,sync字段设置为1。
3585
4645
  *
3586
4646
  * Please refer to HUAWEI cloud API Explorer for details.
3587
4647
  */
3588
- changeProtectEip(changeProtectEipRequest) {
4648
+ changeEipStatus(changeEipStatusRequest) {
3589
4649
  const options = {
3590
4650
  method: "POST",
3591
4651
  url: "/v1/{project_id}/eip/protect",
@@ -3601,22 +4661,22 @@ const ParamCreater = function () {
3601
4661
  let projectId;
3602
4662
  let enterpriseProjectId;
3603
4663
  let fwInstanceId;
3604
- if (changeProtectEipRequest !== null && changeProtectEipRequest !== undefined) {
3605
- if (changeProtectEipRequest instanceof ChangeProtectEipRequest_1.ChangeProtectEipRequest) {
3606
- projectId = changeProtectEipRequest.projectId;
3607
- body = changeProtectEipRequest.body;
3608
- enterpriseProjectId = changeProtectEipRequest.enterpriseProjectId;
3609
- fwInstanceId = changeProtectEipRequest.fwInstanceId;
4664
+ if (changeEipStatusRequest !== null && changeEipStatusRequest !== undefined) {
4665
+ if (changeEipStatusRequest instanceof ChangeEipStatusRequest_1.ChangeEipStatusRequest) {
4666
+ projectId = changeEipStatusRequest.projectId;
4667
+ body = changeEipStatusRequest.body;
4668
+ enterpriseProjectId = changeEipStatusRequest.enterpriseProjectId;
4669
+ fwInstanceId = changeEipStatusRequest.fwInstanceId;
3610
4670
  }
3611
4671
  else {
3612
- projectId = changeProtectEipRequest['project_id'];
3613
- body = changeProtectEipRequest['body'];
3614
- enterpriseProjectId = changeProtectEipRequest['enterprise_project_id'];
3615
- fwInstanceId = changeProtectEipRequest['fw_instance_id'];
4672
+ projectId = changeEipStatusRequest['project_id'];
4673
+ body = changeEipStatusRequest['body'];
4674
+ enterpriseProjectId = changeEipStatusRequest['enterprise_project_id'];
4675
+ fwInstanceId = changeEipStatusRequest['fw_instance_id'];
3616
4676
  }
3617
4677
  }
3618
4678
  if (projectId === null || projectId === undefined) {
3619
- throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling changeProtectEip.');
4679
+ throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling changeEipStatus.');
3620
4680
  }
3621
4681
  if (body === null || body === undefined) {
3622
4682
  throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
@@ -3639,7 +4699,7 @@ const ParamCreater = function () {
3639
4699
  *
3640
4700
  * Please refer to HUAWEI cloud API Explorer for details.
3641
4701
  */
3642
- countEips(countEipsRequest) {
4702
+ listEipCount(listEipCountRequest) {
3643
4703
  const options = {
3644
4704
  method: "GET",
3645
4705
  url: "/v1/{project_id}/eip-count/{object_id}",
@@ -3654,25 +4714,25 @@ const ParamCreater = function () {
3654
4714
  let objectId;
3655
4715
  let enterpriseProjectId;
3656
4716
  let fwInstanceId;
3657
- if (countEipsRequest !== null && countEipsRequest !== undefined) {
3658
- if (countEipsRequest instanceof CountEipsRequest_1.CountEipsRequest) {
3659
- projectId = countEipsRequest.projectId;
3660
- objectId = countEipsRequest.objectId;
3661
- enterpriseProjectId = countEipsRequest.enterpriseProjectId;
3662
- fwInstanceId = countEipsRequest.fwInstanceId;
4717
+ if (listEipCountRequest !== null && listEipCountRequest !== undefined) {
4718
+ if (listEipCountRequest instanceof ListEipCountRequest_1.ListEipCountRequest) {
4719
+ projectId = listEipCountRequest.projectId;
4720
+ objectId = listEipCountRequest.objectId;
4721
+ enterpriseProjectId = listEipCountRequest.enterpriseProjectId;
4722
+ fwInstanceId = listEipCountRequest.fwInstanceId;
3663
4723
  }
3664
4724
  else {
3665
- projectId = countEipsRequest['project_id'];
3666
- objectId = countEipsRequest['object_id'];
3667
- enterpriseProjectId = countEipsRequest['enterprise_project_id'];
3668
- fwInstanceId = countEipsRequest['fw_instance_id'];
4725
+ projectId = listEipCountRequest['project_id'];
4726
+ objectId = listEipCountRequest['object_id'];
4727
+ enterpriseProjectId = listEipCountRequest['enterprise_project_id'];
4728
+ fwInstanceId = listEipCountRequest['fw_instance_id'];
3669
4729
  }
3670
4730
  }
3671
4731
  if (projectId === null || projectId === undefined) {
3672
- throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling countEips.');
4732
+ throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listEipCount.');
3673
4733
  }
3674
4734
  if (objectId === null || objectId === undefined) {
3675
- throw new RequiredError('objectId', 'Required parameter objectId was null or undefined when calling countEips.');
4735
+ throw new RequiredError('objectId', 'Required parameter objectId was null or undefined when calling listEipCount.');
3676
4736
  }
3677
4737
  if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
3678
4738
  localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
@@ -3690,7 +4750,7 @@ const ParamCreater = function () {
3690
4750
  *
3691
4751
  * Please refer to HUAWEI cloud API Explorer for details.
3692
4752
  */
3693
- listEipResources(listEipResourcesRequest) {
4753
+ listEips(listEipsRequest) {
3694
4754
  const options = {
3695
4755
  method: "GET",
3696
4756
  url: "/v1/{project_id}/eips/protect",
@@ -3714,55 +4774,58 @@ const ParamCreater = function () {
3714
4774
  let fwInstanceId;
3715
4775
  let fwKeyWord;
3716
4776
  let epsId;
3717
- if (listEipResourcesRequest !== null && listEipResourcesRequest !== undefined) {
3718
- if (listEipResourcesRequest instanceof ListEipResourcesRequest_1.ListEipResourcesRequest) {
3719
- projectId = listEipResourcesRequest.projectId;
3720
- objectId = listEipResourcesRequest.objectId;
3721
- limit = listEipResourcesRequest.limit;
3722
- offset = listEipResourcesRequest.offset;
3723
- keyWord = listEipResourcesRequest.keyWord;
3724
- status = listEipResourcesRequest.status;
3725
- sync = listEipResourcesRequest.sync;
3726
- enterpriseProjectId = listEipResourcesRequest.enterpriseProjectId;
3727
- deviceKey = listEipResourcesRequest.deviceKey;
3728
- addressType = listEipResourcesRequest.addressType;
3729
- fwInstanceId = listEipResourcesRequest.fwInstanceId;
3730
- fwKeyWord = listEipResourcesRequest.fwKeyWord;
3731
- epsId = listEipResourcesRequest.epsId;
4777
+ let tags;
4778
+ if (listEipsRequest !== null && listEipsRequest !== undefined) {
4779
+ if (listEipsRequest instanceof ListEipsRequest_1.ListEipsRequest) {
4780
+ projectId = listEipsRequest.projectId;
4781
+ objectId = listEipsRequest.objectId;
4782
+ limit = listEipsRequest.limit;
4783
+ offset = listEipsRequest.offset;
4784
+ keyWord = listEipsRequest.keyWord;
4785
+ status = listEipsRequest.status;
4786
+ sync = listEipsRequest.sync;
4787
+ enterpriseProjectId = listEipsRequest.enterpriseProjectId;
4788
+ deviceKey = listEipsRequest.deviceKey;
4789
+ addressType = listEipsRequest.addressType;
4790
+ fwInstanceId = listEipsRequest.fwInstanceId;
4791
+ fwKeyWord = listEipsRequest.fwKeyWord;
4792
+ epsId = listEipsRequest.epsId;
4793
+ tags = listEipsRequest.tags;
3732
4794
  }
3733
4795
  else {
3734
- projectId = listEipResourcesRequest['project_id'];
3735
- objectId = listEipResourcesRequest['object_id'];
3736
- limit = listEipResourcesRequest['limit'];
3737
- offset = listEipResourcesRequest['offset'];
3738
- keyWord = listEipResourcesRequest['key_word'];
3739
- status = listEipResourcesRequest['status'];
3740
- sync = listEipResourcesRequest['sync'];
3741
- enterpriseProjectId = listEipResourcesRequest['enterprise_project_id'];
3742
- deviceKey = listEipResourcesRequest['device_key'];
3743
- addressType = listEipResourcesRequest['address_type'];
3744
- fwInstanceId = listEipResourcesRequest['fw_instance_id'];
3745
- fwKeyWord = listEipResourcesRequest['fw_key_word'];
3746
- epsId = listEipResourcesRequest['eps_id'];
4796
+ projectId = listEipsRequest['project_id'];
4797
+ objectId = listEipsRequest['object_id'];
4798
+ limit = listEipsRequest['limit'];
4799
+ offset = listEipsRequest['offset'];
4800
+ keyWord = listEipsRequest['key_word'];
4801
+ status = listEipsRequest['status'];
4802
+ sync = listEipsRequest['sync'];
4803
+ enterpriseProjectId = listEipsRequest['enterprise_project_id'];
4804
+ deviceKey = listEipsRequest['device_key'];
4805
+ addressType = listEipsRequest['address_type'];
4806
+ fwInstanceId = listEipsRequest['fw_instance_id'];
4807
+ fwKeyWord = listEipsRequest['fw_key_word'];
4808
+ epsId = listEipsRequest['eps_id'];
4809
+ tags = listEipsRequest['tags'];
3747
4810
  }
3748
4811
  }
3749
4812
  if (projectId === null || projectId === undefined) {
3750
- throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listEipResources.');
4813
+ throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listEips.');
3751
4814
  }
3752
4815
  if (objectId === null || objectId === undefined) {
3753
- throw new RequiredError('objectId', 'Required parameter objectId was null or undefined when calling listEipResources.');
4816
+ throw new RequiredError('objectId', 'Required parameter objectId was null or undefined when calling listEips.');
3754
4817
  }
3755
4818
  if (objectId !== null && objectId !== undefined) {
3756
4819
  localVarQueryParameter['object_id'] = objectId;
3757
4820
  }
3758
4821
  if (limit === null || limit === undefined) {
3759
- throw new RequiredError('limit', 'Required parameter limit was null or undefined when calling listEipResources.');
4822
+ throw new RequiredError('limit', 'Required parameter limit was null or undefined when calling listEips.');
3760
4823
  }
3761
4824
  if (limit !== null && limit !== undefined) {
3762
4825
  localVarQueryParameter['limit'] = limit;
3763
4826
  }
3764
4827
  if (offset === null || offset === undefined) {
3765
- throw new RequiredError('offset', 'Required parameter offset was null or undefined when calling listEipResources.');
4828
+ throw new RequiredError('offset', 'Required parameter offset was null or undefined when calling listEips.');
3766
4829
  }
3767
4830
  if (offset !== null && offset !== undefined) {
3768
4831
  localVarQueryParameter['offset'] = offset;
@@ -3794,6 +4857,63 @@ const ParamCreater = function () {
3794
4857
  if (epsId !== null && epsId !== undefined) {
3795
4858
  localVarQueryParameter['eps_id'] = epsId;
3796
4859
  }
4860
+ if (tags !== null && tags !== undefined) {
4861
+ localVarQueryParameter['tags'] = tags;
4862
+ }
4863
+ options.queryParams = localVarQueryParameter;
4864
+ options.pathParams = { 'project_id': projectId, };
4865
+ options.headers = localVarHeaderParameter;
4866
+ return options;
4867
+ },
4868
+ /**
4869
+ * 切换防护模式
4870
+ *
4871
+ * Please refer to HUAWEI cloud API Explorer for details.
4872
+ */
4873
+ changeIpsProtectMode(changeIpsProtectModeRequest) {
4874
+ const options = {
4875
+ method: "POST",
4876
+ url: "/v1/{project_id}/ips/protect",
4877
+ contentType: "application/json",
4878
+ queryParams: {},
4879
+ pathParams: {},
4880
+ headers: {},
4881
+ data: {}
4882
+ };
4883
+ const localVarHeaderParameter = {};
4884
+ const localVarQueryParameter = {};
4885
+ let body;
4886
+ let projectId;
4887
+ let enterpriseProjectId;
4888
+ let fwInstanceId;
4889
+ if (changeIpsProtectModeRequest !== null && changeIpsProtectModeRequest !== undefined) {
4890
+ if (changeIpsProtectModeRequest instanceof ChangeIpsProtectModeRequest_1.ChangeIpsProtectModeRequest) {
4891
+ projectId = changeIpsProtectModeRequest.projectId;
4892
+ body = changeIpsProtectModeRequest.body;
4893
+ enterpriseProjectId = changeIpsProtectModeRequest.enterpriseProjectId;
4894
+ fwInstanceId = changeIpsProtectModeRequest.fwInstanceId;
4895
+ }
4896
+ else {
4897
+ projectId = changeIpsProtectModeRequest['project_id'];
4898
+ body = changeIpsProtectModeRequest['body'];
4899
+ enterpriseProjectId = changeIpsProtectModeRequest['enterprise_project_id'];
4900
+ fwInstanceId = changeIpsProtectModeRequest['fw_instance_id'];
4901
+ }
4902
+ }
4903
+ if (projectId === null || projectId === undefined) {
4904
+ throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling changeIpsProtectMode.');
4905
+ }
4906
+ if (body === null || body === undefined) {
4907
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
4908
+ }
4909
+ if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
4910
+ localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
4911
+ }
4912
+ if (fwInstanceId !== null && fwInstanceId !== undefined) {
4913
+ localVarQueryParameter['fw_instance_id'] = fwInstanceId;
4914
+ }
4915
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4916
+ options.data = body !== undefined ? body : {};
3797
4917
  options.queryParams = localVarQueryParameter;
3798
4918
  options.pathParams = { 'project_id': projectId, };
3799
4919
  options.headers = localVarHeaderParameter;
@@ -3804,7 +4924,7 @@ const ParamCreater = function () {
3804
4924
  *
3805
4925
  * Please refer to HUAWEI cloud API Explorer for details.
3806
4926
  */
3807
- changeIpsSwitchUsingPost(changeIpsSwitchUsingPostRequest) {
4927
+ changeIpsSwitchStatus(changeIpsSwitchStatusRequest) {
3808
4928
  const options = {
3809
4929
  method: "POST",
3810
4930
  url: "/v1/{project_id}/ips/switch",
@@ -3820,22 +4940,22 @@ const ParamCreater = function () {
3820
4940
  let projectId;
3821
4941
  let enterpriseProjectId;
3822
4942
  let fwInstanceId;
3823
- if (changeIpsSwitchUsingPostRequest !== null && changeIpsSwitchUsingPostRequest !== undefined) {
3824
- if (changeIpsSwitchUsingPostRequest instanceof ChangeIpsSwitchUsingPostRequest_1.ChangeIpsSwitchUsingPostRequest) {
3825
- projectId = changeIpsSwitchUsingPostRequest.projectId;
3826
- body = changeIpsSwitchUsingPostRequest.body;
3827
- enterpriseProjectId = changeIpsSwitchUsingPostRequest.enterpriseProjectId;
3828
- fwInstanceId = changeIpsSwitchUsingPostRequest.fwInstanceId;
4943
+ if (changeIpsSwitchStatusRequest !== null && changeIpsSwitchStatusRequest !== undefined) {
4944
+ if (changeIpsSwitchStatusRequest instanceof ChangeIpsSwitchStatusRequest_1.ChangeIpsSwitchStatusRequest) {
4945
+ projectId = changeIpsSwitchStatusRequest.projectId;
4946
+ body = changeIpsSwitchStatusRequest.body;
4947
+ enterpriseProjectId = changeIpsSwitchStatusRequest.enterpriseProjectId;
4948
+ fwInstanceId = changeIpsSwitchStatusRequest.fwInstanceId;
3829
4949
  }
3830
4950
  else {
3831
- projectId = changeIpsSwitchUsingPostRequest['project_id'];
3832
- body = changeIpsSwitchUsingPostRequest['body'];
3833
- enterpriseProjectId = changeIpsSwitchUsingPostRequest['enterprise_project_id'];
3834
- fwInstanceId = changeIpsSwitchUsingPostRequest['fw_instance_id'];
4951
+ projectId = changeIpsSwitchStatusRequest['project_id'];
4952
+ body = changeIpsSwitchStatusRequest['body'];
4953
+ enterpriseProjectId = changeIpsSwitchStatusRequest['enterprise_project_id'];
4954
+ fwInstanceId = changeIpsSwitchStatusRequest['fw_instance_id'];
3835
4955
  }
3836
4956
  }
3837
4957
  if (projectId === null || projectId === undefined) {
3838
- throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling changeIpsSwitchUsingPost.');
4958
+ throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling changeIpsSwitchStatus.');
3839
4959
  }
3840
4960
  if (body === null || body === undefined) {
3841
4961
  throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
@@ -3854,14 +4974,14 @@ const ParamCreater = function () {
3854
4974
  return options;
3855
4975
  },
3856
4976
  /**
3857
- * 查询IPS特性开关状态
4977
+ * 查询防护模式
3858
4978
  *
3859
4979
  * Please refer to HUAWEI cloud API Explorer for details.
3860
4980
  */
3861
- listIpsSwitchStatusUsingGet(listIpsSwitchStatusUsingGetRequest) {
4981
+ listIpsProtectMode(listIpsProtectModeRequest) {
3862
4982
  const options = {
3863
4983
  method: "GET",
3864
- url: "/v1/{project_id}/ips/switch",
4984
+ url: "/v1/{project_id}/ips/protect",
3865
4985
  contentType: "application/json",
3866
4986
  queryParams: {},
3867
4987
  pathParams: {},
@@ -3873,25 +4993,25 @@ const ParamCreater = function () {
3873
4993
  let objectId;
3874
4994
  let enterpriseProjectId;
3875
4995
  let fwInstanceId;
3876
- if (listIpsSwitchStatusUsingGetRequest !== null && listIpsSwitchStatusUsingGetRequest !== undefined) {
3877
- if (listIpsSwitchStatusUsingGetRequest instanceof ListIpsSwitchStatusUsingGetRequest_1.ListIpsSwitchStatusUsingGetRequest) {
3878
- projectId = listIpsSwitchStatusUsingGetRequest.projectId;
3879
- objectId = listIpsSwitchStatusUsingGetRequest.objectId;
3880
- enterpriseProjectId = listIpsSwitchStatusUsingGetRequest.enterpriseProjectId;
3881
- fwInstanceId = listIpsSwitchStatusUsingGetRequest.fwInstanceId;
4996
+ if (listIpsProtectModeRequest !== null && listIpsProtectModeRequest !== undefined) {
4997
+ if (listIpsProtectModeRequest instanceof ListIpsProtectModeRequest_1.ListIpsProtectModeRequest) {
4998
+ projectId = listIpsProtectModeRequest.projectId;
4999
+ objectId = listIpsProtectModeRequest.objectId;
5000
+ enterpriseProjectId = listIpsProtectModeRequest.enterpriseProjectId;
5001
+ fwInstanceId = listIpsProtectModeRequest.fwInstanceId;
3882
5002
  }
3883
5003
  else {
3884
- projectId = listIpsSwitchStatusUsingGetRequest['project_id'];
3885
- objectId = listIpsSwitchStatusUsingGetRequest['object_id'];
3886
- enterpriseProjectId = listIpsSwitchStatusUsingGetRequest['enterprise_project_id'];
3887
- fwInstanceId = listIpsSwitchStatusUsingGetRequest['fw_instance_id'];
5004
+ projectId = listIpsProtectModeRequest['project_id'];
5005
+ objectId = listIpsProtectModeRequest['object_id'];
5006
+ enterpriseProjectId = listIpsProtectModeRequest['enterprise_project_id'];
5007
+ fwInstanceId = listIpsProtectModeRequest['fw_instance_id'];
3888
5008
  }
3889
5009
  }
3890
5010
  if (projectId === null || projectId === undefined) {
3891
- throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listIpsSwitchStatusUsingGet.');
5011
+ throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listIpsProtectMode.');
3892
5012
  }
3893
5013
  if (objectId === null || objectId === undefined) {
3894
- throw new RequiredError('objectId', 'Required parameter objectId was null or undefined when calling listIpsSwitchStatusUsingGet.');
5014
+ throw new RequiredError('objectId', 'Required parameter objectId was null or undefined when calling listIpsProtectMode.');
3895
5015
  }
3896
5016
  if (objectId !== null && objectId !== undefined) {
3897
5017
  localVarQueryParameter['object_id'] = objectId;
@@ -3908,14 +5028,14 @@ const ParamCreater = function () {
3908
5028
  return options;
3909
5029
  },
3910
5030
  /**
3911
- * 查询防护vpc信息
5031
+ * 查询IPS特性开关状态
3912
5032
  *
3913
5033
  * Please refer to HUAWEI cloud API Explorer for details.
3914
5034
  */
3915
- listVpcProtects(listVpcProtectsRequest) {
5035
+ listIpsSwitchStatus(listIpsSwitchStatusRequest) {
3916
5036
  const options = {
3917
5037
  method: "GET",
3918
- url: "/v1/{project_id}/vpcs/protection",
5038
+ url: "/v1/{project_id}/ips/switch",
3919
5039
  contentType: "application/json",
3920
5040
  queryParams: {},
3921
5041
  pathParams: {},
@@ -3927,25 +5047,25 @@ const ParamCreater = function () {
3927
5047
  let objectId;
3928
5048
  let enterpriseProjectId;
3929
5049
  let fwInstanceId;
3930
- if (listVpcProtectsRequest !== null && listVpcProtectsRequest !== undefined) {
3931
- if (listVpcProtectsRequest instanceof ListVpcProtectsRequest_1.ListVpcProtectsRequest) {
3932
- projectId = listVpcProtectsRequest.projectId;
3933
- objectId = listVpcProtectsRequest.objectId;
3934
- enterpriseProjectId = listVpcProtectsRequest.enterpriseProjectId;
3935
- fwInstanceId = listVpcProtectsRequest.fwInstanceId;
5050
+ if (listIpsSwitchStatusRequest !== null && listIpsSwitchStatusRequest !== undefined) {
5051
+ if (listIpsSwitchStatusRequest instanceof ListIpsSwitchStatusRequest_1.ListIpsSwitchStatusRequest) {
5052
+ projectId = listIpsSwitchStatusRequest.projectId;
5053
+ objectId = listIpsSwitchStatusRequest.objectId;
5054
+ enterpriseProjectId = listIpsSwitchStatusRequest.enterpriseProjectId;
5055
+ fwInstanceId = listIpsSwitchStatusRequest.fwInstanceId;
3936
5056
  }
3937
5057
  else {
3938
- projectId = listVpcProtectsRequest['project_id'];
3939
- objectId = listVpcProtectsRequest['object_id'];
3940
- enterpriseProjectId = listVpcProtectsRequest['enterprise_project_id'];
3941
- fwInstanceId = listVpcProtectsRequest['fw_instance_id'];
5058
+ projectId = listIpsSwitchStatusRequest['project_id'];
5059
+ objectId = listIpsSwitchStatusRequest['object_id'];
5060
+ enterpriseProjectId = listIpsSwitchStatusRequest['enterprise_project_id'];
5061
+ fwInstanceId = listIpsSwitchStatusRequest['fw_instance_id'];
3942
5062
  }
3943
5063
  }
3944
5064
  if (projectId === null || projectId === undefined) {
3945
- throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listVpcProtects.');
5065
+ throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listIpsSwitchStatus.');
3946
5066
  }
3947
5067
  if (objectId === null || objectId === undefined) {
3948
- throw new RequiredError('objectId', 'Required parameter objectId was null or undefined when calling listVpcProtects.');
5068
+ throw new RequiredError('objectId', 'Required parameter objectId was null or undefined when calling listIpsSwitchStatus.');
3949
5069
  }
3950
5070
  if (objectId !== null && objectId !== undefined) {
3951
5071
  localVarQueryParameter['object_id'] = objectId;