@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,83 @@
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, longConnectTime?: any, longConnectTimeHour?: any, longConnectTimeMinute?: any, longConnectTimeSecond?: 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
+ }
@@ -0,0 +1,189 @@
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, longConnectTime, longConnectTimeHour, longConnectTimeMinute, longConnectTimeSecond, 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_time'] = longConnectTime;
12
+ this['long_connect_time_hour'] = longConnectTimeHour;
13
+ this['long_connect_time_minute'] = longConnectTimeMinute;
14
+ this['long_connect_time_second'] = longConnectTimeSecond;
15
+ this['long_connect_enable'] = longConnectEnable;
16
+ this['source'] = source;
17
+ this['destination'] = destination;
18
+ this['service'] = service;
19
+ }
20
+ AddRuleAclDtoRules.prototype.withName = function (name) {
21
+ this['name'] = name;
22
+ return this;
23
+ };
24
+ AddRuleAclDtoRules.prototype.withSequence = function (sequence) {
25
+ this['sequence'] = sequence;
26
+ return this;
27
+ };
28
+ AddRuleAclDtoRules.prototype.withAddressType = function (addressType) {
29
+ this['address_type'] = addressType;
30
+ return this;
31
+ };
32
+ Object.defineProperty(AddRuleAclDtoRules.prototype, "addressType", {
33
+ get: function () {
34
+ return this['address_type'];
35
+ },
36
+ set: function (addressType) {
37
+ this['address_type'] = addressType;
38
+ },
39
+ enumerable: false,
40
+ configurable: true
41
+ });
42
+ AddRuleAclDtoRules.prototype.withActionType = function (actionType) {
43
+ this['action_type'] = actionType;
44
+ return this;
45
+ };
46
+ Object.defineProperty(AddRuleAclDtoRules.prototype, "actionType", {
47
+ get: function () {
48
+ return this['action_type'];
49
+ },
50
+ set: function (actionType) {
51
+ this['action_type'] = actionType;
52
+ },
53
+ enumerable: false,
54
+ configurable: true
55
+ });
56
+ AddRuleAclDtoRules.prototype.withStatus = function (status) {
57
+ this['status'] = status;
58
+ return this;
59
+ };
60
+ AddRuleAclDtoRules.prototype.withLongConnectTime = function (longConnectTime) {
61
+ this['long_connect_time'] = longConnectTime;
62
+ return this;
63
+ };
64
+ Object.defineProperty(AddRuleAclDtoRules.prototype, "longConnectTime", {
65
+ get: function () {
66
+ return this['long_connect_time'];
67
+ },
68
+ set: function (longConnectTime) {
69
+ this['long_connect_time'] = longConnectTime;
70
+ },
71
+ enumerable: false,
72
+ configurable: true
73
+ });
74
+ AddRuleAclDtoRules.prototype.withLongConnectTimeHour = function (longConnectTimeHour) {
75
+ this['long_connect_time_hour'] = longConnectTimeHour;
76
+ return this;
77
+ };
78
+ Object.defineProperty(AddRuleAclDtoRules.prototype, "longConnectTimeHour", {
79
+ get: function () {
80
+ return this['long_connect_time_hour'];
81
+ },
82
+ set: function (longConnectTimeHour) {
83
+ this['long_connect_time_hour'] = longConnectTimeHour;
84
+ },
85
+ enumerable: false,
86
+ configurable: true
87
+ });
88
+ AddRuleAclDtoRules.prototype.withLongConnectTimeMinute = function (longConnectTimeMinute) {
89
+ this['long_connect_time_minute'] = longConnectTimeMinute;
90
+ return this;
91
+ };
92
+ Object.defineProperty(AddRuleAclDtoRules.prototype, "longConnectTimeMinute", {
93
+ get: function () {
94
+ return this['long_connect_time_minute'];
95
+ },
96
+ set: function (longConnectTimeMinute) {
97
+ this['long_connect_time_minute'] = longConnectTimeMinute;
98
+ },
99
+ enumerable: false,
100
+ configurable: true
101
+ });
102
+ AddRuleAclDtoRules.prototype.withLongConnectTimeSecond = function (longConnectTimeSecond) {
103
+ this['long_connect_time_second'] = longConnectTimeSecond;
104
+ return this;
105
+ };
106
+ Object.defineProperty(AddRuleAclDtoRules.prototype, "longConnectTimeSecond", {
107
+ get: function () {
108
+ return this['long_connect_time_second'];
109
+ },
110
+ set: function (longConnectTimeSecond) {
111
+ this['long_connect_time_second'] = longConnectTimeSecond;
112
+ },
113
+ enumerable: false,
114
+ configurable: true
115
+ });
116
+ AddRuleAclDtoRules.prototype.withLongConnectEnable = function (longConnectEnable) {
117
+ this['long_connect_enable'] = longConnectEnable;
118
+ return this;
119
+ };
120
+ Object.defineProperty(AddRuleAclDtoRules.prototype, "longConnectEnable", {
121
+ get: function () {
122
+ return this['long_connect_enable'];
123
+ },
124
+ set: function (longConnectEnable) {
125
+ this['long_connect_enable'] = longConnectEnable;
126
+ },
127
+ enumerable: false,
128
+ configurable: true
129
+ });
130
+ AddRuleAclDtoRules.prototype.withDescription = function (description) {
131
+ this['description'] = description;
132
+ return this;
133
+ };
134
+ AddRuleAclDtoRules.prototype.withDirection = function (direction) {
135
+ this['direction'] = direction;
136
+ return this;
137
+ };
138
+ AddRuleAclDtoRules.prototype.withSource = function (source) {
139
+ this['source'] = source;
140
+ return this;
141
+ };
142
+ AddRuleAclDtoRules.prototype.withDestination = function (destination) {
143
+ this['destination'] = destination;
144
+ return this;
145
+ };
146
+ AddRuleAclDtoRules.prototype.withService = function (service) {
147
+ this['service'] = service;
148
+ return this;
149
+ };
150
+ return AddRuleAclDtoRules;
151
+ }());
152
+ exports.AddRuleAclDtoRules = AddRuleAclDtoRules;
153
+ /**
154
+ * @export
155
+ * @enum {string}
156
+ */
157
+ var AddRuleAclDtoRulesAddressTypeEnum;
158
+ (function (AddRuleAclDtoRulesAddressTypeEnum) {
159
+ AddRuleAclDtoRulesAddressTypeEnum[AddRuleAclDtoRulesAddressTypeEnum["NUMBER_0"] = 0] = "NUMBER_0";
160
+ AddRuleAclDtoRulesAddressTypeEnum[AddRuleAclDtoRulesAddressTypeEnum["NUMBER_1"] = 1] = "NUMBER_1";
161
+ AddRuleAclDtoRulesAddressTypeEnum[AddRuleAclDtoRulesAddressTypeEnum["NUMBER_2"] = 2] = "NUMBER_2";
162
+ })(AddRuleAclDtoRulesAddressTypeEnum = exports.AddRuleAclDtoRulesAddressTypeEnum || (exports.AddRuleAclDtoRulesAddressTypeEnum = {}));
163
+ /**
164
+ * @export
165
+ * @enum {string}
166
+ */
167
+ var AddRuleAclDtoRulesStatusEnum;
168
+ (function (AddRuleAclDtoRulesStatusEnum) {
169
+ AddRuleAclDtoRulesStatusEnum[AddRuleAclDtoRulesStatusEnum["NUMBER_0"] = 0] = "NUMBER_0";
170
+ AddRuleAclDtoRulesStatusEnum[AddRuleAclDtoRulesStatusEnum["NUMBER_1"] = 1] = "NUMBER_1";
171
+ })(AddRuleAclDtoRulesStatusEnum = exports.AddRuleAclDtoRulesStatusEnum || (exports.AddRuleAclDtoRulesStatusEnum = {}));
172
+ /**
173
+ * @export
174
+ * @enum {string}
175
+ */
176
+ var AddRuleAclDtoRulesLongConnectEnableEnum;
177
+ (function (AddRuleAclDtoRulesLongConnectEnableEnum) {
178
+ AddRuleAclDtoRulesLongConnectEnableEnum[AddRuleAclDtoRulesLongConnectEnableEnum["NUMBER_0"] = 0] = "NUMBER_0";
179
+ AddRuleAclDtoRulesLongConnectEnableEnum[AddRuleAclDtoRulesLongConnectEnableEnum["NUMBER_1"] = 1] = "NUMBER_1";
180
+ })(AddRuleAclDtoRulesLongConnectEnableEnum = exports.AddRuleAclDtoRulesLongConnectEnableEnum || (exports.AddRuleAclDtoRulesLongConnectEnableEnum = {}));
181
+ /**
182
+ * @export
183
+ * @enum {string}
184
+ */
185
+ var AddRuleAclDtoRulesDirectionEnum;
186
+ (function (AddRuleAclDtoRulesDirectionEnum) {
187
+ AddRuleAclDtoRulesDirectionEnum[AddRuleAclDtoRulesDirectionEnum["NUMBER_0"] = 0] = "NUMBER_0";
188
+ AddRuleAclDtoRulesDirectionEnum[AddRuleAclDtoRulesDirectionEnum["NUMBER_1"] = 1] = "NUMBER_1";
189
+ })(AddRuleAclDtoRulesDirectionEnum = exports.AddRuleAclDtoRulesDirectionEnum || (exports.AddRuleAclDtoRulesDirectionEnum = {}));
@@ -0,0 +1,10 @@
1
+ import { AddRuleAclDto } from './AddRuleAclDto';
2
+ export declare class AddRuleAclUsingPostRequest {
3
+ private 'project_id';
4
+ body?: AddRuleAclDto;
5
+ constructor(projectId?: any);
6
+ withProjectId(projectId: string): AddRuleAclUsingPostRequest;
7
+ set projectId(projectId: string | undefined);
8
+ get projectId(): string | undefined;
9
+ withBody(body: AddRuleAclDto): AddRuleAclUsingPostRequest;
10
+ }
@@ -0,0 +1,28 @@
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.withBody = function (body) {
23
+ this['body'] = body;
24
+ return this;
25
+ };
26
+ return AddRuleAclUsingPostRequest;
27
+ }());
28
+ exports.AddRuleAclUsingPostRequest = AddRuleAclUsingPostRequest;
@@ -0,0 +1,7 @@
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
+ }
@@ -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.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;
@@ -0,0 +1,12 @@
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
+ }
@@ -0,0 +1,39 @@
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;
@@ -0,0 +1,21 @@
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
+ }
@@ -0,0 +1,66 @@
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;
@@ -0,0 +1,10 @@
1
+ import { AddServiceItemsUsingPOSTRequestBody } from './AddServiceItemsUsingPOSTRequestBody';
2
+ export declare class AddServiceItemsUsingPostRequest {
3
+ private 'project_id';
4
+ body?: AddServiceItemsUsingPOSTRequestBody;
5
+ constructor(projectId?: any);
6
+ withProjectId(projectId: string): AddServiceItemsUsingPostRequest;
7
+ set projectId(projectId: string | undefined);
8
+ get projectId(): string | undefined;
9
+ withBody(body: AddServiceItemsUsingPOSTRequestBody): AddServiceItemsUsingPostRequest;
10
+ }
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AddServiceItemsUsingPostRequest = void 0;
4
+ var AddServiceItemsUsingPostRequest = /** @class */ (function () {
5
+ function AddServiceItemsUsingPostRequest(projectId) {
6
+ this['project_id'] = projectId;
7
+ }
8
+ AddServiceItemsUsingPostRequest.prototype.withProjectId = function (projectId) {
9
+ this['project_id'] = projectId;
10
+ return this;
11
+ };
12
+ Object.defineProperty(AddServiceItemsUsingPostRequest.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
+ AddServiceItemsUsingPostRequest.prototype.withBody = function (body) {
23
+ this['body'] = body;
24
+ return this;
25
+ };
26
+ return AddServiceItemsUsingPostRequest;
27
+ }());
28
+ exports.AddServiceItemsUsingPostRequest = AddServiceItemsUsingPostRequest;
@@ -0,0 +1,7 @@
1
+ import { ServiceItemIds } from './ServiceItemIds';
2
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
3
+ export declare class AddServiceItemsUsingPostResponse extends SdkResponse {
4
+ data?: ServiceItemIds;
5
+ constructor();
6
+ withData(data: ServiceItemIds): AddServiceItemsUsingPostResponse;
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.AddServiceItemsUsingPostResponse = void 0;
19
+ var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
20
+ var AddServiceItemsUsingPostResponse = /** @class */ (function (_super) {
21
+ __extends(AddServiceItemsUsingPostResponse, _super);
22
+ function AddServiceItemsUsingPostResponse() {
23
+ return _super.call(this) || this;
24
+ }
25
+ AddServiceItemsUsingPostResponse.prototype.withData = function (data) {
26
+ this['data'] = data;
27
+ return this;
28
+ };
29
+ return AddServiceItemsUsingPostResponse;
30
+ }(SdkResponse_1.SdkResponse));
31
+ exports.AddServiceItemsUsingPostResponse = AddServiceItemsUsingPostResponse;
@@ -0,0 +1,11 @@
1
+ export declare class AddServiceSetUsingPOSTRequestBody {
2
+ private 'object_id';
3
+ name: string;
4
+ description?: string;
5
+ constructor(objectId?: any, name?: any);
6
+ withObjectId(objectId: string): AddServiceSetUsingPOSTRequestBody;
7
+ set objectId(objectId: string | undefined);
8
+ get objectId(): string | undefined;
9
+ withName(name: string): AddServiceSetUsingPOSTRequestBody;
10
+ withDescription(description: string): AddServiceSetUsingPOSTRequestBody;
11
+ }
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AddServiceSetUsingPOSTRequestBody = void 0;
4
+ var AddServiceSetUsingPOSTRequestBody = /** @class */ (function () {
5
+ function AddServiceSetUsingPOSTRequestBody(objectId, name) {
6
+ this['object_id'] = objectId;
7
+ this['name'] = name;
8
+ }
9
+ AddServiceSetUsingPOSTRequestBody.prototype.withObjectId = function (objectId) {
10
+ this['object_id'] = objectId;
11
+ return this;
12
+ };
13
+ Object.defineProperty(AddServiceSetUsingPOSTRequestBody.prototype, "objectId", {
14
+ get: function () {
15
+ return this['object_id'];
16
+ },
17
+ set: function (objectId) {
18
+ this['object_id'] = objectId;
19
+ },
20
+ enumerable: false,
21
+ configurable: true
22
+ });
23
+ AddServiceSetUsingPOSTRequestBody.prototype.withName = function (name) {
24
+ this['name'] = name;
25
+ return this;
26
+ };
27
+ AddServiceSetUsingPOSTRequestBody.prototype.withDescription = function (description) {
28
+ this['description'] = description;
29
+ return this;
30
+ };
31
+ return AddServiceSetUsingPOSTRequestBody;
32
+ }());
33
+ exports.AddServiceSetUsingPOSTRequestBody = AddServiceSetUsingPOSTRequestBody;
@@ -0,0 +1,10 @@
1
+ import { AddServiceSetUsingPOSTRequestBody } from './AddServiceSetUsingPOSTRequestBody';
2
+ export declare class AddServiceSetUsingPostRequest {
3
+ private 'project_id';
4
+ body?: AddServiceSetUsingPOSTRequestBody;
5
+ constructor(projectId?: any);
6
+ withProjectId(projectId: string): AddServiceSetUsingPostRequest;
7
+ set projectId(projectId: string | undefined);
8
+ get projectId(): string | undefined;
9
+ withBody(body: AddServiceSetUsingPOSTRequestBody): AddServiceSetUsingPostRequest;
10
+ }
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AddServiceSetUsingPostRequest = void 0;
4
+ var AddServiceSetUsingPostRequest = /** @class */ (function () {
5
+ function AddServiceSetUsingPostRequest(projectId) {
6
+ this['project_id'] = projectId;
7
+ }
8
+ AddServiceSetUsingPostRequest.prototype.withProjectId = function (projectId) {
9
+ this['project_id'] = projectId;
10
+ return this;
11
+ };
12
+ Object.defineProperty(AddServiceSetUsingPostRequest.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
+ AddServiceSetUsingPostRequest.prototype.withBody = function (body) {
23
+ this['body'] = body;
24
+ return this;
25
+ };
26
+ return AddServiceSetUsingPostRequest;
27
+ }());
28
+ exports.AddServiceSetUsingPostRequest = AddServiceSetUsingPostRequest;