@huaweicloud/huaweicloud-sdk-cfw 3.1.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (317) hide show
  1. package/LICENSE +13 -0
  2. package/README.md +1 -0
  3. package/huaweicloud-sdk-cfw.d.ts +1 -0
  4. package/huaweicloud-sdk-cfw.js +17 -0
  5. package/package.json +19 -0
  6. package/v1/CfwClient.d.ts +1434 -0
  7. package/v1/CfwClient.js +3455 -0
  8. package/v1/CfwRegion.d.ts +16 -0
  9. package/v1/CfwRegion.js +47 -0
  10. package/v1/model/AddAddressItemsInfoDto.d.ts +12 -0
  11. package/v1/model/AddAddressItemsInfoDto.js +37 -0
  12. package/v1/model/AddAddressItemsInfoDtoAddressItems.d.ts +13 -0
  13. package/v1/model/AddAddressItemsInfoDtoAddressItems.js +36 -0
  14. package/v1/model/AddAddressItemsUsingPostRequest.d.ts +10 -0
  15. package/v1/model/AddAddressItemsUsingPostRequest.js +28 -0
  16. package/v1/model/AddAddressItemsUsingPostResponse.d.ts +7 -0
  17. package/v1/model/AddAddressItemsUsingPostResponse.js +31 -0
  18. package/v1/model/AddAddressSetDto.d.ts +23 -0
  19. package/v1/model/AddAddressSetDto.js +56 -0
  20. package/v1/model/AddAddressSetInfoUsingPostRequest.d.ts +10 -0
  21. package/v1/model/AddAddressSetInfoUsingPostRequest.js +28 -0
  22. package/v1/model/AddAddressSetInfoUsingPostResponse.d.ts +7 -0
  23. package/v1/model/AddAddressSetInfoUsingPostResponse.js +31 -0
  24. package/v1/model/AddBlackWhiteListDto.d.ts +23 -0
  25. package/v1/model/AddBlackWhiteListDto.js +74 -0
  26. package/v1/model/AddBlackWhiteListUsingPostRequest.d.ts +10 -0
  27. package/v1/model/AddBlackWhiteListUsingPostRequest.js +28 -0
  28. package/v1/model/AddBlackWhiteListUsingPostResponse.d.ts +7 -0
  29. package/v1/model/AddBlackWhiteListUsingPostResponse.js +31 -0
  30. package/v1/model/AddRuleAclDto.d.ts +21 -0
  31. package/v1/model/AddRuleAclDto.js +44 -0
  32. package/v1/model/AddRuleAclDtoRules.d.ts +83 -0
  33. package/v1/model/AddRuleAclDtoRules.js +189 -0
  34. package/v1/model/AddRuleAclUsingPostRequest.d.ts +10 -0
  35. package/v1/model/AddRuleAclUsingPostRequest.js +28 -0
  36. package/v1/model/AddRuleAclUsingPostResponse.d.ts +7 -0
  37. package/v1/model/AddRuleAclUsingPostResponse.js +31 -0
  38. package/v1/model/AddServiceItemsUsingPOSTRequestBody.d.ts +12 -0
  39. package/v1/model/AddServiceItemsUsingPOSTRequestBody.js +39 -0
  40. package/v1/model/AddServiceItemsUsingPOSTRequestBodyServiceItems.d.ts +21 -0
  41. package/v1/model/AddServiceItemsUsingPOSTRequestBodyServiceItems.js +66 -0
  42. package/v1/model/AddServiceItemsUsingPostRequest.d.ts +10 -0
  43. package/v1/model/AddServiceItemsUsingPostRequest.js +28 -0
  44. package/v1/model/AddServiceItemsUsingPostResponse.d.ts +7 -0
  45. package/v1/model/AddServiceItemsUsingPostResponse.js +31 -0
  46. package/v1/model/AddServiceSetUsingPOSTRequestBody.d.ts +11 -0
  47. package/v1/model/AddServiceSetUsingPOSTRequestBody.js +33 -0
  48. package/v1/model/AddServiceSetUsingPostRequest.d.ts +10 -0
  49. package/v1/model/AddServiceSetUsingPostRequest.js +28 -0
  50. package/v1/model/AddServiceSetUsingPostResponse.d.ts +7 -0
  51. package/v1/model/AddServiceSetUsingPostResponse.js +31 -0
  52. package/v1/model/AddressItemListResponseDTOData.d.ts +16 -0
  53. package/v1/model/AddressItemListResponseDTOData.js +39 -0
  54. package/v1/model/AddressItemListResponseDTODataRecords.d.ts +17 -0
  55. package/v1/model/AddressItemListResponseDTODataRecords.js +49 -0
  56. package/v1/model/AddressItems.d.ts +6 -0
  57. package/v1/model/AddressItems.js +13 -0
  58. package/v1/model/AddressSetDetailResponseDTOData.d.ts +21 -0
  59. package/v1/model/AddressSetDetailResponseDTOData.js +44 -0
  60. package/v1/model/AddressSetListResponseDTOData.d.ts +12 -0
  61. package/v1/model/AddressSetListResponseDTOData.js +25 -0
  62. package/v1/model/AddressSetListResponseDTODataRecords.d.ts +19 -0
  63. package/v1/model/AddressSetListResponseDTODataRecords.js +59 -0
  64. package/v1/model/BlackWhiteListResponseData.d.ts +16 -0
  65. package/v1/model/BlackWhiteListResponseData.js +39 -0
  66. package/v1/model/BlackWhiteListResponseDataRecords.d.ts +19 -0
  67. package/v1/model/BlackWhiteListResponseDataRecords.js +53 -0
  68. package/v1/model/ChangeEwProtectStatusRequest.d.ts +10 -0
  69. package/v1/model/ChangeEwProtectStatusRequest.js +28 -0
  70. package/v1/model/ChangeEwProtectStatusResponse.d.ts +11 -0
  71. package/v1/model/ChangeEwProtectStatusResponse.js +45 -0
  72. package/v1/model/ChangeIpsProtectModeUsingPostRequest.d.ts +10 -0
  73. package/v1/model/ChangeIpsProtectModeUsingPostRequest.js +28 -0
  74. package/v1/model/ChangeIpsProtectModeUsingPostResponse.d.ts +7 -0
  75. package/v1/model/ChangeIpsProtectModeUsingPostResponse.js +31 -0
  76. package/v1/model/ChangeIpsSwitchUsingPostRequest.d.ts +10 -0
  77. package/v1/model/ChangeIpsSwitchUsingPostRequest.js +28 -0
  78. package/v1/model/ChangeIpsSwitchUsingPostResponse.d.ts +11 -0
  79. package/v1/model/ChangeIpsSwitchUsingPostResponse.js +45 -0
  80. package/v1/model/ChangeProtectEipRequest.d.ts +10 -0
  81. package/v1/model/ChangeProtectEipRequest.js +28 -0
  82. package/v1/model/ChangeProtectEipResponse.d.ts +7 -0
  83. package/v1/model/ChangeProtectEipResponse.js +31 -0
  84. package/v1/model/ChangeProtectStatusRequestBody.d.ts +17 -0
  85. package/v1/model/ChangeProtectStatusRequestBody.js +38 -0
  86. package/v1/model/ClearAccessLogRuleHitCountsDto.d.ts +7 -0
  87. package/v1/model/ClearAccessLogRuleHitCountsDto.js +24 -0
  88. package/v1/model/CommonResponseDTOData.d.ts +5 -0
  89. package/v1/model/CommonResponseDTOData.js +13 -0
  90. package/v1/model/CountEipsRequest.d.ts +11 -0
  91. package/v1/model/CountEipsRequest.js +39 -0
  92. package/v1/model/CountEipsResponse.d.ts +16 -0
  93. package/v1/model/CountEipsResponse.js +69 -0
  94. package/v1/model/DeleteAclRuleCountRequest.d.ts +10 -0
  95. package/v1/model/DeleteAclRuleCountRequest.js +28 -0
  96. package/v1/model/DeleteAclRuleCountResponse.d.ts +6 -0
  97. package/v1/model/DeleteAclRuleCountResponse.js +31 -0
  98. package/v1/model/DeleteAddressItemUsingDeleteRequest.d.ts +11 -0
  99. package/v1/model/DeleteAddressItemUsingDeleteRequest.js +39 -0
  100. package/v1/model/DeleteAddressItemUsingDeleteResponse.d.ts +7 -0
  101. package/v1/model/DeleteAddressItemUsingDeleteResponse.js +31 -0
  102. package/v1/model/DeleteAddressSetInfoUsingDeleteRequest.d.ts +11 -0
  103. package/v1/model/DeleteAddressSetInfoUsingDeleteRequest.js +39 -0
  104. package/v1/model/DeleteAddressSetInfoUsingDeleteResponse.d.ts +7 -0
  105. package/v1/model/DeleteAddressSetInfoUsingDeleteResponse.js +31 -0
  106. package/v1/model/DeleteBlackWhiteListUsingDeleteRequest.d.ts +11 -0
  107. package/v1/model/DeleteBlackWhiteListUsingDeleteRequest.js +39 -0
  108. package/v1/model/DeleteBlackWhiteListUsingDeleteResponse.d.ts +7 -0
  109. package/v1/model/DeleteBlackWhiteListUsingDeleteResponse.js +31 -0
  110. package/v1/model/DeleteRuleAclUsingDeleteRequest.d.ts +11 -0
  111. package/v1/model/DeleteRuleAclUsingDeleteRequest.js +39 -0
  112. package/v1/model/DeleteRuleAclUsingDeleteResponse.d.ts +7 -0
  113. package/v1/model/DeleteRuleAclUsingDeleteResponse.js +31 -0
  114. package/v1/model/DeleteServiceItemUsingDeleteRequest.d.ts +11 -0
  115. package/v1/model/DeleteServiceItemUsingDeleteRequest.js +39 -0
  116. package/v1/model/DeleteServiceItemUsingDeleteResponse.d.ts +7 -0
  117. package/v1/model/DeleteServiceItemUsingDeleteResponse.js +31 -0
  118. package/v1/model/DeleteServiceSetUsingDeleteRequest.d.ts +11 -0
  119. package/v1/model/DeleteServiceSetUsingDeleteRequest.js +39 -0
  120. package/v1/model/DeleteServiceSetUsingDeleteResponse.d.ts +7 -0
  121. package/v1/model/DeleteServiceSetUsingDeleteResponse.js +31 -0
  122. package/v1/model/DnsServersResponseDTO.d.ts +17 -0
  123. package/v1/model/DnsServersResponseDTO.js +55 -0
  124. package/v1/model/EipOperateProtectReq.d.ts +14 -0
  125. package/v1/model/EipOperateProtectReq.js +44 -0
  126. package/v1/model/EipOperateProtectReqIpInfos.d.ts +13 -0
  127. package/v1/model/EipOperateProtectReqIpInfos.js +41 -0
  128. package/v1/model/ErInstance.d.ts +21 -0
  129. package/v1/model/ErInstance.js +63 -0
  130. package/v1/model/EwProtectResourceInfo.d.ts +27 -0
  131. package/v1/model/EwProtectResourceInfo.js +96 -0
  132. package/v1/model/Flavor.d.ts +29 -0
  133. package/v1/model/Flavor.js +70 -0
  134. package/v1/model/GetEastWestFirewallResponseBody.d.ts +41 -0
  135. package/v1/model/GetEastWestFirewallResponseBody.js +113 -0
  136. package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTOData.d.ts +10 -0
  137. package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTOData.js +21 -0
  138. package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTODataRecords.d.ts +41 -0
  139. package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTODataRecords.js +133 -0
  140. package/v1/model/HttpQueryCfwAttackLogsResponseDTOData.d.ts +10 -0
  141. package/v1/model/HttpQueryCfwAttackLogsResponseDTOData.js +21 -0
  142. package/v1/model/HttpQueryCfwAttackLogsResponseDTODataRecords.d.ts +70 -0
  143. package/v1/model/HttpQueryCfwAttackLogsResponseDTODataRecords.js +200 -0
  144. package/v1/model/HttpQueryCfwFlowLogsResponseDTOData.d.ts +10 -0
  145. package/v1/model/HttpQueryCfwFlowLogsResponseDTOData.js +21 -0
  146. package/v1/model/HttpQueryCfwFlowLogsResponseDTODataRecords.d.ts +49 -0
  147. package/v1/model/HttpQueryCfwFlowLogsResponseDTODataRecords.js +136 -0
  148. package/v1/model/IdObject.d.ts +5 -0
  149. package/v1/model/IdObject.js +13 -0
  150. package/v1/model/IpsProtectDTO.d.ts +9 -0
  151. package/v1/model/IpsProtectDTO.js +27 -0
  152. package/v1/model/IpsSwitchDTO.d.ts +21 -0
  153. package/v1/model/IpsSwitchDTO.js +52 -0
  154. package/v1/model/ListAccessControlLogsRequest.d.ts +68 -0
  155. package/v1/model/ListAccessControlLogsRequest.js +208 -0
  156. package/v1/model/ListAccessControlLogsResponse.d.ts +7 -0
  157. package/v1/model/ListAccessControlLogsResponse.js +31 -0
  158. package/v1/model/ListAddressItemsUsingGetRequest.d.ts +21 -0
  159. package/v1/model/ListAddressItemsUsingGetRequest.js +67 -0
  160. package/v1/model/ListAddressItemsUsingGetResponse.d.ts +7 -0
  161. package/v1/model/ListAddressItemsUsingGetResponse.js +31 -0
  162. package/v1/model/ListAddressSetDetailUsingGetRequest.d.ts +11 -0
  163. package/v1/model/ListAddressSetDetailUsingGetRequest.js +39 -0
  164. package/v1/model/ListAddressSetDetailUsingGetResponse.d.ts +7 -0
  165. package/v1/model/ListAddressSetDetailUsingGetResponse.js +31 -0
  166. package/v1/model/ListAddressSetListUsingGetRequest.d.ts +33 -0
  167. package/v1/model/ListAddressSetListUsingGetRequest.js +90 -0
  168. package/v1/model/ListAddressSetListUsingGetResponse.d.ts +7 -0
  169. package/v1/model/ListAddressSetListUsingGetResponse.js +31 -0
  170. package/v1/model/ListAttackLogsRequest.d.ts +93 -0
  171. package/v1/model/ListAttackLogsRequest.js +242 -0
  172. package/v1/model/ListAttackLogsResponse.d.ts +7 -0
  173. package/v1/model/ListAttackLogsResponse.js +31 -0
  174. package/v1/model/ListBlackWhiteListsUsingGetRequest.d.ts +44 -0
  175. package/v1/model/ListBlackWhiteListsUsingGetRequest.js +105 -0
  176. package/v1/model/ListBlackWhiteListsUsingGetResponse.d.ts +7 -0
  177. package/v1/model/ListBlackWhiteListsUsingGetResponse.js +31 -0
  178. package/v1/model/ListDnsServersRequest.d.ts +11 -0
  179. package/v1/model/ListDnsServersRequest.js +32 -0
  180. package/v1/model/ListDnsServersResponse.d.ts +9 -0
  181. package/v1/model/ListDnsServersResponse.js +35 -0
  182. package/v1/model/ListEastWestFirewallRequest.d.ts +11 -0
  183. package/v1/model/ListEastWestFirewallRequest.js +34 -0
  184. package/v1/model/ListEastWestFirewallResponse.d.ts +7 -0
  185. package/v1/model/ListEastWestFirewallResponse.js +31 -0
  186. package/v1/model/ListEipResourcesRequest.d.ts +52 -0
  187. package/v1/model/ListEipResourcesRequest.js +132 -0
  188. package/v1/model/ListEipResourcesResponse.d.ts +44 -0
  189. package/v1/model/ListEipResourcesResponse.js +142 -0
  190. package/v1/model/ListFirewallUsingGetRequest.d.ts +23 -0
  191. package/v1/model/ListFirewallUsingGetRequest.js +58 -0
  192. package/v1/model/ListFirewallUsingGetResponse.d.ts +79 -0
  193. package/v1/model/ListFirewallUsingGetResponse.js +203 -0
  194. package/v1/model/ListFlowLogsRequest.d.ts +76 -0
  195. package/v1/model/ListFlowLogsRequest.js +209 -0
  196. package/v1/model/ListFlowLogsResponse.d.ts +7 -0
  197. package/v1/model/ListFlowLogsResponse.js +31 -0
  198. package/v1/model/ListIpsProtectModeUsingPostRequest.d.ts +11 -0
  199. package/v1/model/ListIpsProtectModeUsingPostRequest.js +39 -0
  200. package/v1/model/ListIpsProtectModeUsingPostResponse.d.ts +10 -0
  201. package/v1/model/ListIpsProtectModeUsingPostResponse.js +45 -0
  202. package/v1/model/ListIpsSwitchStatusUsingGetRequest.d.ts +11 -0
  203. package/v1/model/ListIpsSwitchStatusUsingGetRequest.js +39 -0
  204. package/v1/model/ListIpsSwitchStatusUsingGetResponse.d.ts +16 -0
  205. package/v1/model/ListIpsSwitchStatusUsingGetResponse.js +69 -0
  206. package/v1/model/ListParseDomainDetailsRequest.d.ts +11 -0
  207. package/v1/model/ListParseDomainDetailsRequest.js +39 -0
  208. package/v1/model/ListParseDomainDetailsResponse.d.ts +6 -0
  209. package/v1/model/ListParseDomainDetailsResponse.js +31 -0
  210. package/v1/model/ListRuleAclUsingPutRequest.d.ts +14 -0
  211. package/v1/model/ListRuleAclUsingPutRequest.js +43 -0
  212. package/v1/model/ListRuleAclUsingPutResponse.d.ts +7 -0
  213. package/v1/model/ListRuleAclUsingPutResponse.js +31 -0
  214. package/v1/model/ListRuleAclsUsingGetRequest.d.ts +79 -0
  215. package/v1/model/ListRuleAclsUsingGetRequest.js +150 -0
  216. package/v1/model/ListRuleAclsUsingGetResponse.d.ts +7 -0
  217. package/v1/model/ListRuleAclsUsingGetResponse.js +31 -0
  218. package/v1/model/ListRuleHitCountDto.d.ts +7 -0
  219. package/v1/model/ListRuleHitCountDto.js +24 -0
  220. package/v1/model/ListRuleHitCountRequest.d.ts +10 -0
  221. package/v1/model/ListRuleHitCountRequest.js +28 -0
  222. package/v1/model/ListRuleHitCountResponse.d.ts +7 -0
  223. package/v1/model/ListRuleHitCountResponse.js +31 -0
  224. package/v1/model/ListServiceItemsDetailsRequest.d.ts +19 -0
  225. package/v1/model/ListServiceItemsDetailsRequest.js +63 -0
  226. package/v1/model/ListServiceItemsDetailsResponse.d.ts +7 -0
  227. package/v1/model/ListServiceItemsDetailsResponse.js +31 -0
  228. package/v1/model/ListServiceSetDetailsRequest.d.ts +11 -0
  229. package/v1/model/ListServiceSetDetailsRequest.js +39 -0
  230. package/v1/model/ListServiceSetDetailsResponse.d.ts +10 -0
  231. package/v1/model/ListServiceSetDetailsResponse.js +39 -0
  232. package/v1/model/ListServiceSetRequest.d.ts +19 -0
  233. package/v1/model/ListServiceSetRequest.js +63 -0
  234. package/v1/model/ListServiceSetResponse.d.ts +7 -0
  235. package/v1/model/ListServiceSetResponse.js +31 -0
  236. package/v1/model/ListVpcProtectsRequest.d.ts +11 -0
  237. package/v1/model/ListVpcProtectsRequest.js +39 -0
  238. package/v1/model/ListVpcProtectsResponse.d.ts +11 -0
  239. package/v1/model/ListVpcProtectsResponse.js +45 -0
  240. package/v1/model/OrderRuleAclDto.d.ts +9 -0
  241. package/v1/model/OrderRuleAclDto.js +27 -0
  242. package/v1/model/Packet.d.ts +13 -0
  243. package/v1/model/Packet.js +41 -0
  244. package/v1/model/ProtectObjectVO.d.ts +21 -0
  245. package/v1/model/ProtectObjectVO.js +50 -0
  246. package/v1/model/RuleAclListResponseDTOData.d.ts +16 -0
  247. package/v1/model/RuleAclListResponseDTOData.js +39 -0
  248. package/v1/model/RuleAclListResponseDTODataRecords.d.ts +62 -0
  249. package/v1/model/RuleAclListResponseDTODataRecords.js +162 -0
  250. package/v1/model/RuleAddressDto.d.ts +23 -0
  251. package/v1/model/RuleAddressDto.js +74 -0
  252. package/v1/model/RuleHitCountObject.d.ts +11 -0
  253. package/v1/model/RuleHitCountObject.js +37 -0
  254. package/v1/model/RuleHitCountRecords.d.ts +12 -0
  255. package/v1/model/RuleHitCountRecords.js +25 -0
  256. package/v1/model/RuleId.d.ts +5 -0
  257. package/v1/model/RuleId.js +13 -0
  258. package/v1/model/RuleIdList.d.ts +6 -0
  259. package/v1/model/RuleIdList.js +13 -0
  260. package/v1/model/RuleServiceDto.d.ts +23 -0
  261. package/v1/model/RuleServiceDto.js +74 -0
  262. package/v1/model/ServiceItemIds.d.ts +6 -0
  263. package/v1/model/ServiceItemIds.js +13 -0
  264. package/v1/model/ServiceItemListResponseDtoData.d.ts +12 -0
  265. package/v1/model/ServiceItemListResponseDtoData.js +25 -0
  266. package/v1/model/ServiceItemListResponseDtoDataRecords.d.ts +21 -0
  267. package/v1/model/ServiceItemListResponseDtoDataRecords.js +63 -0
  268. package/v1/model/ServiceSet.d.ts +17 -0
  269. package/v1/model/ServiceSet.js +49 -0
  270. package/v1/model/ServiceSetRecords.d.ts +12 -0
  271. package/v1/model/ServiceSetRecords.js +25 -0
  272. package/v1/model/SubnetInfo.d.ts +23 -0
  273. package/v1/model/SubnetInfo.js +69 -0
  274. package/v1/model/SuccessRspData.d.ts +5 -0
  275. package/v1/model/SuccessRspData.js +13 -0
  276. package/v1/model/Tag.d.ts +7 -0
  277. package/v1/model/Tag.js +17 -0
  278. package/v1/model/UpdateAddressSetDto.d.ts +7 -0
  279. package/v1/model/UpdateAddressSetDto.js +17 -0
  280. package/v1/model/UpdateAddressSetInfoUsingPutRequest.d.ts +14 -0
  281. package/v1/model/UpdateAddressSetInfoUsingPutRequest.js +43 -0
  282. package/v1/model/UpdateAddressSetInfoUsingPutResponse.d.ts +7 -0
  283. package/v1/model/UpdateAddressSetInfoUsingPutResponse.js +31 -0
  284. package/v1/model/UpdateBlackWhiteListDto.d.ts +15 -0
  285. package/v1/model/UpdateBlackWhiteListDto.js +39 -0
  286. package/v1/model/UpdateBlackWhiteListUsingPutRequest.d.ts +14 -0
  287. package/v1/model/UpdateBlackWhiteListUsingPutRequest.js +43 -0
  288. package/v1/model/UpdateBlackWhiteListUsingPutResponse.d.ts +7 -0
  289. package/v1/model/UpdateBlackWhiteListUsingPutResponse.js +31 -0
  290. package/v1/model/UpdateDnsServersRequest.d.ts +10 -0
  291. package/v1/model/UpdateDnsServersRequest.js +28 -0
  292. package/v1/model/UpdateDnsServersRequestBody.d.ts +8 -0
  293. package/v1/model/UpdateDnsServersRequestBody.js +23 -0
  294. package/v1/model/UpdateDnsServersRequestBodyDnsServer.d.ts +15 -0
  295. package/v1/model/UpdateDnsServersRequestBodyDnsServer.js +51 -0
  296. package/v1/model/UpdateDnsServersResponse.d.ts +6 -0
  297. package/v1/model/UpdateDnsServersResponse.js +31 -0
  298. package/v1/model/UpdateRuleAclDto.d.ts +82 -0
  299. package/v1/model/UpdateRuleAclDto.js +175 -0
  300. package/v1/model/UpdateRuleAclUsingPutRequest.d.ts +14 -0
  301. package/v1/model/UpdateRuleAclUsingPutRequest.js +43 -0
  302. package/v1/model/UpdateRuleAclUsingPutResponse.d.ts +7 -0
  303. package/v1/model/UpdateRuleAclUsingPutResponse.js +31 -0
  304. package/v1/model/UpdateServiceSetUsingPUTRequestBody.d.ts +7 -0
  305. package/v1/model/UpdateServiceSetUsingPUTRequestBody.js +17 -0
  306. package/v1/model/UpdateServiceSetUsingPutRequest.d.ts +14 -0
  307. package/v1/model/UpdateServiceSetUsingPutRequest.js +43 -0
  308. package/v1/model/UpdateServiceSetUsingPutResponse.d.ts +7 -0
  309. package/v1/model/UpdateServiceSetUsingPutResponse.js +31 -0
  310. package/v1/model/VPCProtectsVo.d.ts +26 -0
  311. package/v1/model/VPCProtectsVo.js +83 -0
  312. package/v1/model/VpcAttachmentDetail.d.ts +42 -0
  313. package/v1/model/VpcAttachmentDetail.js +127 -0
  314. package/v1/model/VpcDetail.d.ts +11 -0
  315. package/v1/model/VpcDetail.js +25 -0
  316. package/v1/public-api.d.ts +155 -0
  317. package/v1/public-api.js +171 -0
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.ListDnsServersResponse = void 0;
19
+ var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
20
+ var ListDnsServersResponse = /** @class */ (function (_super) {
21
+ __extends(ListDnsServersResponse, _super);
22
+ function ListDnsServersResponse() {
23
+ return _super.call(this) || this;
24
+ }
25
+ ListDnsServersResponse.prototype.withData = function (data) {
26
+ this['data'] = data;
27
+ return this;
28
+ };
29
+ ListDnsServersResponse.prototype.withTotal = function (total) {
30
+ this['total'] = total;
31
+ return this;
32
+ };
33
+ return ListDnsServersResponse;
34
+ }(SdkResponse_1.SdkResponse));
35
+ exports.ListDnsServersResponse = ListDnsServersResponse;
@@ -0,0 +1,11 @@
1
+ export declare class ListEastWestFirewallRequest {
2
+ private 'project_id';
3
+ limit: number;
4
+ offset: number;
5
+ constructor(projectId?: any, limit?: any, offset?: any);
6
+ withProjectId(projectId: string): ListEastWestFirewallRequest;
7
+ set projectId(projectId: string | undefined);
8
+ get projectId(): string | undefined;
9
+ withLimit(limit: number): ListEastWestFirewallRequest;
10
+ withOffset(offset: number): ListEastWestFirewallRequest;
11
+ }
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListEastWestFirewallRequest = void 0;
4
+ var ListEastWestFirewallRequest = /** @class */ (function () {
5
+ function ListEastWestFirewallRequest(projectId, limit, offset) {
6
+ this['project_id'] = projectId;
7
+ this['limit'] = limit;
8
+ this['offset'] = offset;
9
+ }
10
+ ListEastWestFirewallRequest.prototype.withProjectId = function (projectId) {
11
+ this['project_id'] = projectId;
12
+ return this;
13
+ };
14
+ Object.defineProperty(ListEastWestFirewallRequest.prototype, "projectId", {
15
+ get: function () {
16
+ return this['project_id'];
17
+ },
18
+ set: function (projectId) {
19
+ this['project_id'] = projectId;
20
+ },
21
+ enumerable: false,
22
+ configurable: true
23
+ });
24
+ ListEastWestFirewallRequest.prototype.withLimit = function (limit) {
25
+ this['limit'] = limit;
26
+ return this;
27
+ };
28
+ ListEastWestFirewallRequest.prototype.withOffset = function (offset) {
29
+ this['offset'] = offset;
30
+ return this;
31
+ };
32
+ return ListEastWestFirewallRequest;
33
+ }());
34
+ exports.ListEastWestFirewallRequest = ListEastWestFirewallRequest;
@@ -0,0 +1,7 @@
1
+ import { GetEastWestFirewallResponseBody } from './GetEastWestFirewallResponseBody';
2
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
3
+ export declare class ListEastWestFirewallResponse extends SdkResponse {
4
+ data?: GetEastWestFirewallResponseBody;
5
+ constructor();
6
+ withData(data: GetEastWestFirewallResponseBody): ListEastWestFirewallResponse;
7
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.ListEastWestFirewallResponse = void 0;
19
+ var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
20
+ var ListEastWestFirewallResponse = /** @class */ (function (_super) {
21
+ __extends(ListEastWestFirewallResponse, _super);
22
+ function ListEastWestFirewallResponse() {
23
+ return _super.call(this) || this;
24
+ }
25
+ ListEastWestFirewallResponse.prototype.withData = function (data) {
26
+ this['data'] = data;
27
+ return this;
28
+ };
29
+ return ListEastWestFirewallResponse;
30
+ }(SdkResponse_1.SdkResponse));
31
+ exports.ListEastWestFirewallResponse = ListEastWestFirewallResponse;
@@ -0,0 +1,52 @@
1
+ export declare class ListEipResourcesRequest {
2
+ private 'project_id';
3
+ private 'object_id';
4
+ private 'key_word'?;
5
+ status?: ListEipResourcesRequestStatusEnum;
6
+ sync?: ListEipResourcesRequestSyncEnum;
7
+ limit: number;
8
+ offset: number;
9
+ private 'enterprise_project_id'?;
10
+ private 'device_key'?;
11
+ private 'address_type'?;
12
+ constructor(projectId?: any, objectId?: any, limit?: any, offset?: any);
13
+ withProjectId(projectId: string): ListEipResourcesRequest;
14
+ set projectId(projectId: string | undefined);
15
+ get projectId(): string | undefined;
16
+ withObjectId(objectId: string): ListEipResourcesRequest;
17
+ set objectId(objectId: string | undefined);
18
+ get objectId(): string | undefined;
19
+ withKeyWord(keyWord: string): ListEipResourcesRequest;
20
+ set keyWord(keyWord: string | undefined);
21
+ get keyWord(): string | undefined;
22
+ withStatus(status: ListEipResourcesRequestStatusEnum): ListEipResourcesRequest;
23
+ withSync(sync: ListEipResourcesRequestSyncEnum): ListEipResourcesRequest;
24
+ withLimit(limit: number): ListEipResourcesRequest;
25
+ withOffset(offset: number): ListEipResourcesRequest;
26
+ withEnterpriseProjectId(enterpriseProjectId: string): ListEipResourcesRequest;
27
+ set enterpriseProjectId(enterpriseProjectId: string | undefined);
28
+ get enterpriseProjectId(): string | undefined;
29
+ withDeviceKey(deviceKey: string): ListEipResourcesRequest;
30
+ set deviceKey(deviceKey: string | undefined);
31
+ get deviceKey(): string | undefined;
32
+ withAddressType(addressType: number): ListEipResourcesRequest;
33
+ set addressType(addressType: number | undefined);
34
+ get addressType(): number | undefined;
35
+ }
36
+ /**
37
+ * @export
38
+ * @enum {string}
39
+ */
40
+ export declare enum ListEipResourcesRequestStatusEnum {
41
+ NULL = "null",
42
+ E_0 = "0",
43
+ E_1 = "1"
44
+ }
45
+ /**
46
+ * @export
47
+ * @enum {string}
48
+ */
49
+ export declare enum ListEipResourcesRequestSyncEnum {
50
+ NUMBER_0 = 0,
51
+ NUMBER_1 = 1
52
+ }
@@ -0,0 +1,132 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListEipResourcesRequestSyncEnum = exports.ListEipResourcesRequestStatusEnum = exports.ListEipResourcesRequest = void 0;
4
+ var ListEipResourcesRequest = /** @class */ (function () {
5
+ function ListEipResourcesRequest(projectId, objectId, limit, offset) {
6
+ this['project_id'] = projectId;
7
+ this['object_id'] = objectId;
8
+ this['limit'] = limit;
9
+ this['offset'] = offset;
10
+ }
11
+ ListEipResourcesRequest.prototype.withProjectId = function (projectId) {
12
+ this['project_id'] = projectId;
13
+ return this;
14
+ };
15
+ Object.defineProperty(ListEipResourcesRequest.prototype, "projectId", {
16
+ get: function () {
17
+ return this['project_id'];
18
+ },
19
+ set: function (projectId) {
20
+ this['project_id'] = projectId;
21
+ },
22
+ enumerable: false,
23
+ configurable: true
24
+ });
25
+ ListEipResourcesRequest.prototype.withObjectId = function (objectId) {
26
+ this['object_id'] = objectId;
27
+ return this;
28
+ };
29
+ Object.defineProperty(ListEipResourcesRequest.prototype, "objectId", {
30
+ get: function () {
31
+ return this['object_id'];
32
+ },
33
+ set: function (objectId) {
34
+ this['object_id'] = objectId;
35
+ },
36
+ enumerable: false,
37
+ configurable: true
38
+ });
39
+ ListEipResourcesRequest.prototype.withKeyWord = function (keyWord) {
40
+ this['key_word'] = keyWord;
41
+ return this;
42
+ };
43
+ Object.defineProperty(ListEipResourcesRequest.prototype, "keyWord", {
44
+ get: function () {
45
+ return this['key_word'];
46
+ },
47
+ set: function (keyWord) {
48
+ this['key_word'] = keyWord;
49
+ },
50
+ enumerable: false,
51
+ configurable: true
52
+ });
53
+ ListEipResourcesRequest.prototype.withStatus = function (status) {
54
+ this['status'] = status;
55
+ return this;
56
+ };
57
+ ListEipResourcesRequest.prototype.withSync = function (sync) {
58
+ this['sync'] = sync;
59
+ return this;
60
+ };
61
+ ListEipResourcesRequest.prototype.withLimit = function (limit) {
62
+ this['limit'] = limit;
63
+ return this;
64
+ };
65
+ ListEipResourcesRequest.prototype.withOffset = function (offset) {
66
+ this['offset'] = offset;
67
+ return this;
68
+ };
69
+ ListEipResourcesRequest.prototype.withEnterpriseProjectId = function (enterpriseProjectId) {
70
+ this['enterprise_project_id'] = enterpriseProjectId;
71
+ return this;
72
+ };
73
+ Object.defineProperty(ListEipResourcesRequest.prototype, "enterpriseProjectId", {
74
+ get: function () {
75
+ return this['enterprise_project_id'];
76
+ },
77
+ set: function (enterpriseProjectId) {
78
+ this['enterprise_project_id'] = enterpriseProjectId;
79
+ },
80
+ enumerable: false,
81
+ configurable: true
82
+ });
83
+ ListEipResourcesRequest.prototype.withDeviceKey = function (deviceKey) {
84
+ this['device_key'] = deviceKey;
85
+ return this;
86
+ };
87
+ Object.defineProperty(ListEipResourcesRequest.prototype, "deviceKey", {
88
+ get: function () {
89
+ return this['device_key'];
90
+ },
91
+ set: function (deviceKey) {
92
+ this['device_key'] = deviceKey;
93
+ },
94
+ enumerable: false,
95
+ configurable: true
96
+ });
97
+ ListEipResourcesRequest.prototype.withAddressType = function (addressType) {
98
+ this['address_type'] = addressType;
99
+ return this;
100
+ };
101
+ Object.defineProperty(ListEipResourcesRequest.prototype, "addressType", {
102
+ get: function () {
103
+ return this['address_type'];
104
+ },
105
+ set: function (addressType) {
106
+ this['address_type'] = addressType;
107
+ },
108
+ enumerable: false,
109
+ configurable: true
110
+ });
111
+ return ListEipResourcesRequest;
112
+ }());
113
+ exports.ListEipResourcesRequest = ListEipResourcesRequest;
114
+ /**
115
+ * @export
116
+ * @enum {string}
117
+ */
118
+ var ListEipResourcesRequestStatusEnum;
119
+ (function (ListEipResourcesRequestStatusEnum) {
120
+ ListEipResourcesRequestStatusEnum["NULL"] = "null";
121
+ ListEipResourcesRequestStatusEnum["E_0"] = "0";
122
+ ListEipResourcesRequestStatusEnum["E_1"] = "1";
123
+ })(ListEipResourcesRequestStatusEnum = exports.ListEipResourcesRequestStatusEnum || (exports.ListEipResourcesRequestStatusEnum = {}));
124
+ /**
125
+ * @export
126
+ * @enum {string}
127
+ */
128
+ var ListEipResourcesRequestSyncEnum;
129
+ (function (ListEipResourcesRequestSyncEnum) {
130
+ ListEipResourcesRequestSyncEnum[ListEipResourcesRequestSyncEnum["NUMBER_0"] = 0] = "NUMBER_0";
131
+ ListEipResourcesRequestSyncEnum[ListEipResourcesRequestSyncEnum["NUMBER_1"] = 1] = "NUMBER_1";
132
+ })(ListEipResourcesRequestSyncEnum = exports.ListEipResourcesRequestSyncEnum || (exports.ListEipResourcesRequestSyncEnum = {}));
@@ -0,0 +1,44 @@
1
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
2
+ export declare class ListEipResourcesResponse extends SdkResponse {
3
+ id?: string;
4
+ private 'public_ip'?;
5
+ status?: ListEipResourcesResponseStatusEnum;
6
+ private 'public_ipv6'?;
7
+ private 'enterprise_project_id'?;
8
+ private 'device_id'?;
9
+ private 'device_name'?;
10
+ private 'device_owner'?;
11
+ private 'associate_instance_type'?;
12
+ constructor();
13
+ withId(id: string): ListEipResourcesResponse;
14
+ withPublicIp(publicIp: string): ListEipResourcesResponse;
15
+ set publicIp(publicIp: string | undefined);
16
+ get publicIp(): string | undefined;
17
+ withStatus(status: ListEipResourcesResponseStatusEnum): ListEipResourcesResponse;
18
+ withPublicIpv6(publicIpv6: string): ListEipResourcesResponse;
19
+ set publicIpv6(publicIpv6: string | undefined);
20
+ get publicIpv6(): string | undefined;
21
+ withEnterpriseProjectId(enterpriseProjectId: string): ListEipResourcesResponse;
22
+ set enterpriseProjectId(enterpriseProjectId: string | undefined);
23
+ get enterpriseProjectId(): string | undefined;
24
+ withDeviceId(deviceId: string): ListEipResourcesResponse;
25
+ set deviceId(deviceId: string | undefined);
26
+ get deviceId(): string | undefined;
27
+ withDeviceName(deviceName: string): ListEipResourcesResponse;
28
+ set deviceName(deviceName: string | undefined);
29
+ get deviceName(): string | undefined;
30
+ withDeviceOwner(deviceOwner: string): ListEipResourcesResponse;
31
+ set deviceOwner(deviceOwner: string | undefined);
32
+ get deviceOwner(): string | undefined;
33
+ withAssociateInstanceType(associateInstanceType: string): ListEipResourcesResponse;
34
+ set associateInstanceType(associateInstanceType: string | undefined);
35
+ get associateInstanceType(): string | undefined;
36
+ }
37
+ /**
38
+ * @export
39
+ * @enum {string}
40
+ */
41
+ export declare enum ListEipResourcesResponseStatusEnum {
42
+ NUMBER_0 = 0,
43
+ NUMBER_1 = 1
44
+ }
@@ -0,0 +1,142 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.ListEipResourcesResponseStatusEnum = exports.ListEipResourcesResponse = void 0;
19
+ var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
20
+ var ListEipResourcesResponse = /** @class */ (function (_super) {
21
+ __extends(ListEipResourcesResponse, _super);
22
+ function ListEipResourcesResponse() {
23
+ return _super.call(this) || this;
24
+ }
25
+ ListEipResourcesResponse.prototype.withId = function (id) {
26
+ this['id'] = id;
27
+ return this;
28
+ };
29
+ ListEipResourcesResponse.prototype.withPublicIp = function (publicIp) {
30
+ this['public_ip'] = publicIp;
31
+ return this;
32
+ };
33
+ Object.defineProperty(ListEipResourcesResponse.prototype, "publicIp", {
34
+ get: function () {
35
+ return this['public_ip'];
36
+ },
37
+ set: function (publicIp) {
38
+ this['public_ip'] = publicIp;
39
+ },
40
+ enumerable: false,
41
+ configurable: true
42
+ });
43
+ ListEipResourcesResponse.prototype.withStatus = function (status) {
44
+ this['status'] = status;
45
+ return this;
46
+ };
47
+ ListEipResourcesResponse.prototype.withPublicIpv6 = function (publicIpv6) {
48
+ this['public_ipv6'] = publicIpv6;
49
+ return this;
50
+ };
51
+ Object.defineProperty(ListEipResourcesResponse.prototype, "publicIpv6", {
52
+ get: function () {
53
+ return this['public_ipv6'];
54
+ },
55
+ set: function (publicIpv6) {
56
+ this['public_ipv6'] = publicIpv6;
57
+ },
58
+ enumerable: false,
59
+ configurable: true
60
+ });
61
+ ListEipResourcesResponse.prototype.withEnterpriseProjectId = function (enterpriseProjectId) {
62
+ this['enterprise_project_id'] = enterpriseProjectId;
63
+ return this;
64
+ };
65
+ Object.defineProperty(ListEipResourcesResponse.prototype, "enterpriseProjectId", {
66
+ get: function () {
67
+ return this['enterprise_project_id'];
68
+ },
69
+ set: function (enterpriseProjectId) {
70
+ this['enterprise_project_id'] = enterpriseProjectId;
71
+ },
72
+ enumerable: false,
73
+ configurable: true
74
+ });
75
+ ListEipResourcesResponse.prototype.withDeviceId = function (deviceId) {
76
+ this['device_id'] = deviceId;
77
+ return this;
78
+ };
79
+ Object.defineProperty(ListEipResourcesResponse.prototype, "deviceId", {
80
+ get: function () {
81
+ return this['device_id'];
82
+ },
83
+ set: function (deviceId) {
84
+ this['device_id'] = deviceId;
85
+ },
86
+ enumerable: false,
87
+ configurable: true
88
+ });
89
+ ListEipResourcesResponse.prototype.withDeviceName = function (deviceName) {
90
+ this['device_name'] = deviceName;
91
+ return this;
92
+ };
93
+ Object.defineProperty(ListEipResourcesResponse.prototype, "deviceName", {
94
+ get: function () {
95
+ return this['device_name'];
96
+ },
97
+ set: function (deviceName) {
98
+ this['device_name'] = deviceName;
99
+ },
100
+ enumerable: false,
101
+ configurable: true
102
+ });
103
+ ListEipResourcesResponse.prototype.withDeviceOwner = function (deviceOwner) {
104
+ this['device_owner'] = deviceOwner;
105
+ return this;
106
+ };
107
+ Object.defineProperty(ListEipResourcesResponse.prototype, "deviceOwner", {
108
+ get: function () {
109
+ return this['device_owner'];
110
+ },
111
+ set: function (deviceOwner) {
112
+ this['device_owner'] = deviceOwner;
113
+ },
114
+ enumerable: false,
115
+ configurable: true
116
+ });
117
+ ListEipResourcesResponse.prototype.withAssociateInstanceType = function (associateInstanceType) {
118
+ this['associate_instance_type'] = associateInstanceType;
119
+ return this;
120
+ };
121
+ Object.defineProperty(ListEipResourcesResponse.prototype, "associateInstanceType", {
122
+ get: function () {
123
+ return this['associate_instance_type'];
124
+ },
125
+ set: function (associateInstanceType) {
126
+ this['associate_instance_type'] = associateInstanceType;
127
+ },
128
+ enumerable: false,
129
+ configurable: true
130
+ });
131
+ return ListEipResourcesResponse;
132
+ }(SdkResponse_1.SdkResponse));
133
+ exports.ListEipResourcesResponse = ListEipResourcesResponse;
134
+ /**
135
+ * @export
136
+ * @enum {string}
137
+ */
138
+ var ListEipResourcesResponseStatusEnum;
139
+ (function (ListEipResourcesResponseStatusEnum) {
140
+ ListEipResourcesResponseStatusEnum[ListEipResourcesResponseStatusEnum["NUMBER_0"] = 0] = "NUMBER_0";
141
+ ListEipResourcesResponseStatusEnum[ListEipResourcesResponseStatusEnum["NUMBER_1"] = 1] = "NUMBER_1";
142
+ })(ListEipResourcesResponseStatusEnum = exports.ListEipResourcesResponseStatusEnum || (exports.ListEipResourcesResponseStatusEnum = {}));
@@ -0,0 +1,23 @@
1
+ export declare class ListFirewallUsingGetRequest {
2
+ private 'project_id';
3
+ offset: number;
4
+ limit: number;
5
+ private 'service_type';
6
+ constructor(projectId?: any, offset?: any, limit?: any, serviceType?: any);
7
+ withProjectId(projectId: string): ListFirewallUsingGetRequest;
8
+ set projectId(projectId: string | undefined);
9
+ get projectId(): string | undefined;
10
+ withOffset(offset: number): ListFirewallUsingGetRequest;
11
+ withLimit(limit: number): ListFirewallUsingGetRequest;
12
+ withServiceType(serviceType: ListFirewallUsingGetRequestServiceTypeEnum): ListFirewallUsingGetRequest;
13
+ set serviceType(serviceType: ListFirewallUsingGetRequestServiceTypeEnum | undefined);
14
+ get serviceType(): ListFirewallUsingGetRequestServiceTypeEnum | undefined;
15
+ }
16
+ /**
17
+ * @export
18
+ * @enum {string}
19
+ */
20
+ export declare enum ListFirewallUsingGetRequestServiceTypeEnum {
21
+ NUMBER_0 = 0,
22
+ NUMBER_1 = 1
23
+ }
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListFirewallUsingGetRequestServiceTypeEnum = exports.ListFirewallUsingGetRequest = void 0;
4
+ var ListFirewallUsingGetRequest = /** @class */ (function () {
5
+ function ListFirewallUsingGetRequest(projectId, offset, limit, serviceType) {
6
+ this['project_id'] = projectId;
7
+ this['offset'] = offset;
8
+ this['limit'] = limit;
9
+ this['service_type'] = serviceType;
10
+ }
11
+ ListFirewallUsingGetRequest.prototype.withProjectId = function (projectId) {
12
+ this['project_id'] = projectId;
13
+ return this;
14
+ };
15
+ Object.defineProperty(ListFirewallUsingGetRequest.prototype, "projectId", {
16
+ get: function () {
17
+ return this['project_id'];
18
+ },
19
+ set: function (projectId) {
20
+ this['project_id'] = projectId;
21
+ },
22
+ enumerable: false,
23
+ configurable: true
24
+ });
25
+ ListFirewallUsingGetRequest.prototype.withOffset = function (offset) {
26
+ this['offset'] = offset;
27
+ return this;
28
+ };
29
+ ListFirewallUsingGetRequest.prototype.withLimit = function (limit) {
30
+ this['limit'] = limit;
31
+ return this;
32
+ };
33
+ ListFirewallUsingGetRequest.prototype.withServiceType = function (serviceType) {
34
+ this['service_type'] = serviceType;
35
+ return this;
36
+ };
37
+ Object.defineProperty(ListFirewallUsingGetRequest.prototype, "serviceType", {
38
+ get: function () {
39
+ return this['service_type'];
40
+ },
41
+ set: function (serviceType) {
42
+ this['service_type'] = serviceType;
43
+ },
44
+ enumerable: false,
45
+ configurable: true
46
+ });
47
+ return ListFirewallUsingGetRequest;
48
+ }());
49
+ exports.ListFirewallUsingGetRequest = ListFirewallUsingGetRequest;
50
+ /**
51
+ * @export
52
+ * @enum {string}
53
+ */
54
+ var ListFirewallUsingGetRequestServiceTypeEnum;
55
+ (function (ListFirewallUsingGetRequestServiceTypeEnum) {
56
+ ListFirewallUsingGetRequestServiceTypeEnum[ListFirewallUsingGetRequestServiceTypeEnum["NUMBER_0"] = 0] = "NUMBER_0";
57
+ ListFirewallUsingGetRequestServiceTypeEnum[ListFirewallUsingGetRequestServiceTypeEnum["NUMBER_1"] = 1] = "NUMBER_1";
58
+ })(ListFirewallUsingGetRequestServiceTypeEnum = exports.ListFirewallUsingGetRequestServiceTypeEnum || (exports.ListFirewallUsingGetRequestServiceTypeEnum = {}));
@@ -0,0 +1,79 @@
1
+ import { Flavor } from './Flavor';
2
+ import { ProtectObjectVO } from './ProtectObjectVO';
3
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
4
+ export declare class ListFirewallUsingGetResponse extends SdkResponse {
5
+ private 'fw_instance_id'?;
6
+ private 'resource_id'?;
7
+ name?: string;
8
+ private 'ha_type'?;
9
+ private 'charge_mode'?;
10
+ private 'service_type'?;
11
+ private 'engine_type'?;
12
+ flavor?: Flavor;
13
+ private 'protect_objects'?;
14
+ status?: ListFirewallUsingGetResponseStatusEnum;
15
+ description?: string;
16
+ private 'is_old_firewall_instance'?;
17
+ private 'support_ipv6'?;
18
+ private 'feature_toggle'?;
19
+ constructor();
20
+ withFwInstanceId(fwInstanceId: string): ListFirewallUsingGetResponse;
21
+ set fwInstanceId(fwInstanceId: string | undefined);
22
+ get fwInstanceId(): string | undefined;
23
+ withResourceId(resourceId: string): ListFirewallUsingGetResponse;
24
+ set resourceId(resourceId: string | undefined);
25
+ get resourceId(): string | undefined;
26
+ withName(name: string): ListFirewallUsingGetResponse;
27
+ withHaType(haType: number): ListFirewallUsingGetResponse;
28
+ set haType(haType: number | undefined);
29
+ get haType(): number | undefined;
30
+ withChargeMode(chargeMode: number): ListFirewallUsingGetResponse;
31
+ set chargeMode(chargeMode: number | undefined);
32
+ get chargeMode(): number | undefined;
33
+ withServiceType(serviceType: number): ListFirewallUsingGetResponse;
34
+ set serviceType(serviceType: number | undefined);
35
+ get serviceType(): number | undefined;
36
+ withEngineType(engineType: string): ListFirewallUsingGetResponse;
37
+ set engineType(engineType: string | undefined);
38
+ get engineType(): string | undefined;
39
+ withFlavor(flavor: Flavor): ListFirewallUsingGetResponse;
40
+ withProtectObjects(protectObjects: Array<ProtectObjectVO>): ListFirewallUsingGetResponse;
41
+ set protectObjects(protectObjects: Array<ProtectObjectVO> | undefined);
42
+ get protectObjects(): Array<ProtectObjectVO> | undefined;
43
+ withStatus(status: ListFirewallUsingGetResponseStatusEnum): ListFirewallUsingGetResponse;
44
+ withDescription(description: string): ListFirewallUsingGetResponse;
45
+ withIsOldFirewallInstance(isOldFirewallInstance: boolean): ListFirewallUsingGetResponse;
46
+ set isOldFirewallInstance(isOldFirewallInstance: boolean | undefined);
47
+ get isOldFirewallInstance(): boolean | undefined;
48
+ withSupportIpv6(supportIpv6: boolean): ListFirewallUsingGetResponse;
49
+ set supportIpv6(supportIpv6: boolean | undefined);
50
+ get supportIpv6(): boolean | undefined;
51
+ withFeatureToggle(featureToggle: {
52
+ [key: string]: boolean;
53
+ }): ListFirewallUsingGetResponse;
54
+ set featureToggle(featureToggle: {
55
+ [key: string]: boolean;
56
+ } | undefined);
57
+ get featureToggle(): {
58
+ [key: string]: boolean;
59
+ } | undefined;
60
+ }
61
+ /**
62
+ * @export
63
+ * @enum {string}
64
+ */
65
+ export declare enum ListFirewallUsingGetResponseStatusEnum {
66
+ NUMBER_MINUS_1 = -1,
67
+ NUMBER_0 = 0,
68
+ NUMBER_1 = 1,
69
+ NUMBER_2 = 2,
70
+ NUMBER_3 = 3,
71
+ NUMBER_4 = 4,
72
+ NUMBER_5 = 5,
73
+ NUMBER_6 = 6,
74
+ NUMBER_7 = 7,
75
+ NUMBER_8 = 8,
76
+ NUMBER_9 = 9,
77
+ NUMBER_10 = 10,
78
+ NUMBER_11 = 11
79
+ }