@volcengine/advdefence 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (284) hide show
  1. package/.turbo/turbo-build.log +19 -0
  2. package/LICENSE.txt +202 -0
  3. package/dist/cjs/index.js +305 -0
  4. package/dist/esm/api.d.ts +298 -0
  5. package/dist/esm/api.d.ts.map +1 -0
  6. package/dist/esm/index.d.ts +13 -0
  7. package/dist/esm/index.d.ts.map +1 -0
  8. package/dist/esm/index.mjs +196 -0
  9. package/dist/esm/types/add-host-rule-request.d.ts +147 -0
  10. package/dist/esm/types/add-host-rule-request.d.ts.map +1 -0
  11. package/dist/esm/types/add-host-rule-response.d.ts +20 -0
  12. package/dist/esm/types/add-host-rule-response.d.ts.map +1 -0
  13. package/dist/esm/types/attack-flow-for-desc-web-atk-statistics-output.d.ts +30 -0
  14. package/dist/esm/types/attack-flow-for-desc-web-atk-statistics-output.d.ts.map +1 -0
  15. package/dist/esm/types/attack-qps-flow-for-desc-web-qps-flow-output.d.ts +30 -0
  16. package/dist/esm/types/attack-qps-flow-for-desc-web-qps-flow-output.d.ts.map +1 -0
  17. package/dist/esm/types/back-src-bps-flow-for-desc-web-bps-flow-output.d.ts +35 -0
  18. package/dist/esm/types/back-src-bps-flow-for-desc-web-bps-flow-output.d.ts.map +1 -0
  19. package/dist/esm/types/back-src-flow-for-desc-web-atk-statistics-output.d.ts +30 -0
  20. package/dist/esm/types/back-src-flow-for-desc-web-atk-statistics-output.d.ts.map +1 -0
  21. package/dist/esm/types/back-src-qps-flow-for-desc-web-qps-flow-output.d.ts +30 -0
  22. package/dist/esm/types/back-src-qps-flow-for-desc-web-qps-flow-output.d.ts.map +1 -0
  23. package/dist/esm/types/batch-add-host-rule-request.d.ts +26 -0
  24. package/dist/esm/types/batch-add-host-rule-request.d.ts.map +1 -0
  25. package/dist/esm/types/batch-add-host-rule-response.d.ts +20 -0
  26. package/dist/esm/types/batch-add-host-rule-response.d.ts.map +1 -0
  27. package/dist/esm/types/batch-del-host-rule-request.d.ts +25 -0
  28. package/dist/esm/types/batch-del-host-rule-request.d.ts.map +1 -0
  29. package/dist/esm/types/batch-del-host-rule-response.d.ts +20 -0
  30. package/dist/esm/types/batch-del-host-rule-response.d.ts.map +1 -0
  31. package/dist/esm/types/batch-delete-fwd-rule-request.d.ts +25 -0
  32. package/dist/esm/types/batch-delete-fwd-rule-request.d.ts.map +1 -0
  33. package/dist/esm/types/batch-delete-fwd-rule-response.d.ts +26 -0
  34. package/dist/esm/types/batch-delete-fwd-rule-response.d.ts.map +1 -0
  35. package/dist/esm/types/batch-switch-backup-servers-request.d.ts +25 -0
  36. package/dist/esm/types/batch-switch-backup-servers-request.d.ts.map +1 -0
  37. package/dist/esm/types/batch-switch-backup-servers-response.d.ts +20 -0
  38. package/dist/esm/types/batch-switch-backup-servers-response.d.ts.map +1 -0
  39. package/dist/esm/types/batch-upd-host-rule-request.d.ts +26 -0
  40. package/dist/esm/types/batch-upd-host-rule-request.d.ts.map +1 -0
  41. package/dist/esm/types/batch-upd-host-rule-response.d.ts +20 -0
  42. package/dist/esm/types/batch-upd-host-rule-response.d.ts.map +1 -0
  43. package/dist/esm/types/conf-list-for-batch-add-host-rule-input.d.ts +158 -0
  44. package/dist/esm/types/conf-list-for-batch-add-host-rule-input.d.ts.map +1 -0
  45. package/dist/esm/types/conf-list-for-batch-upd-host-rule-input.d.ts +152 -0
  46. package/dist/esm/types/conf-list-for-batch-upd-host-rule-input.d.ts.map +1 -0
  47. package/dist/esm/types/del-host-rule-request.d.ts +25 -0
  48. package/dist/esm/types/del-host-rule-request.d.ts.map +1 -0
  49. package/dist/esm/types/del-host-rule-response.d.ts +20 -0
  50. package/dist/esm/types/del-host-rule-response.d.ts.map +1 -0
  51. package/dist/esm/types/desc-atk-alarm-threshold-request.d.ts +25 -0
  52. package/dist/esm/types/desc-atk-alarm-threshold-request.d.ts.map +1 -0
  53. package/dist/esm/types/desc-atk-alarm-threshold-response.d.ts +45 -0
  54. package/dist/esm/types/desc-atk-alarm-threshold-response.d.ts.map +1 -0
  55. package/dist/esm/types/desc-certificate-request.d.ts +25 -0
  56. package/dist/esm/types/desc-certificate-request.d.ts.map +1 -0
  57. package/dist/esm/types/desc-certificate-response.d.ts +37 -0
  58. package/dist/esm/types/desc-certificate-response.d.ts.map +1 -0
  59. package/dist/esm/types/desc-fwd-rule-request.d.ts +60 -0
  60. package/dist/esm/types/desc-fwd-rule-request.d.ts.map +1 -0
  61. package/dist/esm/types/desc-fwd-rule-response.d.ts +32 -0
  62. package/dist/esm/types/desc-fwd-rule-response.d.ts.map +1 -0
  63. package/dist/esm/types/desc-host-rules-request.d.ts +60 -0
  64. package/dist/esm/types/desc-host-rules-request.d.ts.map +1 -0
  65. package/dist/esm/types/desc-host-rules-response.d.ts +32 -0
  66. package/dist/esm/types/desc-host-rules-response.d.ts.map +1 -0
  67. package/dist/esm/types/desc-instance-list-request.d.ts +40 -0
  68. package/dist/esm/types/desc-instance-list-request.d.ts.map +1 -0
  69. package/dist/esm/types/desc-instance-list-response.d.ts +32 -0
  70. package/dist/esm/types/desc-instance-list-response.d.ts.map +1 -0
  71. package/dist/esm/types/desc-web-atk-overview-request.d.ts +35 -0
  72. package/dist/esm/types/desc-web-atk-overview-request.d.ts.map +1 -0
  73. package/dist/esm/types/desc-web-atk-overview-response.d.ts +35 -0
  74. package/dist/esm/types/desc-web-atk-overview-response.d.ts.map +1 -0
  75. package/dist/esm/types/desc-web-atk-statistics-request.d.ts +35 -0
  76. package/dist/esm/types/desc-web-atk-statistics-request.d.ts.map +1 -0
  77. package/dist/esm/types/desc-web-atk-statistics-response.d.ts +38 -0
  78. package/dist/esm/types/desc-web-atk-statistics-response.d.ts.map +1 -0
  79. package/dist/esm/types/desc-web-atk-top-src-ip-request.d.ts +35 -0
  80. package/dist/esm/types/desc-web-atk-top-src-ip-request.d.ts.map +1 -0
  81. package/dist/esm/types/desc-web-atk-top-src-ip-response.d.ts +40 -0
  82. package/dist/esm/types/desc-web-atk-top-src-ip-response.d.ts.map +1 -0
  83. package/dist/esm/types/desc-web-atk-top-url-request.d.ts +35 -0
  84. package/dist/esm/types/desc-web-atk-top-url-request.d.ts.map +1 -0
  85. package/dist/esm/types/desc-web-atk-top-url-response.d.ts +40 -0
  86. package/dist/esm/types/desc-web-atk-top-url-response.d.ts.map +1 -0
  87. package/dist/esm/types/desc-web-bps-flow-request.d.ts +35 -0
  88. package/dist/esm/types/desc-web-bps-flow-request.d.ts.map +1 -0
  89. package/dist/esm/types/desc-web-bps-flow-response.d.ts +26 -0
  90. package/dist/esm/types/desc-web-bps-flow-response.d.ts.map +1 -0
  91. package/dist/esm/types/desc-web-qps-flow-request.d.ts +35 -0
  92. package/dist/esm/types/desc-web-qps-flow-request.d.ts.map +1 -0
  93. package/dist/esm/types/desc-web-qps-flow-response.d.ts +61 -0
  94. package/dist/esm/types/desc-web-qps-flow-response.d.ts.map +1 -0
  95. package/dist/esm/types/desc-web-resp-code-request.d.ts +40 -0
  96. package/dist/esm/types/desc-web-resp-code-request.d.ts.map +1 -0
  97. package/dist/esm/types/desc-web-resp-code-response.d.ts +32 -0
  98. package/dist/esm/types/desc-web-resp-code-response.d.ts.map +1 -0
  99. package/dist/esm/types/distribution-for-desc-web-resp-code-output.d.ts +35 -0
  100. package/dist/esm/types/distribution-for-desc-web-resp-code-output.d.ts.map +1 -0
  101. package/dist/esm/types/flow-for-desc-web-resp-code-output.d.ts +30 -0
  102. package/dist/esm/types/flow-for-desc-web-resp-code-output.d.ts.map +1 -0
  103. package/dist/esm/types/fwd-rule-for-desc-fwd-rule-output.d.ts +75 -0
  104. package/dist/esm/types/fwd-rule-for-desc-fwd-rule-output.d.ts.map +1 -0
  105. package/dist/esm/types/get-fwd-rule-lip-list-request.d.ts +25 -0
  106. package/dist/esm/types/get-fwd-rule-lip-list-request.d.ts.map +1 -0
  107. package/dist/esm/types/get-fwd-rule-lip-list-response.d.ts +30 -0
  108. package/dist/esm/types/get-fwd-rule-lip-list-response.d.ts.map +1 -0
  109. package/dist/esm/types/get-host-def-status-request.d.ts +25 -0
  110. package/dist/esm/types/get-host-def-status-request.d.ts.map +1 -0
  111. package/dist/esm/types/get-host-def-status-response.d.ts +40 -0
  112. package/dist/esm/types/get-host-def-status-response.d.ts.map +1 -0
  113. package/dist/esm/types/get-web-def-attack-log-request.d.ts +70 -0
  114. package/dist/esm/types/get-web-def-attack-log-request.d.ts.map +1 -0
  115. package/dist/esm/types/get-web-def-attack-log-response.d.ts +171 -0
  116. package/dist/esm/types/get-web-def-attack-log-response.d.ts.map +1 -0
  117. package/dist/esm/types/in-qps-flow-for-desc-web-qps-flow-output.d.ts +30 -0
  118. package/dist/esm/types/in-qps-flow-for-desc-web-qps-flow-output.d.ts.map +1 -0
  119. package/dist/esm/types/in-query-flow-for-desc-web-atk-statistics-output.d.ts +30 -0
  120. package/dist/esm/types/in-query-flow-for-desc-web-atk-statistics-output.d.ts.map +1 -0
  121. package/dist/esm/types/index.d.ts +90 -0
  122. package/dist/esm/types/index.d.ts.map +1 -0
  123. package/dist/esm/types/ins-list-for-desc-instance-list-output.d.ts +145 -0
  124. package/dist/esm/types/ins-list-for-desc-instance-list-output.d.ts.map +1 -0
  125. package/dist/esm/types/other-cert-list-for-desc-certificate-output.d.ts +35 -0
  126. package/dist/esm/types/other-cert-list-for-desc-certificate-output.d.ts.map +1 -0
  127. package/dist/esm/types/page-info-for-desc-fwd-rule-output.d.ts +40 -0
  128. package/dist/esm/types/page-info-for-desc-fwd-rule-output.d.ts.map +1 -0
  129. package/dist/esm/types/page-info-for-desc-host-rules-output.d.ts +40 -0
  130. package/dist/esm/types/page-info-for-desc-host-rules-output.d.ts.map +1 -0
  131. package/dist/esm/types/page-info-for-desc-instance-list-output.d.ts +40 -0
  132. package/dist/esm/types/page-info-for-desc-instance-list-output.d.ts.map +1 -0
  133. package/dist/esm/types/peak-attack-qps-flow-for-desc-web-qps-flow-output.d.ts +30 -0
  134. package/dist/esm/types/peak-attack-qps-flow-for-desc-web-qps-flow-output.d.ts.map +1 -0
  135. package/dist/esm/types/peak-back-src-qps-flow-for-desc-web-qps-flow-output.d.ts +30 -0
  136. package/dist/esm/types/peak-back-src-qps-flow-for-desc-web-qps-flow-output.d.ts.map +1 -0
  137. package/dist/esm/types/peak-in-qps-flow-for-desc-web-qps-flow-output.d.ts +30 -0
  138. package/dist/esm/types/peak-in-qps-flow-for-desc-web-qps-flow-output.d.ts.map +1 -0
  139. package/dist/esm/types/proto-port-for-batch-add-host-rule-input.d.ts +30 -0
  140. package/dist/esm/types/proto-port-for-batch-add-host-rule-input.d.ts.map +1 -0
  141. package/dist/esm/types/proxy-set-header-for-add-host-rule-input.d.ts +30 -0
  142. package/dist/esm/types/proxy-set-header-for-add-host-rule-input.d.ts.map +1 -0
  143. package/dist/esm/types/proxy-set-header-for-batch-add-host-rule-input.d.ts +30 -0
  144. package/dist/esm/types/proxy-set-header-for-batch-add-host-rule-input.d.ts.map +1 -0
  145. package/dist/esm/types/proxy-set-header-for-batch-upd-host-rule-input.d.ts +30 -0
  146. package/dist/esm/types/proxy-set-header-for-batch-upd-host-rule-input.d.ts.map +1 -0
  147. package/dist/esm/types/proxy-set-header-for-desc-host-rules-output.d.ts +30 -0
  148. package/dist/esm/types/proxy-set-header-for-desc-host-rules-output.d.ts.map +1 -0
  149. package/dist/esm/types/proxy-set-header-for-upd-host-rule-input.d.ts +30 -0
  150. package/dist/esm/types/proxy-set-header-for-upd-host-rule-input.d.ts.map +1 -0
  151. package/dist/esm/types/recommend-cert-list-for-desc-certificate-output.d.ts +35 -0
  152. package/dist/esm/types/recommend-cert-list-for-desc-certificate-output.d.ts.map +1 -0
  153. package/dist/esm/types/result-for-desc-fwd-rule-output.d.ts +36 -0
  154. package/dist/esm/types/result-for-desc-fwd-rule-output.d.ts.map +1 -0
  155. package/dist/esm/types/result-for-desc-host-rules-output.d.ts +36 -0
  156. package/dist/esm/types/result-for-desc-host-rules-output.d.ts.map +1 -0
  157. package/dist/esm/types/result-for-desc-instance-list-output.d.ts +31 -0
  158. package/dist/esm/types/result-for-desc-instance-list-output.d.ts.map +1 -0
  159. package/dist/esm/types/ret-for-batch-delete-fwd-rule-output.d.ts +35 -0
  160. package/dist/esm/types/ret-for-batch-delete-fwd-rule-output.d.ts.map +1 -0
  161. package/dist/esm/types/rule-detail-for-get-web-def-attack-log-output.d.ts +30 -0
  162. package/dist/esm/types/rule-detail-for-get-web-def-attack-log-output.d.ts.map +1 -0
  163. package/dist/esm/types/rule-list-for-desc-host-rules-output.d.ts +202 -0
  164. package/dist/esm/types/rule-list-for-desc-host-rules-output.d.ts.map +1 -0
  165. package/dist/esm/types/server-for-batch-add-host-rule-input.d.ts +45 -0
  166. package/dist/esm/types/server-for-batch-add-host-rule-input.d.ts.map +1 -0
  167. package/dist/esm/types/server-for-batch-upd-host-rule-input.d.ts +45 -0
  168. package/dist/esm/types/server-for-batch-upd-host-rule-input.d.ts.map +1 -0
  169. package/dist/esm/types/server-for-desc-host-rules-output.d.ts +45 -0
  170. package/dist/esm/types/server-for-desc-host-rules-output.d.ts.map +1 -0
  171. package/dist/esm/types/server-for-upd-host-rule-input.d.ts +45 -0
  172. package/dist/esm/types/server-for-upd-host-rule-input.d.ts.map +1 -0
  173. package/dist/esm/types/servers-for-add-host-rule-input.d.ts +45 -0
  174. package/dist/esm/types/servers-for-add-host-rule-input.d.ts.map +1 -0
  175. package/dist/esm/types/set-def-switch-request.d.ts +30 -0
  176. package/dist/esm/types/set-def-switch-request.d.ts.map +1 -0
  177. package/dist/esm/types/set-def-switch-response.d.ts +20 -0
  178. package/dist/esm/types/set-def-switch-response.d.ts.map +1 -0
  179. package/dist/esm/types/trend-for-desc-web-resp-code-output.d.ts +31 -0
  180. package/dist/esm/types/trend-for-desc-web-resp-code-output.d.ts.map +1 -0
  181. package/dist/esm/types/upd-host-rule-request.d.ts +147 -0
  182. package/dist/esm/types/upd-host-rule-request.d.ts.map +1 -0
  183. package/dist/esm/types/upd-host-rule-response.d.ts +20 -0
  184. package/dist/esm/types/upd-host-rule-response.d.ts.map +1 -0
  185. package/dist/esm/types/update-atk-alarm-threshold-request.d.ts +40 -0
  186. package/dist/esm/types/update-atk-alarm-threshold-request.d.ts.map +1 -0
  187. package/dist/esm/types/update-atk-alarm-threshold-response.d.ts +20 -0
  188. package/dist/esm/types/update-atk-alarm-threshold-response.d.ts.map +1 -0
  189. package/dist/tsconfig.tsbuildinfo +1 -0
  190. package/package.json +37 -0
  191. package/rslib.config.ts +26 -0
  192. package/src/api.ts +514 -0
  193. package/src/index.ts +14 -0
  194. package/src/types/add-host-rule-request.ts +174 -0
  195. package/src/types/add-host-rule-response.ts +22 -0
  196. package/src/types/attack-flow-for-desc-web-atk-statistics-output.ts +34 -0
  197. package/src/types/attack-qps-flow-for-desc-web-qps-flow-output.ts +34 -0
  198. package/src/types/back-src-bps-flow-for-desc-web-bps-flow-output.ts +40 -0
  199. package/src/types/back-src-flow-for-desc-web-atk-statistics-output.ts +34 -0
  200. package/src/types/back-src-qps-flow-for-desc-web-qps-flow-output.ts +34 -0
  201. package/src/types/batch-add-host-rule-request.ts +29 -0
  202. package/src/types/batch-add-host-rule-response.ts +22 -0
  203. package/src/types/batch-del-host-rule-request.ts +28 -0
  204. package/src/types/batch-del-host-rule-response.ts +22 -0
  205. package/src/types/batch-delete-fwd-rule-request.ts +28 -0
  206. package/src/types/batch-delete-fwd-rule-response.ts +29 -0
  207. package/src/types/batch-switch-backup-servers-request.ts +28 -0
  208. package/src/types/batch-switch-backup-servers-response.ts +22 -0
  209. package/src/types/batch-upd-host-rule-request.ts +29 -0
  210. package/src/types/batch-upd-host-rule-response.ts +22 -0
  211. package/src/types/conf-list-for-batch-add-host-rule-input.ts +187 -0
  212. package/src/types/conf-list-for-batch-upd-host-rule-input.ts +180 -0
  213. package/src/types/del-host-rule-request.ts +28 -0
  214. package/src/types/del-host-rule-response.ts +22 -0
  215. package/src/types/desc-atk-alarm-threshold-request.ts +28 -0
  216. package/src/types/desc-atk-alarm-threshold-response.ts +52 -0
  217. package/src/types/desc-certificate-request.ts +28 -0
  218. package/src/types/desc-certificate-response.ts +42 -0
  219. package/src/types/desc-fwd-rule-request.ts +70 -0
  220. package/src/types/desc-fwd-rule-response.ts +36 -0
  221. package/src/types/desc-host-rules-request.ts +70 -0
  222. package/src/types/desc-host-rules-response.ts +36 -0
  223. package/src/types/desc-instance-list-request.ts +46 -0
  224. package/src/types/desc-instance-list-response.ts +36 -0
  225. package/src/types/desc-web-atk-overview-request.ts +40 -0
  226. package/src/types/desc-web-atk-overview-response.ts +40 -0
  227. package/src/types/desc-web-atk-statistics-request.ts +40 -0
  228. package/src/types/desc-web-atk-statistics-response.ts +43 -0
  229. package/src/types/desc-web-atk-top-src-ip-request.ts +40 -0
  230. package/src/types/desc-web-atk-top-src-ip-response.ts +46 -0
  231. package/src/types/desc-web-atk-top-url-request.ts +40 -0
  232. package/src/types/desc-web-atk-top-url-response.ts +46 -0
  233. package/src/types/desc-web-bps-flow-request.ts +40 -0
  234. package/src/types/desc-web-bps-flow-response.ts +29 -0
  235. package/src/types/desc-web-qps-flow-request.ts +40 -0
  236. package/src/types/desc-web-qps-flow-response.ts +70 -0
  237. package/src/types/desc-web-resp-code-request.ts +46 -0
  238. package/src/types/desc-web-resp-code-response.ts +36 -0
  239. package/src/types/distribution-for-desc-web-resp-code-output.ts +40 -0
  240. package/src/types/flow-for-desc-web-resp-code-output.ts +34 -0
  241. package/src/types/fwd-rule-for-desc-fwd-rule-output.ts +88 -0
  242. package/src/types/get-fwd-rule-lip-list-request.ts +28 -0
  243. package/src/types/get-fwd-rule-lip-list-response.ts +34 -0
  244. package/src/types/get-host-def-status-request.ts +28 -0
  245. package/src/types/get-host-def-status-response.ts +46 -0
  246. package/src/types/get-web-def-attack-log-request.ts +82 -0
  247. package/src/types/get-web-def-attack-log-response.ts +203 -0
  248. package/src/types/in-qps-flow-for-desc-web-qps-flow-output.ts +34 -0
  249. package/src/types/in-query-flow-for-desc-web-atk-statistics-output.ts +34 -0
  250. package/src/types/index.ts +89 -0
  251. package/src/types/ins-list-for-desc-instance-list-output.ts +172 -0
  252. package/src/types/other-cert-list-for-desc-certificate-output.ts +40 -0
  253. package/src/types/page-info-for-desc-fwd-rule-output.ts +46 -0
  254. package/src/types/page-info-for-desc-host-rules-output.ts +46 -0
  255. package/src/types/page-info-for-desc-instance-list-output.ts +46 -0
  256. package/src/types/peak-attack-qps-flow-for-desc-web-qps-flow-output.ts +34 -0
  257. package/src/types/peak-back-src-qps-flow-for-desc-web-qps-flow-output.ts +34 -0
  258. package/src/types/peak-in-qps-flow-for-desc-web-qps-flow-output.ts +34 -0
  259. package/src/types/proto-port-for-batch-add-host-rule-input.ts +34 -0
  260. package/src/types/proxy-set-header-for-add-host-rule-input.ts +34 -0
  261. package/src/types/proxy-set-header-for-batch-add-host-rule-input.ts +34 -0
  262. package/src/types/proxy-set-header-for-batch-upd-host-rule-input.ts +34 -0
  263. package/src/types/proxy-set-header-for-desc-host-rules-output.ts +34 -0
  264. package/src/types/proxy-set-header-for-upd-host-rule-input.ts +34 -0
  265. package/src/types/recommend-cert-list-for-desc-certificate-output.ts +40 -0
  266. package/src/types/result-for-desc-fwd-rule-output.ts +41 -0
  267. package/src/types/result-for-desc-host-rules-output.ts +41 -0
  268. package/src/types/result-for-desc-instance-list-output.ts +35 -0
  269. package/src/types/ret-for-batch-delete-fwd-rule-output.ts +40 -0
  270. package/src/types/rule-detail-for-get-web-def-attack-log-output.ts +34 -0
  271. package/src/types/rule-list-for-desc-host-rules-output.ts +240 -0
  272. package/src/types/server-for-batch-add-host-rule-input.ts +52 -0
  273. package/src/types/server-for-batch-upd-host-rule-input.ts +52 -0
  274. package/src/types/server-for-desc-host-rules-output.ts +52 -0
  275. package/src/types/server-for-upd-host-rule-input.ts +52 -0
  276. package/src/types/servers-for-add-host-rule-input.ts +52 -0
  277. package/src/types/set-def-switch-request.ts +34 -0
  278. package/src/types/set-def-switch-response.ts +22 -0
  279. package/src/types/trend-for-desc-web-resp-code-output.ts +35 -0
  280. package/src/types/upd-host-rule-request.ts +174 -0
  281. package/src/types/upd-host-rule-response.ts +22 -0
  282. package/src/types/update-atk-alarm-threshold-request.ts +46 -0
  283. package/src/types/update-atk-alarm-threshold-response.ts +22 -0
  284. package/tsconfig.json +12 -0
