@huaweicloud/huaweicloud-sdk-cfw 3.1.44 → 3.1.46

Sign up to get free protection for your applications and to get access to all the features.
Files changed (502) hide show
  1. package/huaweicloud-sdk-cfw.ts +4 -0
  2. package/package.json +4 -4
  3. package/v1/{CfwClient.js → CfwClient.ts} +1741 -1078
  4. package/v1/CfwRegion.ts +54 -0
  5. package/v1/model/AddAddressItemsInfoDto.ts +29 -0
  6. package/v1/model/AddAddressItemsInfoDtoAddressItems.ts +33 -0
  7. package/v1/model/AddAddressItemsUsingPostRequest.ts +46 -0
  8. package/v1/model/AddAddressItemsUsingPostResponse.ts +14 -0
  9. package/v1/model/AddAddressSetDto.ts +49 -0
  10. package/v1/model/AddAddressSetInfoUsingPostRequest.ts +46 -0
  11. package/v1/model/AddAddressSetInfoUsingPostResponse.ts +14 -0
  12. package/v1/model/AddBlackWhiteListDto.ts +66 -0
  13. package/v1/model/AddBlackWhiteListUsingPostRequest.ts +46 -0
  14. package/v1/model/AddBlackWhiteListUsingPostResponse.ts +14 -0
  15. package/v1/model/AddRuleAclDto.ts +41 -0
  16. package/v1/model/AddRuleAclDtoRules.ts +169 -0
  17. package/v1/model/AddRuleAclUsingPostRequest.ts +46 -0
  18. package/v1/model/AddRuleAclUsingPostResponse.ts +14 -0
  19. package/v1/model/AddServiceItemsUsingPOSTRequestBody.ts +31 -0
  20. package/v1/model/AddServiceItemsUsingPOSTRequestBodyServiceItems.ts +57 -0
  21. package/v1/model/AddServiceItemsUsingPostRequest.ts +46 -0
  22. package/v1/model/AddServiceItemsUsingPostResponse.ts +14 -0
  23. package/v1/model/AddServiceSetUsingPOSTRequestBody.ts +29 -0
  24. package/v1/model/AddServiceSetUsingPostRequest.ts +46 -0
  25. package/v1/model/AddServiceSetUsingPostResponse.ts +14 -0
  26. package/v1/model/AddressItemListResponseDTOData.ts +38 -0
  27. package/v1/model/AddressItemListResponseDTODataRecords.ts +43 -0
  28. package/v1/model/AddressItems.ts +12 -0
  29. package/v1/model/AddressSetDetailResponseDTOData.ts +41 -0
  30. package/v1/model/AddressSetListResponseDTOData.ts +27 -0
  31. package/v1/model/AddressSetListResponseDTODataRecords.ts +49 -0
  32. package/v1/model/BlackWhiteListResponseData.ts +38 -0
  33. package/v1/model/BlackWhiteListResponseDataRecords.ts +48 -0
  34. package/v1/model/ChangeEwProtectStatusRequest.ts +46 -0
  35. package/v1/model/ChangeEwProtectStatusResponse.ts +25 -0
  36. package/v1/model/ChangeIpsProtectModeUsingPostRequest.ts +46 -0
  37. package/v1/model/ChangeIpsProtectModeUsingPostResponse.ts +14 -0
  38. package/v1/model/ChangeIpsSwitchUsingPostRequest.ts +46 -0
  39. package/v1/model/ChangeIpsSwitchUsingPostResponse.ts +25 -0
  40. package/v1/model/ChangeProtectEipRequest.ts +46 -0
  41. package/v1/model/ChangeProtectEipResponse.ts +14 -0
  42. package/v1/model/ChangeProtectStatusRequestBody.ts +33 -0
  43. package/v1/model/ClearAccessLogRuleHitCountsDto.ts +18 -0
  44. package/v1/model/CommonResponseDTOData.ts +11 -0
  45. package/v1/model/CountEipsRequest.ts +52 -0
  46. package/v1/model/CountEipsResponse.ts +14 -0
  47. package/v1/model/DeleteAclRuleCountRequest.ts +46 -0
  48. package/v1/model/DeleteAclRuleCountResponse.ts +13 -0
  49. package/v1/model/DeleteAddressItemUsingDeleteRequest.ts +52 -0
  50. package/v1/model/DeleteAddressItemUsingDeleteResponse.ts +14 -0
  51. package/v1/model/DeleteAddressSetInfoUsingDeleteRequest.ts +52 -0
  52. package/v1/model/DeleteAddressSetInfoUsingDeleteResponse.ts +14 -0
  53. package/v1/model/DeleteBlackWhiteListUsingDeleteRequest.ts +52 -0
  54. package/v1/model/DeleteBlackWhiteListUsingDeleteResponse.ts +14 -0
  55. package/v1/model/DeleteRuleAclUsingDeleteRequest.ts +52 -0
  56. package/v1/model/DeleteRuleAclUsingDeleteResponse.ts +14 -0
  57. package/v1/model/DeleteServiceItemUsingDeleteRequest.ts +52 -0
  58. package/v1/model/DeleteServiceItemUsingDeleteResponse.ts +14 -0
  59. package/v1/model/DeleteServiceSetUsingDeleteRequest.ts +52 -0
  60. package/v1/model/DeleteServiceSetUsingDeleteResponse.ts +14 -0
  61. package/v1/model/DnsServersResponseDTO.ts +44 -0
  62. package/v1/model/EipCountRespData.ts +39 -0
  63. package/v1/model/EipOperateProtectReq.ts +37 -0
  64. package/v1/model/EipOperateProtectReqIpInfos.ts +33 -0
  65. package/v1/model/EipResource.ts +135 -0
  66. package/v1/model/EipResponseData.ts +27 -0
  67. package/v1/model/ErInstance.ts +54 -0
  68. package/v1/model/EwProtectResourceInfo.ts +75 -0
  69. package/v1/model/FirewallInstanceResource.ts +72 -0
  70. package/v1/model/Flavor.ts +60 -0
  71. package/v1/model/GetEastWestFirewallResponseBody.ts +101 -0
  72. package/v1/model/GetFirewallInstanceData.ts +27 -0
  73. package/v1/model/GetFirewallInstanceResponseRecord.ts +170 -0
  74. package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTOData.ts +22 -0
  75. package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTODataRecords.ts +109 -0
  76. package/v1/model/HttpQueryCfwAttackLogsResponseDTOData.ts +22 -0
  77. package/v1/model/HttpQueryCfwAttackLogsResponseDTODataRecords.ts +178 -0
  78. package/v1/model/HttpQueryCfwFlowLogsResponseDTOData.ts +22 -0
  79. package/v1/model/HttpQueryCfwFlowLogsResponseDTODataRecords.ts +117 -0
  80. package/v1/model/IdObject.ts +11 -0
  81. package/v1/model/IpsProtectDTO.ts +22 -0
  82. package/v1/model/IpsProtectModeObject.ts +16 -0
  83. package/v1/model/IpsSwitchDTO.ts +45 -0
  84. package/v1/model/IpsSwitchResponseDTO.ts +33 -0
  85. package/v1/model/ListAccessControlLogsRequest.ts +184 -0
  86. package/v1/model/ListAccessControlLogsResponse.ts +14 -0
  87. package/v1/model/ListAddressItemsUsingGetRequest.ts +80 -0
  88. package/v1/model/ListAddressItemsUsingGetResponse.ts +14 -0
  89. package/v1/model/ListAddressSetDetailUsingGetRequest.ts +52 -0
  90. package/v1/model/ListAddressSetDetailUsingGetResponse.ts +14 -0
  91. package/v1/model/ListAddressSetListUsingGetRequest.ts +100 -0
  92. package/v1/model/ListAddressSetListUsingGetResponse.ts +14 -0
  93. package/v1/model/ListAttackLogsRequest.ts +221 -0
  94. package/v1/model/ListAttackLogsResponse.ts +14 -0
  95. package/v1/model/ListBlackWhiteListsUsingGetRequest.ts +115 -0
  96. package/v1/model/ListBlackWhiteListsUsingGetResponse.ts +14 -0
  97. package/v1/model/ListDnsServersRequest.ts +50 -0
  98. package/v1/model/ListDnsServersResponse.ts +19 -0
  99. package/v1/model/ListEastWestFirewallRequest.ts +52 -0
  100. package/v1/model/ListEastWestFirewallResponse.ts +14 -0
  101. package/v1/model/ListEipResourcesRequest.ts +147 -0
  102. package/v1/model/ListEipResourcesResponse.ts +14 -0
  103. package/v1/model/ListFirewallUsingGetRequest.ts +73 -0
  104. package/v1/model/ListFirewallUsingGetResponse.ts +14 -0
  105. package/v1/model/ListFlowLogsRequest.ts +188 -0
  106. package/v1/model/ListFlowLogsResponse.ts +14 -0
  107. package/v1/model/ListIpsProtectModeUsingPostRequest.ts +52 -0
  108. package/v1/model/ListIpsProtectModeUsingPostResponse.ts +14 -0
  109. package/v1/model/ListIpsSwitchStatusUsingGetRequest.ts +52 -0
  110. package/v1/model/ListIpsSwitchStatusUsingGetResponse.ts +14 -0
  111. package/v1/model/ListParseDomainDetailsRequest.ts +52 -0
  112. package/v1/model/ListParseDomainDetailsResponse.ts +13 -0
  113. package/v1/model/ListRuleAclUsingPutRequest.ts +58 -0
  114. package/v1/model/ListRuleAclUsingPutResponse.ts +14 -0
  115. package/v1/model/ListRuleAclsUsingGetRequest.ts +161 -0
  116. package/v1/model/ListRuleAclsUsingGetResponse.ts +14 -0
  117. package/v1/model/ListRuleHitCountDto.ts +18 -0
  118. package/v1/model/ListRuleHitCountRequest.ts +46 -0
  119. package/v1/model/ListRuleHitCountResponse.ts +14 -0
  120. package/v1/model/ListServiceItemsDetailsRequest.ts +75 -0
  121. package/v1/model/ListServiceItemsDetailsResponse.ts +14 -0
  122. package/v1/model/ListServiceSetDetailsRequest.ts +52 -0
  123. package/v1/model/ListServiceSetDetailsResponse.ts +14 -0
  124. package/v1/model/ListServiceSetRequest.ts +75 -0
  125. package/v1/model/ListServiceSetResponse.ts +14 -0
  126. package/v1/model/ListVpcProtectsRequest.ts +52 -0
  127. package/v1/model/ListVpcProtectsResponse.ts +25 -0
  128. package/v1/model/OrderRuleAclDto.ts +22 -0
  129. package/v1/model/Packet.ts +33 -0
  130. package/v1/model/PacketMessage.ts +33 -0
  131. package/v1/model/ProtectObjectVO.ts +42 -0
  132. package/v1/model/RuleAclListResponseDTOData.ts +38 -0
  133. package/v1/model/RuleAclListResponseDTODataRecords.ts +160 -0
  134. package/v1/model/RuleAddressDto.ts +61 -0
  135. package/v1/model/RuleHitCountObject.ts +28 -0
  136. package/v1/model/RuleHitCountRecords.ts +27 -0
  137. package/v1/model/RuleId.ts +11 -0
  138. package/v1/model/RuleIdList.ts +12 -0
  139. package/v1/model/RuleServiceDto.ts +61 -0
  140. package/v1/model/ServiceItemIds.ts +12 -0
  141. package/v1/model/ServiceItemListResponseDtoData.ts +38 -0
  142. package/v1/model/ServiceItemListResponseDtoDataRecords.ts +54 -0
  143. package/v1/model/ServiceSet.ts +43 -0
  144. package/v1/model/ServiceSetDetailResponseDto.ts +22 -0
  145. package/v1/model/ServiceSetRecords.ts +27 -0
  146. package/v1/model/SubnetInfo.ts +61 -0
  147. package/v1/model/SuccessRspData.ts +11 -0
  148. package/v1/model/Tag.ts +16 -0
  149. package/v1/model/UpdateAddressSetDto.ts +37 -0
  150. package/v1/model/UpdateAddressSetInfoUsingPutRequest.ts +58 -0
  151. package/v1/model/UpdateAddressSetInfoUsingPutResponse.ts +14 -0
  152. package/v1/model/UpdateBlackWhiteListDto.ts +68 -0
  153. package/v1/model/UpdateBlackWhiteListUsingPutRequest.ts +58 -0
  154. package/v1/model/UpdateBlackWhiteListUsingPutResponse.ts +14 -0
  155. package/v1/model/UpdateDnsServersRequest.ts +46 -0
  156. package/v1/model/UpdateDnsServersRequestBody.ts +18 -0
  157. package/v1/model/UpdateDnsServersRequestBodyDnsServer.ts +39 -0
  158. package/v1/model/UpdateDnsServersResponse.ts +13 -0
  159. package/v1/model/UpdateRuleAclDto.ts +173 -0
  160. package/v1/model/UpdateRuleAclUsingPutRequest.ts +58 -0
  161. package/v1/model/UpdateRuleAclUsingPutResponse.ts +14 -0
  162. package/v1/model/UpdateServiceSetUsingPUTRequestBody.ts +16 -0
  163. package/v1/model/UpdateServiceSetUsingPutRequest.ts +58 -0
  164. package/v1/model/UpdateServiceSetUsingPutResponse.ts +14 -0
  165. package/v1/model/VPCProtectsVo.ts +67 -0
  166. package/v1/model/VpcAttachmentDetail.ts +109 -0
  167. package/v1/model/VpcDetail.ts +26 -0
  168. package/v1/{public-api.d.ts → public-api.ts} +1 -0
  169. package/LICENSE +0 -13
  170. package/README.md +0 -1
  171. package/huaweicloud-sdk-cfw.d.ts +0 -2
  172. package/huaweicloud-sdk-cfw.js +0 -31
  173. package/v1/CfwClient.d.ts +0 -1407
  174. package/v1/CfwRegion.d.ts +0 -19
  175. package/v1/CfwRegion.js +0 -51
  176. package/v1/model/AddAddressItemsInfoDto.d.ts +0 -12
  177. package/v1/model/AddAddressItemsInfoDto.js +0 -37
  178. package/v1/model/AddAddressItemsInfoDtoAddressItems.d.ts +0 -13
  179. package/v1/model/AddAddressItemsInfoDtoAddressItems.js +0 -36
  180. package/v1/model/AddAddressItemsUsingPostRequest.d.ts +0 -18
  181. package/v1/model/AddAddressItemsUsingPostRequest.js +0 -56
  182. package/v1/model/AddAddressItemsUsingPostResponse.d.ts +0 -7
  183. package/v1/model/AddAddressItemsUsingPostResponse.js +0 -31
  184. package/v1/model/AddAddressSetDto.d.ts +0 -23
  185. package/v1/model/AddAddressSetDto.js +0 -56
  186. package/v1/model/AddAddressSetInfoUsingPostRequest.d.ts +0 -18
  187. package/v1/model/AddAddressSetInfoUsingPostRequest.js +0 -56
  188. package/v1/model/AddAddressSetInfoUsingPostResponse.d.ts +0 -7
  189. package/v1/model/AddAddressSetInfoUsingPostResponse.js +0 -31
  190. package/v1/model/AddBlackWhiteListDto.d.ts +0 -23
  191. package/v1/model/AddBlackWhiteListDto.js +0 -74
  192. package/v1/model/AddBlackWhiteListUsingPostRequest.d.ts +0 -18
  193. package/v1/model/AddBlackWhiteListUsingPostRequest.js +0 -56
  194. package/v1/model/AddBlackWhiteListUsingPostResponse.d.ts +0 -7
  195. package/v1/model/AddBlackWhiteListUsingPostResponse.js +0 -31
  196. package/v1/model/AddRuleAclDto.d.ts +0 -21
  197. package/v1/model/AddRuleAclDto.js +0 -44
  198. package/v1/model/AddRuleAclDtoRules.d.ts +0 -83
  199. package/v1/model/AddRuleAclDtoRules.js +0 -185
  200. package/v1/model/AddRuleAclUsingPostRequest.d.ts +0 -18
  201. package/v1/model/AddRuleAclUsingPostRequest.js +0 -56
  202. package/v1/model/AddRuleAclUsingPostResponse.d.ts +0 -7
  203. package/v1/model/AddRuleAclUsingPostResponse.js +0 -31
  204. package/v1/model/AddServiceItemsUsingPOSTRequestBody.d.ts +0 -12
  205. package/v1/model/AddServiceItemsUsingPOSTRequestBody.js +0 -39
  206. package/v1/model/AddServiceItemsUsingPOSTRequestBodyServiceItems.d.ts +0 -21
  207. package/v1/model/AddServiceItemsUsingPOSTRequestBodyServiceItems.js +0 -66
  208. package/v1/model/AddServiceItemsUsingPostRequest.d.ts +0 -18
  209. package/v1/model/AddServiceItemsUsingPostRequest.js +0 -56
  210. package/v1/model/AddServiceItemsUsingPostResponse.d.ts +0 -7
  211. package/v1/model/AddServiceItemsUsingPostResponse.js +0 -31
  212. package/v1/model/AddServiceSetUsingPOSTRequestBody.d.ts +0 -11
  213. package/v1/model/AddServiceSetUsingPOSTRequestBody.js +0 -33
  214. package/v1/model/AddServiceSetUsingPostRequest.d.ts +0 -18
  215. package/v1/model/AddServiceSetUsingPostRequest.js +0 -56
  216. package/v1/model/AddServiceSetUsingPostResponse.d.ts +0 -7
  217. package/v1/model/AddServiceSetUsingPostResponse.js +0 -31
  218. package/v1/model/AddressItemListResponseDTOData.d.ts +0 -16
  219. package/v1/model/AddressItemListResponseDTOData.js +0 -39
  220. package/v1/model/AddressItemListResponseDTODataRecords.d.ts +0 -17
  221. package/v1/model/AddressItemListResponseDTODataRecords.js +0 -49
  222. package/v1/model/AddressItems.d.ts +0 -6
  223. package/v1/model/AddressItems.js +0 -13
  224. package/v1/model/AddressSetDetailResponseDTOData.d.ts +0 -21
  225. package/v1/model/AddressSetDetailResponseDTOData.js +0 -44
  226. package/v1/model/AddressSetListResponseDTOData.d.ts +0 -12
  227. package/v1/model/AddressSetListResponseDTOData.js +0 -25
  228. package/v1/model/AddressSetListResponseDTODataRecords.d.ts +0 -19
  229. package/v1/model/AddressSetListResponseDTODataRecords.js +0 -59
  230. package/v1/model/BlackWhiteListResponseData.d.ts +0 -16
  231. package/v1/model/BlackWhiteListResponseData.js +0 -39
  232. package/v1/model/BlackWhiteListResponseDataRecords.d.ts +0 -19
  233. package/v1/model/BlackWhiteListResponseDataRecords.js +0 -53
  234. package/v1/model/ChangeEwProtectStatusRequest.d.ts +0 -18
  235. package/v1/model/ChangeEwProtectStatusRequest.js +0 -56
  236. package/v1/model/ChangeEwProtectStatusResponse.d.ts +0 -11
  237. package/v1/model/ChangeEwProtectStatusResponse.js +0 -45
  238. package/v1/model/ChangeIpsProtectModeUsingPostRequest.d.ts +0 -18
  239. package/v1/model/ChangeIpsProtectModeUsingPostRequest.js +0 -56
  240. package/v1/model/ChangeIpsProtectModeUsingPostResponse.d.ts +0 -7
  241. package/v1/model/ChangeIpsProtectModeUsingPostResponse.js +0 -31
  242. package/v1/model/ChangeIpsSwitchUsingPostRequest.d.ts +0 -18
  243. package/v1/model/ChangeIpsSwitchUsingPostRequest.js +0 -56
  244. package/v1/model/ChangeIpsSwitchUsingPostResponse.d.ts +0 -11
  245. package/v1/model/ChangeIpsSwitchUsingPostResponse.js +0 -45
  246. package/v1/model/ChangeProtectEipRequest.d.ts +0 -18
  247. package/v1/model/ChangeProtectEipRequest.js +0 -56
  248. package/v1/model/ChangeProtectEipResponse.d.ts +0 -7
  249. package/v1/model/ChangeProtectEipResponse.js +0 -31
  250. package/v1/model/ChangeProtectStatusRequestBody.d.ts +0 -17
  251. package/v1/model/ChangeProtectStatusRequestBody.js +0 -38
  252. package/v1/model/ClearAccessLogRuleHitCountsDto.d.ts +0 -7
  253. package/v1/model/ClearAccessLogRuleHitCountsDto.js +0 -24
  254. package/v1/model/CommonResponseDTOData.d.ts +0 -5
  255. package/v1/model/CommonResponseDTOData.js +0 -13
  256. package/v1/model/CountEipsRequest.d.ts +0 -19
  257. package/v1/model/CountEipsRequest.js +0 -67
  258. package/v1/model/CountEipsResponse.d.ts +0 -7
  259. package/v1/model/CountEipsResponse.js +0 -31
  260. package/v1/model/DeleteAclRuleCountRequest.d.ts +0 -18
  261. package/v1/model/DeleteAclRuleCountRequest.js +0 -56
  262. package/v1/model/DeleteAclRuleCountResponse.d.ts +0 -6
  263. package/v1/model/DeleteAclRuleCountResponse.js +0 -31
  264. package/v1/model/DeleteAddressItemUsingDeleteRequest.d.ts +0 -19
  265. package/v1/model/DeleteAddressItemUsingDeleteRequest.js +0 -67
  266. package/v1/model/DeleteAddressItemUsingDeleteResponse.d.ts +0 -7
  267. package/v1/model/DeleteAddressItemUsingDeleteResponse.js +0 -31
  268. package/v1/model/DeleteAddressSetInfoUsingDeleteRequest.d.ts +0 -19
  269. package/v1/model/DeleteAddressSetInfoUsingDeleteRequest.js +0 -67
  270. package/v1/model/DeleteAddressSetInfoUsingDeleteResponse.d.ts +0 -7
  271. package/v1/model/DeleteAddressSetInfoUsingDeleteResponse.js +0 -31
  272. package/v1/model/DeleteBlackWhiteListUsingDeleteRequest.d.ts +0 -19
  273. package/v1/model/DeleteBlackWhiteListUsingDeleteRequest.js +0 -67
  274. package/v1/model/DeleteBlackWhiteListUsingDeleteResponse.d.ts +0 -7
  275. package/v1/model/DeleteBlackWhiteListUsingDeleteResponse.js +0 -31
  276. package/v1/model/DeleteRuleAclUsingDeleteRequest.d.ts +0 -19
  277. package/v1/model/DeleteRuleAclUsingDeleteRequest.js +0 -67
  278. package/v1/model/DeleteRuleAclUsingDeleteResponse.d.ts +0 -7
  279. package/v1/model/DeleteRuleAclUsingDeleteResponse.js +0 -31
  280. package/v1/model/DeleteServiceItemUsingDeleteRequest.d.ts +0 -19
  281. package/v1/model/DeleteServiceItemUsingDeleteRequest.js +0 -67
  282. package/v1/model/DeleteServiceItemUsingDeleteResponse.d.ts +0 -7
  283. package/v1/model/DeleteServiceItemUsingDeleteResponse.js +0 -31
  284. package/v1/model/DeleteServiceSetUsingDeleteRequest.d.ts +0 -19
  285. package/v1/model/DeleteServiceSetUsingDeleteRequest.js +0 -67
  286. package/v1/model/DeleteServiceSetUsingDeleteResponse.d.ts +0 -7
  287. package/v1/model/DeleteServiceSetUsingDeleteResponse.js +0 -31
  288. package/v1/model/DnsServersResponseDTO.d.ts +0 -17
  289. package/v1/model/DnsServersResponseDTO.js +0 -55
  290. package/v1/model/EipCountRespData.d.ts +0 -15
  291. package/v1/model/EipCountRespData.js +0 -51
  292. package/v1/model/EipOperateProtectReq.d.ts +0 -14
  293. package/v1/model/EipOperateProtectReq.js +0 -44
  294. package/v1/model/EipOperateProtectReqIpInfos.d.ts +0 -13
  295. package/v1/model/EipOperateProtectReqIpInfos.js +0 -41
  296. package/v1/model/EipResource.d.ts +0 -55
  297. package/v1/model/EipResource.js +0 -166
  298. package/v1/model/EipResponseData.d.ts +0 -12
  299. package/v1/model/EipResponseData.js +0 -25
  300. package/v1/model/ErInstance.d.ts +0 -21
  301. package/v1/model/ErInstance.js +0 -63
  302. package/v1/model/EwProtectResourceInfo.d.ts +0 -27
  303. package/v1/model/EwProtectResourceInfo.js +0 -96
  304. package/v1/model/FirewallInstanceResource.d.ts +0 -27
  305. package/v1/model/FirewallInstanceResource.js +0 -93
  306. package/v1/model/Flavor.d.ts +0 -29
  307. package/v1/model/Flavor.js +0 -70
  308. package/v1/model/GetEastWestFirewallResponseBody.d.ts +0 -41
  309. package/v1/model/GetEastWestFirewallResponseBody.js +0 -113
  310. package/v1/model/GetFirewallInstanceData.d.ts +0 -12
  311. package/v1/model/GetFirewallInstanceData.js +0 -25
  312. package/v1/model/GetFirewallInstanceResponseRecord.d.ts +0 -83
  313. package/v1/model/GetFirewallInstanceResponseRecord.js +0 -199
  314. package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTOData.d.ts +0 -10
  315. package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTOData.js +0 -21
  316. package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTODataRecords.d.ts +0 -41
  317. package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTODataRecords.js +0 -133
  318. package/v1/model/HttpQueryCfwAttackLogsResponseDTOData.d.ts +0 -10
  319. package/v1/model/HttpQueryCfwAttackLogsResponseDTOData.js +0 -21
  320. package/v1/model/HttpQueryCfwAttackLogsResponseDTODataRecords.d.ts +0 -73
  321. package/v1/model/HttpQueryCfwAttackLogsResponseDTODataRecords.js +0 -204
  322. package/v1/model/HttpQueryCfwFlowLogsResponseDTOData.d.ts +0 -10
  323. package/v1/model/HttpQueryCfwFlowLogsResponseDTOData.js +0 -21
  324. package/v1/model/HttpQueryCfwFlowLogsResponseDTODataRecords.d.ts +0 -49
  325. package/v1/model/HttpQueryCfwFlowLogsResponseDTODataRecords.js +0 -136
  326. package/v1/model/IdObject.d.ts +0 -5
  327. package/v1/model/IdObject.js +0 -13
  328. package/v1/model/IpsProtectDTO.d.ts +0 -9
  329. package/v1/model/IpsProtectDTO.js +0 -27
  330. package/v1/model/IpsProtectModeObject.d.ts +0 -7
  331. package/v1/model/IpsProtectModeObject.js +0 -17
  332. package/v1/model/IpsSwitchDTO.d.ts +0 -21
  333. package/v1/model/IpsSwitchDTO.js +0 -53
  334. package/v1/model/IpsSwitchResponseDTO.d.ts +0 -13
  335. package/v1/model/IpsSwitchResponseDTO.js +0 -41
  336. package/v1/model/ListAccessControlLogsRequest.d.ts +0 -72
  337. package/v1/model/ListAccessControlLogsRequest.js +0 -222
  338. package/v1/model/ListAccessControlLogsResponse.d.ts +0 -7
  339. package/v1/model/ListAccessControlLogsResponse.js +0 -31
  340. package/v1/model/ListAddressItemsUsingGetRequest.d.ts +0 -29
  341. package/v1/model/ListAddressItemsUsingGetRequest.js +0 -95
  342. package/v1/model/ListAddressItemsUsingGetResponse.d.ts +0 -7
  343. package/v1/model/ListAddressItemsUsingGetResponse.js +0 -31
  344. package/v1/model/ListAddressSetDetailUsingGetRequest.d.ts +0 -19
  345. package/v1/model/ListAddressSetDetailUsingGetRequest.js +0 -67
  346. package/v1/model/ListAddressSetDetailUsingGetResponse.d.ts +0 -7
  347. package/v1/model/ListAddressSetDetailUsingGetResponse.js +0 -31
  348. package/v1/model/ListAddressSetListUsingGetRequest.d.ts +0 -41
  349. package/v1/model/ListAddressSetListUsingGetRequest.js +0 -118
  350. package/v1/model/ListAddressSetListUsingGetResponse.d.ts +0 -7
  351. package/v1/model/ListAddressSetListUsingGetResponse.js +0 -31
  352. package/v1/model/ListAttackLogsRequest.d.ts +0 -97
  353. package/v1/model/ListAttackLogsRequest.js +0 -257
  354. package/v1/model/ListAttackLogsResponse.d.ts +0 -7
  355. package/v1/model/ListAttackLogsResponse.js +0 -31
  356. package/v1/model/ListBlackWhiteListsUsingGetRequest.d.ts +0 -52
  357. package/v1/model/ListBlackWhiteListsUsingGetRequest.js +0 -133
  358. package/v1/model/ListBlackWhiteListsUsingGetResponse.d.ts +0 -7
  359. package/v1/model/ListBlackWhiteListsUsingGetResponse.js +0 -31
  360. package/v1/model/ListDnsServersRequest.d.ts +0 -19
  361. package/v1/model/ListDnsServersRequest.js +0 -60
  362. package/v1/model/ListDnsServersResponse.d.ts +0 -9
  363. package/v1/model/ListDnsServersResponse.js +0 -35
  364. package/v1/model/ListEastWestFirewallRequest.d.ts +0 -19
  365. package/v1/model/ListEastWestFirewallRequest.js +0 -62
  366. package/v1/model/ListEastWestFirewallResponse.d.ts +0 -7
  367. package/v1/model/ListEastWestFirewallResponse.js +0 -31
  368. package/v1/model/ListEipResourcesRequest.d.ts +0 -64
  369. package/v1/model/ListEipResourcesRequest.js +0 -174
  370. package/v1/model/ListEipResourcesResponse.d.ts +0 -7
  371. package/v1/model/ListEipResourcesResponse.js +0 -31
  372. package/v1/model/ListFirewallUsingGetRequest.d.ts +0 -31
  373. package/v1/model/ListFirewallUsingGetRequest.js +0 -86
  374. package/v1/model/ListFirewallUsingGetResponse.d.ts +0 -7
  375. package/v1/model/ListFirewallUsingGetResponse.js +0 -31
  376. package/v1/model/ListFlowLogsRequest.d.ts +0 -80
  377. package/v1/model/ListFlowLogsRequest.js +0 -223
  378. package/v1/model/ListFlowLogsResponse.d.ts +0 -7
  379. package/v1/model/ListFlowLogsResponse.js +0 -31
  380. package/v1/model/ListIpsProtectModeUsingPostRequest.d.ts +0 -19
  381. package/v1/model/ListIpsProtectModeUsingPostRequest.js +0 -67
  382. package/v1/model/ListIpsProtectModeUsingPostResponse.d.ts +0 -7
  383. package/v1/model/ListIpsProtectModeUsingPostResponse.js +0 -31
  384. package/v1/model/ListIpsSwitchStatusUsingGetRequest.d.ts +0 -19
  385. package/v1/model/ListIpsSwitchStatusUsingGetRequest.js +0 -67
  386. package/v1/model/ListIpsSwitchStatusUsingGetResponse.d.ts +0 -7
  387. package/v1/model/ListIpsSwitchStatusUsingGetResponse.js +0 -31
  388. package/v1/model/ListParseDomainDetailsRequest.d.ts +0 -19
  389. package/v1/model/ListParseDomainDetailsRequest.js +0 -67
  390. package/v1/model/ListParseDomainDetailsResponse.d.ts +0 -6
  391. package/v1/model/ListParseDomainDetailsResponse.js +0 -31
  392. package/v1/model/ListRuleAclUsingPutRequest.d.ts +0 -22
  393. package/v1/model/ListRuleAclUsingPutRequest.js +0 -71
  394. package/v1/model/ListRuleAclUsingPutResponse.d.ts +0 -7
  395. package/v1/model/ListRuleAclUsingPutResponse.js +0 -31
  396. package/v1/model/ListRuleAclsUsingGetRequest.d.ts +0 -87
  397. package/v1/model/ListRuleAclsUsingGetRequest.js +0 -178
  398. package/v1/model/ListRuleAclsUsingGetResponse.d.ts +0 -7
  399. package/v1/model/ListRuleAclsUsingGetResponse.js +0 -31
  400. package/v1/model/ListRuleHitCountDto.d.ts +0 -7
  401. package/v1/model/ListRuleHitCountDto.js +0 -24
  402. package/v1/model/ListRuleHitCountRequest.d.ts +0 -18
  403. package/v1/model/ListRuleHitCountRequest.js +0 -56
  404. package/v1/model/ListRuleHitCountResponse.d.ts +0 -7
  405. package/v1/model/ListRuleHitCountResponse.js +0 -31
  406. package/v1/model/ListServiceItemsDetailsRequest.d.ts +0 -27
  407. package/v1/model/ListServiceItemsDetailsRequest.js +0 -91
  408. package/v1/model/ListServiceItemsDetailsResponse.d.ts +0 -7
  409. package/v1/model/ListServiceItemsDetailsResponse.js +0 -31
  410. package/v1/model/ListServiceSetDetailsRequest.d.ts +0 -19
  411. package/v1/model/ListServiceSetDetailsRequest.js +0 -67
  412. package/v1/model/ListServiceSetDetailsResponse.d.ts +0 -7
  413. package/v1/model/ListServiceSetDetailsResponse.js +0 -31
  414. package/v1/model/ListServiceSetRequest.d.ts +0 -27
  415. package/v1/model/ListServiceSetRequest.js +0 -91
  416. package/v1/model/ListServiceSetResponse.d.ts +0 -7
  417. package/v1/model/ListServiceSetResponse.js +0 -31
  418. package/v1/model/ListVpcProtectsRequest.d.ts +0 -19
  419. package/v1/model/ListVpcProtectsRequest.js +0 -67
  420. package/v1/model/ListVpcProtectsResponse.d.ts +0 -11
  421. package/v1/model/ListVpcProtectsResponse.js +0 -45
  422. package/v1/model/OrderRuleAclDto.d.ts +0 -9
  423. package/v1/model/OrderRuleAclDto.js +0 -27
  424. package/v1/model/Packet.d.ts +0 -13
  425. package/v1/model/Packet.js +0 -41
  426. package/v1/model/PacketMessage.d.ts +0 -13
  427. package/v1/model/PacketMessage.js +0 -41
  428. package/v1/model/ProtectObjectVO.d.ts +0 -21
  429. package/v1/model/ProtectObjectVO.js +0 -50
  430. package/v1/model/RuleAclListResponseDTOData.d.ts +0 -16
  431. package/v1/model/RuleAclListResponseDTOData.js +0 -39
  432. package/v1/model/RuleAclListResponseDTODataRecords.d.ts +0 -73
  433. package/v1/model/RuleAclListResponseDTODataRecords.js +0 -176
  434. package/v1/model/RuleAddressDto.d.ts +0 -23
  435. package/v1/model/RuleAddressDto.js +0 -74
  436. package/v1/model/RuleHitCountObject.d.ts +0 -11
  437. package/v1/model/RuleHitCountObject.js +0 -37
  438. package/v1/model/RuleHitCountRecords.d.ts +0 -12
  439. package/v1/model/RuleHitCountRecords.js +0 -25
  440. package/v1/model/RuleId.d.ts +0 -5
  441. package/v1/model/RuleId.js +0 -13
  442. package/v1/model/RuleIdList.d.ts +0 -6
  443. package/v1/model/RuleIdList.js +0 -13
  444. package/v1/model/RuleServiceDto.d.ts +0 -23
  445. package/v1/model/RuleServiceDto.js +0 -74
  446. package/v1/model/ServiceItemIds.d.ts +0 -6
  447. package/v1/model/ServiceItemIds.js +0 -13
  448. package/v1/model/ServiceItemListResponseDtoData.d.ts +0 -16
  449. package/v1/model/ServiceItemListResponseDtoData.js +0 -39
  450. package/v1/model/ServiceItemListResponseDtoDataRecords.d.ts +0 -21
  451. package/v1/model/ServiceItemListResponseDtoDataRecords.js +0 -63
  452. package/v1/model/ServiceSet.d.ts +0 -17
  453. package/v1/model/ServiceSet.js +0 -49
  454. package/v1/model/ServiceSetDetailResponseDto.d.ts +0 -9
  455. package/v1/model/ServiceSetDetailResponseDto.js +0 -22
  456. package/v1/model/ServiceSetRecords.d.ts +0 -12
  457. package/v1/model/ServiceSetRecords.js +0 -25
  458. package/v1/model/SubnetInfo.d.ts +0 -23
  459. package/v1/model/SubnetInfo.js +0 -69
  460. package/v1/model/SuccessRspData.d.ts +0 -5
  461. package/v1/model/SuccessRspData.js +0 -13
  462. package/v1/model/Tag.d.ts +0 -7
  463. package/v1/model/Tag.js +0 -17
  464. package/v1/model/UpdateAddressSetDto.d.ts +0 -20
  465. package/v1/model/UpdateAddressSetDto.js +0 -41
  466. package/v1/model/UpdateAddressSetInfoUsingPutRequest.d.ts +0 -22
  467. package/v1/model/UpdateAddressSetInfoUsingPutRequest.js +0 -71
  468. package/v1/model/UpdateAddressSetInfoUsingPutResponse.d.ts +0 -7
  469. package/v1/model/UpdateAddressSetInfoUsingPutResponse.js +0 -31
  470. package/v1/model/UpdateBlackWhiteListDto.d.ts +0 -31
  471. package/v1/model/UpdateBlackWhiteListDto.js +0 -76
  472. package/v1/model/UpdateBlackWhiteListUsingPutRequest.d.ts +0 -22
  473. package/v1/model/UpdateBlackWhiteListUsingPutRequest.js +0 -71
  474. package/v1/model/UpdateBlackWhiteListUsingPutResponse.d.ts +0 -7
  475. package/v1/model/UpdateBlackWhiteListUsingPutResponse.js +0 -31
  476. package/v1/model/UpdateDnsServersRequest.d.ts +0 -18
  477. package/v1/model/UpdateDnsServersRequest.js +0 -56
  478. package/v1/model/UpdateDnsServersRequestBody.d.ts +0 -8
  479. package/v1/model/UpdateDnsServersRequestBody.js +0 -23
  480. package/v1/model/UpdateDnsServersRequestBodyDnsServer.d.ts +0 -15
  481. package/v1/model/UpdateDnsServersRequestBodyDnsServer.js +0 -51
  482. package/v1/model/UpdateDnsServersResponse.d.ts +0 -6
  483. package/v1/model/UpdateDnsServersResponse.js +0 -31
  484. package/v1/model/UpdateRuleAclDto.d.ts +0 -93
  485. package/v1/model/UpdateRuleAclDto.js +0 -189
  486. package/v1/model/UpdateRuleAclUsingPutRequest.d.ts +0 -22
  487. package/v1/model/UpdateRuleAclUsingPutRequest.js +0 -71
  488. package/v1/model/UpdateRuleAclUsingPutResponse.d.ts +0 -7
  489. package/v1/model/UpdateRuleAclUsingPutResponse.js +0 -31
  490. package/v1/model/UpdateServiceSetUsingPUTRequestBody.d.ts +0 -7
  491. package/v1/model/UpdateServiceSetUsingPUTRequestBody.js +0 -17
  492. package/v1/model/UpdateServiceSetUsingPutRequest.d.ts +0 -22
  493. package/v1/model/UpdateServiceSetUsingPutRequest.js +0 -71
  494. package/v1/model/UpdateServiceSetUsingPutResponse.d.ts +0 -7
  495. package/v1/model/UpdateServiceSetUsingPutResponse.js +0 -31
  496. package/v1/model/VPCProtectsVo.d.ts +0 -26
  497. package/v1/model/VPCProtectsVo.js +0 -83
  498. package/v1/model/VpcAttachmentDetail.d.ts +0 -42
  499. package/v1/model/VpcAttachmentDetail.js +0 -127
  500. package/v1/model/VpcDetail.d.ts +0 -11
  501. package/v1/model/VpcDetail.js +0 -25
  502. package/v1/public-api.js +0 -181