package/src/api.ts ADDED
@@ -0,0 +1,514 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * advdefence
5
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
6
+ *
7
+ * OpenAPI spec version: common-version
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by the swagger code generator program.
11
+ * https://github.com/swagger-api/swagger-codegen.git
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { Client, ClientConfig, Command, buildRequestConfigFromMetaPath, CommandOutput } from '@volcengine/sdk-core';
16
+
17
+ import { AddHostRuleRequest } from './types/index';
18
+ import { AddHostRuleResponse } from './types/index';
19
+ import { BatchAddHostRuleRequest } from './types/index';
20
+ import { BatchAddHostRuleResponse } from './types/index';
21
+ import { BatchDelHostRuleRequest } from './types/index';
22
+ import { BatchDelHostRuleResponse } from './types/index';
23
+ import { BatchDeleteFwdRuleRequest } from './types/index';
24
+ import { BatchDeleteFwdRuleResponse } from './types/index';
25
+ import { BatchSwitchBackupServersRequest } from './types/index';
26
+ import { BatchSwitchBackupServersResponse } from './types/index';
27
+ import { BatchUpdHostRuleRequest } from './types/index';
28
+ import { BatchUpdHostRuleResponse } from './types/index';
29
+ import { DelHostRuleRequest } from './types/index';
30
+ import { DelHostRuleResponse } from './types/index';
31
+ import { DescAtkAlarmThresholdRequest } from './types/index';
32
+ import { DescAtkAlarmThresholdResponse } from './types/index';
33
+ import { DescCertificateRequest } from './types/index';
34
+ import { DescCertificateResponse } from './types/index';
35
+ import { DescFwdRuleRequest } from './types/index';
36
+ import { DescFwdRuleResponse } from './types/index';
37
+ import { DescHostRulesRequest } from './types/index';
38
+ import { DescHostRulesResponse } from './types/index';
39
+ import { DescInstanceListRequest } from './types/index';
40
+ import { DescInstanceListResponse } from './types/index';
41
+ import { DescWebAtkOverviewRequest } from './types/index';
42
+ import { DescWebAtkOverviewResponse } from './types/index';
43
+ import { DescWebAtkStatisticsRequest } from './types/index';
44
+ import { DescWebAtkStatisticsResponse } from './types/index';
45
+ import { DescWebAtkTopSrcIpRequest } from './types/index';
46
+ import { DescWebAtkTopSrcIpResponse } from './types/index';
47
+ import { DescWebAtkTopUrlRequest } from './types/index';
48
+ import { DescWebAtkTopUrlResponse } from './types/index';
49
+ import { DescWebBpsFlowRequest } from './types/index';
50
+ import { DescWebBpsFlowResponse } from './types/index';
51
+ import { DescWebQpsFlowRequest } from './types/index';
52
+ import { DescWebQpsFlowResponse } from './types/index';
53
+ import { DescWebRespCodeRequest } from './types/index';
54
+ import { DescWebRespCodeResponse } from './types/index';
55
+ import { GetFwdRuleLipListRequest } from './types/index';
56
+ import { GetFwdRuleLipListResponse } from './types/index';
57
+ import { GetHostDefStatusRequest } from './types/index';
58
+ import { GetHostDefStatusResponse } from './types/index';
59
+ import { GetWebDefAttackLogRequest } from './types/index';
60
+ import { GetWebDefAttackLogResponse } from './types/index';
61
+ import { SetDefSwitchRequest } from './types/index';
62
+ import { SetDefSwitchResponse } from './types/index';
63
+ import { UpdHostRuleRequest } from './types/index';
64
+ import { UpdHostRuleResponse } from './types/index';
65
+ import { UpdateAtkAlarmThresholdRequest } from './types/index';
66
+ import { UpdateAtkAlarmThresholdResponse } from './types/index';
67
+
68
+ // ============================================================================
69
+ // Output Type Definitions
70
+ // ============================================================================
71
+ export type AddHostRuleCommandOutput = CommandOutput<AddHostRuleResponse>;
72
+ export type BatchAddHostRuleCommandOutput = CommandOutput<BatchAddHostRuleResponse>;
73
+ export type BatchDelHostRuleCommandOutput = CommandOutput<BatchDelHostRuleResponse>;
74
+ export type BatchDeleteFwdRuleCommandOutput = CommandOutput<BatchDeleteFwdRuleResponse>;
75
+ export type BatchSwitchBackupServersCommandOutput = CommandOutput<BatchSwitchBackupServersResponse>;
76
+ export type BatchUpdHostRuleCommandOutput = CommandOutput<BatchUpdHostRuleResponse>;
77
+ export type DelHostRuleCommandOutput = CommandOutput<DelHostRuleResponse>;
78
+ export type DescAtkAlarmThresholdCommandOutput = CommandOutput<DescAtkAlarmThresholdResponse>;
79
+ export type DescCertificateCommandOutput = CommandOutput<DescCertificateResponse>;
80
+ export type DescFwdRuleCommandOutput = CommandOutput<DescFwdRuleResponse>;
81
+ export type DescHostRulesCommandOutput = CommandOutput<DescHostRulesResponse>;
82
+ export type DescInstanceListCommandOutput = CommandOutput<DescInstanceListResponse>;
83
+ export type DescWebAtkOverviewCommandOutput = CommandOutput<DescWebAtkOverviewResponse>;
84
+ export type DescWebAtkStatisticsCommandOutput = CommandOutput<DescWebAtkStatisticsResponse>;
85
+ export type DescWebAtkTopSrcIpCommandOutput = CommandOutput<DescWebAtkTopSrcIpResponse>;
86
+ export type DescWebAtkTopUrlCommandOutput = CommandOutput<DescWebAtkTopUrlResponse>;
87
+ export type DescWebBpsFlowCommandOutput = CommandOutput<DescWebBpsFlowResponse>;
88
+ export type DescWebQpsFlowCommandOutput = CommandOutput<DescWebQpsFlowResponse>;
89
+ export type DescWebRespCodeCommandOutput = CommandOutput<DescWebRespCodeResponse>;
90
+ export type GetFwdRuleLipListCommandOutput = CommandOutput<GetFwdRuleLipListResponse>;
91
+ export type GetHostDefStatusCommandOutput = CommandOutput<GetHostDefStatusResponse>;
92
+ export type GetWebDefAttackLogCommandOutput = CommandOutput<GetWebDefAttackLogResponse>;
93
+ export type SetDefSwitchCommandOutput = CommandOutput<SetDefSwitchResponse>;
94
+ export type UpdHostRuleCommandOutput = CommandOutput<UpdHostRuleResponse>;
95
+ export type UpdateAtkAlarmThresholdCommandOutput = CommandOutput<UpdateAtkAlarmThresholdResponse>;
96
+
97
+
98
+ /**
99
+ * ADVDEFENCEClient Service Client
100
+ */
101
+ export class ADVDEFENCEClient extends Client {
102
+ constructor(config: ClientConfig = {}) {
103
+ super({
104
+ protocol: 'https',
105
+ region: 'cn-beijing',
106
+ ...config,
107
+ });
108
+ }
109
+ }
110
+
111
+ /**
112
+ * Command to AddHostRule
113
+ */
114
+ export class AddHostRuleCommand extends Command<
115
+ AddHostRuleRequest,
116
+ AddHostRuleCommandOutput,
117
+ 'AddHostRuleCommand'
118
+ > {
119
+ static readonly metaPath = '/AddHostRule/2021-06-15/advdefence/post/application_json/';
120
+
121
+ constructor(input: AddHostRuleRequest) {
122
+ super(input);
123
+ this.requestConfig = buildRequestConfigFromMetaPath(AddHostRuleCommand.metaPath);
124
+ }
125
+ }
126
+ /**
127
+ * Command to BatchAddHostRule
128
+ */
129
+ export class BatchAddHostRuleCommand extends Command<
130
+ BatchAddHostRuleRequest,
131
+ BatchAddHostRuleCommandOutput,
132
+ 'BatchAddHostRuleCommand'
133
+ > {
134
+ static readonly metaPath = '/BatchAddHostRule/2021-06-15/advdefence/post/application_json/';
135
+
136
+ constructor(input: BatchAddHostRuleRequest) {
137
+ super(input);
138
+ this.requestConfig = buildRequestConfigFromMetaPath(BatchAddHostRuleCommand.metaPath);
139
+ }
140
+ }
141
+ /**
142
+ * Command to BatchDelHostRule
143
+ */
144
+ export class BatchDelHostRuleCommand extends Command<
145
+ BatchDelHostRuleRequest,
146
+ BatchDelHostRuleCommandOutput,
147
+ 'BatchDelHostRuleCommand'
148
+ > {
149
+ static readonly metaPath = '/BatchDelHostRule/2021-06-15/advdefence/post/application_json/';
150
+
151
+ constructor(input: BatchDelHostRuleRequest) {
152
+ super(input);
153
+ this.requestConfig = buildRequestConfigFromMetaPath(BatchDelHostRuleCommand.metaPath);
154
+ }
155
+ }
156
+ /**
157
+ * Command to BatchDeleteFwdRule
158
+ */
159
+ export class BatchDeleteFwdRuleCommand extends Command<
160
+ BatchDeleteFwdRuleRequest,
161
+ BatchDeleteFwdRuleCommandOutput,
162
+ 'BatchDeleteFwdRuleCommand'
163
+ > {
164
+ static readonly metaPath = '/BatchDeleteFwdRule/2021-06-15/advdefence/post/application_json/';
165
+
166
+ constructor(input: BatchDeleteFwdRuleRequest) {
167
+ super(input);
168
+ this.requestConfig = buildRequestConfigFromMetaPath(BatchDeleteFwdRuleCommand.metaPath);
169
+ }
170
+ }
171
+ /**
172
+ * Command to BatchSwitchBackupServers
173
+ */
174
+ export class BatchSwitchBackupServersCommand extends Command<
175
+ BatchSwitchBackupServersRequest,
176
+ BatchSwitchBackupServersCommandOutput,
177
+ 'BatchSwitchBackupServersCommand'
178
+ > {
179
+ static readonly metaPath = '/BatchSwitchBackupServers/2021-06-15/advdefence/post/application_json/';
180
+
181
+ constructor(input: BatchSwitchBackupServersRequest) {
182
+ super(input);
183
+ this.requestConfig = buildRequestConfigFromMetaPath(BatchSwitchBackupServersCommand.metaPath);
184
+ }
185
+ }
186
+ /**
187
+ * Command to BatchUpdHostRule
188
+ */
189
+ export class BatchUpdHostRuleCommand extends Command<
190
+ BatchUpdHostRuleRequest,
191
+ BatchUpdHostRuleCommandOutput,
192
+ 'BatchUpdHostRuleCommand'
193
+ > {
194
+ static readonly metaPath = '/BatchUpdHostRule/2021-06-15/advdefence/post/application_json/';
195
+
196
+ constructor(input: BatchUpdHostRuleRequest) {
197
+ super(input);
198
+ this.requestConfig = buildRequestConfigFromMetaPath(BatchUpdHostRuleCommand.metaPath);
199
+ }
200
+ }
201
+ /**
202
+ * Command to DelHostRule
203
+ */
204
+ export class DelHostRuleCommand extends Command<
205
+ DelHostRuleRequest,
206
+ DelHostRuleCommandOutput,
207
+ 'DelHostRuleCommand'
208
+ > {
209
+ static readonly metaPath = '/DelHostRule/2021-06-15/advdefence/post/application_json/';
210
+
211
+ constructor(input: DelHostRuleRequest) {
212
+ super(input);
213
+ this.requestConfig = buildRequestConfigFromMetaPath(DelHostRuleCommand.metaPath);
214
+ }
215
+ }
216
+ /**
217
+ * Command to DescAtkAlarmThreshold
218
+ */
219
+ export class DescAtkAlarmThresholdCommand extends Command<
220
+ DescAtkAlarmThresholdRequest,
221
+ DescAtkAlarmThresholdCommandOutput,
222
+ 'DescAtkAlarmThresholdCommand'
223
+ > {
224
+ static readonly metaPath = '/DescAtkAlarmThreshold/2021-06-15/advdefence/post/application_json/';
225
+
226
+ constructor(input: DescAtkAlarmThresholdRequest) {
227
+ super(input);
228
+ this.requestConfig = buildRequestConfigFromMetaPath(DescAtkAlarmThresholdCommand.metaPath);
229
+ }
230
+ }
231
+ /**
232
+ * Command to DescCertificate
233
+ */
234
+ export class DescCertificateCommand extends Command<
235
+ DescCertificateRequest,
236
+ DescCertificateCommandOutput,
237
+ 'DescCertificateCommand'
238
+ > {
239
+ static readonly metaPath = '/DescCertificate/2021-06-15/advdefence/post/application_json/';
240
+
241
+ constructor(input: DescCertificateRequest) {
242
+ super(input);
243
+ this.requestConfig = buildRequestConfigFromMetaPath(DescCertificateCommand.metaPath);
244
+ }
245
+ }
246
+ /**
247
+ * Command to DescFwdRule
248
+ */
249
+ export class DescFwdRuleCommand extends Command<
250
+ DescFwdRuleRequest,
251
+ DescFwdRuleCommandOutput,
252
+ 'DescFwdRuleCommand'
253
+ > {
254
+ static readonly metaPath = '/DescFwdRule/2021-06-15/advdefence/post/application_json/';
255
+
256
+ constructor(input: DescFwdRuleRequest) {
257
+ super(input);
258
+ this.requestConfig = buildRequestConfigFromMetaPath(DescFwdRuleCommand.metaPath);
259
+ }
260
+ }
261
+ /**
262
+ * Command to DescHostRules
263
+ */
264
+ export class DescHostRulesCommand extends Command<
265
+ DescHostRulesRequest,
266
+ DescHostRulesCommandOutput,
267
+ 'DescHostRulesCommand'
268
+ > {
269
+ static readonly metaPath = '/DescHostRules/2021-06-15/advdefence/post/application_json/';
270
+
271
+ constructor(input: DescHostRulesRequest) {
272
+ super(input);
273
+ this.requestConfig = buildRequestConfigFromMetaPath(DescHostRulesCommand.metaPath);
274
+ }
275
+ }
276
+ /**
277
+ * Command to DescInstanceList
278
+ */
279
+ export class DescInstanceListCommand extends Command<
280
+ DescInstanceListRequest,
281
+ DescInstanceListCommandOutput,
282
+ 'DescInstanceListCommand'
283
+ > {
284
+ static readonly metaPath = '/DescInstanceList/2021-06-15/advdefence/post/application_json/';
285
+
286
+ constructor(input: DescInstanceListRequest) {
287
+ super(input);
288
+ this.requestConfig = buildRequestConfigFromMetaPath(DescInstanceListCommand.metaPath);
289
+ }
290
+ }
291
+ /**
292
+ * Command to DescWebAtkOverview
293
+ */
294
+ export class DescWebAtkOverviewCommand extends Command<
295
+ DescWebAtkOverviewRequest,
296
+ DescWebAtkOverviewCommandOutput,
297
+ 'DescWebAtkOverviewCommand'
298
+ > {
299
+ static readonly metaPath = '/DescWebAtkOverview/2021-06-15/advdefence/post/application_json/';
300
+
301
+ constructor(input: DescWebAtkOverviewRequest) {
302
+ super(input);
303
+ this.requestConfig = buildRequestConfigFromMetaPath(DescWebAtkOverviewCommand.metaPath);
304
+ }
305
+ }
306
+ /**
307
+ * Command to DescWebAtkStatistics
308
+ */
309
+ export class DescWebAtkStatisticsCommand extends Command<
310
+ DescWebAtkStatisticsRequest,
311
+ DescWebAtkStatisticsCommandOutput,
312
+ 'DescWebAtkStatisticsCommand'
313
+ > {
314
+ static readonly metaPath = '/DescWebAtkStatistics/2021-06-15/advdefence/post/application_json/';
315
+
316
+ constructor(input: DescWebAtkStatisticsRequest) {
317
+ super(input);
318
+ this.requestConfig = buildRequestConfigFromMetaPath(DescWebAtkStatisticsCommand.metaPath);
319
+ }
320
+ }
321
+ /**
322
+ * Command to DescWebAtkTopSrcIp
323
+ */
324
+ export class DescWebAtkTopSrcIpCommand extends Command<
325
+ DescWebAtkTopSrcIpRequest,
326
+ DescWebAtkTopSrcIpCommandOutput,
327
+ 'DescWebAtkTopSrcIpCommand'
328
+ > {
329
+ static readonly metaPath = '/DescWebAtkTopSrcIp/2021-06-15/advdefence/post/application_json/';
330
+
331
+ constructor(input: DescWebAtkTopSrcIpRequest) {
332
+ super(input);
333
+ this.requestConfig = buildRequestConfigFromMetaPath(DescWebAtkTopSrcIpCommand.metaPath);
334
+ }
335
+ }
336
+ /**
337
+ * Command to DescWebAtkTopUrl
338
+ */
339
+ export class DescWebAtkTopUrlCommand extends Command<
340
+ DescWebAtkTopUrlRequest,
341
+ DescWebAtkTopUrlCommandOutput,
342
+ 'DescWebAtkTopUrlCommand'
343
+ > {
344
+ static readonly metaPath = '/DescWebAtkTopUrl/2021-06-15/advdefence/post/application_json/';
345
+
346
+ constructor(input: DescWebAtkTopUrlRequest) {
347
+ super(input);
348
+ this.requestConfig = buildRequestConfigFromMetaPath(DescWebAtkTopUrlCommand.metaPath);
349
+ }
350
+ }
351
+ /**
352
+ * Command to DescWebBpsFlow
353
+ */
354
+ export class DescWebBpsFlowCommand extends Command<
355
+ DescWebBpsFlowRequest,
356
+ DescWebBpsFlowCommandOutput,
357
+ 'DescWebBpsFlowCommand'
358
+ > {
359
+ static readonly metaPath = '/DescWebBpsFlow/2021-06-15/advdefence/post/application_json/';
360
+
361
+ constructor(input: DescWebBpsFlowRequest) {
362
+ super(input);
363
+ this.requestConfig = buildRequestConfigFromMetaPath(DescWebBpsFlowCommand.metaPath);
364
+ }
365
+ }
366
+ /**
367
+ * Command to DescWebQpsFlow
368
+ */
369
+ export class DescWebQpsFlowCommand extends Command<
370
+ DescWebQpsFlowRequest,
371
+ DescWebQpsFlowCommandOutput,
372
+ 'DescWebQpsFlowCommand'
373
+ > {
374
+ static readonly metaPath = '/DescWebQpsFlow/2021-06-15/advdefence/post/application_json/';
375
+
376
+ constructor(input: DescWebQpsFlowRequest) {
377
+ super(input);
378
+ this.requestConfig = buildRequestConfigFromMetaPath(DescWebQpsFlowCommand.metaPath);
379
+ }
380
+ }
381
+ /**
382
+ * Command to DescWebRespCode
383
+ */
384
+ export class DescWebRespCodeCommand extends Command<
385
+ DescWebRespCodeRequest,
386
+ DescWebRespCodeCommandOutput,
387
+ 'DescWebRespCodeCommand'
388
+ > {
389
+ static readonly metaPath = '/DescWebRespCode/2021-06-15/advdefence/post/application_json/';
390
+
391
+ constructor(input: DescWebRespCodeRequest) {
392
+ super(input);
393
+ this.requestConfig = buildRequestConfigFromMetaPath(DescWebRespCodeCommand.metaPath);
394
+ }
395
+ }
396
+ /**
397
+ * Command to GetFwdRuleLipList
398
+ */
399
+ export class GetFwdRuleLipListCommand extends Command<
400
+ GetFwdRuleLipListRequest,
401
+ GetFwdRuleLipListCommandOutput,
402
+ 'GetFwdRuleLipListCommand'
403
+ > {
404
+ static readonly metaPath = '/GetFwdRuleLipList/2021-06-15/advdefence/post/application_json/';
405
+
406
+ constructor(input: GetFwdRuleLipListRequest) {
407
+ super(input);
408
+ this.requestConfig = buildRequestConfigFromMetaPath(GetFwdRuleLipListCommand.metaPath);
409
+ }
410
+ }
411
+ /**
412
+ * Command to GetHostDefStatus
413
+ */
414
+ export class GetHostDefStatusCommand extends Command<
415
+ GetHostDefStatusRequest,
416
+ GetHostDefStatusCommandOutput,
417
+ 'GetHostDefStatusCommand'
418
+ > {
419
+ static readonly metaPath = '/GetHostDefStatus/2021-06-15/advdefence/post/application_json/';
420
+
421
+ constructor(input: GetHostDefStatusRequest) {
422
+ super(input);
423
+ this.requestConfig = buildRequestConfigFromMetaPath(GetHostDefStatusCommand.metaPath);
424
+ }
425
+ }
426
+ /**
427
+ * Command to GetWebDefAttackLog
428
+ */
429
+ export class GetWebDefAttackLogCommand extends Command<
430
+ GetWebDefAttackLogRequest,
431
+ GetWebDefAttackLogCommandOutput,
432
+ 'GetWebDefAttackLogCommand'
433
+ > {
434
+ static readonly metaPath = '/GetWebDefAttackLog/2021-06-15/advdefence/post/application_json/';
435
+
436
+ constructor(input: GetWebDefAttackLogRequest) {
437
+ super(input);
438
+ this.requestConfig = buildRequestConfigFromMetaPath(GetWebDefAttackLogCommand.metaPath);
439
+ }
440
+ }
441
+ /**
442
+ * Command to SetDefSwitch
443
+ */
444
+ export class SetDefSwitchCommand extends Command<
445
+ SetDefSwitchRequest,
446
+ SetDefSwitchCommandOutput,
447
+ 'SetDefSwitchCommand'
448
+ > {
449
+ static readonly metaPath = '/SetDefSwitch/2021-06-15/advdefence/post/application_json/';
450
+
451
+ constructor(input: SetDefSwitchRequest) {
452
+ super(input);
453
+ this.requestConfig = buildRequestConfigFromMetaPath(SetDefSwitchCommand.metaPath);
454
+ }
455
+ }
456
+ /**
457
+ * Command to UpdHostRule
458
+ */
459
+ export class UpdHostRuleCommand extends Command<
460
+ UpdHostRuleRequest,
461
+ UpdHostRuleCommandOutput,
462
+ 'UpdHostRuleCommand'
463
+ > {
464
+ static readonly metaPath = '/UpdHostRule/2021-06-15/advdefence/post/application_json/';
465
+
466
+ constructor(input: UpdHostRuleRequest) {
467
+ super(input);
468
+ this.requestConfig = buildRequestConfigFromMetaPath(UpdHostRuleCommand.metaPath);
469
+ }
470
+ }
471
+ /**
472
+ * Command to UpdateAtkAlarmThreshold
473
+ */
474
+ export class UpdateAtkAlarmThresholdCommand extends Command<
475
+ UpdateAtkAlarmThresholdRequest,
476
+ UpdateAtkAlarmThresholdCommandOutput,
477
+ 'UpdateAtkAlarmThresholdCommand'
478
+ > {
479
+ static readonly metaPath = '/UpdateAtkAlarmThreshold/2021-06-15/advdefence/post/application_json/';
480
+
481
+ constructor(input: UpdateAtkAlarmThresholdRequest) {
482
+ super(input);
483
+ this.requestConfig = buildRequestConfigFromMetaPath(UpdateAtkAlarmThresholdCommand.metaPath);
484
+ }
485
+ }
486
+
487
+ export default {
488
+ ADVDEFENCEClient,
489
+ AddHostRuleCommand,
490
+ BatchAddHostRuleCommand,
491
+ BatchDelHostRuleCommand,
492
+ BatchDeleteFwdRuleCommand,
493
+ BatchSwitchBackupServersCommand,
494
+ BatchUpdHostRuleCommand,
495
+ DelHostRuleCommand,
496
+ DescAtkAlarmThresholdCommand,
497
+ DescCertificateCommand,
498
+ DescFwdRuleCommand,
499
+ DescHostRulesCommand,
500
+ DescInstanceListCommand,
501
+ DescWebAtkOverviewCommand,
502
+ DescWebAtkStatisticsCommand,
503
+ DescWebAtkTopSrcIpCommand,
504
+ DescWebAtkTopUrlCommand,
505
+ DescWebBpsFlowCommand,
506
+ DescWebQpsFlowCommand,
507
+ DescWebRespCodeCommand,
508
+ GetFwdRuleLipListCommand,
509
+ GetHostDefStatusCommand,
510
+ GetWebDefAttackLogCommand,
511
+ SetDefSwitchCommand,
512
+ UpdHostRuleCommand,
513
+ UpdateAtkAlarmThresholdCommand,
514
+ };
package/src/index.ts ADDED
@@ -0,0 +1,14 @@
1
+ // tslint:disable
2
+ /**
3
+ * advdefence
4
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
+ *
6
+ * OpenAPI spec version: common-version
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by the swagger code generator program.
10
+ * https://github.com/swagger-api/swagger-codegen.git
11
+ * Do not edit the class manually.
12
+ */
13
+
14
+ export * from "./api";
@@ -0,0 +1,174 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * advdefence
5
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
6
+ *
7
+ * OpenAPI spec version: common-version
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by the swagger code generator program.
11
+ * https://github.com/swagger-api/swagger-codegen.git
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { ProxySetHeaderForAddHostRuleInput } from './proxy-set-header-for-add-host-rule-input';
16
+ import { ServersForAddHostRuleInput } from './servers-for-add-host-rule-input';
17
+ /**
18
+ *
19
+ *
20
+ * @export
21
+ * @interface AddHostRuleRequest
22
+ */
23
+ export interface AddHostRuleRequest {
24
+
25
+ /**
26
+ * @type {number}
27
+ * @memberof AddHostRuleRequest
28
+ */
29
+ AccessMode: number;
30
+
31
+ /**
32
+ * @type {number}
33
+ * @memberof AddHostRuleRequest
34
+ */
35
+ AllSSLCipher?: number;
36
+
37
+ /**
38
+ * @type {number}
39
+ * @memberof AddHostRuleRequest
40
+ */
41
+ BackUpStatus?: number;
42
+
43
+ /**
44
+ * @type {number}
45
+ * @memberof AddHostRuleRequest
46
+ */
47
+ ChunkMode?: number;
48
+
49
+ /**
50
+ * @type {number}
51
+ * @memberof AddHostRuleRequest
52
+ */
53
+ ClientMaxBodySize?: number;
54
+
55
+ /**
56
+ * @type {Array<string>}
57
+ * @memberof AddHostRuleRequest
58
+ */
59
+ DefIp?: Array<string>;
60
+
61
+ /**
62
+ * @type {number}
63
+ * @memberof AddHostRuleRequest
64
+ */
65
+ GzipMode?: number;
66
+
67
+ /**
68
+ * @type {string}
69
+ * @memberof AddHostRuleRequest
70
+ */
71
+ Host: string;
72
+
73
+ /**
74
+ * @type {number}
75
+ * @memberof AddHostRuleRequest
76
+ */
77
+ Http2?: number;
78
+
79
+ /**
80
+ * @type {number}
81
+ * @memberof AddHostRuleRequest
82
+ */
83
+ KeepAliveRequests?: number;
84
+
85
+ /**
86
+ * @type {number}
87
+ * @memberof AddHostRuleRequest
88
+ */
89
+ KeepAliveTimeOut?: number;
90
+
91
+ /**
92
+ * @type {string}
93
+ * @memberof AddHostRuleRequest
94
+ */
95
+ LBAlgorithm: string;
96
+
97
+ /**
98
+ * @type {number}
99
+ * @memberof AddHostRuleRequest
100
+ */
101
+ ProtoFollow?: number;
102
+
103
+ /**
104
+ * @type {Array<string>}
105
+ * @memberof AddHostRuleRequest
106
+ */
107
+ Protocols?: Array<string>;
108
+
109
+ /**
110
+ * @type {number}
111
+ * @memberof AddHostRuleRequest
112
+ */
113
+ ProxyConnectTimeOut?: number;
114
+
115
+ /**
116
+ * @type {number}
117
+ * @memberof AddHostRuleRequest
118
+ */
119
+ ProxyKeepAliveRequests?: number;
120
+
121
+ /**
122
+ * @type {number}
123
+ * @memberof AddHostRuleRequest
124
+ */
125
+ ProxyKeepAliveTimeOut?: number;
126
+
127
+ /**
128
+ * @type {number}
129
+ * @memberof AddHostRuleRequest
130
+ */
131
+ ProxyReadTimeOut?: number;
132
+
133
+ /**
134
+ * @type {number}
135
+ * @memberof AddHostRuleRequest
136
+ */
137
+ ProxyRetry?: number;
138
+
139
+ /**
140
+ * @type {number}
141
+ * @memberof AddHostRuleRequest
142
+ */
143
+ ProxySendTimeOut?: number;
144
+
145
+ /**
146
+ * @type {Array<ProxySetHeaderForAddHostRuleInput>}
147
+ * @memberof AddHostRuleRequest
148
+ */
149
+ ProxySetHeader?: Array<ProxySetHeaderForAddHostRuleInput>;
150
+
151
+ /**
152
+ * @type {Array<string>}
153
+ * @memberof AddHostRuleRequest
154
+ */
155
+ SSLCiphers?: Array<string>;
156
+
157
+ /**
158
+ * @type {Array<string>}
159
+ * @memberof AddHostRuleRequest
160
+ */
161
+ SSLProtocols?: Array<string>;
162
+
163
+ /**
164
+ * @type {ServersForAddHostRuleInput}
165
+ * @memberof AddHostRuleRequest
166
+ */
167
+ Servers?: ServersForAddHostRuleInput;
168
+
169
+ /**
170
+ * @type {string}
171
+ * @memberof AddHostRuleRequest
172
+ */
173
+ UserCertId?: string;
174
+ }