@@ -1,7 +0,0 @@
1
- import { IdObject } from './IdObject';
2
- import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
3
- export declare class AddBlackWhiteListUsingPostResponse extends SdkResponse {
4
- data?: IdObject;
5
- constructor();
6
- withData(data: IdObject): AddBlackWhiteListUsingPostResponse;
7
- }
@@ -1,31 +0,0 @@
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.AddBlackWhiteListUsingPostResponse = void 0;
19
- var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
20
- var AddBlackWhiteListUsingPostResponse = /** @class */ (function (_super) {
21
- __extends(AddBlackWhiteListUsingPostResponse, _super);
22
- function AddBlackWhiteListUsingPostResponse() {
23
- return _super.call(this) || this;
24
- }
25
- AddBlackWhiteListUsingPostResponse.prototype.withData = function (data) {
26
- this['data'] = data;
27
- return this;
28
- };
29
- return AddBlackWhiteListUsingPostResponse;
30
- }(SdkResponse_1.SdkResponse));
31
- exports.AddBlackWhiteListUsingPostResponse = AddBlackWhiteListUsingPostResponse;
@@ -1,21 +0,0 @@
1
- import { AddRuleAclDtoRules } from './AddRuleAclDtoRules';
2
- export declare class AddRuleAclDto {
3
- private 'object_id';
4
- type: AddRuleAclDtoTypeEnum;
5
- rules: Array<AddRuleAclDtoRules>;
6
- constructor(objectId?: any, type?: any, rules?: any);
7
- withObjectId(objectId: string): AddRuleAclDto;
8
- set objectId(objectId: string | undefined);
9
- get objectId(): string | undefined;
10
- withType(type: AddRuleAclDtoTypeEnum): AddRuleAclDto;
11
- withRules(rules: Array<AddRuleAclDtoRules>): AddRuleAclDto;
12
- }
13
- /**
14
- * @export
15
- * @enum {string}
16
- */
17
- export declare enum AddRuleAclDtoTypeEnum {
18
- NUMBER_0 = 0,
19
- NUMBER_1 = 1,
20
- NUMBER_2 = 2
21
- }
@@ -1,44 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AddRuleAclDtoTypeEnum = exports.AddRuleAclDto = void 0;
4
- var AddRuleAclDto = /** @class */ (function () {
5
- function AddRuleAclDto(objectId, type, rules) {
6
- this['object_id'] = objectId;
7
- this['type'] = type;
8
- this['rules'] = rules;
9
- }
10
- AddRuleAclDto.prototype.withObjectId = function (objectId) {
11
- this['object_id'] = objectId;
12
- return this;
13
- };
14
- Object.defineProperty(AddRuleAclDto.prototype, "objectId", {
15
- get: function () {
16
- return this['object_id'];
17
- },
18
- set: function (objectId) {
19
- this['object_id'] = objectId;
20
- },
21
- enumerable: false,
22
- configurable: true
23
- });
24
- AddRuleAclDto.prototype.withType = function (type) {
25
- this['type'] = type;
26
- return this;
27
- };
28
- AddRuleAclDto.prototype.withRules = function (rules) {
29
- this['rules'] = rules;
30
- return this;
31
- };
32
- return AddRuleAclDto;
33
- }());
34
- exports.AddRuleAclDto = AddRuleAclDto;
35
- /**
36
- * @export
37
- * @enum {string}
38
- */
39
- var AddRuleAclDtoTypeEnum;
40
- (function (AddRuleAclDtoTypeEnum) {
41
- AddRuleAclDtoTypeEnum[AddRuleAclDtoTypeEnum["NUMBER_0"] = 0] = "NUMBER_0";
42
- AddRuleAclDtoTypeEnum[AddRuleAclDtoTypeEnum["NUMBER_1"] = 1] = "NUMBER_1";
43
- AddRuleAclDtoTypeEnum[AddRuleAclDtoTypeEnum["NUMBER_2"] = 2] = "NUMBER_2";
44
- })(AddRuleAclDtoTypeEnum || (exports.AddRuleAclDtoTypeEnum = AddRuleAclDtoTypeEnum = {}));
@@ -1,83 +0,0 @@
1
- import { OrderRuleAclDto } from './OrderRuleAclDto';
2
- import { RuleAddressDto } from './RuleAddressDto';
3
- import { RuleServiceDto } from './RuleServiceDto';
4
- export declare class AddRuleAclDtoRules {
5
- name: string;
6
- sequence: OrderRuleAclDto;
7
- private 'address_type';
8
- private 'action_type';
9
- status: AddRuleAclDtoRulesStatusEnum;
10
- private 'long_connect_time'?;
11
- private 'long_connect_time_hour'?;
12
- private 'long_connect_time_minute'?;
13
- private 'long_connect_time_second'?;
14
- private 'long_connect_enable';
15
- description?: string;
16
- direction?: AddRuleAclDtoRulesDirectionEnum;
17
- source: RuleAddressDto;
18
- destination: RuleAddressDto;
19
- service: RuleServiceDto;
20
- constructor(name?: any, sequence?: any, addressType?: any, actionType?: any, status?: any, longConnectEnable?: any, source?: any, destination?: any, service?: any);
21
- withName(name: string): AddRuleAclDtoRules;
22
- withSequence(sequence: OrderRuleAclDto): AddRuleAclDtoRules;
23
- withAddressType(addressType: AddRuleAclDtoRulesAddressTypeEnum): AddRuleAclDtoRules;
24
- set addressType(addressType: AddRuleAclDtoRulesAddressTypeEnum | undefined);
25
- get addressType(): AddRuleAclDtoRulesAddressTypeEnum | undefined;
26
- withActionType(actionType: number): AddRuleAclDtoRules;
27
- set actionType(actionType: number | undefined);
28
- get actionType(): number | undefined;
29
- withStatus(status: AddRuleAclDtoRulesStatusEnum): AddRuleAclDtoRules;
30
- withLongConnectTime(longConnectTime: number): AddRuleAclDtoRules;
31
- set longConnectTime(longConnectTime: number | undefined);
32
- get longConnectTime(): number | undefined;
33
- withLongConnectTimeHour(longConnectTimeHour: number): AddRuleAclDtoRules;
34
- set longConnectTimeHour(longConnectTimeHour: number | undefined);
35
- get longConnectTimeHour(): number | undefined;
36
- withLongConnectTimeMinute(longConnectTimeMinute: number): AddRuleAclDtoRules;
37
- set longConnectTimeMinute(longConnectTimeMinute: number | undefined);
38
- get longConnectTimeMinute(): number | undefined;
39
- withLongConnectTimeSecond(longConnectTimeSecond: number): AddRuleAclDtoRules;
40
- set longConnectTimeSecond(longConnectTimeSecond: number | undefined);
41
- get longConnectTimeSecond(): number | undefined;
42
- withLongConnectEnable(longConnectEnable: AddRuleAclDtoRulesLongConnectEnableEnum): AddRuleAclDtoRules;
43
- set longConnectEnable(longConnectEnable: AddRuleAclDtoRulesLongConnectEnableEnum | undefined);
44
- get longConnectEnable(): AddRuleAclDtoRulesLongConnectEnableEnum | undefined;
45
- withDescription(description: string): AddRuleAclDtoRules;
46
- withDirection(direction: AddRuleAclDtoRulesDirectionEnum): AddRuleAclDtoRules;
47
- withSource(source: RuleAddressDto): AddRuleAclDtoRules;
48
- withDestination(destination: RuleAddressDto): AddRuleAclDtoRules;
49
- withService(service: RuleServiceDto): AddRuleAclDtoRules;
50
- }
51
- /**
52
- * @export
53
- * @enum {string}
54
- */
55
- export declare enum AddRuleAclDtoRulesAddressTypeEnum {
56
- NUMBER_0 = 0,
57
- NUMBER_1 = 1,
58
- NUMBER_2 = 2
59
- }
60
- /**
61
- * @export
62
- * @enum {string}
63
- */
64
- export declare enum AddRuleAclDtoRulesStatusEnum {
65
- NUMBER_0 = 0,
66
- NUMBER_1 = 1
67
- }
68
- /**
69
- * @export
70
- * @enum {string}
71
- */
72
- export declare enum AddRuleAclDtoRulesLongConnectEnableEnum {
73
- NUMBER_0 = 0,
74
- NUMBER_1 = 1
75
- }
76
- /**
77
- * @export
78
- * @enum {string}
79
- */
80
- export declare enum AddRuleAclDtoRulesDirectionEnum {
81
- NUMBER_0 = 0,
82
- NUMBER_1 = 1
83
- }
@@ -1,185 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AddRuleAclDtoRulesDirectionEnum = exports.AddRuleAclDtoRulesLongConnectEnableEnum = exports.AddRuleAclDtoRulesStatusEnum = exports.AddRuleAclDtoRulesAddressTypeEnum = exports.AddRuleAclDtoRules = void 0;
4
- var AddRuleAclDtoRules = /** @class */ (function () {
5
- function AddRuleAclDtoRules(name, sequence, addressType, actionType, status, longConnectEnable, source, destination, service) {
6
- this['name'] = name;
7
- this['sequence'] = sequence;
8
- this['address_type'] = addressType;
9
- this['action_type'] = actionType;
10
- this['status'] = status;
11
- this['long_connect_enable'] = longConnectEnable;
12
- this['source'] = source;
13
- this['destination'] = destination;
14
- this['service'] = service;
15
- }
16
- AddRuleAclDtoRules.prototype.withName = function (name) {
17
- this['name'] = name;
18
- return this;
19
- };
20
- AddRuleAclDtoRules.prototype.withSequence = function (sequence) {
21
- this['sequence'] = sequence;
22
- return this;
23
- };
24
- AddRuleAclDtoRules.prototype.withAddressType = function (addressType) {
25
- this['address_type'] = addressType;
26
- return this;
27
- };
28
- Object.defineProperty(AddRuleAclDtoRules.prototype, "addressType", {
29
- get: function () {
30
- return this['address_type'];
31
- },
32
- set: function (addressType) {
33
- this['address_type'] = addressType;
34
- },
35
- enumerable: false,
36
- configurable: true
37
- });
38
- AddRuleAclDtoRules.prototype.withActionType = function (actionType) {
39
- this['action_type'] = actionType;
40
- return this;
41
- };
42
- Object.defineProperty(AddRuleAclDtoRules.prototype, "actionType", {
43
- get: function () {
44
- return this['action_type'];
45
- },
46
- set: function (actionType) {
47
- this['action_type'] = actionType;
48
- },
49
- enumerable: false,
50
- configurable: true
51
- });
52
- AddRuleAclDtoRules.prototype.withStatus = function (status) {
53
- this['status'] = status;
54
- return this;
55
- };
56
- AddRuleAclDtoRules.prototype.withLongConnectTime = function (longConnectTime) {
57
- this['long_connect_time'] = longConnectTime;
58
- return this;
59
- };
60
- Object.defineProperty(AddRuleAclDtoRules.prototype, "longConnectTime", {
61
- get: function () {
62
- return this['long_connect_time'];
63
- },
64
- set: function (longConnectTime) {
65
- this['long_connect_time'] = longConnectTime;
66
- },
67
- enumerable: false,
68
- configurable: true
69
- });
70
- AddRuleAclDtoRules.prototype.withLongConnectTimeHour = function (longConnectTimeHour) {
71
- this['long_connect_time_hour'] = longConnectTimeHour;
72
- return this;
73
- };
74
- Object.defineProperty(AddRuleAclDtoRules.prototype, "longConnectTimeHour", {
75
- get: function () {
76
- return this['long_connect_time_hour'];
77
- },
78
- set: function (longConnectTimeHour) {
79
- this['long_connect_time_hour'] = longConnectTimeHour;
80
- },
81
- enumerable: false,
82
- configurable: true
83
- });
84
- AddRuleAclDtoRules.prototype.withLongConnectTimeMinute = function (longConnectTimeMinute) {
85
- this['long_connect_time_minute'] = longConnectTimeMinute;
86
- return this;
87
- };
88
- Object.defineProperty(AddRuleAclDtoRules.prototype, "longConnectTimeMinute", {
89
- get: function () {
90
- return this['long_connect_time_minute'];
91
- },
92
- set: function (longConnectTimeMinute) {
93
- this['long_connect_time_minute'] = longConnectTimeMinute;
94
- },
95
- enumerable: false,
96
- configurable: true
97
- });
98
- AddRuleAclDtoRules.prototype.withLongConnectTimeSecond = function (longConnectTimeSecond) {
99
- this['long_connect_time_second'] = longConnectTimeSecond;
100
- return this;
101
- };
102
- Object.defineProperty(AddRuleAclDtoRules.prototype, "longConnectTimeSecond", {
103
- get: function () {
104
- return this['long_connect_time_second'];
105
- },
106
- set: function (longConnectTimeSecond) {
107
- this['long_connect_time_second'] = longConnectTimeSecond;
108
- },
109
- enumerable: false,
110
- configurable: true
111
- });
112
- AddRuleAclDtoRules.prototype.withLongConnectEnable = function (longConnectEnable) {
113
- this['long_connect_enable'] = longConnectEnable;
114
- return this;
115
- };
116
- Object.defineProperty(AddRuleAclDtoRules.prototype, "longConnectEnable", {
117
- get: function () {
118
- return this['long_connect_enable'];
119
- },
120
- set: function (longConnectEnable) {
121
- this['long_connect_enable'] = longConnectEnable;
122
- },
123
- enumerable: false,
124
- configurable: true
125
- });
126
- AddRuleAclDtoRules.prototype.withDescription = function (description) {
127
- this['description'] = description;
128
- return this;
129
- };
130
- AddRuleAclDtoRules.prototype.withDirection = function (direction) {
131
- this['direction'] = direction;
132
- return this;
133
- };
134
- AddRuleAclDtoRules.prototype.withSource = function (source) {
135
- this['source'] = source;
136
- return this;
137
- };
138
- AddRuleAclDtoRules.prototype.withDestination = function (destination) {
139
- this['destination'] = destination;
140
- return this;
141
- };
142
- AddRuleAclDtoRules.prototype.withService = function (service) {
143
- this['service'] = service;
144
- return this;
145
- };
146
- return AddRuleAclDtoRules;
147
- }());
148
- exports.AddRuleAclDtoRules = AddRuleAclDtoRules;
149
- /**
150
- * @export
151
- * @enum {string}
152
- */
153
- var AddRuleAclDtoRulesAddressTypeEnum;
154
- (function (AddRuleAclDtoRulesAddressTypeEnum) {
155
- AddRuleAclDtoRulesAddressTypeEnum[AddRuleAclDtoRulesAddressTypeEnum["NUMBER_0"] = 0] = "NUMBER_0";
156
- AddRuleAclDtoRulesAddressTypeEnum[AddRuleAclDtoRulesAddressTypeEnum["NUMBER_1"] = 1] = "NUMBER_1";
157
- AddRuleAclDtoRulesAddressTypeEnum[AddRuleAclDtoRulesAddressTypeEnum["NUMBER_2"] = 2] = "NUMBER_2";
158
- })(AddRuleAclDtoRulesAddressTypeEnum || (exports.AddRuleAclDtoRulesAddressTypeEnum = AddRuleAclDtoRulesAddressTypeEnum = {}));
159
- /**
160
- * @export
161
- * @enum {string}
162
- */
163
- var AddRuleAclDtoRulesStatusEnum;
164
- (function (AddRuleAclDtoRulesStatusEnum) {
165
- AddRuleAclDtoRulesStatusEnum[AddRuleAclDtoRulesStatusEnum["NUMBER_0"] = 0] = "NUMBER_0";
166
- AddRuleAclDtoRulesStatusEnum[AddRuleAclDtoRulesStatusEnum["NUMBER_1"] = 1] = "NUMBER_1";
167
- })(AddRuleAclDtoRulesStatusEnum || (exports.AddRuleAclDtoRulesStatusEnum = AddRuleAclDtoRulesStatusEnum = {}));
168
- /**
169
- * @export
170
- * @enum {string}
171
- */
172
- var AddRuleAclDtoRulesLongConnectEnableEnum;
173
- (function (AddRuleAclDtoRulesLongConnectEnableEnum) {
174
- AddRuleAclDtoRulesLongConnectEnableEnum[AddRuleAclDtoRulesLongConnectEnableEnum["NUMBER_0"] = 0] = "NUMBER_0";
175
- AddRuleAclDtoRulesLongConnectEnableEnum[AddRuleAclDtoRulesLongConnectEnableEnum["NUMBER_1"] = 1] = "NUMBER_1";
176
- })(AddRuleAclDtoRulesLongConnectEnableEnum || (exports.AddRuleAclDtoRulesLongConnectEnableEnum = AddRuleAclDtoRulesLongConnectEnableEnum = {}));
177
- /**
178
- * @export
179
- * @enum {string}
180
- */
181
- var AddRuleAclDtoRulesDirectionEnum;
182
- (function (AddRuleAclDtoRulesDirectionEnum) {
183
- AddRuleAclDtoRulesDirectionEnum[AddRuleAclDtoRulesDirectionEnum["NUMBER_0"] = 0] = "NUMBER_0";
184
- AddRuleAclDtoRulesDirectionEnum[AddRuleAclDtoRulesDirectionEnum["NUMBER_1"] = 1] = "NUMBER_1";
185
- })(AddRuleAclDtoRulesDirectionEnum || (exports.AddRuleAclDtoRulesDirectionEnum = AddRuleAclDtoRulesDirectionEnum = {}));
@@ -1,18 +0,0 @@
1
- import { AddRuleAclDto } from './AddRuleAclDto';
2
- export declare class AddRuleAclUsingPostRequest {
3
- private 'project_id';
4
- private 'enterprise_project_id'?;
5
- private 'fw_instance_id'?;
6
- body?: AddRuleAclDto;
7
- constructor(projectId?: any);
8
- withProjectId(projectId: string): AddRuleAclUsingPostRequest;
9
- set projectId(projectId: string | undefined);
10
- get projectId(): string | undefined;
11
- withEnterpriseProjectId(enterpriseProjectId: string): AddRuleAclUsingPostRequest;
12
- set enterpriseProjectId(enterpriseProjectId: string | undefined);
13
- get enterpriseProjectId(): string | undefined;
14
- withFwInstanceId(fwInstanceId: string): AddRuleAclUsingPostRequest;
15
- set fwInstanceId(fwInstanceId: string | undefined);
16
- get fwInstanceId(): string | undefined;
17
- withBody(body: AddRuleAclDto): AddRuleAclUsingPostRequest;
18
- }
@@ -1,56 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AddRuleAclUsingPostRequest = void 0;
4
- var AddRuleAclUsingPostRequest = /** @class */ (function () {
5
- function AddRuleAclUsingPostRequest(projectId) {
6
- this['project_id'] = projectId;
7
- }
8
- AddRuleAclUsingPostRequest.prototype.withProjectId = function (projectId) {
9
- this['project_id'] = projectId;
10
- return this;
11
- };
12
- Object.defineProperty(AddRuleAclUsingPostRequest.prototype, "projectId", {
13
- get: function () {
14
- return this['project_id'];
15
- },
16
- set: function (projectId) {
17
- this['project_id'] = projectId;
18
- },
19
- enumerable: false,
20
- configurable: true
21
- });
22
- AddRuleAclUsingPostRequest.prototype.withEnterpriseProjectId = function (enterpriseProjectId) {
23
- this['enterprise_project_id'] = enterpriseProjectId;
24
- return this;
25
- };
26
- Object.defineProperty(AddRuleAclUsingPostRequest.prototype, "enterpriseProjectId", {
27
- get: function () {
28
- return this['enterprise_project_id'];
29
- },
30
- set: function (enterpriseProjectId) {
31
- this['enterprise_project_id'] = enterpriseProjectId;
32
- },
33
- enumerable: false,
34
- configurable: true
35
- });
36
- AddRuleAclUsingPostRequest.prototype.withFwInstanceId = function (fwInstanceId) {
37
- this['fw_instance_id'] = fwInstanceId;
38
- return this;
39
- };
40
- Object.defineProperty(AddRuleAclUsingPostRequest.prototype, "fwInstanceId", {
41
- get: function () {
42
- return this['fw_instance_id'];
43
- },
44
- set: function (fwInstanceId) {
45
- this['fw_instance_id'] = fwInstanceId;
46
- },
47
- enumerable: false,
48
- configurable: true
49
- });
50
- AddRuleAclUsingPostRequest.prototype.withBody = function (body) {
51
- this['body'] = body;
52
- return this;
53
- };
54
- return AddRuleAclUsingPostRequest;
55
- }());
56
- exports.AddRuleAclUsingPostRequest = AddRuleAclUsingPostRequest;
@@ -1,7 +0,0 @@
1
- import { RuleIdList } from './RuleIdList';
2
- import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
3
- export declare class AddRuleAclUsingPostResponse extends SdkResponse {
4
- data?: RuleIdList;
5
- constructor();
6
- withData(data: RuleIdList): AddRuleAclUsingPostResponse;
7
- }
@@ -1,31 +0,0 @@
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.AddRuleAclUsingPostResponse = void 0;
19
- var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
20
- var AddRuleAclUsingPostResponse = /** @class */ (function (_super) {
21
- __extends(AddRuleAclUsingPostResponse, _super);
22
- function AddRuleAclUsingPostResponse() {
23
- return _super.call(this) || this;
24
- }
25
- AddRuleAclUsingPostResponse.prototype.withData = function (data) {
26
- this['data'] = data;
27
- return this;
28
- };
29
- return AddRuleAclUsingPostResponse;
30
- }(SdkResponse_1.SdkResponse));
31
- exports.AddRuleAclUsingPostResponse = AddRuleAclUsingPostResponse;
@@ -1,12 +0,0 @@
1
- import { AddServiceItemsUsingPOSTRequestBodyServiceItems } from './AddServiceItemsUsingPOSTRequestBodyServiceItems';
2
- export declare class AddServiceItemsUsingPOSTRequestBody {
3
- private 'set_id';
4
- private 'service_items';
5
- constructor(setId?: any, serviceItems?: any);
6
- withSetId(setId: string): AddServiceItemsUsingPOSTRequestBody;
7
- set setId(setId: string | undefined);
8
- get setId(): string | undefined;
9
- withServiceItems(serviceItems: Array<AddServiceItemsUsingPOSTRequestBodyServiceItems>): AddServiceItemsUsingPOSTRequestBody;
10
- set serviceItems(serviceItems: Array<AddServiceItemsUsingPOSTRequestBodyServiceItems> | undefined);
11
- get serviceItems(): Array<AddServiceItemsUsingPOSTRequestBodyServiceItems> | undefined;
12
- }
@@ -1,39 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AddServiceItemsUsingPOSTRequestBody = void 0;
4
- var AddServiceItemsUsingPOSTRequestBody = /** @class */ (function () {
5
- function AddServiceItemsUsingPOSTRequestBody(setId, serviceItems) {
6
- this['set_id'] = setId;
7
- this['service_items'] = serviceItems;
8
- }
9
- AddServiceItemsUsingPOSTRequestBody.prototype.withSetId = function (setId) {
10
- this['set_id'] = setId;
11
- return this;
12
- };
13
- Object.defineProperty(AddServiceItemsUsingPOSTRequestBody.prototype, "setId", {
14
- get: function () {
15
- return this['set_id'];
16
- },
17
- set: function (setId) {
18
- this['set_id'] = setId;
19
- },
20
- enumerable: false,
21
- configurable: true
22
- });
23
- AddServiceItemsUsingPOSTRequestBody.prototype.withServiceItems = function (serviceItems) {
24
- this['service_items'] = serviceItems;
25
- return this;
26
- };
27
- Object.defineProperty(AddServiceItemsUsingPOSTRequestBody.prototype, "serviceItems", {
28
- get: function () {
29
- return this['service_items'];
30
- },
31
- set: function (serviceItems) {
32
- this['service_items'] = serviceItems;
33
- },
34
- enumerable: false,
35
- configurable: true
36
- });
37
- return AddServiceItemsUsingPOSTRequestBody;
38
- }());
39
- exports.AddServiceItemsUsingPOSTRequestBody = AddServiceItemsUsingPOSTRequestBody;
@@ -1,21 +0,0 @@
1
- export declare class AddServiceItemsUsingPOSTRequestBodyServiceItems {
2
- private 'item_id'?;
3
- protocol: number;
4
- private 'source_port';
5
- private 'dest_port';
6
- name?: string;
7
- description?: string;
8
- constructor(protocol?: any, sourcePort?: any, destPort?: any);
9
- withItemId(itemId: string): AddServiceItemsUsingPOSTRequestBodyServiceItems;
10
- set itemId(itemId: string | undefined);
11
- get itemId(): string | undefined;
12
- withProtocol(protocol: number): AddServiceItemsUsingPOSTRequestBodyServiceItems;
13
- withSourcePort(sourcePort: string): AddServiceItemsUsingPOSTRequestBodyServiceItems;
14
- set sourcePort(sourcePort: string | undefined);
15
- get sourcePort(): string | undefined;
16
- withDestPort(destPort: string): AddServiceItemsUsingPOSTRequestBodyServiceItems;
17
- set destPort(destPort: string | undefined);
18
- get destPort(): string | undefined;
19
- withName(name: string): AddServiceItemsUsingPOSTRequestBodyServiceItems;
20
- withDescription(description: string): AddServiceItemsUsingPOSTRequestBodyServiceItems;
21
- }
@@ -1,66 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AddServiceItemsUsingPOSTRequestBodyServiceItems = void 0;
4
- var AddServiceItemsUsingPOSTRequestBodyServiceItems = /** @class */ (function () {
5
- function AddServiceItemsUsingPOSTRequestBodyServiceItems(protocol, sourcePort, destPort) {
6
- this['protocol'] = protocol;
7
- this['source_port'] = sourcePort;
8
- this['dest_port'] = destPort;
9
- }
10
- AddServiceItemsUsingPOSTRequestBodyServiceItems.prototype.withItemId = function (itemId) {
11
- this['item_id'] = itemId;
12
- return this;
13
- };
14
- Object.defineProperty(AddServiceItemsUsingPOSTRequestBodyServiceItems.prototype, "itemId", {
15
- get: function () {
16
- return this['item_id'];
17
- },
18
- set: function (itemId) {
19
- this['item_id'] = itemId;
20
- },
21
- enumerable: false,
22
- configurable: true
23
- });
24
- AddServiceItemsUsingPOSTRequestBodyServiceItems.prototype.withProtocol = function (protocol) {
25
- this['protocol'] = protocol;
26
- return this;
27
- };
28
- AddServiceItemsUsingPOSTRequestBodyServiceItems.prototype.withSourcePort = function (sourcePort) {
29
- this['source_port'] = sourcePort;
30
- return this;
31
- };
32
- Object.defineProperty(AddServiceItemsUsingPOSTRequestBodyServiceItems.prototype, "sourcePort", {
33
- get: function () {
34
- return this['source_port'];
35
- },
36
- set: function (sourcePort) {
37
- this['source_port'] = sourcePort;
38
- },
39
- enumerable: false,
40
- configurable: true
41
- });
42
- AddServiceItemsUsingPOSTRequestBodyServiceItems.prototype.withDestPort = function (destPort) {
43
- this['dest_port'] = destPort;
44
- return this;
45
- };
46
- Object.defineProperty(AddServiceItemsUsingPOSTRequestBodyServiceItems.prototype, "destPort", {
47
- get: function () {
48
- return this['dest_port'];
49
- },
50
- set: function (destPort) {
51
- this['dest_port'] = destPort;
52
- },
53
- enumerable: false,
54
- configurable: true
55
- });
56
- AddServiceItemsUsingPOSTRequestBodyServiceItems.prototype.withName = function (name) {
57
- this['name'] = name;
58
- return this;
59
- };
60
- AddServiceItemsUsingPOSTRequestBodyServiceItems.prototype.withDescription = function (description) {
61
- this['description'] = description;
62
- return this;
63
- };
64
- return AddServiceItemsUsingPOSTRequestBodyServiceItems;
65
- }());
66
- exports.AddServiceItemsUsingPOSTRequestBodyServiceItems = AddServiceItemsUsingPOSTRequestBodyServiceItems;
@@ -1,18 +0,0 @@
1
- import { AddServiceItemsUsingPOSTRequestBody } from './AddServiceItemsUsingPOSTRequestBody';
2
- export declare class AddServiceItemsUsingPostRequest {
3
- private 'project_id';
4
- private 'enterprise_project_id'?;
5
- private 'fw_instance_id'?;
6
- body?: AddServiceItemsUsingPOSTRequestBody;
7
- constructor(projectId?: any);
8
- withProjectId(projectId: string): AddServiceItemsUsingPostRequest;
9
- set projectId(projectId: string | undefined);
10
- get projectId(): string | undefined;
11
- withEnterpriseProjectId(enterpriseProjectId: string): AddServiceItemsUsingPostRequest;
12
- set enterpriseProjectId(enterpriseProjectId: string | undefined);
13
- get enterpriseProjectId(): string | undefined;
14
- withFwInstanceId(fwInstanceId: string): AddServiceItemsUsingPostRequest;
15
- set fwInstanceId(fwInstanceId: string | undefined);
16
- get fwInstanceId(): string | undefined;
17
- withBody(body: AddServiceItemsUsingPOSTRequestBody): AddServiceItemsUsingPostRequest;
18
- }