@flui-cloud/cli 0.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 (873) hide show
  1. package/LICENSE +661 -0
  2. package/README.md +124 -0
  3. package/bin/run +17 -0
  4. package/lib/cli/src/background/cluster-worker.d.ts +11 -0
  5. package/lib/cli/src/background/cluster-worker.js +90 -0
  6. package/lib/cli/src/cli-providers.module.d.ts +2 -0
  7. package/lib/cli/src/cli-providers.module.js +118 -0
  8. package/lib/cli/src/cli.module.d.ts +13 -0
  9. package/lib/cli/src/cli.module.js +80 -0
  10. package/lib/cli/src/commands/_diag-oidc.d.ts +6 -0
  11. package/lib/cli/src/commands/_diag-oidc.js +132 -0
  12. package/lib/cli/src/commands/app/backup/create.d.ts +20 -0
  13. package/lib/cli/src/commands/app/backup/create.js +128 -0
  14. package/lib/cli/src/commands/app/backup/delete.d.ts +19 -0
  15. package/lib/cli/src/commands/app/backup/delete.js +95 -0
  16. package/lib/cli/src/commands/app/build.d.ts +17 -0
  17. package/lib/cli/src/commands/app/build.js +133 -0
  18. package/lib/cli/src/commands/app/builds.d.ts +14 -0
  19. package/lib/cli/src/commands/app/builds.js +82 -0
  20. package/lib/cli/src/commands/app/crash.d.ts +16 -0
  21. package/lib/cli/src/commands/app/crash.js +106 -0
  22. package/lib/cli/src/commands/app/crashes.d.ts +15 -0
  23. package/lib/cli/src/commands/app/crashes.js +99 -0
  24. package/lib/cli/src/commands/app/delete.d.ts +16 -0
  25. package/lib/cli/src/commands/app/delete.js +149 -0
  26. package/lib/cli/src/commands/app/image/delete.d.ts +18 -0
  27. package/lib/cli/src/commands/app/image/delete.js +72 -0
  28. package/lib/cli/src/commands/app/init.d.ts +40 -0
  29. package/lib/cli/src/commands/app/init.js +436 -0
  30. package/lib/cli/src/commands/app/list.d.ts +11 -0
  31. package/lib/cli/src/commands/app/list.js +84 -0
  32. package/lib/cli/src/commands/app/logs.d.ts +18 -0
  33. package/lib/cli/src/commands/app/logs.js +121 -0
  34. package/lib/cli/src/commands/app/metrics.d.ts +17 -0
  35. package/lib/cli/src/commands/app/metrics.js +100 -0
  36. package/lib/cli/src/commands/app/redeploy.d.ts +14 -0
  37. package/lib/cli/src/commands/app/redeploy.js +60 -0
  38. package/lib/cli/src/commands/app/releases.d.ts +15 -0
  39. package/lib/cli/src/commands/app/releases.js +117 -0
  40. package/lib/cli/src/commands/app/restart.d.ts +12 -0
  41. package/lib/cli/src/commands/app/restart.js +44 -0
  42. package/lib/cli/src/commands/app/scale.d.ts +13 -0
  43. package/lib/cli/src/commands/app/scale.js +58 -0
  44. package/lib/cli/src/commands/app/snapshot/create.d.ts +14 -0
  45. package/lib/cli/src/commands/app/snapshot/create.js +85 -0
  46. package/lib/cli/src/commands/app/snapshot/delete.d.ts +14 -0
  47. package/lib/cli/src/commands/app/snapshot/delete.js +63 -0
  48. package/lib/cli/src/commands/app/snapshot/list.d.ts +11 -0
  49. package/lib/cli/src/commands/app/snapshot/list.js +82 -0
  50. package/lib/cli/src/commands/app/snapshot/restore.d.ts +15 -0
  51. package/lib/cli/src/commands/app/snapshot/restore.js +74 -0
  52. package/lib/cli/src/commands/app/snapshot/swap.d.ts +15 -0
  53. package/lib/cli/src/commands/app/snapshot/swap.js +68 -0
  54. package/lib/cli/src/commands/app/start.d.ts +12 -0
  55. package/lib/cli/src/commands/app/start.js +45 -0
  56. package/lib/cli/src/commands/app/status.d.ts +15 -0
  57. package/lib/cli/src/commands/app/status.js +108 -0
  58. package/lib/cli/src/commands/app/stop.d.ts +12 -0
  59. package/lib/cli/src/commands/app/stop.js +45 -0
  60. package/lib/cli/src/commands/app/versions.d.ts +14 -0
  61. package/lib/cli/src/commands/app/versions.js +80 -0
  62. package/lib/cli/src/commands/auth/generate-api-key.d.ts +12 -0
  63. package/lib/cli/src/commands/auth/generate-api-key.js +90 -0
  64. package/lib/cli/src/commands/auth/login.d.ts +11 -0
  65. package/lib/cli/src/commands/auth/login.js +296 -0
  66. package/lib/cli/src/commands/auth/reset-password.d.ts +15 -0
  67. package/lib/cli/src/commands/auth/reset-password.js +253 -0
  68. package/lib/cli/src/commands/backup/destination/create.d.ts +22 -0
  69. package/lib/cli/src/commands/backup/destination/create.js +102 -0
  70. package/lib/cli/src/commands/backup/destination/delete.d.ts +11 -0
  71. package/lib/cli/src/commands/backup/destination/delete.js +46 -0
  72. package/lib/cli/src/commands/backup/destination/list.d.ts +9 -0
  73. package/lib/cli/src/commands/backup/destination/list.js +42 -0
  74. package/lib/cli/src/commands/backup/destination/show.d.ts +11 -0
  75. package/lib/cli/src/commands/backup/destination/show.js +45 -0
  76. package/lib/cli/src/commands/backup/destination/test.d.ts +8 -0
  77. package/lib/cli/src/commands/backup/destination/test.js +39 -0
  78. package/lib/cli/src/commands/backup/job/list.d.ts +9 -0
  79. package/lib/cli/src/commands/backup/job/list.js +38 -0
  80. package/lib/cli/src/commands/backup/job/run.d.ts +8 -0
  81. package/lib/cli/src/commands/backup/job/run.js +32 -0
  82. package/lib/cli/src/commands/backup/job/show.d.ts +11 -0
  83. package/lib/cli/src/commands/backup/job/show.js +38 -0
  84. package/lib/cli/src/commands/backup/policy/create.d.ts +21 -0
  85. package/lib/cli/src/commands/backup/policy/create.js +97 -0
  86. package/lib/cli/src/commands/backup/policy/delete.d.ts +11 -0
  87. package/lib/cli/src/commands/backup/policy/delete.js +42 -0
  88. package/lib/cli/src/commands/backup/policy/list.d.ts +9 -0
  89. package/lib/cli/src/commands/backup/policy/list.js +40 -0
  90. package/lib/cli/src/commands/backup/policy/show.d.ts +11 -0
  91. package/lib/cli/src/commands/backup/policy/show.js +45 -0
  92. package/lib/cli/src/commands/backup/restore/create.d.ts +14 -0
  93. package/lib/cli/src/commands/backup/restore/create.js +68 -0
  94. package/lib/cli/src/commands/backup/restore/list.d.ts +8 -0
  95. package/lib/cli/src/commands/backup/restore/list.js +33 -0
  96. package/lib/cli/src/commands/backup/restore/preview.d.ts +9 -0
  97. package/lib/cli/src/commands/backup/restore/preview.js +29 -0
  98. package/lib/cli/src/commands/backup/restore/show.d.ts +11 -0
  99. package/lib/cli/src/commands/backup/restore/show.js +40 -0
  100. package/lib/cli/src/commands/catalog/validate.d.ts +14 -0
  101. package/lib/cli/src/commands/catalog/validate.js +155 -0
  102. package/lib/cli/src/commands/cluster/destroy.d.ts +15 -0
  103. package/lib/cli/src/commands/cluster/destroy.js +137 -0
  104. package/lib/cli/src/commands/config/get.d.ts +9 -0
  105. package/lib/cli/src/commands/config/get.js +47 -0
  106. package/lib/cli/src/commands/config/list.d.ts +15 -0
  107. package/lib/cli/src/commands/config/list.js +109 -0
  108. package/lib/cli/src/commands/config/remove.d.ts +12 -0
  109. package/lib/cli/src/commands/config/remove.js +92 -0
  110. package/lib/cli/src/commands/config/set.d.ts +15 -0
  111. package/lib/cli/src/commands/config/set.js +152 -0
  112. package/lib/cli/src/commands/config/show.d.ts +6 -0
  113. package/lib/cli/src/commands/config/show.js +15 -0
  114. package/lib/cli/src/commands/context/create.d.ts +12 -0
  115. package/lib/cli/src/commands/context/create.js +46 -0
  116. package/lib/cli/src/commands/context/delete.d.ts +12 -0
  117. package/lib/cli/src/commands/context/delete.js +53 -0
  118. package/lib/cli/src/commands/context/list.d.ts +6 -0
  119. package/lib/cli/src/commands/context/list.js +29 -0
  120. package/lib/cli/src/commands/context/show.d.ts +6 -0
  121. package/lib/cli/src/commands/context/show.js +12 -0
  122. package/lib/cli/src/commands/context/use.d.ts +9 -0
  123. package/lib/cli/src/commands/context/use.js +30 -0
  124. package/lib/cli/src/commands/deploy.d.ts +49 -0
  125. package/lib/cli/src/commands/deploy.js +542 -0
  126. package/lib/cli/src/commands/dev/creds.d.ts +19 -0
  127. package/lib/cli/src/commands/dev/creds.js +290 -0
  128. package/lib/cli/src/commands/dev/tunnel.d.ts +15 -0
  129. package/lib/cli/src/commands/dev/tunnel.js +268 -0
  130. package/lib/cli/src/commands/dns/cleanup.d.ts +11 -0
  131. package/lib/cli/src/commands/dns/cleanup.js +93 -0
  132. package/lib/cli/src/commands/env/capacity.d.ts +12 -0
  133. package/lib/cli/src/commands/env/capacity.js +177 -0
  134. package/lib/cli/src/commands/env/create.d.ts +21 -0
  135. package/lib/cli/src/commands/env/create.js +721 -0
  136. package/lib/cli/src/commands/env/credentials.d.ts +21 -0
  137. package/lib/cli/src/commands/env/credentials.js +435 -0
  138. package/lib/cli/src/commands/env/destroy.d.ts +9 -0
  139. package/lib/cli/src/commands/env/destroy.js +145 -0
  140. package/lib/cli/src/commands/env/diag-ca.d.ts +14 -0
  141. package/lib/cli/src/commands/env/diag-ca.js +192 -0
  142. package/lib/cli/src/commands/env/export-config.d.ts +39 -0
  143. package/lib/cli/src/commands/env/export-config.js +386 -0
  144. package/lib/cli/src/commands/env/force-ready.d.ts +10 -0
  145. package/lib/cli/src/commands/env/force-ready.js +222 -0
  146. package/lib/cli/src/commands/env/inspect.d.ts +12 -0
  147. package/lib/cli/src/commands/env/inspect.js +192 -0
  148. package/lib/cli/src/commands/env/kubectl.d.ts +9 -0
  149. package/lib/cli/src/commands/env/kubectl.js +33 -0
  150. package/lib/cli/src/commands/env/logs.d.ts +12 -0
  151. package/lib/cli/src/commands/env/logs.js +136 -0
  152. package/lib/cli/src/commands/env/orphan-volumes.d.ts +11 -0
  153. package/lib/cli/src/commands/env/orphan-volumes.js +153 -0
  154. package/lib/cli/src/commands/env/refresh-kubeconfig.d.ts +6 -0
  155. package/lib/cli/src/commands/env/refresh-kubeconfig.js +66 -0
  156. package/lib/cli/src/commands/env/repair-ssh-ca.d.ts +11 -0
  157. package/lib/cli/src/commands/env/repair-ssh-ca.js +137 -0
  158. package/lib/cli/src/commands/env/restart.d.ts +10 -0
  159. package/lib/cli/src/commands/env/restart.js +187 -0
  160. package/lib/cli/src/commands/env/scale-master.d.ts +11 -0
  161. package/lib/cli/src/commands/env/scale-master.js +160 -0
  162. package/lib/cli/src/commands/env/scale-node.d.ts +14 -0
  163. package/lib/cli/src/commands/env/scale-node.js +139 -0
  164. package/lib/cli/src/commands/env/status.d.ts +10 -0
  165. package/lib/cli/src/commands/env/status.js +182 -0
  166. package/lib/cli/src/commands/env/stop.d.ts +6 -0
  167. package/lib/cli/src/commands/env/stop.js +147 -0
  168. package/lib/cli/src/commands/env/storage-expand.d.ts +10 -0
  169. package/lib/cli/src/commands/env/storage-expand.js +124 -0
  170. package/lib/cli/src/commands/env/storage.d.ts +8 -0
  171. package/lib/cli/src/commands/env/storage.js +92 -0
  172. package/lib/cli/src/commands/env/sync.d.ts +17 -0
  173. package/lib/cli/src/commands/env/sync.js +225 -0
  174. package/lib/cli/src/commands/env/uncordon.d.ts +9 -0
  175. package/lib/cli/src/commands/env/uncordon.js +73 -0
  176. package/lib/cli/src/commands/env/update-firewall.d.ts +9 -0
  177. package/lib/cli/src/commands/env/update-firewall.js +185 -0
  178. package/lib/cli/src/commands/integration/connect.d.ts +13 -0
  179. package/lib/cli/src/commands/integration/connect.js +161 -0
  180. package/lib/cli/src/commands/integration/ghcr-pat/revoke.d.ts +9 -0
  181. package/lib/cli/src/commands/integration/ghcr-pat/revoke.js +61 -0
  182. package/lib/cli/src/commands/integration/ghcr-pat/set.d.ts +12 -0
  183. package/lib/cli/src/commands/integration/ghcr-pat/set.js +141 -0
  184. package/lib/cli/src/commands/integration/ghcr-pat/status.d.ts +6 -0
  185. package/lib/cli/src/commands/integration/ghcr-pat/status.js +69 -0
  186. package/lib/cli/src/commands/integration/installations.d.ts +6 -0
  187. package/lib/cli/src/commands/integration/installations.js +45 -0
  188. package/lib/cli/src/commands/integration/list.d.ts +8 -0
  189. package/lib/cli/src/commands/integration/list.js +67 -0
  190. package/lib/cli/src/commands/integration/remove-installation.d.ts +12 -0
  191. package/lib/cli/src/commands/integration/remove-installation.js +71 -0
  192. package/lib/cli/src/commands/integration/setup-github-app.d.ts +10 -0
  193. package/lib/cli/src/commands/integration/setup-github-app.js +162 -0
  194. package/lib/cli/src/commands/node/add.d.ts +11 -0
  195. package/lib/cli/src/commands/node/add.js +103 -0
  196. package/lib/cli/src/commands/node/list.d.ts +11 -0
  197. package/lib/cli/src/commands/node/list.js +83 -0
  198. package/lib/cli/src/commands/node/remove.d.ts +16 -0
  199. package/lib/cli/src/commands/node/remove.js +161 -0
  200. package/lib/cli/src/commands/reconcile.d.ts +19 -0
  201. package/lib/cli/src/commands/reconcile.js +171 -0
  202. package/lib/cli/src/commands/repo/connect.d.ts +12 -0
  203. package/lib/cli/src/commands/repo/connect.js +133 -0
  204. package/lib/cli/src/commands/repo/disconnect.d.ts +12 -0
  205. package/lib/cli/src/commands/repo/disconnect.js +73 -0
  206. package/lib/cli/src/commands/repo/list.d.ts +9 -0
  207. package/lib/cli/src/commands/repo/list.js +66 -0
  208. package/lib/cli/src/commands/server-types/list.d.ts +12 -0
  209. package/lib/cli/src/commands/server-types/list.js +205 -0
  210. package/lib/cli/src/commands/ssh.d.ts +9 -0
  211. package/lib/cli/src/commands/ssh.js +94 -0
  212. package/lib/cli/src/commands/standalone/install.d.ts +27 -0
  213. package/lib/cli/src/commands/standalone/install.js +330 -0
  214. package/lib/cli/src/commands/template/use.d.ts +16 -0
  215. package/lib/cli/src/commands/template/use.js +111 -0
  216. package/lib/cli/src/commands/update.d.ts +6 -0
  217. package/lib/cli/src/commands/update.js +87 -0
  218. package/lib/cli/src/config/bootstrap.config.d.ts +37 -0
  219. package/lib/cli/src/config/bootstrap.config.js +33 -0
  220. package/lib/cli/src/config/defaults.d.ts +46 -0
  221. package/lib/cli/src/config/defaults.js +79 -0
  222. package/lib/cli/src/config/key-router.d.ts +22 -0
  223. package/lib/cli/src/config/key-router.js +45 -0
  224. package/lib/cli/src/config/preferences-echo.d.ts +9 -0
  225. package/lib/cli/src/config/preferences-echo.js +61 -0
  226. package/lib/cli/src/config/preferences-resolver.d.ts +43 -0
  227. package/lib/cli/src/config/preferences-resolver.js +100 -0
  228. package/lib/cli/src/config/preferences-schema.d.ts +32 -0
  229. package/lib/cli/src/config/preferences-schema.js +53 -0
  230. package/lib/cli/src/hooks/command_not_found.d.ts +3 -0
  231. package/lib/cli/src/hooks/command_not_found.js +44 -0
  232. package/lib/cli/src/lib/api-client.d.ts +58 -0
  233. package/lib/cli/src/lib/api-client.js +162 -0
  234. package/lib/cli/src/lib/backup-client.d.ts +131 -0
  235. package/lib/cli/src/lib/backup-client.js +78 -0
  236. package/lib/cli/src/lib/browser-callback.d.ts +3 -0
  237. package/lib/cli/src/lib/browser-callback.js +83 -0
  238. package/lib/cli/src/lib/byos-precheck.d.ts +29 -0
  239. package/lib/cli/src/lib/byos-precheck.js +162 -0
  240. package/lib/cli/src/lib/ca-utils.d.ts +13 -0
  241. package/lib/cli/src/lib/ca-utils.js +72 -0
  242. package/lib/cli/src/lib/cli-credential-provider.service.d.ts +31 -0
  243. package/lib/cli/src/lib/cli-credential-provider.service.js +86 -0
  244. package/lib/cli/src/lib/config-storage.d.ts +128 -0
  245. package/lib/cli/src/lib/config-storage.js +349 -0
  246. package/lib/cli/src/lib/config.d.ts +23 -0
  247. package/lib/cli/src/lib/config.js +113 -0
  248. package/lib/cli/src/lib/context-banner.d.ts +12 -0
  249. package/lib/cli/src/lib/context-banner.js +25 -0
  250. package/lib/cli/src/lib/format-bytes.d.ts +1 -0
  251. package/lib/cli/src/lib/format-bytes.js +18 -0
  252. package/lib/cli/src/lib/framework-detector.d.ts +12 -0
  253. package/lib/cli/src/lib/framework-detector.js +216 -0
  254. package/lib/cli/src/lib/framework-postchecks.d.ts +11 -0
  255. package/lib/cli/src/lib/framework-postchecks.js +152 -0
  256. package/lib/cli/src/lib/nest-app.d.ts +17 -0
  257. package/lib/cli/src/lib/nest-app.js +69 -0
  258. package/lib/cli/src/lib/nip-base-domain.util.d.ts +8 -0
  259. package/lib/cli/src/lib/nip-base-domain.util.js +17 -0
  260. package/lib/cli/src/lib/profile-manager.d.ts +56 -0
  261. package/lib/cli/src/lib/profile-manager.js +207 -0
  262. package/lib/cli/src/lib/prompts.d.ts +67 -0
  263. package/lib/cli/src/lib/prompts.js +475 -0
  264. package/lib/cli/src/lib/provider-credential-schemas.d.ts +29 -0
  265. package/lib/cli/src/lib/provider-credential-schemas.js +48 -0
  266. package/lib/cli/src/lib/repositories/cli-cluster.repository.d.ts +56 -0
  267. package/lib/cli/src/lib/repositories/cli-cluster.repository.js +216 -0
  268. package/lib/cli/src/lib/repositories/cli-firewall.repository.d.ts +13 -0
  269. package/lib/cli/src/lib/repositories/cli-firewall.repository.js +147 -0
  270. package/lib/cli/src/lib/repositories/cli-node.repository.d.ts +26 -0
  271. package/lib/cli/src/lib/repositories/cli-node.repository.js +164 -0
  272. package/lib/cli/src/lib/repositories/cli-operation.repository.d.ts +57 -0
  273. package/lib/cli/src/lib/repositories/cli-operation.repository.js +226 -0
  274. package/lib/cli/src/lib/repositories/cli-vnet.repository.d.ts +22 -0
  275. package/lib/cli/src/lib/repositories/cli-vnet.repository.js +175 -0
  276. package/lib/cli/src/lib/repositories/index.d.ts +5 -0
  277. package/lib/cli/src/lib/repositories/index.js +21 -0
  278. package/lib/cli/src/lib/resolve-cluster.d.ts +16 -0
  279. package/lib/cli/src/lib/resolve-cluster.js +34 -0
  280. package/lib/cli/src/lib/scaleway-validator.d.ts +5 -0
  281. package/lib/cli/src/lib/scaleway-validator.js +87 -0
  282. package/lib/cli/src/lib/server-utils.d.ts +8 -0
  283. package/lib/cli/src/lib/server-utils.js +19 -0
  284. package/lib/cli/src/lib/services/cli-app.service.d.ts +294 -0
  285. package/lib/cli/src/lib/services/cli-app.service.js +162 -0
  286. package/lib/cli/src/lib/services/cli-node.service.d.ts +43 -0
  287. package/lib/cli/src/lib/services/cli-node.service.js +34 -0
  288. package/lib/cli/src/lib/services/provider-sync.service.d.ts +90 -0
  289. package/lib/cli/src/lib/services/provider-sync.service.js +178 -0
  290. package/lib/cli/src/lib/services/reconciliation.service.d.ts +40 -0
  291. package/lib/cli/src/lib/services/reconciliation.service.js +119 -0
  292. package/lib/cli/src/lib/services/vnet-provisioning.service.d.ts +37 -0
  293. package/lib/cli/src/lib/services/vnet-provisioning.service.js +164 -0
  294. package/lib/cli/src/lib/ssh-key.d.ts +23 -0
  295. package/lib/cli/src/lib/ssh-key.js +126 -0
  296. package/lib/cli/src/lib/template-fetcher.d.ts +25 -0
  297. package/lib/cli/src/lib/template-fetcher.js +48 -0
  298. package/lib/cli/src/lib/templates/firewall-rules.d.ts +8 -0
  299. package/lib/cli/src/lib/templates/firewall-rules.js +17 -0
  300. package/lib/cli/src/lib/typeorm-shim.d.ts +12 -0
  301. package/lib/cli/src/lib/typeorm-shim.js +17 -0
  302. package/lib/cli/src/lib/utils/env-file.d.ts +2 -0
  303. package/lib/cli/src/lib/utils/env-file.js +40 -0
  304. package/lib/cli/src/lib/utils/ip-detection.d.ts +27 -0
  305. package/lib/cli/src/lib/utils/ip-detection.js +144 -0
  306. package/lib/cli/src/modules/cli-infrastructure.module.d.ts +14 -0
  307. package/lib/cli/src/modules/cli-infrastructure.module.js +249 -0
  308. package/lib/cli/src/services/cli-ca.service.d.ts +62 -0
  309. package/lib/cli/src/services/cli-ca.service.js +281 -0
  310. package/lib/cli/src/services/cli-cluster-creator.service.d.ts +78 -0
  311. package/lib/cli/src/services/cli-cluster-creator.service.js +655 -0
  312. package/lib/cli/src/services/cli-clusters.service.d.ts +74 -0
  313. package/lib/cli/src/services/cli-clusters.service.js +762 -0
  314. package/lib/cli/src/services/cli-endpoint-resolver.service.d.ts +33 -0
  315. package/lib/cli/src/services/cli-endpoint-resolver.service.js +195 -0
  316. package/lib/cli/src/services/cli-k3s-script.service.d.ts +114 -0
  317. package/lib/cli/src/services/cli-k3s-script.service.js +288 -0
  318. package/lib/cli/src/services/cli-logger.service.d.ts +56 -0
  319. package/lib/cli/src/services/cli-logger.service.js +188 -0
  320. package/lib/cli/src/services/cli-observability-cluster.service.d.ts +128 -0
  321. package/lib/cli/src/services/cli-observability-cluster.service.js +525 -0
  322. package/lib/cli/src/services/cli-ssh.service.d.ts +90 -0
  323. package/lib/cli/src/services/cli-ssh.service.js +457 -0
  324. package/lib/cli/src/services/server-type-cache.service.d.ts +34 -0
  325. package/lib/cli/src/services/server-type-cache.service.js +156 -0
  326. package/lib/cli/src/services/server-type-validator.service.d.ts +80 -0
  327. package/lib/cli/src/services/server-type-validator.service.js +366 -0
  328. package/lib/cli/src/types/index.d.ts +41 -0
  329. package/lib/cli/src/types/index.js +2 -0
  330. package/lib/src/common/utils/project-root.util.d.ts +22 -0
  331. package/lib/src/common/utils/project-root.util.js +78 -0
  332. package/lib/src/modules/access/access.controller.d.ts +30 -0
  333. package/lib/src/modules/access/access.controller.js +336 -0
  334. package/lib/src/modules/access/access.module.d.ts +2 -0
  335. package/lib/src/modules/access/access.module.js +92 -0
  336. package/lib/src/modules/access/controllers/ca.controller.d.ts +22 -0
  337. package/lib/src/modules/access/controllers/ca.controller.js +242 -0
  338. package/lib/src/modules/access/dto/api-token.dto.d.ts +11 -0
  339. package/lib/src/modules/access/dto/api-token.dto.js +74 -0
  340. package/lib/src/modules/access/dto/bearer-token.dto.d.ts +7 -0
  341. package/lib/src/modules/access/dto/bearer-token.dto.js +36 -0
  342. package/lib/src/modules/access/dto/ca-public-key.dto.d.ts +7 -0
  343. package/lib/src/modules/access/dto/ca-public-key.dto.js +52 -0
  344. package/lib/src/modules/access/dto/create-api-token.dto.d.ts +7 -0
  345. package/lib/src/modules/access/dto/create-api-token.dto.js +64 -0
  346. package/lib/src/modules/access/dto/create-bearer-token.dto.d.ts +9 -0
  347. package/lib/src/modules/access/dto/create-bearer-token.dto.js +58 -0
  348. package/lib/src/modules/access/dto/create-ssh-key.dto.d.ts +7 -0
  349. package/lib/src/modules/access/dto/create-ssh-key.dto.js +61 -0
  350. package/lib/src/modules/access/dto/refresh-token.dto.d.ts +7 -0
  351. package/lib/src/modules/access/dto/refresh-token.dto.js +46 -0
  352. package/lib/src/modules/access/dto/register-ca.dto.d.ts +16 -0
  353. package/lib/src/modules/access/dto/register-ca.dto.js +111 -0
  354. package/lib/src/modules/access/dto/ssh-key.dto.d.ts +20 -0
  355. package/lib/src/modules/access/dto/ssh-key.dto.js +124 -0
  356. package/lib/src/modules/access/dto/update-ssh-key.dto.d.ts +7 -0
  357. package/lib/src/modules/access/dto/update-ssh-key.dto.js +73 -0
  358. package/lib/src/modules/access/entities/api-token.entity.d.ts +30 -0
  359. package/lib/src/modules/access/entities/api-token.entity.js +87 -0
  360. package/lib/src/modules/access/entities/ca-keypair.entity.d.ts +13 -0
  361. package/lib/src/modules/access/entities/ca-keypair.entity.js +63 -0
  362. package/lib/src/modules/access/entities/credentials.entity.d.ts +18 -0
  363. package/lib/src/modules/access/entities/credentials.entity.js +87 -0
  364. package/lib/src/modules/access/entities/ssh-key.entity.d.ts +15 -0
  365. package/lib/src/modules/access/entities/ssh-key.entity.js +81 -0
  366. package/lib/src/modules/access/enums/credential-purpose.enum.d.ts +4 -0
  367. package/lib/src/modules/access/enums/credential-purpose.enum.js +8 -0
  368. package/lib/src/modules/access/interfaces/access.repository.d.ts +11 -0
  369. package/lib/src/modules/access/interfaces/access.repository.js +2 -0
  370. package/lib/src/modules/access/interfaces/ssh-key.interface.d.ts +26 -0
  371. package/lib/src/modules/access/interfaces/ssh-key.interface.js +2 -0
  372. package/lib/src/modules/access/mapper/api-token.mapper.d.ts +6 -0
  373. package/lib/src/modules/access/mapper/api-token.mapper.js +21 -0
  374. package/lib/src/modules/access/mapper/ssh-key.mapper.d.ts +6 -0
  375. package/lib/src/modules/access/mapper/ssh-key.mapper.js +25 -0
  376. package/lib/src/modules/access/providers/contabo-ssh-provider.service.d.ts +13 -0
  377. package/lib/src/modules/access/providers/contabo-ssh-provider.service.js +40 -0
  378. package/lib/src/modules/access/providers/hetzner-ssh-provider.service.d.ts +17 -0
  379. package/lib/src/modules/access/providers/hetzner-ssh-provider.service.js +95 -0
  380. package/lib/src/modules/access/providers/interfaces/ssh-provider.interface.d.ts +8 -0
  381. package/lib/src/modules/access/providers/interfaces/ssh-provider.interface.js +3 -0
  382. package/lib/src/modules/access/providers/ssh-provider.factory.d.ts +13 -0
  383. package/lib/src/modules/access/providers/ssh-provider.factory.js +44 -0
  384. package/lib/src/modules/access/repositories/api-token.repository.d.ts +24 -0
  385. package/lib/src/modules/access/repositories/api-token.repository.js +99 -0
  386. package/lib/src/modules/access/repositories/default-access.repository.d.ts +16 -0
  387. package/lib/src/modules/access/repositories/default-access.repository.js +121 -0
  388. package/lib/src/modules/access/repositories/provider-credentials.repository.d.ts +17 -0
  389. package/lib/src/modules/access/repositories/provider-credentials.repository.js +106 -0
  390. package/lib/src/modules/access/services/access.service.d.ts +180 -0
  391. package/lib/src/modules/access/services/access.service.js +732 -0
  392. package/lib/src/modules/access/services/bearerToken.service.d.ts +15 -0
  393. package/lib/src/modules/access/services/bearerToken.service.js +107 -0
  394. package/lib/src/modules/access/services/ca-manager.service.d.ts +48 -0
  395. package/lib/src/modules/access/services/ca-manager.service.js +293 -0
  396. package/lib/src/modules/access/services/certificate-signer.service.d.ts +36 -0
  397. package/lib/src/modules/access/services/certificate-signer.service.js +155 -0
  398. package/lib/src/modules/access/services/key-storage.service.d.ts +17 -0
  399. package/lib/src/modules/access/services/key-storage.service.js +133 -0
  400. package/lib/src/modules/access/services/ssh-key-generator.service.d.ts +6 -0
  401. package/lib/src/modules/access/services/ssh-key-generator.service.js +51 -0
  402. package/lib/src/modules/app-builds/entities/app-build.entity.d.ts +38 -0
  403. package/lib/src/modules/app-builds/entities/app-build.entity.js +168 -0
  404. package/lib/src/modules/app-builds/enums/app-build-status.enum.d.ts +10 -0
  405. package/lib/src/modules/app-builds/enums/app-build-status.enum.js +14 -0
  406. package/lib/src/modules/app-builds/enums/build-provider.enum.d.ts +6 -0
  407. package/lib/src/modules/app-builds/enums/build-provider.enum.js +10 -0
  408. package/lib/src/modules/app-builds/services/build-job.service.d.ts +178 -0
  409. package/lib/src/modules/app-builds/services/build-job.service.js +1057 -0
  410. package/lib/src/modules/applications/entities/app-resource.entity.d.ts +24 -0
  411. package/lib/src/modules/applications/entities/app-resource.entity.js +117 -0
  412. package/lib/src/modules/applications/entities/app-revision.entity.d.ts +29 -0
  413. package/lib/src/modules/applications/entities/app-revision.entity.js +133 -0
  414. package/lib/src/modules/applications/entities/application.entity.d.ts +121 -0
  415. package/lib/src/modules/applications/entities/application.entity.js +279 -0
  416. package/lib/src/modules/applications/enums/app-event-type.enum.d.ts +24 -0
  417. package/lib/src/modules/applications/enums/app-event-type.enum.js +28 -0
  418. package/lib/src/modules/applications/enums/application-category.enum.d.ts +4 -0
  419. package/lib/src/modules/applications/enums/application-category.enum.js +8 -0
  420. package/lib/src/modules/applications/enums/application-exposure.enum.d.ts +4 -0
  421. package/lib/src/modules/applications/enums/application-exposure.enum.js +8 -0
  422. package/lib/src/modules/applications/enums/application-kind.enum.d.ts +6 -0
  423. package/lib/src/modules/applications/enums/application-kind.enum.js +10 -0
  424. package/lib/src/modules/applications/enums/application-resource-kind.enum.d.ts +17 -0
  425. package/lib/src/modules/applications/enums/application-resource-kind.enum.js +21 -0
  426. package/lib/src/modules/applications/enums/application-resource-status.enum.d.ts +8 -0
  427. package/lib/src/modules/applications/enums/application-resource-status.enum.js +12 -0
  428. package/lib/src/modules/applications/enums/application-source-type.enum.d.ts +6 -0
  429. package/lib/src/modules/applications/enums/application-source-type.enum.js +10 -0
  430. package/lib/src/modules/applications/enums/application-status.enum.d.ts +20 -0
  431. package/lib/src/modules/applications/enums/application-status.enum.js +24 -0
  432. package/lib/src/modules/applications/interfaces/source-config.interface.d.ts +132 -0
  433. package/lib/src/modules/applications/interfaces/source-config.interface.js +2 -0
  434. package/lib/src/modules/auth/decorators/admin.decorator.d.ts +2 -0
  435. package/lib/src/modules/auth/decorators/admin.decorator.js +7 -0
  436. package/lib/src/modules/auth/entities/user.entity.d.ts +19 -0
  437. package/lib/src/modules/auth/entities/user.entity.js +78 -0
  438. package/lib/src/modules/auth/guards/admin.guard.d.ts +7 -0
  439. package/lib/src/modules/auth/guards/admin.guard.js +50 -0
  440. package/lib/src/modules/auth/interfaces/authenticated-user.interface.d.ts +12 -0
  441. package/lib/src/modules/auth/interfaces/authenticated-user.interface.js +2 -0
  442. package/lib/src/modules/common/cache/cache.service.d.ts +77 -0
  443. package/lib/src/modules/common/cache/cache.service.js +232 -0
  444. package/lib/src/modules/common/cache/cache.tokens.d.ts +1 -0
  445. package/lib/src/modules/common/cache/cache.tokens.js +4 -0
  446. package/lib/src/modules/common/cache/enums/cache-category.enum.d.ts +33 -0
  447. package/lib/src/modules/common/cache/enums/cache-category.enum.js +42 -0
  448. package/lib/src/modules/common/common.module.d.ts +2 -0
  449. package/lib/src/modules/common/common.module.js +20 -0
  450. package/lib/src/modules/common/dto/async-operation-response.dto.d.ts +19 -0
  451. package/lib/src/modules/common/dto/async-operation-response.dto.js +65 -0
  452. package/lib/src/modules/common/dto/index.d.ts +1 -0
  453. package/lib/src/modules/common/dto/index.js +17 -0
  454. package/lib/src/modules/common/services/label.service.d.ts +70 -0
  455. package/lib/src/modules/common/services/label.service.js +128 -0
  456. package/lib/src/modules/dns/entities/app-endpoint.entity.d.ts +57 -0
  457. package/lib/src/modules/dns/entities/app-endpoint.entity.js +205 -0
  458. package/lib/src/modules/dns/entities/cluster-dns-zone.entity.d.ts +21 -0
  459. package/lib/src/modules/dns/entities/cluster-dns-zone.entity.js +88 -0
  460. package/lib/src/modules/dns/entities/dns-zone.entity.d.ts +12 -0
  461. package/lib/src/modules/dns/entities/dns-zone.entity.js +53 -0
  462. package/lib/src/modules/dns/entities/san-certificate.entity.d.ts +29 -0
  463. package/lib/src/modules/dns/entities/san-certificate.entity.js +132 -0
  464. package/lib/src/modules/dns/entities/wildcard-certificate.entity.d.ts +26 -0
  465. package/lib/src/modules/dns/entities/wildcard-certificate.entity.js +111 -0
  466. package/lib/src/modules/dns/enums/cert-challenge.enum.d.ts +4 -0
  467. package/lib/src/modules/dns/enums/cert-challenge.enum.js +8 -0
  468. package/lib/src/modules/dns/enums/endpoint-type.enum.d.ts +4 -0
  469. package/lib/src/modules/dns/enums/endpoint-type.enum.js +8 -0
  470. package/lib/src/modules/dns/enums/hostname-mode.enum.d.ts +4 -0
  471. package/lib/src/modules/dns/enums/hostname-mode.enum.js +8 -0
  472. package/lib/src/modules/dns/services/cluster-dns-cleanup.service.d.ts +12 -0
  473. package/lib/src/modules/dns/services/cluster-dns-cleanup.service.js +79 -0
  474. package/lib/src/modules/dns/utils/nip-hostname.util.d.ts +12 -0
  475. package/lib/src/modules/dns/utils/nip-hostname.util.js +27 -0
  476. package/lib/src/modules/dns/utils/nip-token.util.d.ts +2 -0
  477. package/lib/src/modules/dns/utils/nip-token.util.js +94 -0
  478. package/lib/src/modules/frameworks/framework-core/enums/build-stage.enum.d.ts +21 -0
  479. package/lib/src/modules/frameworks/framework-core/enums/build-stage.enum.js +29 -0
  480. package/lib/src/modules/frameworks/framework-core/enums/deploy-strategy.enum.d.ts +22 -0
  481. package/lib/src/modules/frameworks/framework-core/enums/deploy-strategy.enum.js +26 -0
  482. package/lib/src/modules/frameworks/framework-core/enums/framework-type.enum.d.ts +32 -0
  483. package/lib/src/modules/frameworks/framework-core/enums/framework-type.enum.js +47 -0
  484. package/lib/src/modules/grafana/services/grafana-config.service.d.ts +43 -0
  485. package/lib/src/modules/grafana/services/grafana-config.service.js +177 -0
  486. package/lib/src/modules/grafana/services/grafana-datasource.service.d.ts +70 -0
  487. package/lib/src/modules/grafana/services/grafana-datasource.service.js +333 -0
  488. package/lib/src/modules/infrastructure/clusters/clusters.service.d.ts +126 -0
  489. package/lib/src/modules/infrastructure/clusters/clusters.service.js +265 -0
  490. package/lib/src/modules/infrastructure/clusters/constants/storage-conventions.d.ts +60 -0
  491. package/lib/src/modules/infrastructure/clusters/constants/storage-conventions.js +64 -0
  492. package/lib/src/modules/infrastructure/clusters/dto/build-resources.dto.d.ts +19 -0
  493. package/lib/src/modules/infrastructure/clusters/dto/build-resources.dto.js +69 -0
  494. package/lib/src/modules/infrastructure/clusters/dto/cluster-capacity-plan.dto.d.ts +36 -0
  495. package/lib/src/modules/infrastructure/clusters/dto/cluster-capacity-plan.dto.js +149 -0
  496. package/lib/src/modules/infrastructure/clusters/dto/cluster-power-management.dto.d.ts +51 -0
  497. package/lib/src/modules/infrastructure/clusters/dto/cluster-power-management.dto.js +222 -0
  498. package/lib/src/modules/infrastructure/clusters/dto/cluster-response.dto.d.ts +42 -0
  499. package/lib/src/modules/infrastructure/clusters/dto/cluster-response.dto.js +238 -0
  500. package/lib/src/modules/infrastructure/clusters/dto/cluster-storage.dto.d.ts +35 -0
  501. package/lib/src/modules/infrastructure/clusters/dto/cluster-storage.dto.js +122 -0
  502. package/lib/src/modules/infrastructure/clusters/dto/create-cluster.dto.d.ts +43 -0
  503. package/lib/src/modules/infrastructure/clusters/dto/create-cluster.dto.js +334 -0
  504. package/lib/src/modules/infrastructure/clusters/dto/register-cluster.dto.d.ts +30 -0
  505. package/lib/src/modules/infrastructure/clusters/dto/register-cluster.dto.js +190 -0
  506. package/lib/src/modules/infrastructure/clusters/dto/resource-availability.dto.d.ts +15 -0
  507. package/lib/src/modules/infrastructure/clusters/dto/resource-availability.dto.js +91 -0
  508. package/lib/src/modules/infrastructure/clusters/entities/cluster-node.entity.d.ts +28 -0
  509. package/lib/src/modules/infrastructure/clusters/entities/cluster-node.entity.js +104 -0
  510. package/lib/src/modules/infrastructure/clusters/entities/cluster.entity.d.ts +64 -0
  511. package/lib/src/modules/infrastructure/clusters/entities/cluster.entity.js +199 -0
  512. package/lib/src/modules/infrastructure/clusters/entities/node-billable-interval.entity.d.ts +17 -0
  513. package/lib/src/modules/infrastructure/clusters/entities/node-billable-interval.entity.js +86 -0
  514. package/lib/src/modules/infrastructure/clusters/entities/volume-billable-interval.entity.d.ts +18 -0
  515. package/lib/src/modules/infrastructure/clusters/entities/volume-billable-interval.entity.js +79 -0
  516. package/lib/src/modules/infrastructure/clusters/services/billing-intervals.service.d.ts +48 -0
  517. package/lib/src/modules/infrastructure/clusters/services/billing-intervals.service.js +159 -0
  518. package/lib/src/modules/infrastructure/clusters/services/cluster-capacity.service.d.ts +23 -0
  519. package/lib/src/modules/infrastructure/clusters/services/cluster-capacity.service.js +198 -0
  520. package/lib/src/modules/infrastructure/clusters/services/cluster-creation.service.d.ts +25 -0
  521. package/lib/src/modules/infrastructure/clusters/services/cluster-creation.service.js +192 -0
  522. package/lib/src/modules/infrastructure/clusters/services/cluster-deletion.service.d.ts +36 -0
  523. package/lib/src/modules/infrastructure/clusters/services/cluster-deletion.service.js +159 -0
  524. package/lib/src/modules/infrastructure/clusters/services/cluster-firewall-integration.service.d.ts +25 -0
  525. package/lib/src/modules/infrastructure/clusters/services/cluster-firewall-integration.service.js +90 -0
  526. package/lib/src/modules/infrastructure/clusters/services/cluster-mapper.service.d.ts +15 -0
  527. package/lib/src/modules/infrastructure/clusters/services/cluster-mapper.service.js +63 -0
  528. package/lib/src/modules/infrastructure/clusters/services/cluster-node-scaling.service.d.ts +78 -0
  529. package/lib/src/modules/infrastructure/clusters/services/cluster-node-scaling.service.js +644 -0
  530. package/lib/src/modules/infrastructure/clusters/services/cluster-operations.service.d.ts +37 -0
  531. package/lib/src/modules/infrastructure/clusters/services/cluster-operations.service.js +244 -0
  532. package/lib/src/modules/infrastructure/clusters/services/cluster-power-management.service.d.ts +68 -0
  533. package/lib/src/modules/infrastructure/clusters/services/cluster-power-management.service.js +716 -0
  534. package/lib/src/modules/infrastructure/clusters/services/cluster-storage.service.d.ts +15 -0
  535. package/lib/src/modules/infrastructure/clusters/services/cluster-storage.service.js +179 -0
  536. package/lib/src/modules/infrastructure/clusters/services/cluster-validation.service.d.ts +29 -0
  537. package/lib/src/modules/infrastructure/clusters/services/cluster-validation.service.js +100 -0
  538. package/lib/src/modules/infrastructure/firewalls/dto/cluster-firewall.dto.d.ts +62 -0
  539. package/lib/src/modules/infrastructure/firewalls/dto/cluster-firewall.dto.js +252 -0
  540. package/lib/src/modules/infrastructure/firewalls/entities/cluster-firewall.entity.d.ts +20 -0
  541. package/lib/src/modules/infrastructure/firewalls/entities/cluster-firewall.entity.js +83 -0
  542. package/lib/src/modules/infrastructure/firewalls/services/firewall-desired-state.service.d.ts +73 -0
  543. package/lib/src/modules/infrastructure/firewalls/services/firewall-desired-state.service.js +329 -0
  544. package/lib/src/modules/infrastructure/firewalls/services/firewall-reconciliation.service.d.ts +43 -0
  545. package/lib/src/modules/infrastructure/firewalls/services/firewall-reconciliation.service.js +212 -0
  546. package/lib/src/modules/infrastructure/firewalls/templates/firewall-rules.template.d.ts +54 -0
  547. package/lib/src/modules/infrastructure/firewalls/templates/firewall-rules.template.js +167 -0
  548. package/lib/src/modules/infrastructure/operations/helpers/operation-steps.helper.d.ts +34 -0
  549. package/lib/src/modules/infrastructure/operations/helpers/operation-steps.helper.js +401 -0
  550. package/lib/src/modules/infrastructure/servers/dto/create-server.dto.d.ts +40 -0
  551. package/lib/src/modules/infrastructure/servers/dto/create-server.dto.js +157 -0
  552. package/lib/src/modules/infrastructure/servers/dto/delete-server.dto.d.ts +17 -0
  553. package/lib/src/modules/infrastructure/servers/dto/delete-server.dto.js +85 -0
  554. package/lib/src/modules/infrastructure/servers/dto/server-response.dto.d.ts +29 -0
  555. package/lib/src/modules/infrastructure/servers/dto/server-response.dto.js +147 -0
  556. package/lib/src/modules/infrastructure/servers/entities/infrastructure-operations.entity.d.ts +266 -0
  557. package/lib/src/modules/infrastructure/servers/entities/infrastructure-operations.entity.js +348 -0
  558. package/lib/src/modules/infrastructure/shared/enums/reconciliation-status.enum.d.ts +7 -0
  559. package/lib/src/modules/infrastructure/shared/enums/reconciliation-status.enum.js +11 -0
  560. package/lib/src/modules/infrastructure/shared/services/kubernetes.service.d.ts +304 -0
  561. package/lib/src/modules/infrastructure/shared/services/kubernetes.service.js +1164 -0
  562. package/lib/src/modules/infrastructure/shared/services/label.service.d.ts +97 -0
  563. package/lib/src/modules/infrastructure/shared/services/label.service.js +189 -0
  564. package/lib/src/modules/infrastructure/shared/shared-infrastructure.module.d.ts +2 -0
  565. package/lib/src/modules/infrastructure/shared/shared-infrastructure.module.js +24 -0
  566. package/lib/src/modules/infrastructure/vnets/entities/vnet-route.entity.d.ts +10 -0
  567. package/lib/src/modules/infrastructure/vnets/entities/vnet-route.entity.js +51 -0
  568. package/lib/src/modules/infrastructure/vnets/entities/vnet-subnet.entity.d.ts +20 -0
  569. package/lib/src/modules/infrastructure/vnets/entities/vnet-subnet.entity.js +77 -0
  570. package/lib/src/modules/infrastructure/vnets/entities/vnet.entity.d.ts +28 -0
  571. package/lib/src/modules/infrastructure/vnets/entities/vnet.entity.js +88 -0
  572. package/lib/src/modules/instances/entities/instance-status.enum.d.ts +12 -0
  573. package/lib/src/modules/instances/entities/instance-status.enum.js +16 -0
  574. package/lib/src/modules/instances/entities/instance-type.enum.d.ts +6 -0
  575. package/lib/src/modules/instances/entities/instance-type.enum.js +10 -0
  576. package/lib/src/modules/instances/entities/instance.entity.d.ts +41 -0
  577. package/lib/src/modules/instances/entities/instance.entity.js +126 -0
  578. package/lib/src/modules/management/dto/configure-provider.dto.d.ts +8 -0
  579. package/lib/src/modules/management/dto/configure-provider.dto.js +51 -0
  580. package/lib/src/modules/management/dto/credentials.dto.d.ts +15 -0
  581. package/lib/src/modules/management/dto/credentials.dto.js +114 -0
  582. package/lib/src/modules/management/dto/health-status.dto.d.ts +12 -0
  583. package/lib/src/modules/management/dto/health-status.dto.js +40 -0
  584. package/lib/src/modules/management/dto/node-size-option.dto.d.ts +37 -0
  585. package/lib/src/modules/management/dto/node-size-option.dto.js +178 -0
  586. package/lib/src/modules/management/dto/pricing-query.dto.d.ts +5 -0
  587. package/lib/src/modules/management/dto/pricing-query.dto.js +36 -0
  588. package/lib/src/modules/management/dto/pricing-response.dto.d.ts +21 -0
  589. package/lib/src/modules/management/dto/pricing-response.dto.js +80 -0
  590. package/lib/src/modules/management/dto/provider-configuration.dto.d.ts +23 -0
  591. package/lib/src/modules/management/dto/provider-configuration.dto.js +72 -0
  592. package/lib/src/modules/management/dto/provider-filters.dto.d.ts +7 -0
  593. package/lib/src/modules/management/dto/provider-filters.dto.js +45 -0
  594. package/lib/src/modules/management/dto/validation-result.dto.d.ts +16 -0
  595. package/lib/src/modules/management/dto/validation-result.dto.js +35 -0
  596. package/lib/src/modules/management/entities/credentials.entity.d.ts +21 -0
  597. package/lib/src/modules/management/entities/credentials.entity.js +10 -0
  598. package/lib/src/modules/management/entities/provider-capabilities.entity.d.ts +85 -0
  599. package/lib/src/modules/management/entities/provider-capabilities.entity.js +2 -0
  600. package/lib/src/modules/management/entities/provider-configuration.entity.d.ts +14 -0
  601. package/lib/src/modules/management/entities/provider-configuration.entity.js +65 -0
  602. package/lib/src/modules/management/entities/provider-definition.entity.d.ts +19 -0
  603. package/lib/src/modules/management/entities/provider-definition.entity.js +2 -0
  604. package/lib/src/modules/management/entities/provider-region.entity.d.ts +11 -0
  605. package/lib/src/modules/management/entities/provider-region.entity.js +2 -0
  606. package/lib/src/modules/management/entities/provider-status.enum.d.ts +8 -0
  607. package/lib/src/modules/management/entities/provider-status.enum.js +12 -0
  608. package/lib/src/modules/management/interfaces/provider-configuration.repository.interface.d.ts +17 -0
  609. package/lib/src/modules/management/interfaces/provider-configuration.repository.interface.js +2 -0
  610. package/lib/src/modules/management/repositories/provider-configuration.repository.d.ts +21 -0
  611. package/lib/src/modules/management/repositories/provider-configuration.repository.js +89 -0
  612. package/lib/src/modules/management/services/configuration-mode.service.d.ts +20 -0
  613. package/lib/src/modules/management/services/configuration-mode.service.js +54 -0
  614. package/lib/src/modules/management/services/management.service.d.ts +72 -0
  615. package/lib/src/modules/management/services/management.service.js +546 -0
  616. package/lib/src/modules/management/services/provider-definitions.service.d.ts +26 -0
  617. package/lib/src/modules/management/services/provider-definitions.service.js +133 -0
  618. package/lib/src/modules/providers/controllers/provider-firewalls.controller.d.ts +28 -0
  619. package/lib/src/modules/providers/controllers/provider-firewalls.controller.js +277 -0
  620. package/lib/src/modules/providers/core/factories/capabilities-provider.factory.d.ts +10 -0
  621. package/lib/src/modules/providers/core/factories/capabilities-provider.factory.js +39 -0
  622. package/lib/src/modules/providers/core/factories/certificate-provider.factory.d.ts +11 -0
  623. package/lib/src/modules/providers/core/factories/certificate-provider.factory.js +58 -0
  624. package/lib/src/modules/providers/core/factories/dns-provider.factory.d.ts +12 -0
  625. package/lib/src/modules/providers/core/factories/dns-provider.factory.js +65 -0
  626. package/lib/src/modules/providers/core/factories/firewall-provider.factory.d.ts +12 -0
  627. package/lib/src/modules/providers/core/factories/firewall-provider.factory.js +61 -0
  628. package/lib/src/modules/providers/core/factories/provider.factory.d.ts +9 -0
  629. package/lib/src/modules/providers/core/factories/provider.factory.js +47 -0
  630. package/lib/src/modules/providers/core/factories/vm-backup-provider.factory.d.ts +12 -0
  631. package/lib/src/modules/providers/core/factories/vm-backup-provider.factory.js +56 -0
  632. package/lib/src/modules/providers/core/factories/volume-export.factory.d.ts +12 -0
  633. package/lib/src/modules/providers/core/factories/volume-export.factory.js +56 -0
  634. package/lib/src/modules/providers/core/interfaces/certificate-provider.interface.d.ts +1 -0
  635. package/lib/src/modules/providers/core/interfaces/certificate-provider.interface.js +17 -0
  636. package/lib/src/modules/providers/core/interfaces/cloud-provider.interface.d.ts +1 -0
  637. package/lib/src/modules/providers/core/interfaces/cloud-provider.interface.js +17 -0
  638. package/lib/src/modules/providers/core/interfaces/dns-provider.interface.d.ts +1 -0
  639. package/lib/src/modules/providers/core/interfaces/dns-provider.interface.js +17 -0
  640. package/lib/src/modules/providers/core/interfaces/firewall-provider.interface.d.ts +1 -0
  641. package/lib/src/modules/providers/core/interfaces/firewall-provider.interface.js +17 -0
  642. package/lib/src/modules/providers/core/interfaces/provider-bootstrap-seeder.interface.d.ts +54 -0
  643. package/lib/src/modules/providers/core/interfaces/provider-bootstrap-seeder.interface.js +2 -0
  644. package/lib/src/modules/providers/core/tokens.d.ts +59 -0
  645. package/lib/src/modules/providers/core/tokens.js +19 -0
  646. package/lib/src/modules/providers/data/region-coordinates.d.ts +6 -0
  647. package/lib/src/modules/providers/data/region-coordinates.js +25 -0
  648. package/lib/src/modules/providers/dto/firewall.dto.d.ts +30 -0
  649. package/lib/src/modules/providers/dto/firewall.dto.js +105 -0
  650. package/lib/src/modules/providers/dto/node-size.dto.d.ts +46 -0
  651. package/lib/src/modules/providers/dto/node-size.dto.js +22 -0
  652. package/lib/src/modules/providers/dto/pricing.dto.d.ts +24 -0
  653. package/lib/src/modules/providers/dto/pricing.dto.js +19 -0
  654. package/lib/src/modules/providers/dto/provider-firewall-response.dto.d.ts +28 -0
  655. package/lib/src/modules/providers/dto/provider-firewall-response.dto.js +134 -0
  656. package/lib/src/modules/providers/enums/certificate-provider.enum.d.ts +4 -0
  657. package/lib/src/modules/providers/enums/certificate-provider.enum.js +8 -0
  658. package/lib/src/modules/providers/enums/cloud-provider.enum.d.ts +5 -0
  659. package/lib/src/modules/providers/enums/cloud-provider.enum.js +9 -0
  660. package/lib/src/modules/providers/enums/dns-provider.enum.d.ts +5 -0
  661. package/lib/src/modules/providers/enums/dns-provider.enum.js +9 -0
  662. package/lib/src/modules/providers/implementations/contabo/contabo-capabilities.service.d.ts +19 -0
  663. package/lib/src/modules/providers/implementations/contabo/contabo-capabilities.service.js +254 -0
  664. package/lib/src/modules/providers/implementations/contabo/contabo-provider.module.d.ts +10 -0
  665. package/lib/src/modules/providers/implementations/contabo/contabo-provider.module.js +72 -0
  666. package/lib/src/modules/providers/implementations/contabo/generated/api.d.ts +13374 -0
  667. package/lib/src/modules/providers/implementations/contabo/generated/api.js +11341 -0
  668. package/lib/src/modules/providers/implementations/contabo/generated/base.d.ts +66 -0
  669. package/lib/src/modules/providers/implementations/contabo/generated/base.js +66 -0
  670. package/lib/src/modules/providers/implementations/contabo/generated/common.d.ts +65 -0
  671. package/lib/src/modules/providers/implementations/contabo/generated/common.js +152 -0
  672. package/lib/src/modules/providers/implementations/contabo/generated/configuration.d.ts +91 -0
  673. package/lib/src/modules/providers/implementations/contabo/generated/configuration.js +50 -0
  674. package/lib/src/modules/providers/implementations/contabo/generated/index.d.ts +13 -0
  675. package/lib/src/modules/providers/implementations/contabo/generated/index.js +31 -0
  676. package/lib/src/modules/providers/implementations/hetzner/generated/api.d.ts +18419 -0
  677. package/lib/src/modules/providers/implementations/hetzner/generated/api.js +19133 -0
  678. package/lib/src/modules/providers/implementations/hetzner/generated/base.d.ts +66 -0
  679. package/lib/src/modules/providers/implementations/hetzner/generated/base.js +66 -0
  680. package/lib/src/modules/providers/implementations/hetzner/generated/common.d.ts +65 -0
  681. package/lib/src/modules/providers/implementations/hetzner/generated/common.js +152 -0
  682. package/lib/src/modules/providers/implementations/hetzner/generated/configuration.d.ts +91 -0
  683. package/lib/src/modules/providers/implementations/hetzner/generated/configuration.js +50 -0
  684. package/lib/src/modules/providers/implementations/hetzner/generated/index.d.ts +13 -0
  685. package/lib/src/modules/providers/implementations/hetzner/generated/index.js +31 -0
  686. package/lib/src/modules/providers/implementations/hetzner/hetzner-bootstrap-seeder.service.d.ts +19 -0
  687. package/lib/src/modules/providers/implementations/hetzner/hetzner-bootstrap-seeder.service.js +68 -0
  688. package/lib/src/modules/providers/implementations/hetzner/hetzner-capabilities.service.d.ts +29 -0
  689. package/lib/src/modules/providers/implementations/hetzner/hetzner-capabilities.service.js +392 -0
  690. package/lib/src/modules/providers/implementations/hetzner/hetzner-provider.module.d.ts +2 -0
  691. package/lib/src/modules/providers/implementations/hetzner/hetzner-provider.module.js +81 -0
  692. package/lib/src/modules/providers/implementations/hetzner/hetzner-volume-operations.service.d.ts +31 -0
  693. package/lib/src/modules/providers/implementations/hetzner/hetzner-volume-operations.service.js +312 -0
  694. package/lib/src/modules/providers/implementations/hetzner/object-storage/hetzner-object-storage-connection.controller.d.ts +18 -0
  695. package/lib/src/modules/providers/implementations/hetzner/object-storage/hetzner-object-storage-connection.controller.js +67 -0
  696. package/lib/src/modules/providers/implementations/hetzner/object-storage/hetzner-object-storage-connection.service.d.ts +24 -0
  697. package/lib/src/modules/providers/implementations/hetzner/object-storage/hetzner-object-storage-connection.service.js +107 -0
  698. package/lib/src/modules/providers/implementations/hetzner/object-storage/hetzner-object-storage.backend.d.ts +7 -0
  699. package/lib/src/modules/providers/implementations/hetzner/object-storage/hetzner-object-storage.backend.js +35 -0
  700. package/lib/src/modules/providers/implementations/hetzner/object-storage/hetzner-object-storage.module.d.ts +8 -0
  701. package/lib/src/modules/providers/implementations/hetzner/object-storage/hetzner-object-storage.module.js +60 -0
  702. package/lib/src/modules/providers/implementations/hetzner/object-storage/hetzner-object-storage.provisioner.d.ts +22 -0
  703. package/lib/src/modules/providers/implementations/hetzner/object-storage/hetzner-object-storage.provisioner.js +100 -0
  704. package/lib/src/modules/providers/implementations/hetzner/vm-backup/hetzner-vm-backup.service.d.ts +20 -0
  705. package/lib/src/modules/providers/implementations/hetzner/vm-backup/hetzner-vm-backup.service.js +118 -0
  706. package/lib/src/modules/providers/implementations/scaleway/generated/baremetal/api.d.ts +4227 -0
  707. package/lib/src/modules/providers/implementations/scaleway/generated/baremetal/api.js +3362 -0
  708. package/lib/src/modules/providers/implementations/scaleway/generated/baremetal/base.d.ts +66 -0
  709. package/lib/src/modules/providers/implementations/scaleway/generated/baremetal/base.js +66 -0
  710. package/lib/src/modules/providers/implementations/scaleway/generated/baremetal/common.d.ts +65 -0
  711. package/lib/src/modules/providers/implementations/scaleway/generated/baremetal/common.js +152 -0
  712. package/lib/src/modules/providers/implementations/scaleway/generated/baremetal/configuration.d.ts +91 -0
  713. package/lib/src/modules/providers/implementations/scaleway/generated/baremetal/configuration.js +50 -0
  714. package/lib/src/modules/providers/implementations/scaleway/generated/baremetal/index.d.ts +13 -0
  715. package/lib/src/modules/providers/implementations/scaleway/generated/baremetal/index.js +31 -0
  716. package/lib/src/modules/providers/implementations/scaleway/generated/domain/api.d.ts +2486 -0
  717. package/lib/src/modules/providers/implementations/scaleway/generated/domain/api.js +2424 -0
  718. package/lib/src/modules/providers/implementations/scaleway/generated/domain/base.d.ts +66 -0
  719. package/lib/src/modules/providers/implementations/scaleway/generated/domain/base.js +66 -0
  720. package/lib/src/modules/providers/implementations/scaleway/generated/domain/common.d.ts +65 -0
  721. package/lib/src/modules/providers/implementations/scaleway/generated/domain/common.js +152 -0
  722. package/lib/src/modules/providers/implementations/scaleway/generated/domain/configuration.d.ts +91 -0
  723. package/lib/src/modules/providers/implementations/scaleway/generated/domain/configuration.js +50 -0
  724. package/lib/src/modules/providers/implementations/scaleway/generated/domain/index.d.ts +13 -0
  725. package/lib/src/modules/providers/implementations/scaleway/generated/domain/index.js +31 -0
  726. package/lib/src/modules/providers/implementations/scaleway/generated/iam/api.d.ts +6425 -0
  727. package/lib/src/modules/providers/implementations/scaleway/generated/iam/api.js +6925 -0
  728. package/lib/src/modules/providers/implementations/scaleway/generated/iam/base.d.ts +66 -0
  729. package/lib/src/modules/providers/implementations/scaleway/generated/iam/base.js +66 -0
  730. package/lib/src/modules/providers/implementations/scaleway/generated/iam/common.d.ts +65 -0
  731. package/lib/src/modules/providers/implementations/scaleway/generated/iam/common.js +152 -0
  732. package/lib/src/modules/providers/implementations/scaleway/generated/iam/configuration.d.ts +91 -0
  733. package/lib/src/modules/providers/implementations/scaleway/generated/iam/configuration.js +50 -0
  734. package/lib/src/modules/providers/implementations/scaleway/generated/iam/index.d.ts +13 -0
  735. package/lib/src/modules/providers/implementations/scaleway/generated/iam/index.js +31 -0
  736. package/lib/src/modules/providers/implementations/scaleway/generated/instances/api.d.ts +11187 -0
  737. package/lib/src/modules/providers/implementations/scaleway/generated/instances/api.js +9264 -0
  738. package/lib/src/modules/providers/implementations/scaleway/generated/instances/base.d.ts +66 -0
  739. package/lib/src/modules/providers/implementations/scaleway/generated/instances/base.js +66 -0
  740. package/lib/src/modules/providers/implementations/scaleway/generated/instances/common.d.ts +65 -0
  741. package/lib/src/modules/providers/implementations/scaleway/generated/instances/common.js +152 -0
  742. package/lib/src/modules/providers/implementations/scaleway/generated/instances/configuration.d.ts +91 -0
  743. package/lib/src/modules/providers/implementations/scaleway/generated/instances/configuration.js +50 -0
  744. package/lib/src/modules/providers/implementations/scaleway/generated/instances/index.d.ts +13 -0
  745. package/lib/src/modules/providers/implementations/scaleway/generated/instances/index.js +31 -0
  746. package/lib/src/modules/providers/implementations/scaleway/generated/private-network/api.d.ts +492 -0
  747. package/lib/src/modules/providers/implementations/scaleway/generated/private-network/api.js +531 -0
  748. package/lib/src/modules/providers/implementations/scaleway/generated/private-network/base.d.ts +66 -0
  749. package/lib/src/modules/providers/implementations/scaleway/generated/private-network/base.js +66 -0
  750. package/lib/src/modules/providers/implementations/scaleway/generated/private-network/common.d.ts +65 -0
  751. package/lib/src/modules/providers/implementations/scaleway/generated/private-network/common.js +152 -0
  752. package/lib/src/modules/providers/implementations/scaleway/generated/private-network/configuration.d.ts +91 -0
  753. package/lib/src/modules/providers/implementations/scaleway/generated/private-network/configuration.js +50 -0
  754. package/lib/src/modules/providers/implementations/scaleway/generated/private-network/index.d.ts +13 -0
  755. package/lib/src/modules/providers/implementations/scaleway/generated/private-network/index.js +31 -0
  756. package/lib/src/modules/providers/implementations/scaleway/generated/vpc/api.d.ts +2305 -0
  757. package/lib/src/modules/providers/implementations/scaleway/generated/vpc/api.js +2443 -0
  758. package/lib/src/modules/providers/implementations/scaleway/generated/vpc/base.d.ts +66 -0
  759. package/lib/src/modules/providers/implementations/scaleway/generated/vpc/base.js +66 -0
  760. package/lib/src/modules/providers/implementations/scaleway/generated/vpc/common.d.ts +65 -0
  761. package/lib/src/modules/providers/implementations/scaleway/generated/vpc/common.js +152 -0
  762. package/lib/src/modules/providers/implementations/scaleway/generated/vpc/configuration.d.ts +91 -0
  763. package/lib/src/modules/providers/implementations/scaleway/generated/vpc/configuration.js +50 -0
  764. package/lib/src/modules/providers/implementations/scaleway/generated/vpc/index.d.ts +13 -0
  765. package/lib/src/modules/providers/implementations/scaleway/generated/vpc/index.js +31 -0
  766. package/lib/src/modules/providers/implementations/scaleway/object-storage/scaleway-object-storage.backend.d.ts +8 -0
  767. package/lib/src/modules/providers/implementations/scaleway/object-storage/scaleway-object-storage.backend.js +49 -0
  768. package/lib/src/modules/providers/implementations/scaleway/object-storage/scaleway-object-storage.module.d.ts +9 -0
  769. package/lib/src/modules/providers/implementations/scaleway/object-storage/scaleway-object-storage.module.js +56 -0
  770. package/lib/src/modules/providers/implementations/scaleway/object-storage/scaleway-object-storage.provisioner.d.ts +27 -0
  771. package/lib/src/modules/providers/implementations/scaleway/object-storage/scaleway-object-storage.provisioner.js +120 -0
  772. package/lib/src/modules/providers/implementations/scaleway/scaleway-baremetal.adapter.d.ts +22 -0
  773. package/lib/src/modules/providers/implementations/scaleway/scaleway-baremetal.adapter.js +140 -0
  774. package/lib/src/modules/providers/implementations/scaleway/scaleway-bootstrap-seeder.service.d.ts +12 -0
  775. package/lib/src/modules/providers/implementations/scaleway/scaleway-bootstrap-seeder.service.js +65 -0
  776. package/lib/src/modules/providers/implementations/scaleway/scaleway-capabilities.service.d.ts +23 -0
  777. package/lib/src/modules/providers/implementations/scaleway/scaleway-capabilities.service.js +319 -0
  778. package/lib/src/modules/providers/implementations/scaleway/scaleway-dns.service.d.ts +24 -0
  779. package/lib/src/modules/providers/implementations/scaleway/scaleway-dns.service.js +189 -0
  780. package/lib/src/modules/providers/implementations/scaleway/scaleway-firewall.service.d.ts +43 -0
  781. package/lib/src/modules/providers/implementations/scaleway/scaleway-firewall.service.js +455 -0
  782. package/lib/src/modules/providers/implementations/scaleway/scaleway-iam.adapter.d.ts +32 -0
  783. package/lib/src/modules/providers/implementations/scaleway/scaleway-iam.adapter.js +108 -0
  784. package/lib/src/modules/providers/implementations/scaleway/scaleway-instances.adapter.d.ts +66 -0
  785. package/lib/src/modules/providers/implementations/scaleway/scaleway-instances.adapter.js +289 -0
  786. package/lib/src/modules/providers/implementations/scaleway/scaleway-provider.module.d.ts +17 -0
  787. package/lib/src/modules/providers/implementations/scaleway/scaleway-provider.module.js +122 -0
  788. package/lib/src/modules/providers/implementations/scaleway/scaleway-provider.service.d.ts +100 -0
  789. package/lib/src/modules/providers/implementations/scaleway/scaleway-provider.service.js +1395 -0
  790. package/lib/src/modules/providers/implementations/scaleway/scaleway-volume-operations.service.d.ts +24 -0
  791. package/lib/src/modules/providers/implementations/scaleway/scaleway-volume-operations.service.js +199 -0
  792. package/lib/src/modules/providers/implementations/scaleway/scaleway-vpc.adapter.d.ts +30 -0
  793. package/lib/src/modules/providers/implementations/scaleway/scaleway-vpc.adapter.js +180 -0
  794. package/lib/src/modules/providers/index.d.ts +17 -0
  795. package/lib/src/modules/providers/index.js +39 -0
  796. package/lib/src/modules/providers/interfaces/certificate-provider.interface.d.ts +38 -0
  797. package/lib/src/modules/providers/interfaces/certificate-provider.interface.js +11 -0
  798. package/lib/src/modules/providers/interfaces/cloud-provider.interface.d.ts +215 -0
  799. package/lib/src/modules/providers/interfaces/cloud-provider.interface.js +2 -0
  800. package/lib/src/modules/providers/interfaces/credential-provider.interface.d.ts +23 -0
  801. package/lib/src/modules/providers/interfaces/credential-provider.interface.js +2 -0
  802. package/lib/src/modules/providers/interfaces/dns-provider.interface.d.ts +55 -0
  803. package/lib/src/modules/providers/interfaces/dns-provider.interface.js +12 -0
  804. package/lib/src/modules/providers/interfaces/firewall-provider.interface.d.ts +47 -0
  805. package/lib/src/modules/providers/interfaces/firewall-provider.interface.js +2 -0
  806. package/lib/src/modules/providers/interfaces/network-provider.interface.d.ts +124 -0
  807. package/lib/src/modules/providers/interfaces/network-provider.interface.js +2 -0
  808. package/lib/src/modules/providers/interfaces/provider-capabilities.interface.d.ts +87 -0
  809. package/lib/src/modules/providers/interfaces/provider-capabilities.interface.js +2 -0
  810. package/lib/src/modules/providers/interfaces/vm-backup-provider.interface.d.ts +39 -0
  811. package/lib/src/modules/providers/interfaces/vm-backup-provider.interface.js +8 -0
  812. package/lib/src/modules/providers/interfaces/volume-export.interface.d.ts +162 -0
  813. package/lib/src/modules/providers/interfaces/volume-export.interface.js +21 -0
  814. package/lib/src/modules/providers/interfaces/volume-operations.interface.d.ts +149 -0
  815. package/lib/src/modules/providers/interfaces/volume-operations.interface.js +17 -0
  816. package/lib/src/modules/providers/mappers/node-size.mapper.d.ts +20 -0
  817. package/lib/src/modules/providers/mappers/node-size.mapper.js +75 -0
  818. package/lib/src/modules/providers/mappers/pricing.mapper.d.ts +14 -0
  819. package/lib/src/modules/providers/mappers/pricing.mapper.js +60 -0
  820. package/lib/src/modules/providers/provider-core.module.d.ts +13 -0
  821. package/lib/src/modules/providers/provider-core.module.js +59 -0
  822. package/lib/src/modules/providers/providers.module.d.ts +2 -0
  823. package/lib/src/modules/providers/providers.module.js +188 -0
  824. package/lib/src/modules/providers/services/acme-certificate.service.d.ts +38 -0
  825. package/lib/src/modules/providers/services/acme-certificate.service.js +144 -0
  826. package/lib/src/modules/providers/services/contabo-firewall.service.d.ts +11 -0
  827. package/lib/src/modules/providers/services/contabo-firewall.service.js +40 -0
  828. package/lib/src/modules/providers/services/contabo-provider.service.d.ts +48 -0
  829. package/lib/src/modules/providers/services/contabo-provider.service.js +194 -0
  830. package/lib/src/modules/providers/services/credential-provider.service.d.ts +17 -0
  831. package/lib/src/modules/providers/services/credential-provider.service.js +78 -0
  832. package/lib/src/modules/providers/services/dns-provider.factory.d.ts +5 -0
  833. package/lib/src/modules/providers/services/dns-provider.factory.js +9 -0
  834. package/lib/src/modules/providers/services/firewall-provider.factory.d.ts +5 -0
  835. package/lib/src/modules/providers/services/firewall-provider.factory.js +9 -0
  836. package/lib/src/modules/providers/services/hetzner-dns.service.d.ts +71 -0
  837. package/lib/src/modules/providers/services/hetzner-dns.service.js +565 -0
  838. package/lib/src/modules/providers/services/hetzner-firewall.service.d.ts +48 -0
  839. package/lib/src/modules/providers/services/hetzner-firewall.service.js +472 -0
  840. package/lib/src/modules/providers/services/hetzner-network.service.d.ts +84 -0
  841. package/lib/src/modules/providers/services/hetzner-network.service.js +408 -0
  842. package/lib/src/modules/providers/services/hetzner-provider.service.d.ts +213 -0
  843. package/lib/src/modules/providers/services/hetzner-provider.service.js +1159 -0
  844. package/lib/src/modules/providers/services/provider.factory.d.ts +5 -0
  845. package/lib/src/modules/providers/services/provider.factory.js +9 -0
  846. package/lib/src/modules/providers/services/volume-export.service.d.ts +50 -0
  847. package/lib/src/modules/providers/services/volume-export.service.js +650 -0
  848. package/lib/src/modules/shared/encryption/encryption.module.d.ts +2 -0
  849. package/lib/src/modules/shared/encryption/encryption.module.js +22 -0
  850. package/lib/src/modules/shared/encryption/services/encryption.service.d.ts +47 -0
  851. package/lib/src/modules/shared/encryption/services/encryption.service.js +199 -0
  852. package/lib/src/modules/storage/enums/storage-backend-provider.enum.d.ts +19 -0
  853. package/lib/src/modules/storage/enums/storage-backend-provider.enum.js +23 -0
  854. package/lib/src/modules/storage/factories/object-storage-provisioner.factory.d.ts +11 -0
  855. package/lib/src/modules/storage/factories/object-storage-provisioner.factory.js +48 -0
  856. package/lib/src/modules/storage/factories/storage-backend.factory.d.ts +12 -0
  857. package/lib/src/modules/storage/factories/storage-backend.factory.js +51 -0
  858. package/lib/src/modules/storage/implementations/generic-s3.backend.d.ts +23 -0
  859. package/lib/src/modules/storage/implementations/generic-s3.backend.js +172 -0
  860. package/lib/src/modules/storage/interfaces/backup-storage-backend.interface.d.ts +48 -0
  861. package/lib/src/modules/storage/interfaces/backup-storage-backend.interface.js +2 -0
  862. package/lib/src/modules/storage/interfaces/object-storage-provisioner.interface.d.ts +55 -0
  863. package/lib/src/modules/storage/interfaces/object-storage-provisioner.interface.js +9 -0
  864. package/lib/src/modules/storage/storage.module.d.ts +2 -0
  865. package/lib/src/modules/storage/storage.module.js +21 -0
  866. package/lib/src/modules/storage/tokens/object-storage-provisioner-registry.token.d.ts +12 -0
  867. package/lib/src/modules/storage/tokens/object-storage-provisioner-registry.token.js +8 -0
  868. package/lib/src/modules/storage/tokens/storage-backend-registry.token.d.ts +12 -0
  869. package/lib/src/modules/storage/tokens/storage-backend-registry.token.js +8 -0
  870. package/lib/src/modules/terminal/services/native-ssh-connection.service.d.ts +48 -0
  871. package/lib/src/modules/terminal/services/native-ssh-connection.service.js +282 -0
  872. package/oclif.manifest.json +5243 -0
  873. package/package.json +125 -0
@@ -0,0 +1,2305 @@
1
+ /**
2
+ * VPC API
3
+ * VPC allows you to build your own **V**irtual **P**rivate **C**loud on top of Scaleway’s shared public cloud. VPC currently comprises the regional Private Networks product. Layer 2 regional Private Networks sit inside the layer 3 VPC. Private Networks allows Scaleway resources (Instances, Load Balancers, Managed Databases etc.) within a single region to be interconnected through a dedicated, private, and flexible [L2 network](https://en.wikipedia.org/wiki/Data_link_layer). You can add as many resources to your networks as you want, and add up to eight (8) different networks per resource. This allows you to run services isolated from the public internet and expose them to the rest of your infrastructure without worrying about public network filtering. (switchcolumn) <Message type=\"note\"> VPC v2 is now in **General Availability**. </Message> <Message type=\"tip\"> Check out our [IPAM API](https://www.scaleway.com/en/developers/api/ipam/) to facilitate the management of IP addresses across your different Scaleway resources. </Message> (switchcolumn) ## Concepts Refer to our [dedicated concepts page](https://www.scaleway.com/en/docs/vpc/concepts/) to find definitions of all concepts and terminology related to VPC. (switchcolumn) (switchcolumn) ## Quickstart 1. **Configure your environment variables** <Message type=\"note\"> This is an optional step that seeks to simplify your usage of the API. See the [Technical information](#technical-information) section below for help choosing an Availability Zone and Region. You can find your Project ID in the [Scaleway console](https://console.scaleway.com/project/settings). </Message> ```bash export SCW_SECRET_KEY=\"<API secret key>\" export SCW_DEFAULT_REGION=\"<Scaleway region>\" export SCW_DEFAULT_ZONE=\"<Scaleway Availability Zone>\" export SCW_PROJECT_ID=\"<Scaleway Project ID>\" ``` 2. **Create a Private Network**. Run the following command to create a Private Network. You can customize the details in the payload (name, tags etc.) to your needs. ```bash curl -X POST \\ -H \"X-Auth-Token: $SCW_SECRET_KEY\" \\ -H \"Content-Type: application/json\" \\ \"https://api.scaleway.com/vpc/v2/regions/$SCW_DEFAULT_REGION/private-networks\" \\ -d \'{ \"name\": \"My new Private Network\", \"project_id\": \"\'\"$SCW_PROJECT_ID\"\'\", \"tags\": [\"test\", \"dev\"] }\' ``` <Message type=\"tip\"> Keep the `id` field of the response: it is your Private Network ID, and is useable across all Scaleway products that support Private Networks. It may be useful to you to export the Private Network ID as a new environment variable `export PN_ID=\"<Your Private Network ID>` </Message> <Message type=\"tip\"> If you create a Private Network without specifying a VPC to create it in, the behavior depends on when you created your Scaleway Project. [Find out more](https://www.scaleway.com/en/docs/vpc/concepts/#default-vpc) </Message> 3. **Attach a resource to your Private Network**. Each Scaleway product has its own API to interact with Private Networks. To attach an Instance, Managed Database, Elastic Metal server, Load Balancer or Public Gateway to your Private Network, see instructions in the documentation of the relevant product API. Here, we take the example of an Instance. Use the following call to attach an Instance to your Private Network. Ensure you replace `<Instance ID>` with the ID of your Instance, and `<Private Network ID>` with the ID of your Private Network. Note that the Instance must be in an Availability Zone that is part of the region of your Private Network. ```bash curl -X POST \\ -H \"X-Auth-Token: $SCW_SECRET_KEY\" \\ -H \"Content-Type: application/json\" \\ \"https://api.scaleway.com/instance/v1/zones/$SCW_DEFAULT_ZONE/servers/<Instance ID>/private_nics\" \\ -d \'{\"private_network_id\": \"<Private Network ID>\"}\' ``` <Message type=\"tip\"> Keep the `id` field of the response: it is your Private NIC ID. It may be useful to you to export the Private NIC ID as a new environment variable `export NIC_ID=\"<Your Private NIC ID>`. </Message> <Message type=\"tip\"> Keep the `mac_address` field of the response, as it will allow you to identify the Private NIC inside your Instance. If successful, a new network interface will appear inside your Instance, ready to be configured to transmit traffic to other Instances of the same network, with the MAC address returned by the API call. </Message> 4. **Confirm that the network interface has been plugged in**. To do this, connect to your Instance and run `dmseg`. You should see an output similar to the following: ```bash [1579004.592869] pci 0000:00:05.0: [1af4:1000] type 00 class 0x020000 [1579004.594835] pci 0000:00:05.0: reg 0x10: [io 0x0000-0x003f] [1579004.596715] pci 0000:00:05.0: reg 0x14: [mem 0x00000000-0x00000fff] [1579004.598732] pci 0000:00:05.0: reg 0x20: [mem 0x00000000-0x00003fff 64bit pref] [1579004.600765] pci 0000:00:05.0: reg 0x30: [mem 0x00000000-0x0007ffff pref] [1579004.603819] pci 0000:00:05.0: BAR 6: assigned [mem 0xc0100000-0xc017ffff pref] [1579004.604582] pci 0000:00:05.0: BAR 4: assigned [mem 0x100000c000-0x100000ffff 64bit pref] [1579004.605555] pci 0000:00:05.0: BAR 1: assigned [mem 0xc0003000-0xc0003fff] [1579004.606383] pci 0000:00:05.0: BAR 0: assigned [io 0x1000-0x103f] [1579004.607212] virtio-pci 0000:00:05.0: enabling device (0000 -> 0003) [1579004.625149] PCI Interrupt Link [LNKA] enabled at IRQ 11 [1579004.644930] virtio_net virtio3 ens5: renamed from eth0 ``` 5. **Confirm the presence of the network interface, and confirm its name if several networks are plugged into your Instance**. To do this, run `ip -br link`. You should see an output similar to the following: ```bash lo UNKNOWN 00:00:00:00:00:00 <LOOPBACK,UP,LOWER_UP> ens2 UP de:1c:94:44:d0:04 <BROADCAST,MULTICAST,UP,LOWER_UP> ens5 DOWN 02:00:00:00:00:31 <BROADCAST,MULTICAST> ens6 DOWN 02:00:00:00:01:5b <BROADCAST,MULTICAST> ens7 DOWN 02:00:00:00:01:5e <BROADCAST,MULTICAST> ``` 6. **Configure the Instance\'s IP address**. DHCP is activated by default on new Private Networks, and automatically assigns IP addresses to resources on the network. If you have an older Private Network, [check whether DHCP is activated](https://www.scaleway.com/en/docs/vpc/reference-content/vpc-migration/) and either activate DHCP for automatic IP configuration, or [manually configure](https://www.scaleway.com/en/docs/instances/reference-content/manual-configuration-private-ips/) the network interface on your Instance if necessary. 7. **Delete your Private NIC**, which equates to unplugging your Instance from the Private Network. Use the following call. Ensure you replace `<Instance ID>` with the ID of your Instance, `<Private Network ID>` with the ID of your Private Network, and `<NIC ID>` with the ID of your Private NIC. ```bash curl -X DELETE \\ -H \"X-Auth-Token: $SCW_SECRET_KEY\" \\ -H \"Content-Type: application/json\" \\ \"https://api.scaleway.com/instance/v1/zones/$SCW_DEFAULT_ZONE/servers/<Instance ID>/private_nics/<NIC ID>\" ``` The network interface disappears from your Instance. 8. **Delete your Private Network**. Use the following call. Ensure you replace `<Private Network ID>` with the ID of your Private Network. ```bash curl -X DELETE \\ -H \"X-Auth-Token: $SCW_SECRET_KEY\" \\ -H \"Content-Type: application/json\" \\ \"https://api.scaleway.com/vpc/v2/regions/$SCW_DEFAULT_REGION/private-networks/<Private Network ID>\" ``` <Message type=\"note\"> Private Networks must be empty to be deleted. Ensure you have detached all resources and deleted all reserved IPs from your network prior to deletion. </Message> (switchcolumn) <Message type=\"requirement\"> - You have a [Scaleway account](https://console.scaleway.com/) - You have created an [API key](https://www.scaleway.com/en/docs/iam/how-to/create-api-keys/) and that the API key has sufficient [IAM permissions](https://www.scaleway.com/en/docs/iam/reference-content/permission-sets/) to perform the actions described on this page - You have [installed `curl`](https://curl.se/download.html) </Message> (switchcolumn) ## Technical information VPC and Private Networks are available in the Paris, Amsterdam and Warsaw regions, which are represented by the following path parameters: * `fr-par` * `nl-ams` * `pl-waw` ## Technical limitations The following limitations apply to Scaleway VPC: - Up to 250 resources can be attached to a Private Network. - A resource can be attached to up to 8 Private Networks. - The following resource types can be attached to a Private Network: - Instances - Elastic Metal servers - Apple silicon - Managed Inference - Load Balancers - Public Gateways - Managed Databases for PostgreSQL and MySQL - Managed Databases for Redis (only at the time of resource creation) - Kubernetes Kapsule (only at the time of resource creation) - The MAC address of an Instance in a Private Network cannot be changed. - Broadcast and multicast traffic, while supported, are heavily rate-limited. ## Going further For more help using Scaleway VPC and Private Networks, check out the following resources: - Our [main documentation](https://www.scaleway.com/en/docs/vpc/) - The #virtual-private-cloud channel on our [Slack Community](https://www.scaleway.com/en/docs/tutorials/scaleway-slack-community/) - Our [support ticketing system](https://www.scaleway.com/en/docs/account/how-to/open-a-support-ticket/).
4
+ *
5
+ * The version of the OpenAPI document: v2
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Configuration } from './configuration';
13
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
+ import type { RequestArgs } from './base';
15
+ import { BaseAPI } from './base';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface AddSubnetsRequest
20
+ */
21
+ export interface AddSubnetsRequest {
22
+ /**
23
+ * Private Network subnets CIDR. (IP network)
24
+ * @type {Array<string>}
25
+ * @memberof AddSubnetsRequest
26
+ */
27
+ subnets?: Array<string>;
28
+ }
29
+ /**
30
+ *
31
+ * @export
32
+ * @interface CreatePrivateNetworkRequest
33
+ */
34
+ export interface CreatePrivateNetworkRequest {
35
+ /**
36
+ * Name for the Private Network.
37
+ * @type {string}
38
+ * @memberof CreatePrivateNetworkRequest
39
+ */
40
+ name: string;
41
+ /**
42
+ * Scaleway Project in which to create the Private Network. (UUID format)
43
+ * @type {string}
44
+ * @memberof CreatePrivateNetworkRequest
45
+ */
46
+ project_id: string;
47
+ /**
48
+ * Tags for the Private Network.
49
+ * @type {Array<string>}
50
+ * @memberof CreatePrivateNetworkRequest
51
+ */
52
+ tags?: Array<string>;
53
+ /**
54
+ * Private Network subnets CIDR. (IP network)
55
+ * @type {Array<string>}
56
+ * @memberof CreatePrivateNetworkRequest
57
+ */
58
+ subnets?: Array<string>;
59
+ /**
60
+ * VPC in which to create the Private Network. (UUID format)
61
+ * @type {string}
62
+ * @memberof CreatePrivateNetworkRequest
63
+ */
64
+ vpc_id?: string;
65
+ /**
66
+ * Defines whether default v4 and v6 routes are propagated for this Private Network.
67
+ * @type {boolean}
68
+ * @memberof CreatePrivateNetworkRequest
69
+ */
70
+ default_route_propagation_enabled?: boolean;
71
+ }
72
+ /**
73
+ *
74
+ * @export
75
+ * @interface CreateRouteRequest
76
+ */
77
+ export interface CreateRouteRequest {
78
+ /**
79
+ * Route description.
80
+ * @type {string}
81
+ * @memberof CreateRouteRequest
82
+ */
83
+ description?: string;
84
+ /**
85
+ * Tags of the Route.
86
+ * @type {Array<string>}
87
+ * @memberof CreateRouteRequest
88
+ */
89
+ tags?: Array<string>;
90
+ /**
91
+ * VPC the Route belongs to. (UUID format)
92
+ * @type {string}
93
+ * @memberof CreateRouteRequest
94
+ */
95
+ vpc_id?: string;
96
+ /**
97
+ * Destination of the Route. (IP network)
98
+ * @type {string}
99
+ * @memberof CreateRouteRequest
100
+ */
101
+ destination?: string;
102
+ /**
103
+ * ID of the nexthop resource. (UUID format)
104
+ * @type {string}
105
+ * @memberof CreateRouteRequest
106
+ */
107
+ nexthop_resource_id?: string;
108
+ /**
109
+ * ID of the nexthop private network. (UUID format)
110
+ * @type {string}
111
+ * @memberof CreateRouteRequest
112
+ */
113
+ nexthop_private_network_id?: string;
114
+ /**
115
+ * ID of the nexthop VPC Connector. (UUID format)
116
+ * @type {string}
117
+ * @memberof CreateRouteRequest
118
+ */
119
+ nexthop_vpc_connector_id?: string;
120
+ }
121
+ /**
122
+ *
123
+ * @export
124
+ * @interface CreateVPCRequest
125
+ */
126
+ export interface CreateVPCRequest {
127
+ /**
128
+ * Name for the VPC.
129
+ * @type {string}
130
+ * @memberof CreateVPCRequest
131
+ */
132
+ name: string;
133
+ /**
134
+ * Scaleway Project in which to create the VPC. (UUID format)
135
+ * @type {string}
136
+ * @memberof CreateVPCRequest
137
+ */
138
+ project_id: string;
139
+ /**
140
+ * Tags for the VPC.
141
+ * @type {Array<string>}
142
+ * @memberof CreateVPCRequest
143
+ */
144
+ tags?: Array<string>;
145
+ /**
146
+ * Enable routing between Private Networks in the VPC.
147
+ * @type {boolean}
148
+ * @memberof CreateVPCRequest
149
+ */
150
+ enable_routing?: boolean;
151
+ }
152
+ /**
153
+ *
154
+ * @export
155
+ * @interface ScalewayVpcV2AclRule
156
+ */
157
+ export interface ScalewayVpcV2AclRule {
158
+ /**
159
+ * Protocol to which this rule applies.
160
+ * @type {string}
161
+ * @memberof ScalewayVpcV2AclRule
162
+ */
163
+ protocol: ScalewayVpcV2AclRuleProtocolEnum;
164
+ /**
165
+ * Source IP range to which this rule applies (CIDR notation with subnet mask). (IP network)
166
+ * @type {string}
167
+ * @memberof ScalewayVpcV2AclRule
168
+ */
169
+ source: string;
170
+ /**
171
+ * Starting port of the source port range to which this rule applies (inclusive).
172
+ * @type {number}
173
+ * @memberof ScalewayVpcV2AclRule
174
+ */
175
+ src_port_low: number;
176
+ /**
177
+ * Ending port of the source port range to which this rule applies (inclusive).
178
+ * @type {number}
179
+ * @memberof ScalewayVpcV2AclRule
180
+ */
181
+ src_port_high: number;
182
+ /**
183
+ * Destination IP range to which this rule applies (CIDR notation with subnet mask). (IP network)
184
+ * @type {string}
185
+ * @memberof ScalewayVpcV2AclRule
186
+ */
187
+ destination: string;
188
+ /**
189
+ * Starting port of the destination port range to which this rule applies (inclusive).
190
+ * @type {number}
191
+ * @memberof ScalewayVpcV2AclRule
192
+ */
193
+ dst_port_low: number;
194
+ /**
195
+ * Ending port of the destination port range to which this rule applies (inclusive).
196
+ * @type {number}
197
+ * @memberof ScalewayVpcV2AclRule
198
+ */
199
+ dst_port_high: number;
200
+ /**
201
+ * Policy to apply to the packet.
202
+ * @type {string}
203
+ * @memberof ScalewayVpcV2AclRule
204
+ */
205
+ action: ScalewayVpcV2AclRuleActionEnum;
206
+ /**
207
+ * Rule description.
208
+ * @type {string}
209
+ * @memberof ScalewayVpcV2AclRule
210
+ */
211
+ description: string;
212
+ }
213
+ export declare const ScalewayVpcV2AclRuleProtocolEnum: {
214
+ readonly Any: "ANY";
215
+ readonly Tcp: "TCP";
216
+ readonly Udp: "UDP";
217
+ readonly Icmp: "ICMP";
218
+ };
219
+ export type ScalewayVpcV2AclRuleProtocolEnum = (typeof ScalewayVpcV2AclRuleProtocolEnum)[keyof typeof ScalewayVpcV2AclRuleProtocolEnum];
220
+ export declare const ScalewayVpcV2AclRuleActionEnum: {
221
+ readonly UnknownAction: "unknown_action";
222
+ readonly Accept: "accept";
223
+ readonly Drop: "drop";
224
+ };
225
+ export type ScalewayVpcV2AclRuleActionEnum = (typeof ScalewayVpcV2AclRuleActionEnum)[keyof typeof ScalewayVpcV2AclRuleActionEnum];
226
+ /**
227
+ *
228
+ * @export
229
+ * @enum {string}
230
+ */
231
+ export declare const ScalewayVpcV2Action: {
232
+ readonly UnknownAction: "unknown_action";
233
+ readonly Accept: "accept";
234
+ readonly Drop: "drop";
235
+ };
236
+ export type ScalewayVpcV2Action = (typeof ScalewayVpcV2Action)[keyof typeof ScalewayVpcV2Action];
237
+ /**
238
+ *
239
+ * @export
240
+ * @interface ScalewayVpcV2AddSubnetsResponse
241
+ */
242
+ export interface ScalewayVpcV2AddSubnetsResponse {
243
+ /**
244
+ * (IP network)
245
+ * @type {Array<string>}
246
+ * @memberof ScalewayVpcV2AddSubnetsResponse
247
+ */
248
+ subnets?: Array<string>;
249
+ }
250
+ /**
251
+ *
252
+ * @export
253
+ * @interface ScalewayVpcV2DeleteSubnetsResponse
254
+ */
255
+ export interface ScalewayVpcV2DeleteSubnetsResponse {
256
+ /**
257
+ * (IP network)
258
+ * @type {Array<string>}
259
+ * @memberof ScalewayVpcV2DeleteSubnetsResponse
260
+ */
261
+ subnets?: Array<string>;
262
+ }
263
+ /**
264
+ *
265
+ * @export
266
+ * @interface ScalewayVpcV2GetAclResponse
267
+ */
268
+ export interface ScalewayVpcV2GetAclResponse {
269
+ /**
270
+ *
271
+ * @type {Array<ScalewayVpcV2AclRule>}
272
+ * @memberof ScalewayVpcV2GetAclResponse
273
+ */
274
+ rules?: Array<ScalewayVpcV2AclRule>;
275
+ /**
276
+ *
277
+ * @type {ScalewayVpcV2Action}
278
+ * @memberof ScalewayVpcV2GetAclResponse
279
+ */
280
+ default_policy?: ScalewayVpcV2Action;
281
+ }
282
+ /**
283
+ *
284
+ * @export
285
+ * @interface ScalewayVpcV2ListPrivateNetworksResponse
286
+ */
287
+ export interface ScalewayVpcV2ListPrivateNetworksResponse {
288
+ /**
289
+ *
290
+ * @type {Array<ScalewayVpcV2PrivateNetwork>}
291
+ * @memberof ScalewayVpcV2ListPrivateNetworksResponse
292
+ */
293
+ private_networks?: Array<ScalewayVpcV2PrivateNetwork>;
294
+ /**
295
+ *
296
+ * @type {number}
297
+ * @memberof ScalewayVpcV2ListPrivateNetworksResponse
298
+ */
299
+ total_count?: number;
300
+ }
301
+ /**
302
+ *
303
+ * @export
304
+ * @interface ScalewayVpcV2ListSubnetsResponse
305
+ */
306
+ export interface ScalewayVpcV2ListSubnetsResponse {
307
+ /**
308
+ *
309
+ * @type {Array<ScalewayVpcV2Subnet>}
310
+ * @memberof ScalewayVpcV2ListSubnetsResponse
311
+ */
312
+ subnets?: Array<ScalewayVpcV2Subnet>;
313
+ /**
314
+ *
315
+ * @type {number}
316
+ * @memberof ScalewayVpcV2ListSubnetsResponse
317
+ */
318
+ total_count?: number;
319
+ }
320
+ /**
321
+ *
322
+ * @export
323
+ * @interface ScalewayVpcV2ListVPCsResponse
324
+ */
325
+ export interface ScalewayVpcV2ListVPCsResponse {
326
+ /**
327
+ *
328
+ * @type {Array<ScalewayVpcV2VPC>}
329
+ * @memberof ScalewayVpcV2ListVPCsResponse
330
+ */
331
+ vpcs?: Array<ScalewayVpcV2VPC>;
332
+ /**
333
+ *
334
+ * @type {number}
335
+ * @memberof ScalewayVpcV2ListVPCsResponse
336
+ */
337
+ total_count?: number;
338
+ }
339
+ /**
340
+ *
341
+ * @export
342
+ * @interface ScalewayVpcV2PrivateNetwork
343
+ */
344
+ export interface ScalewayVpcV2PrivateNetwork {
345
+ /**
346
+ * Private Network ID. (UUID format)
347
+ * @type {string}
348
+ * @memberof ScalewayVpcV2PrivateNetwork
349
+ */
350
+ id?: string;
351
+ /**
352
+ * Private Network name.
353
+ * @type {string}
354
+ * @memberof ScalewayVpcV2PrivateNetwork
355
+ */
356
+ name?: string;
357
+ /**
358
+ * Scaleway Organization the Private Network belongs to. (UUID format)
359
+ * @type {string}
360
+ * @memberof ScalewayVpcV2PrivateNetwork
361
+ */
362
+ organization_id?: string;
363
+ /**
364
+ * Scaleway Project the Private Network belongs to. (UUID format)
365
+ * @type {string}
366
+ * @memberof ScalewayVpcV2PrivateNetwork
367
+ */
368
+ project_id?: string;
369
+ /**
370
+ * Region in which the Private Network is available.
371
+ * @type {string}
372
+ * @memberof ScalewayVpcV2PrivateNetwork
373
+ */
374
+ region?: string;
375
+ /**
376
+ * Tags of the Private Network.
377
+ * @type {Array<string>}
378
+ * @memberof ScalewayVpcV2PrivateNetwork
379
+ */
380
+ tags?: Array<string>;
381
+ /**
382
+ * Date the Private Network was created. (RFC 3339 format)
383
+ * @type {string}
384
+ * @memberof ScalewayVpcV2PrivateNetwork
385
+ */
386
+ created_at?: string;
387
+ /**
388
+ * Date the Private Network was last modified. (RFC 3339 format)
389
+ * @type {string}
390
+ * @memberof ScalewayVpcV2PrivateNetwork
391
+ */
392
+ updated_at?: string;
393
+ /**
394
+ * Private Network subnets.
395
+ * @type {Array<ScalewayVpcV2Subnet>}
396
+ * @memberof ScalewayVpcV2PrivateNetwork
397
+ */
398
+ subnets?: Array<ScalewayVpcV2Subnet>;
399
+ /**
400
+ * VPC the Private Network belongs to. (UUID format)
401
+ * @type {string}
402
+ * @memberof ScalewayVpcV2PrivateNetwork
403
+ */
404
+ vpc_id?: string;
405
+ /**
406
+ * Defines whether managed DHCP is enabled for this Private Network.
407
+ * @type {boolean}
408
+ * @memberof ScalewayVpcV2PrivateNetwork
409
+ */
410
+ dhcp_enabled?: boolean;
411
+ /**
412
+ * Defines whether default v4 and v6 routes are propagated for this Private Network.
413
+ * @type {boolean}
414
+ * @memberof ScalewayVpcV2PrivateNetwork
415
+ */
416
+ default_route_propagation_enabled?: boolean;
417
+ }
418
+ /**
419
+ *
420
+ * @export
421
+ * @interface ScalewayVpcV2Route
422
+ */
423
+ export interface ScalewayVpcV2Route {
424
+ /**
425
+ * Route ID. (UUID format)
426
+ * @type {string}
427
+ * @memberof ScalewayVpcV2Route
428
+ */
429
+ id?: string;
430
+ /**
431
+ * Route description.
432
+ * @type {string}
433
+ * @memberof ScalewayVpcV2Route
434
+ */
435
+ description?: string;
436
+ /**
437
+ * Tags of the Route.
438
+ * @type {Array<string>}
439
+ * @memberof ScalewayVpcV2Route
440
+ */
441
+ tags?: Array<string>;
442
+ /**
443
+ * VPC the Route belongs to. (UUID format)
444
+ * @type {string}
445
+ * @memberof ScalewayVpcV2Route
446
+ */
447
+ vpc_id?: string;
448
+ /**
449
+ * Destination of the Route. (IP network)
450
+ * @type {string}
451
+ * @memberof ScalewayVpcV2Route
452
+ */
453
+ destination?: string;
454
+ /**
455
+ * ID of the nexthop resource. (UUID format)
456
+ * @type {string}
457
+ * @memberof ScalewayVpcV2Route
458
+ */
459
+ nexthop_resource_id?: string;
460
+ /**
461
+ * ID of the nexthop private network. (UUID format)
462
+ * @type {string}
463
+ * @memberof ScalewayVpcV2Route
464
+ */
465
+ nexthop_private_network_id?: string;
466
+ /**
467
+ * ID of the nexthop VPC connector. (UUID format)
468
+ * @type {string}
469
+ * @memberof ScalewayVpcV2Route
470
+ */
471
+ nexthop_vpc_connector_id?: string;
472
+ /**
473
+ * Date the Route was created. (RFC 3339 format)
474
+ * @type {string}
475
+ * @memberof ScalewayVpcV2Route
476
+ */
477
+ created_at?: string;
478
+ /**
479
+ * Date the Route was last modified. (RFC 3339 format)
480
+ * @type {string}
481
+ * @memberof ScalewayVpcV2Route
482
+ */
483
+ updated_at?: string;
484
+ /**
485
+ * Defines whether the route can be modified or deleted by the user.
486
+ * @type {boolean}
487
+ * @memberof ScalewayVpcV2Route
488
+ */
489
+ is_read_only?: boolean;
490
+ /**
491
+ * Type of the Route.
492
+ * @type {string}
493
+ * @memberof ScalewayVpcV2Route
494
+ */
495
+ type?: ScalewayVpcV2RouteTypeEnum;
496
+ /**
497
+ * Region of the Route.
498
+ * @type {string}
499
+ * @memberof ScalewayVpcV2Route
500
+ */
501
+ region?: string;
502
+ }
503
+ export declare const ScalewayVpcV2RouteTypeEnum: {
504
+ readonly UnknownRouteType: "unknown_route_type";
505
+ readonly Subnet: "subnet";
506
+ readonly Default: "default";
507
+ readonly Custom: "custom";
508
+ readonly Interlink: "interlink";
509
+ readonly S2sVpn: "s2s_vpn";
510
+ };
511
+ export type ScalewayVpcV2RouteTypeEnum = (typeof ScalewayVpcV2RouteTypeEnum)[keyof typeof ScalewayVpcV2RouteTypeEnum];
512
+ /**
513
+ *
514
+ * @export
515
+ * @interface ScalewayVpcV2SetAclResponse
516
+ */
517
+ export interface ScalewayVpcV2SetAclResponse {
518
+ /**
519
+ *
520
+ * @type {Array<ScalewayVpcV2AclRule>}
521
+ * @memberof ScalewayVpcV2SetAclResponse
522
+ */
523
+ rules?: Array<ScalewayVpcV2AclRule>;
524
+ /**
525
+ *
526
+ * @type {ScalewayVpcV2Action}
527
+ * @memberof ScalewayVpcV2SetAclResponse
528
+ */
529
+ default_policy?: ScalewayVpcV2Action;
530
+ }
531
+ /**
532
+ *
533
+ * @export
534
+ * @interface ScalewayVpcV2Subnet
535
+ */
536
+ export interface ScalewayVpcV2Subnet {
537
+ /**
538
+ * ID of the subnet. (UUID format)
539
+ * @type {string}
540
+ * @memberof ScalewayVpcV2Subnet
541
+ */
542
+ id?: string;
543
+ /**
544
+ * Subnet creation date. (RFC 3339 format)
545
+ * @type {string}
546
+ * @memberof ScalewayVpcV2Subnet
547
+ */
548
+ created_at?: string;
549
+ /**
550
+ * Subnet last modification date. (RFC 3339 format)
551
+ * @type {string}
552
+ * @memberof ScalewayVpcV2Subnet
553
+ */
554
+ updated_at?: string;
555
+ /**
556
+ * Subnet CIDR. (IP network)
557
+ * @type {string}
558
+ * @memberof ScalewayVpcV2Subnet
559
+ */
560
+ subnet?: string;
561
+ /**
562
+ * Scaleway Project the subnet belongs to. (UUID format)
563
+ * @type {string}
564
+ * @memberof ScalewayVpcV2Subnet
565
+ */
566
+ project_id?: string;
567
+ /**
568
+ * Private Network the subnet belongs to. (UUID format)
569
+ * @type {string}
570
+ * @memberof ScalewayVpcV2Subnet
571
+ */
572
+ private_network_id?: string;
573
+ /**
574
+ * VPC the subnet belongs to. (UUID format)
575
+ * @type {string}
576
+ * @memberof ScalewayVpcV2Subnet
577
+ */
578
+ vpc_id?: string;
579
+ }
580
+ /**
581
+ *
582
+ * @export
583
+ * @interface ScalewayVpcV2VPC
584
+ */
585
+ export interface ScalewayVpcV2VPC {
586
+ /**
587
+ * VPC ID. (UUID format)
588
+ * @type {string}
589
+ * @memberof ScalewayVpcV2VPC
590
+ */
591
+ id?: string;
592
+ /**
593
+ * VPC name.
594
+ * @type {string}
595
+ * @memberof ScalewayVpcV2VPC
596
+ */
597
+ name?: string;
598
+ /**
599
+ * Scaleway Organization the VPC belongs to. (UUID format)
600
+ * @type {string}
601
+ * @memberof ScalewayVpcV2VPC
602
+ */
603
+ organization_id?: string;
604
+ /**
605
+ * Scaleway Project the VPC belongs to. (UUID format)
606
+ * @type {string}
607
+ * @memberof ScalewayVpcV2VPC
608
+ */
609
+ project_id?: string;
610
+ /**
611
+ * Region of the VPC.
612
+ * @type {string}
613
+ * @memberof ScalewayVpcV2VPC
614
+ */
615
+ region?: string;
616
+ /**
617
+ * Tags for the VPC.
618
+ * @type {Array<string>}
619
+ * @memberof ScalewayVpcV2VPC
620
+ */
621
+ tags?: Array<string>;
622
+ /**
623
+ * Defines whether the VPC is the default one for its Project.
624
+ * @type {boolean}
625
+ * @memberof ScalewayVpcV2VPC
626
+ */
627
+ is_default?: boolean;
628
+ /**
629
+ * Date the VPC was created. (RFC 3339 format)
630
+ * @type {string}
631
+ * @memberof ScalewayVpcV2VPC
632
+ */
633
+ created_at?: string;
634
+ /**
635
+ * Date the VPC was last modified. (RFC 3339 format)
636
+ * @type {string}
637
+ * @memberof ScalewayVpcV2VPC
638
+ */
639
+ updated_at?: string;
640
+ /**
641
+ * Number of Private Networks within this VPC.
642
+ * @type {number}
643
+ * @memberof ScalewayVpcV2VPC
644
+ */
645
+ private_network_count?: number;
646
+ /**
647
+ * Defines whether the VPC routes traffic between its Private Networks.
648
+ * @type {boolean}
649
+ * @memberof ScalewayVpcV2VPC
650
+ */
651
+ routing_enabled?: boolean;
652
+ /**
653
+ * Defines whether the VPC advertises custom routes between its Private Networks.
654
+ * @type {boolean}
655
+ * @memberof ScalewayVpcV2VPC
656
+ */
657
+ custom_routes_propagation_enabled?: boolean;
658
+ }
659
+ /**
660
+ *
661
+ * @export
662
+ * @interface SetAclRequest
663
+ */
664
+ export interface SetAclRequest {
665
+ /**
666
+ * List of Network ACL rules.
667
+ * @type {Array<ScalewayVpcV2AclRule>}
668
+ * @memberof SetAclRequest
669
+ */
670
+ rules: Array<ScalewayVpcV2AclRule>;
671
+ /**
672
+ * Defines whether this set of ACL rules is for IPv6 (false = IPv4). Each Network ACL can have rules for only one IP type.
673
+ * @type {boolean}
674
+ * @memberof SetAclRequest
675
+ */
676
+ is_ipv6: boolean;
677
+ /**
678
+ * Action to take for packets which do not match any rules.
679
+ * @type {string}
680
+ * @memberof SetAclRequest
681
+ */
682
+ default_policy: SetAclRequestDefaultPolicyEnum;
683
+ }
684
+ export declare const SetAclRequestDefaultPolicyEnum: {
685
+ readonly UnknownAction: "unknown_action";
686
+ readonly Accept: "accept";
687
+ readonly Drop: "drop";
688
+ };
689
+ export type SetAclRequestDefaultPolicyEnum = (typeof SetAclRequestDefaultPolicyEnum)[keyof typeof SetAclRequestDefaultPolicyEnum];
690
+ /**
691
+ *
692
+ * @export
693
+ * @interface UpdatePrivateNetworkRequest
694
+ */
695
+ export interface UpdatePrivateNetworkRequest {
696
+ /**
697
+ * Name for the Private Network.
698
+ * @type {string}
699
+ * @memberof UpdatePrivateNetworkRequest
700
+ */
701
+ name?: string;
702
+ /**
703
+ * Tags for the Private Network.
704
+ * @type {Array<string>}
705
+ * @memberof UpdatePrivateNetworkRequest
706
+ */
707
+ tags?: Array<string>;
708
+ /**
709
+ * Defines whether default v4 and v6 routes are propagated for this Private Network.
710
+ * @type {boolean}
711
+ * @memberof UpdatePrivateNetworkRequest
712
+ */
713
+ default_route_propagation_enabled?: boolean;
714
+ }
715
+ /**
716
+ *
717
+ * @export
718
+ * @interface UpdateRouteRequest
719
+ */
720
+ export interface UpdateRouteRequest {
721
+ /**
722
+ * Route description.
723
+ * @type {string}
724
+ * @memberof UpdateRouteRequest
725
+ */
726
+ description?: string;
727
+ /**
728
+ * Tags of the Route.
729
+ * @type {Array<string>}
730
+ * @memberof UpdateRouteRequest
731
+ */
732
+ tags?: Array<string>;
733
+ /**
734
+ * Destination of the Route. (IP network)
735
+ * @type {string}
736
+ * @memberof UpdateRouteRequest
737
+ */
738
+ destination?: string;
739
+ /**
740
+ * ID of the nexthop resource. (UUID format)
741
+ * @type {string}
742
+ * @memberof UpdateRouteRequest
743
+ */
744
+ nexthop_resource_id?: string;
745
+ /**
746
+ * ID of the nexthop private network. (UUID format)
747
+ * @type {string}
748
+ * @memberof UpdateRouteRequest
749
+ */
750
+ nexthop_private_network_id?: string;
751
+ /**
752
+ * ID of the nexthop VPC connector. (UUID format)
753
+ * @type {string}
754
+ * @memberof UpdateRouteRequest
755
+ */
756
+ nexthop_vpc_connector_id?: string;
757
+ }
758
+ /**
759
+ *
760
+ * @export
761
+ * @interface UpdateVPCRequest
762
+ */
763
+ export interface UpdateVPCRequest {
764
+ /**
765
+ * Name for the VPC.
766
+ * @type {string}
767
+ * @memberof UpdateVPCRequest
768
+ */
769
+ name?: string;
770
+ /**
771
+ * Tags for the VPC.
772
+ * @type {Array<string>}
773
+ * @memberof UpdateVPCRequest
774
+ */
775
+ tags?: Array<string>;
776
+ }
777
+ /**
778
+ * NetworkACLsApi - axios parameter creator
779
+ * @export
780
+ */
781
+ export declare const NetworkACLsApiAxiosParamCreator: (configuration?: Configuration) => {
782
+ /**
783
+ * Retrieve a list of ACL rules for a VPC, specified by its VPC ID.
784
+ * @summary Get ACL Rules for VPC
785
+ * @param {GetAclRegionEnum} region The region you want to target
786
+ * @param {string} vpcId ID of the Network ACL\&#39;s VPC. (UUID format)
787
+ * @param {boolean} isIpv6 Defines whether this set of ACL rules is for IPv6 (false &#x3D; IPv4). Each Network ACL can have rules for only one IP type.
788
+ * @param {*} [options] Override http request option.
789
+ * @throws {RequiredError}
790
+ */
791
+ getAcl: (region: GetAclRegionEnum, vpcId: string, isIpv6: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
792
+ /**
793
+ * Set the list of ACL rules and the default routing policy for a VPC.
794
+ * @summary Set VPC ACL rules
795
+ * @param {SetAclRegionEnum} region The region you want to target
796
+ * @param {string} vpcId ID of the Network ACL\&#39;s VPC. (UUID format)
797
+ * @param {SetAclRequest} setAclRequest
798
+ * @param {*} [options] Override http request option.
799
+ * @throws {RequiredError}
800
+ */
801
+ setAcl: (region: SetAclRegionEnum, vpcId: string, setAclRequest: SetAclRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
802
+ };
803
+ /**
804
+ * NetworkACLsApi - functional programming interface
805
+ * @export
806
+ */
807
+ export declare const NetworkACLsApiFp: (configuration?: Configuration) => {
808
+ /**
809
+ * Retrieve a list of ACL rules for a VPC, specified by its VPC ID.
810
+ * @summary Get ACL Rules for VPC
811
+ * @param {GetAclRegionEnum} region The region you want to target
812
+ * @param {string} vpcId ID of the Network ACL\&#39;s VPC. (UUID format)
813
+ * @param {boolean} isIpv6 Defines whether this set of ACL rules is for IPv6 (false &#x3D; IPv4). Each Network ACL can have rules for only one IP type.
814
+ * @param {*} [options] Override http request option.
815
+ * @throws {RequiredError}
816
+ */
817
+ getAcl(region: GetAclRegionEnum, vpcId: string, isIpv6: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayVpcV2GetAclResponse>>;
818
+ /**
819
+ * Set the list of ACL rules and the default routing policy for a VPC.
820
+ * @summary Set VPC ACL rules
821
+ * @param {SetAclRegionEnum} region The region you want to target
822
+ * @param {string} vpcId ID of the Network ACL\&#39;s VPC. (UUID format)
823
+ * @param {SetAclRequest} setAclRequest
824
+ * @param {*} [options] Override http request option.
825
+ * @throws {RequiredError}
826
+ */
827
+ setAcl(region: SetAclRegionEnum, vpcId: string, setAclRequest: SetAclRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayVpcV2SetAclResponse>>;
828
+ };
829
+ /**
830
+ * NetworkACLsApi - factory interface
831
+ * @export
832
+ */
833
+ export declare const NetworkACLsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
834
+ /**
835
+ * Retrieve a list of ACL rules for a VPC, specified by its VPC ID.
836
+ * @summary Get ACL Rules for VPC
837
+ * @param {GetAclRegionEnum} region The region you want to target
838
+ * @param {string} vpcId ID of the Network ACL\&#39;s VPC. (UUID format)
839
+ * @param {boolean} isIpv6 Defines whether this set of ACL rules is for IPv6 (false &#x3D; IPv4). Each Network ACL can have rules for only one IP type.
840
+ * @param {*} [options] Override http request option.
841
+ * @throws {RequiredError}
842
+ */
843
+ getAcl(region: GetAclRegionEnum, vpcId: string, isIpv6: boolean, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayVpcV2GetAclResponse>;
844
+ /**
845
+ * Set the list of ACL rules and the default routing policy for a VPC.
846
+ * @summary Set VPC ACL rules
847
+ * @param {SetAclRegionEnum} region The region you want to target
848
+ * @param {string} vpcId ID of the Network ACL\&#39;s VPC. (UUID format)
849
+ * @param {SetAclRequest} setAclRequest
850
+ * @param {*} [options] Override http request option.
851
+ * @throws {RequiredError}
852
+ */
853
+ setAcl(region: SetAclRegionEnum, vpcId: string, setAclRequest: SetAclRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayVpcV2SetAclResponse>;
854
+ };
855
+ /**
856
+ * NetworkACLsApi - interface
857
+ * @export
858
+ * @interface NetworkACLsApi
859
+ */
860
+ export interface NetworkACLsApiInterface {
861
+ /**
862
+ * Retrieve a list of ACL rules for a VPC, specified by its VPC ID.
863
+ * @summary Get ACL Rules for VPC
864
+ * @param {GetAclRegionEnum} region The region you want to target
865
+ * @param {string} vpcId ID of the Network ACL\&#39;s VPC. (UUID format)
866
+ * @param {boolean} isIpv6 Defines whether this set of ACL rules is for IPv6 (false &#x3D; IPv4). Each Network ACL can have rules for only one IP type.
867
+ * @param {*} [options] Override http request option.
868
+ * @throws {RequiredError}
869
+ * @memberof NetworkACLsApiInterface
870
+ */
871
+ getAcl(region: GetAclRegionEnum, vpcId: string, isIpv6: boolean, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayVpcV2GetAclResponse>;
872
+ /**
873
+ * Set the list of ACL rules and the default routing policy for a VPC.
874
+ * @summary Set VPC ACL rules
875
+ * @param {SetAclRegionEnum} region The region you want to target
876
+ * @param {string} vpcId ID of the Network ACL\&#39;s VPC. (UUID format)
877
+ * @param {SetAclRequest} setAclRequest
878
+ * @param {*} [options] Override http request option.
879
+ * @throws {RequiredError}
880
+ * @memberof NetworkACLsApiInterface
881
+ */
882
+ setAcl(region: SetAclRegionEnum, vpcId: string, setAclRequest: SetAclRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayVpcV2SetAclResponse>;
883
+ }
884
+ /**
885
+ * NetworkACLsApi - object-oriented interface
886
+ * @export
887
+ * @class NetworkACLsApi
888
+ * @extends {BaseAPI}
889
+ */
890
+ export declare class NetworkACLsApi extends BaseAPI implements NetworkACLsApiInterface {
891
+ /**
892
+ * Retrieve a list of ACL rules for a VPC, specified by its VPC ID.
893
+ * @summary Get ACL Rules for VPC
894
+ * @param {GetAclRegionEnum} region The region you want to target
895
+ * @param {string} vpcId ID of the Network ACL\&#39;s VPC. (UUID format)
896
+ * @param {boolean} isIpv6 Defines whether this set of ACL rules is for IPv6 (false &#x3D; IPv4). Each Network ACL can have rules for only one IP type.
897
+ * @param {*} [options] Override http request option.
898
+ * @throws {RequiredError}
899
+ * @memberof NetworkACLsApi
900
+ */
901
+ getAcl(region: GetAclRegionEnum, vpcId: string, isIpv6: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayVpcV2GetAclResponse, any, {}>>;
902
+ /**
903
+ * Set the list of ACL rules and the default routing policy for a VPC.
904
+ * @summary Set VPC ACL rules
905
+ * @param {SetAclRegionEnum} region The region you want to target
906
+ * @param {string} vpcId ID of the Network ACL\&#39;s VPC. (UUID format)
907
+ * @param {SetAclRequest} setAclRequest
908
+ * @param {*} [options] Override http request option.
909
+ * @throws {RequiredError}
910
+ * @memberof NetworkACLsApi
911
+ */
912
+ setAcl(region: SetAclRegionEnum, vpcId: string, setAclRequest: SetAclRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayVpcV2SetAclResponse, any, {}>>;
913
+ }
914
+ /**
915
+ * @export
916
+ */
917
+ export declare const GetAclRegionEnum: {
918
+ readonly FrPar: "fr-par";
919
+ readonly NlAms: "nl-ams";
920
+ readonly PlWaw: "pl-waw";
921
+ };
922
+ export type GetAclRegionEnum = (typeof GetAclRegionEnum)[keyof typeof GetAclRegionEnum];
923
+ /**
924
+ * @export
925
+ */
926
+ export declare const SetAclRegionEnum: {
927
+ readonly FrPar: "fr-par";
928
+ readonly NlAms: "nl-ams";
929
+ readonly PlWaw: "pl-waw";
930
+ };
931
+ export type SetAclRegionEnum = (typeof SetAclRegionEnum)[keyof typeof SetAclRegionEnum];
932
+ /**
933
+ * PrivateNetworksApi - axios parameter creator
934
+ * @export
935
+ */
936
+ export declare const PrivateNetworksApiAxiosParamCreator: (configuration?: Configuration) => {
937
+ /**
938
+ * Create a new Private Network. Once created, you can attach Scaleway resources which are in the same region.
939
+ * @summary Create a Private Network
940
+ * @param {CreatePrivateNetworkRegionEnum} region The region you want to target
941
+ * @param {CreatePrivateNetworkRequest} createPrivateNetworkRequest
942
+ * @param {*} [options] Override http request option.
943
+ * @throws {RequiredError}
944
+ */
945
+ createPrivateNetwork: (region: CreatePrivateNetworkRegionEnum, createPrivateNetworkRequest: CreatePrivateNetworkRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
946
+ /**
947
+ * Delete an existing Private Network. Note that you must first detach all resources from the network, in order to delete it.
948
+ * @summary Delete a Private Network
949
+ * @param {DeletePrivateNetworkRegionEnum} region The region you want to target
950
+ * @param {string} privateNetworkId Private Network ID. (UUID format)
951
+ * @param {*} [options] Override http request option.
952
+ * @throws {RequiredError}
953
+ */
954
+ deletePrivateNetwork: (region: DeletePrivateNetworkRegionEnum, privateNetworkId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
955
+ /**
956
+ * Enable DHCP managed on an existing Private Network. Note that you will not be able to deactivate it afterwards.
957
+ * @summary Enable DHCP on a Private Network
958
+ * @param {EnableDHCPRegionEnum} region The region you want to target
959
+ * @param {string} privateNetworkId Private Network ID. (UUID format)
960
+ * @param {object} body
961
+ * @param {*} [options] Override http request option.
962
+ * @throws {RequiredError}
963
+ */
964
+ enableDHCP: (region: EnableDHCPRegionEnum, privateNetworkId: string, body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
965
+ /**
966
+ * Retrieve information about an existing Private Network, specified by its Private Network ID. Its full details are returned in the response object.
967
+ * @summary Get a Private Network
968
+ * @param {GetPrivateNetworkRegionEnum} region The region you want to target
969
+ * @param {string} privateNetworkId Private Network ID. (UUID format)
970
+ * @param {*} [options] Override http request option.
971
+ * @throws {RequiredError}
972
+ */
973
+ getPrivateNetwork: (region: GetPrivateNetworkRegionEnum, privateNetworkId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
974
+ /**
975
+ * List existing Private Networks in the specified region. By default, the Private Networks returned in the list are ordered by creation date in ascending order, though this can be modified via the order_by field.
976
+ * @summary List Private Networks
977
+ * @param {ListPrivateNetworksRegionEnum} region The region you want to target
978
+ * @param {ListPrivateNetworksOrderByEnum} [orderBy] Sort order of the returned Private Networks.
979
+ * @param {number} [page] Page number to return, from the paginated results.
980
+ * @param {number} [pageSize] Maximum number of Private Networks to return per page.
981
+ * @param {string} [name] Name to filter for. Only Private Networks with names containing this string will be returned.
982
+ * @param {Array<string>} [tags] Tags to filter for. Only Private Networks with one or more matching tags will be returned.
983
+ * @param {string} [organizationId] Organization ID to filter for. Only Private Networks belonging to this Organization will be returned. (UUID format)
984
+ * @param {string} [projectId] Project ID to filter for. Only Private Networks belonging to this Project will be returned. (UUID format)
985
+ * @param {Array<string>} [privateNetworkIds] Private Network IDs to filter for. Only Private Networks with one of these IDs will be returned.
986
+ * @param {string} [vpcId] VPC ID to filter for. Only Private Networks belonging to this VPC will be returned. (UUID format)
987
+ * @param {boolean} [dhcpEnabled] DHCP status to filter for. When true, only Private Networks with managed DHCP enabled will be returned.
988
+ * @param {*} [options] Override http request option.
989
+ * @throws {RequiredError}
990
+ */
991
+ listPrivateNetworks: (region: ListPrivateNetworksRegionEnum, orderBy?: ListPrivateNetworksOrderByEnum, page?: number, pageSize?: number, name?: string, tags?: Array<string>, organizationId?: string, projectId?: string, privateNetworkIds?: Array<string>, vpcId?: string, dhcpEnabled?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
992
+ /**
993
+ * Update parameters (such as name or tags) of an existing Private Network, specified by its Private Network ID.
994
+ * @summary Update Private Network
995
+ * @param {UpdatePrivateNetworkRegionEnum} region The region you want to target
996
+ * @param {string} privateNetworkId Private Network ID. (UUID format)
997
+ * @param {UpdatePrivateNetworkRequest} updatePrivateNetworkRequest
998
+ * @param {*} [options] Override http request option.
999
+ * @throws {RequiredError}
1000
+ */
1001
+ updatePrivateNetwork: (region: UpdatePrivateNetworkRegionEnum, privateNetworkId: string, updatePrivateNetworkRequest: UpdatePrivateNetworkRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1002
+ };
1003
+ /**
1004
+ * PrivateNetworksApi - functional programming interface
1005
+ * @export
1006
+ */
1007
+ export declare const PrivateNetworksApiFp: (configuration?: Configuration) => {
1008
+ /**
1009
+ * Create a new Private Network. Once created, you can attach Scaleway resources which are in the same region.
1010
+ * @summary Create a Private Network
1011
+ * @param {CreatePrivateNetworkRegionEnum} region The region you want to target
1012
+ * @param {CreatePrivateNetworkRequest} createPrivateNetworkRequest
1013
+ * @param {*} [options] Override http request option.
1014
+ * @throws {RequiredError}
1015
+ */
1016
+ createPrivateNetwork(region: CreatePrivateNetworkRegionEnum, createPrivateNetworkRequest: CreatePrivateNetworkRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayVpcV2PrivateNetwork>>;
1017
+ /**
1018
+ * Delete an existing Private Network. Note that you must first detach all resources from the network, in order to delete it.
1019
+ * @summary Delete a Private Network
1020
+ * @param {DeletePrivateNetworkRegionEnum} region The region you want to target
1021
+ * @param {string} privateNetworkId Private Network ID. (UUID format)
1022
+ * @param {*} [options] Override http request option.
1023
+ * @throws {RequiredError}
1024
+ */
1025
+ deletePrivateNetwork(region: DeletePrivateNetworkRegionEnum, privateNetworkId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1026
+ /**
1027
+ * Enable DHCP managed on an existing Private Network. Note that you will not be able to deactivate it afterwards.
1028
+ * @summary Enable DHCP on a Private Network
1029
+ * @param {EnableDHCPRegionEnum} region The region you want to target
1030
+ * @param {string} privateNetworkId Private Network ID. (UUID format)
1031
+ * @param {object} body
1032
+ * @param {*} [options] Override http request option.
1033
+ * @throws {RequiredError}
1034
+ */
1035
+ enableDHCP(region: EnableDHCPRegionEnum, privateNetworkId: string, body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayVpcV2PrivateNetwork>>;
1036
+ /**
1037
+ * Retrieve information about an existing Private Network, specified by its Private Network ID. Its full details are returned in the response object.
1038
+ * @summary Get a Private Network
1039
+ * @param {GetPrivateNetworkRegionEnum} region The region you want to target
1040
+ * @param {string} privateNetworkId Private Network ID. (UUID format)
1041
+ * @param {*} [options] Override http request option.
1042
+ * @throws {RequiredError}
1043
+ */
1044
+ getPrivateNetwork(region: GetPrivateNetworkRegionEnum, privateNetworkId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayVpcV2PrivateNetwork>>;
1045
+ /**
1046
+ * List existing Private Networks in the specified region. By default, the Private Networks returned in the list are ordered by creation date in ascending order, though this can be modified via the order_by field.
1047
+ * @summary List Private Networks
1048
+ * @param {ListPrivateNetworksRegionEnum} region The region you want to target
1049
+ * @param {ListPrivateNetworksOrderByEnum} [orderBy] Sort order of the returned Private Networks.
1050
+ * @param {number} [page] Page number to return, from the paginated results.
1051
+ * @param {number} [pageSize] Maximum number of Private Networks to return per page.
1052
+ * @param {string} [name] Name to filter for. Only Private Networks with names containing this string will be returned.
1053
+ * @param {Array<string>} [tags] Tags to filter for. Only Private Networks with one or more matching tags will be returned.
1054
+ * @param {string} [organizationId] Organization ID to filter for. Only Private Networks belonging to this Organization will be returned. (UUID format)
1055
+ * @param {string} [projectId] Project ID to filter for. Only Private Networks belonging to this Project will be returned. (UUID format)
1056
+ * @param {Array<string>} [privateNetworkIds] Private Network IDs to filter for. Only Private Networks with one of these IDs will be returned.
1057
+ * @param {string} [vpcId] VPC ID to filter for. Only Private Networks belonging to this VPC will be returned. (UUID format)
1058
+ * @param {boolean} [dhcpEnabled] DHCP status to filter for. When true, only Private Networks with managed DHCP enabled will be returned.
1059
+ * @param {*} [options] Override http request option.
1060
+ * @throws {RequiredError}
1061
+ */
1062
+ listPrivateNetworks(region: ListPrivateNetworksRegionEnum, orderBy?: ListPrivateNetworksOrderByEnum, page?: number, pageSize?: number, name?: string, tags?: Array<string>, organizationId?: string, projectId?: string, privateNetworkIds?: Array<string>, vpcId?: string, dhcpEnabled?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayVpcV2ListPrivateNetworksResponse>>;
1063
+ /**
1064
+ * Update parameters (such as name or tags) of an existing Private Network, specified by its Private Network ID.
1065
+ * @summary Update Private Network
1066
+ * @param {UpdatePrivateNetworkRegionEnum} region The region you want to target
1067
+ * @param {string} privateNetworkId Private Network ID. (UUID format)
1068
+ * @param {UpdatePrivateNetworkRequest} updatePrivateNetworkRequest
1069
+ * @param {*} [options] Override http request option.
1070
+ * @throws {RequiredError}
1071
+ */
1072
+ updatePrivateNetwork(region: UpdatePrivateNetworkRegionEnum, privateNetworkId: string, updatePrivateNetworkRequest: UpdatePrivateNetworkRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayVpcV2PrivateNetwork>>;
1073
+ };
1074
+ /**
1075
+ * PrivateNetworksApi - factory interface
1076
+ * @export
1077
+ */
1078
+ export declare const PrivateNetworksApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1079
+ /**
1080
+ * Create a new Private Network. Once created, you can attach Scaleway resources which are in the same region.
1081
+ * @summary Create a Private Network
1082
+ * @param {CreatePrivateNetworkRegionEnum} region The region you want to target
1083
+ * @param {CreatePrivateNetworkRequest} createPrivateNetworkRequest
1084
+ * @param {*} [options] Override http request option.
1085
+ * @throws {RequiredError}
1086
+ */
1087
+ createPrivateNetwork(region: CreatePrivateNetworkRegionEnum, createPrivateNetworkRequest: CreatePrivateNetworkRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayVpcV2PrivateNetwork>;
1088
+ /**
1089
+ * Delete an existing Private Network. Note that you must first detach all resources from the network, in order to delete it.
1090
+ * @summary Delete a Private Network
1091
+ * @param {DeletePrivateNetworkRegionEnum} region The region you want to target
1092
+ * @param {string} privateNetworkId Private Network ID. (UUID format)
1093
+ * @param {*} [options] Override http request option.
1094
+ * @throws {RequiredError}
1095
+ */
1096
+ deletePrivateNetwork(region: DeletePrivateNetworkRegionEnum, privateNetworkId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1097
+ /**
1098
+ * Enable DHCP managed on an existing Private Network. Note that you will not be able to deactivate it afterwards.
1099
+ * @summary Enable DHCP on a Private Network
1100
+ * @param {EnableDHCPRegionEnum} region The region you want to target
1101
+ * @param {string} privateNetworkId Private Network ID. (UUID format)
1102
+ * @param {object} body
1103
+ * @param {*} [options] Override http request option.
1104
+ * @throws {RequiredError}
1105
+ */
1106
+ enableDHCP(region: EnableDHCPRegionEnum, privateNetworkId: string, body: object, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayVpcV2PrivateNetwork>;
1107
+ /**
1108
+ * Retrieve information about an existing Private Network, specified by its Private Network ID. Its full details are returned in the response object.
1109
+ * @summary Get a Private Network
1110
+ * @param {GetPrivateNetworkRegionEnum} region The region you want to target
1111
+ * @param {string} privateNetworkId Private Network ID. (UUID format)
1112
+ * @param {*} [options] Override http request option.
1113
+ * @throws {RequiredError}
1114
+ */
1115
+ getPrivateNetwork(region: GetPrivateNetworkRegionEnum, privateNetworkId: string, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayVpcV2PrivateNetwork>;
1116
+ /**
1117
+ * List existing Private Networks in the specified region. By default, the Private Networks returned in the list are ordered by creation date in ascending order, though this can be modified via the order_by field.
1118
+ * @summary List Private Networks
1119
+ * @param {ListPrivateNetworksRegionEnum} region The region you want to target
1120
+ * @param {ListPrivateNetworksOrderByEnum} [orderBy] Sort order of the returned Private Networks.
1121
+ * @param {number} [page] Page number to return, from the paginated results.
1122
+ * @param {number} [pageSize] Maximum number of Private Networks to return per page.
1123
+ * @param {string} [name] Name to filter for. Only Private Networks with names containing this string will be returned.
1124
+ * @param {Array<string>} [tags] Tags to filter for. Only Private Networks with one or more matching tags will be returned.
1125
+ * @param {string} [organizationId] Organization ID to filter for. Only Private Networks belonging to this Organization will be returned. (UUID format)
1126
+ * @param {string} [projectId] Project ID to filter for. Only Private Networks belonging to this Project will be returned. (UUID format)
1127
+ * @param {Array<string>} [privateNetworkIds] Private Network IDs to filter for. Only Private Networks with one of these IDs will be returned.
1128
+ * @param {string} [vpcId] VPC ID to filter for. Only Private Networks belonging to this VPC will be returned. (UUID format)
1129
+ * @param {boolean} [dhcpEnabled] DHCP status to filter for. When true, only Private Networks with managed DHCP enabled will be returned.
1130
+ * @param {*} [options] Override http request option.
1131
+ * @throws {RequiredError}
1132
+ */
1133
+ listPrivateNetworks(region: ListPrivateNetworksRegionEnum, orderBy?: ListPrivateNetworksOrderByEnum, page?: number, pageSize?: number, name?: string, tags?: Array<string>, organizationId?: string, projectId?: string, privateNetworkIds?: Array<string>, vpcId?: string, dhcpEnabled?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayVpcV2ListPrivateNetworksResponse>;
1134
+ /**
1135
+ * Update parameters (such as name or tags) of an existing Private Network, specified by its Private Network ID.
1136
+ * @summary Update Private Network
1137
+ * @param {UpdatePrivateNetworkRegionEnum} region The region you want to target
1138
+ * @param {string} privateNetworkId Private Network ID. (UUID format)
1139
+ * @param {UpdatePrivateNetworkRequest} updatePrivateNetworkRequest
1140
+ * @param {*} [options] Override http request option.
1141
+ * @throws {RequiredError}
1142
+ */
1143
+ updatePrivateNetwork(region: UpdatePrivateNetworkRegionEnum, privateNetworkId: string, updatePrivateNetworkRequest: UpdatePrivateNetworkRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayVpcV2PrivateNetwork>;
1144
+ };
1145
+ /**
1146
+ * PrivateNetworksApi - interface
1147
+ * @export
1148
+ * @interface PrivateNetworksApi
1149
+ */
1150
+ export interface PrivateNetworksApiInterface {
1151
+ /**
1152
+ * Create a new Private Network. Once created, you can attach Scaleway resources which are in the same region.
1153
+ * @summary Create a Private Network
1154
+ * @param {CreatePrivateNetworkRegionEnum} region The region you want to target
1155
+ * @param {CreatePrivateNetworkRequest} createPrivateNetworkRequest
1156
+ * @param {*} [options] Override http request option.
1157
+ * @throws {RequiredError}
1158
+ * @memberof PrivateNetworksApiInterface
1159
+ */
1160
+ createPrivateNetwork(region: CreatePrivateNetworkRegionEnum, createPrivateNetworkRequest: CreatePrivateNetworkRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayVpcV2PrivateNetwork>;
1161
+ /**
1162
+ * Delete an existing Private Network. Note that you must first detach all resources from the network, in order to delete it.
1163
+ * @summary Delete a Private Network
1164
+ * @param {DeletePrivateNetworkRegionEnum} region The region you want to target
1165
+ * @param {string} privateNetworkId Private Network ID. (UUID format)
1166
+ * @param {*} [options] Override http request option.
1167
+ * @throws {RequiredError}
1168
+ * @memberof PrivateNetworksApiInterface
1169
+ */
1170
+ deletePrivateNetwork(region: DeletePrivateNetworkRegionEnum, privateNetworkId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1171
+ /**
1172
+ * Enable DHCP managed on an existing Private Network. Note that you will not be able to deactivate it afterwards.
1173
+ * @summary Enable DHCP on a Private Network
1174
+ * @param {EnableDHCPRegionEnum} region The region you want to target
1175
+ * @param {string} privateNetworkId Private Network ID. (UUID format)
1176
+ * @param {object} body
1177
+ * @param {*} [options] Override http request option.
1178
+ * @throws {RequiredError}
1179
+ * @memberof PrivateNetworksApiInterface
1180
+ */
1181
+ enableDHCP(region: EnableDHCPRegionEnum, privateNetworkId: string, body: object, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayVpcV2PrivateNetwork>;
1182
+ /**
1183
+ * Retrieve information about an existing Private Network, specified by its Private Network ID. Its full details are returned in the response object.
1184
+ * @summary Get a Private Network
1185
+ * @param {GetPrivateNetworkRegionEnum} region The region you want to target
1186
+ * @param {string} privateNetworkId Private Network ID. (UUID format)
1187
+ * @param {*} [options] Override http request option.
1188
+ * @throws {RequiredError}
1189
+ * @memberof PrivateNetworksApiInterface
1190
+ */
1191
+ getPrivateNetwork(region: GetPrivateNetworkRegionEnum, privateNetworkId: string, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayVpcV2PrivateNetwork>;
1192
+ /**
1193
+ * List existing Private Networks in the specified region. By default, the Private Networks returned in the list are ordered by creation date in ascending order, though this can be modified via the order_by field.
1194
+ * @summary List Private Networks
1195
+ * @param {ListPrivateNetworksRegionEnum} region The region you want to target
1196
+ * @param {ListPrivateNetworksOrderByEnum} [orderBy] Sort order of the returned Private Networks.
1197
+ * @param {number} [page] Page number to return, from the paginated results.
1198
+ * @param {number} [pageSize] Maximum number of Private Networks to return per page.
1199
+ * @param {string} [name] Name to filter for. Only Private Networks with names containing this string will be returned.
1200
+ * @param {Array<string>} [tags] Tags to filter for. Only Private Networks with one or more matching tags will be returned.
1201
+ * @param {string} [organizationId] Organization ID to filter for. Only Private Networks belonging to this Organization will be returned. (UUID format)
1202
+ * @param {string} [projectId] Project ID to filter for. Only Private Networks belonging to this Project will be returned. (UUID format)
1203
+ * @param {Array<string>} [privateNetworkIds] Private Network IDs to filter for. Only Private Networks with one of these IDs will be returned.
1204
+ * @param {string} [vpcId] VPC ID to filter for. Only Private Networks belonging to this VPC will be returned. (UUID format)
1205
+ * @param {boolean} [dhcpEnabled] DHCP status to filter for. When true, only Private Networks with managed DHCP enabled will be returned.
1206
+ * @param {*} [options] Override http request option.
1207
+ * @throws {RequiredError}
1208
+ * @memberof PrivateNetworksApiInterface
1209
+ */
1210
+ listPrivateNetworks(region: ListPrivateNetworksRegionEnum, orderBy?: ListPrivateNetworksOrderByEnum, page?: number, pageSize?: number, name?: string, tags?: Array<string>, organizationId?: string, projectId?: string, privateNetworkIds?: Array<string>, vpcId?: string, dhcpEnabled?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayVpcV2ListPrivateNetworksResponse>;
1211
+ /**
1212
+ * Update parameters (such as name or tags) of an existing Private Network, specified by its Private Network ID.
1213
+ * @summary Update Private Network
1214
+ * @param {UpdatePrivateNetworkRegionEnum} region The region you want to target
1215
+ * @param {string} privateNetworkId Private Network ID. (UUID format)
1216
+ * @param {UpdatePrivateNetworkRequest} updatePrivateNetworkRequest
1217
+ * @param {*} [options] Override http request option.
1218
+ * @throws {RequiredError}
1219
+ * @memberof PrivateNetworksApiInterface
1220
+ */
1221
+ updatePrivateNetwork(region: UpdatePrivateNetworkRegionEnum, privateNetworkId: string, updatePrivateNetworkRequest: UpdatePrivateNetworkRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayVpcV2PrivateNetwork>;
1222
+ }
1223
+ /**
1224
+ * PrivateNetworksApi - object-oriented interface
1225
+ * @export
1226
+ * @class PrivateNetworksApi
1227
+ * @extends {BaseAPI}
1228
+ */
1229
+ export declare class PrivateNetworksApi extends BaseAPI implements PrivateNetworksApiInterface {
1230
+ /**
1231
+ * Create a new Private Network. Once created, you can attach Scaleway resources which are in the same region.
1232
+ * @summary Create a Private Network
1233
+ * @param {CreatePrivateNetworkRegionEnum} region The region you want to target
1234
+ * @param {CreatePrivateNetworkRequest} createPrivateNetworkRequest
1235
+ * @param {*} [options] Override http request option.
1236
+ * @throws {RequiredError}
1237
+ * @memberof PrivateNetworksApi
1238
+ */
1239
+ createPrivateNetwork(region: CreatePrivateNetworkRegionEnum, createPrivateNetworkRequest: CreatePrivateNetworkRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayVpcV2PrivateNetwork, any, {}>>;
1240
+ /**
1241
+ * Delete an existing Private Network. Note that you must first detach all resources from the network, in order to delete it.
1242
+ * @summary Delete a Private Network
1243
+ * @param {DeletePrivateNetworkRegionEnum} region The region you want to target
1244
+ * @param {string} privateNetworkId Private Network ID. (UUID format)
1245
+ * @param {*} [options] Override http request option.
1246
+ * @throws {RequiredError}
1247
+ * @memberof PrivateNetworksApi
1248
+ */
1249
+ deletePrivateNetwork(region: DeletePrivateNetworkRegionEnum, privateNetworkId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
1250
+ /**
1251
+ * Enable DHCP managed on an existing Private Network. Note that you will not be able to deactivate it afterwards.
1252
+ * @summary Enable DHCP on a Private Network
1253
+ * @param {EnableDHCPRegionEnum} region The region you want to target
1254
+ * @param {string} privateNetworkId Private Network ID. (UUID format)
1255
+ * @param {object} body
1256
+ * @param {*} [options] Override http request option.
1257
+ * @throws {RequiredError}
1258
+ * @memberof PrivateNetworksApi
1259
+ */
1260
+ enableDHCP(region: EnableDHCPRegionEnum, privateNetworkId: string, body: object, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayVpcV2PrivateNetwork, any, {}>>;
1261
+ /**
1262
+ * Retrieve information about an existing Private Network, specified by its Private Network ID. Its full details are returned in the response object.
1263
+ * @summary Get a Private Network
1264
+ * @param {GetPrivateNetworkRegionEnum} region The region you want to target
1265
+ * @param {string} privateNetworkId Private Network ID. (UUID format)
1266
+ * @param {*} [options] Override http request option.
1267
+ * @throws {RequiredError}
1268
+ * @memberof PrivateNetworksApi
1269
+ */
1270
+ getPrivateNetwork(region: GetPrivateNetworkRegionEnum, privateNetworkId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayVpcV2PrivateNetwork, any, {}>>;
1271
+ /**
1272
+ * List existing Private Networks in the specified region. By default, the Private Networks returned in the list are ordered by creation date in ascending order, though this can be modified via the order_by field.
1273
+ * @summary List Private Networks
1274
+ * @param {ListPrivateNetworksRegionEnum} region The region you want to target
1275
+ * @param {ListPrivateNetworksOrderByEnum} [orderBy] Sort order of the returned Private Networks.
1276
+ * @param {number} [page] Page number to return, from the paginated results.
1277
+ * @param {number} [pageSize] Maximum number of Private Networks to return per page.
1278
+ * @param {string} [name] Name to filter for. Only Private Networks with names containing this string will be returned.
1279
+ * @param {Array<string>} [tags] Tags to filter for. Only Private Networks with one or more matching tags will be returned.
1280
+ * @param {string} [organizationId] Organization ID to filter for. Only Private Networks belonging to this Organization will be returned. (UUID format)
1281
+ * @param {string} [projectId] Project ID to filter for. Only Private Networks belonging to this Project will be returned. (UUID format)
1282
+ * @param {Array<string>} [privateNetworkIds] Private Network IDs to filter for. Only Private Networks with one of these IDs will be returned.
1283
+ * @param {string} [vpcId] VPC ID to filter for. Only Private Networks belonging to this VPC will be returned. (UUID format)
1284
+ * @param {boolean} [dhcpEnabled] DHCP status to filter for. When true, only Private Networks with managed DHCP enabled will be returned.
1285
+ * @param {*} [options] Override http request option.
1286
+ * @throws {RequiredError}
1287
+ * @memberof PrivateNetworksApi
1288
+ */
1289
+ listPrivateNetworks(region: ListPrivateNetworksRegionEnum, orderBy?: ListPrivateNetworksOrderByEnum, page?: number, pageSize?: number, name?: string, tags?: Array<string>, organizationId?: string, projectId?: string, privateNetworkIds?: Array<string>, vpcId?: string, dhcpEnabled?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayVpcV2ListPrivateNetworksResponse, any, {}>>;
1290
+ /**
1291
+ * Update parameters (such as name or tags) of an existing Private Network, specified by its Private Network ID.
1292
+ * @summary Update Private Network
1293
+ * @param {UpdatePrivateNetworkRegionEnum} region The region you want to target
1294
+ * @param {string} privateNetworkId Private Network ID. (UUID format)
1295
+ * @param {UpdatePrivateNetworkRequest} updatePrivateNetworkRequest
1296
+ * @param {*} [options] Override http request option.
1297
+ * @throws {RequiredError}
1298
+ * @memberof PrivateNetworksApi
1299
+ */
1300
+ updatePrivateNetwork(region: UpdatePrivateNetworkRegionEnum, privateNetworkId: string, updatePrivateNetworkRequest: UpdatePrivateNetworkRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayVpcV2PrivateNetwork, any, {}>>;
1301
+ }
1302
+ /**
1303
+ * @export
1304
+ */
1305
+ export declare const CreatePrivateNetworkRegionEnum: {
1306
+ readonly FrPar: "fr-par";
1307
+ readonly NlAms: "nl-ams";
1308
+ readonly PlWaw: "pl-waw";
1309
+ };
1310
+ export type CreatePrivateNetworkRegionEnum = (typeof CreatePrivateNetworkRegionEnum)[keyof typeof CreatePrivateNetworkRegionEnum];
1311
+ /**
1312
+ * @export
1313
+ */
1314
+ export declare const DeletePrivateNetworkRegionEnum: {
1315
+ readonly FrPar: "fr-par";
1316
+ readonly NlAms: "nl-ams";
1317
+ readonly PlWaw: "pl-waw";
1318
+ };
1319
+ export type DeletePrivateNetworkRegionEnum = (typeof DeletePrivateNetworkRegionEnum)[keyof typeof DeletePrivateNetworkRegionEnum];
1320
+ /**
1321
+ * @export
1322
+ */
1323
+ export declare const EnableDHCPRegionEnum: {
1324
+ readonly FrPar: "fr-par";
1325
+ readonly NlAms: "nl-ams";
1326
+ readonly PlWaw: "pl-waw";
1327
+ };
1328
+ export type EnableDHCPRegionEnum = (typeof EnableDHCPRegionEnum)[keyof typeof EnableDHCPRegionEnum];
1329
+ /**
1330
+ * @export
1331
+ */
1332
+ export declare const GetPrivateNetworkRegionEnum: {
1333
+ readonly FrPar: "fr-par";
1334
+ readonly NlAms: "nl-ams";
1335
+ readonly PlWaw: "pl-waw";
1336
+ };
1337
+ export type GetPrivateNetworkRegionEnum = (typeof GetPrivateNetworkRegionEnum)[keyof typeof GetPrivateNetworkRegionEnum];
1338
+ /**
1339
+ * @export
1340
+ */
1341
+ export declare const ListPrivateNetworksRegionEnum: {
1342
+ readonly FrPar: "fr-par";
1343
+ readonly NlAms: "nl-ams";
1344
+ readonly PlWaw: "pl-waw";
1345
+ };
1346
+ export type ListPrivateNetworksRegionEnum = (typeof ListPrivateNetworksRegionEnum)[keyof typeof ListPrivateNetworksRegionEnum];
1347
+ /**
1348
+ * @export
1349
+ */
1350
+ export declare const ListPrivateNetworksOrderByEnum: {
1351
+ readonly CreatedAtAsc: "created_at_asc";
1352
+ readonly CreatedAtDesc: "created_at_desc";
1353
+ readonly NameAsc: "name_asc";
1354
+ readonly NameDesc: "name_desc";
1355
+ };
1356
+ export type ListPrivateNetworksOrderByEnum = (typeof ListPrivateNetworksOrderByEnum)[keyof typeof ListPrivateNetworksOrderByEnum];
1357
+ /**
1358
+ * @export
1359
+ */
1360
+ export declare const UpdatePrivateNetworkRegionEnum: {
1361
+ readonly FrPar: "fr-par";
1362
+ readonly NlAms: "nl-ams";
1363
+ readonly PlWaw: "pl-waw";
1364
+ };
1365
+ export type UpdatePrivateNetworkRegionEnum = (typeof UpdatePrivateNetworkRegionEnum)[keyof typeof UpdatePrivateNetworkRegionEnum];
1366
+ /**
1367
+ * RoutesApi - axios parameter creator
1368
+ * @export
1369
+ */
1370
+ export declare const RoutesApiAxiosParamCreator: (configuration?: Configuration) => {
1371
+ /**
1372
+ * Create a new custom Route.
1373
+ * @summary Create a Route
1374
+ * @param {CreateRouteRegionEnum} region The region you want to target
1375
+ * @param {CreateRouteRequest} createRouteRequest
1376
+ * @param {*} [options] Override http request option.
1377
+ * @throws {RequiredError}
1378
+ */
1379
+ createRoute: (region: CreateRouteRegionEnum, createRouteRequest: CreateRouteRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1380
+ /**
1381
+ * Delete a Route specified by its Route ID.
1382
+ * @summary Delete a Route
1383
+ * @param {DeleteRouteRegionEnum} region The region you want to target
1384
+ * @param {string} routeId Route ID. (UUID format)
1385
+ * @param {*} [options] Override http request option.
1386
+ * @throws {RequiredError}
1387
+ */
1388
+ deleteRoute: (region: DeleteRouteRegionEnum, routeId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1389
+ /**
1390
+ * Retrieve details of an existing Route, specified by its Route ID.
1391
+ * @summary Get a Route
1392
+ * @param {GetRouteRegionEnum} region The region you want to target
1393
+ * @param {string} routeId Route ID. (UUID format)
1394
+ * @param {*} [options] Override http request option.
1395
+ * @throws {RequiredError}
1396
+ */
1397
+ getRoute: (region: GetRouteRegionEnum, routeId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1398
+ /**
1399
+ * Update parameters of the specified Route.
1400
+ * @summary Update Route
1401
+ * @param {UpdateRouteRegionEnum} region The region you want to target
1402
+ * @param {string} routeId Route ID. (UUID format)
1403
+ * @param {UpdateRouteRequest} updateRouteRequest
1404
+ * @param {*} [options] Override http request option.
1405
+ * @throws {RequiredError}
1406
+ */
1407
+ updateRoute: (region: UpdateRouteRegionEnum, routeId: string, updateRouteRequest: UpdateRouteRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1408
+ };
1409
+ /**
1410
+ * RoutesApi - functional programming interface
1411
+ * @export
1412
+ */
1413
+ export declare const RoutesApiFp: (configuration?: Configuration) => {
1414
+ /**
1415
+ * Create a new custom Route.
1416
+ * @summary Create a Route
1417
+ * @param {CreateRouteRegionEnum} region The region you want to target
1418
+ * @param {CreateRouteRequest} createRouteRequest
1419
+ * @param {*} [options] Override http request option.
1420
+ * @throws {RequiredError}
1421
+ */
1422
+ createRoute(region: CreateRouteRegionEnum, createRouteRequest: CreateRouteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayVpcV2Route>>;
1423
+ /**
1424
+ * Delete a Route specified by its Route ID.
1425
+ * @summary Delete a Route
1426
+ * @param {DeleteRouteRegionEnum} region The region you want to target
1427
+ * @param {string} routeId Route ID. (UUID format)
1428
+ * @param {*} [options] Override http request option.
1429
+ * @throws {RequiredError}
1430
+ */
1431
+ deleteRoute(region: DeleteRouteRegionEnum, routeId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1432
+ /**
1433
+ * Retrieve details of an existing Route, specified by its Route ID.
1434
+ * @summary Get a Route
1435
+ * @param {GetRouteRegionEnum} region The region you want to target
1436
+ * @param {string} routeId Route ID. (UUID format)
1437
+ * @param {*} [options] Override http request option.
1438
+ * @throws {RequiredError}
1439
+ */
1440
+ getRoute(region: GetRouteRegionEnum, routeId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayVpcV2Route>>;
1441
+ /**
1442
+ * Update parameters of the specified Route.
1443
+ * @summary Update Route
1444
+ * @param {UpdateRouteRegionEnum} region The region you want to target
1445
+ * @param {string} routeId Route ID. (UUID format)
1446
+ * @param {UpdateRouteRequest} updateRouteRequest
1447
+ * @param {*} [options] Override http request option.
1448
+ * @throws {RequiredError}
1449
+ */
1450
+ updateRoute(region: UpdateRouteRegionEnum, routeId: string, updateRouteRequest: UpdateRouteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayVpcV2Route>>;
1451
+ };
1452
+ /**
1453
+ * RoutesApi - factory interface
1454
+ * @export
1455
+ */
1456
+ export declare const RoutesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1457
+ /**
1458
+ * Create a new custom Route.
1459
+ * @summary Create a Route
1460
+ * @param {CreateRouteRegionEnum} region The region you want to target
1461
+ * @param {CreateRouteRequest} createRouteRequest
1462
+ * @param {*} [options] Override http request option.
1463
+ * @throws {RequiredError}
1464
+ */
1465
+ createRoute(region: CreateRouteRegionEnum, createRouteRequest: CreateRouteRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayVpcV2Route>;
1466
+ /**
1467
+ * Delete a Route specified by its Route ID.
1468
+ * @summary Delete a Route
1469
+ * @param {DeleteRouteRegionEnum} region The region you want to target
1470
+ * @param {string} routeId Route ID. (UUID format)
1471
+ * @param {*} [options] Override http request option.
1472
+ * @throws {RequiredError}
1473
+ */
1474
+ deleteRoute(region: DeleteRouteRegionEnum, routeId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1475
+ /**
1476
+ * Retrieve details of an existing Route, specified by its Route ID.
1477
+ * @summary Get a Route
1478
+ * @param {GetRouteRegionEnum} region The region you want to target
1479
+ * @param {string} routeId Route ID. (UUID format)
1480
+ * @param {*} [options] Override http request option.
1481
+ * @throws {RequiredError}
1482
+ */
1483
+ getRoute(region: GetRouteRegionEnum, routeId: string, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayVpcV2Route>;
1484
+ /**
1485
+ * Update parameters of the specified Route.
1486
+ * @summary Update Route
1487
+ * @param {UpdateRouteRegionEnum} region The region you want to target
1488
+ * @param {string} routeId Route ID. (UUID format)
1489
+ * @param {UpdateRouteRequest} updateRouteRequest
1490
+ * @param {*} [options] Override http request option.
1491
+ * @throws {RequiredError}
1492
+ */
1493
+ updateRoute(region: UpdateRouteRegionEnum, routeId: string, updateRouteRequest: UpdateRouteRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayVpcV2Route>;
1494
+ };
1495
+ /**
1496
+ * RoutesApi - interface
1497
+ * @export
1498
+ * @interface RoutesApi
1499
+ */
1500
+ export interface RoutesApiInterface {
1501
+ /**
1502
+ * Create a new custom Route.
1503
+ * @summary Create a Route
1504
+ * @param {CreateRouteRegionEnum} region The region you want to target
1505
+ * @param {CreateRouteRequest} createRouteRequest
1506
+ * @param {*} [options] Override http request option.
1507
+ * @throws {RequiredError}
1508
+ * @memberof RoutesApiInterface
1509
+ */
1510
+ createRoute(region: CreateRouteRegionEnum, createRouteRequest: CreateRouteRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayVpcV2Route>;
1511
+ /**
1512
+ * Delete a Route specified by its Route ID.
1513
+ * @summary Delete a Route
1514
+ * @param {DeleteRouteRegionEnum} region The region you want to target
1515
+ * @param {string} routeId Route ID. (UUID format)
1516
+ * @param {*} [options] Override http request option.
1517
+ * @throws {RequiredError}
1518
+ * @memberof RoutesApiInterface
1519
+ */
1520
+ deleteRoute(region: DeleteRouteRegionEnum, routeId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1521
+ /**
1522
+ * Retrieve details of an existing Route, specified by its Route ID.
1523
+ * @summary Get a Route
1524
+ * @param {GetRouteRegionEnum} region The region you want to target
1525
+ * @param {string} routeId Route ID. (UUID format)
1526
+ * @param {*} [options] Override http request option.
1527
+ * @throws {RequiredError}
1528
+ * @memberof RoutesApiInterface
1529
+ */
1530
+ getRoute(region: GetRouteRegionEnum, routeId: string, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayVpcV2Route>;
1531
+ /**
1532
+ * Update parameters of the specified Route.
1533
+ * @summary Update Route
1534
+ * @param {UpdateRouteRegionEnum} region The region you want to target
1535
+ * @param {string} routeId Route ID. (UUID format)
1536
+ * @param {UpdateRouteRequest} updateRouteRequest
1537
+ * @param {*} [options] Override http request option.
1538
+ * @throws {RequiredError}
1539
+ * @memberof RoutesApiInterface
1540
+ */
1541
+ updateRoute(region: UpdateRouteRegionEnum, routeId: string, updateRouteRequest: UpdateRouteRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayVpcV2Route>;
1542
+ }
1543
+ /**
1544
+ * RoutesApi - object-oriented interface
1545
+ * @export
1546
+ * @class RoutesApi
1547
+ * @extends {BaseAPI}
1548
+ */
1549
+ export declare class RoutesApi extends BaseAPI implements RoutesApiInterface {
1550
+ /**
1551
+ * Create a new custom Route.
1552
+ * @summary Create a Route
1553
+ * @param {CreateRouteRegionEnum} region The region you want to target
1554
+ * @param {CreateRouteRequest} createRouteRequest
1555
+ * @param {*} [options] Override http request option.
1556
+ * @throws {RequiredError}
1557
+ * @memberof RoutesApi
1558
+ */
1559
+ createRoute(region: CreateRouteRegionEnum, createRouteRequest: CreateRouteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayVpcV2Route, any, {}>>;
1560
+ /**
1561
+ * Delete a Route specified by its Route ID.
1562
+ * @summary Delete a Route
1563
+ * @param {DeleteRouteRegionEnum} region The region you want to target
1564
+ * @param {string} routeId Route ID. (UUID format)
1565
+ * @param {*} [options] Override http request option.
1566
+ * @throws {RequiredError}
1567
+ * @memberof RoutesApi
1568
+ */
1569
+ deleteRoute(region: DeleteRouteRegionEnum, routeId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
1570
+ /**
1571
+ * Retrieve details of an existing Route, specified by its Route ID.
1572
+ * @summary Get a Route
1573
+ * @param {GetRouteRegionEnum} region The region you want to target
1574
+ * @param {string} routeId Route ID. (UUID format)
1575
+ * @param {*} [options] Override http request option.
1576
+ * @throws {RequiredError}
1577
+ * @memberof RoutesApi
1578
+ */
1579
+ getRoute(region: GetRouteRegionEnum, routeId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayVpcV2Route, any, {}>>;
1580
+ /**
1581
+ * Update parameters of the specified Route.
1582
+ * @summary Update Route
1583
+ * @param {UpdateRouteRegionEnum} region The region you want to target
1584
+ * @param {string} routeId Route ID. (UUID format)
1585
+ * @param {UpdateRouteRequest} updateRouteRequest
1586
+ * @param {*} [options] Override http request option.
1587
+ * @throws {RequiredError}
1588
+ * @memberof RoutesApi
1589
+ */
1590
+ updateRoute(region: UpdateRouteRegionEnum, routeId: string, updateRouteRequest: UpdateRouteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayVpcV2Route, any, {}>>;
1591
+ }
1592
+ /**
1593
+ * @export
1594
+ */
1595
+ export declare const CreateRouteRegionEnum: {
1596
+ readonly FrPar: "fr-par";
1597
+ readonly NlAms: "nl-ams";
1598
+ readonly PlWaw: "pl-waw";
1599
+ };
1600
+ export type CreateRouteRegionEnum = (typeof CreateRouteRegionEnum)[keyof typeof CreateRouteRegionEnum];
1601
+ /**
1602
+ * @export
1603
+ */
1604
+ export declare const DeleteRouteRegionEnum: {
1605
+ readonly FrPar: "fr-par";
1606
+ readonly NlAms: "nl-ams";
1607
+ readonly PlWaw: "pl-waw";
1608
+ };
1609
+ export type DeleteRouteRegionEnum = (typeof DeleteRouteRegionEnum)[keyof typeof DeleteRouteRegionEnum];
1610
+ /**
1611
+ * @export
1612
+ */
1613
+ export declare const GetRouteRegionEnum: {
1614
+ readonly FrPar: "fr-par";
1615
+ readonly NlAms: "nl-ams";
1616
+ readonly PlWaw: "pl-waw";
1617
+ };
1618
+ export type GetRouteRegionEnum = (typeof GetRouteRegionEnum)[keyof typeof GetRouteRegionEnum];
1619
+ /**
1620
+ * @export
1621
+ */
1622
+ export declare const UpdateRouteRegionEnum: {
1623
+ readonly FrPar: "fr-par";
1624
+ readonly NlAms: "nl-ams";
1625
+ readonly PlWaw: "pl-waw";
1626
+ };
1627
+ export type UpdateRouteRegionEnum = (typeof UpdateRouteRegionEnum)[keyof typeof UpdateRouteRegionEnum];
1628
+ /**
1629
+ * SubnetsApi - axios parameter creator
1630
+ * @export
1631
+ */
1632
+ export declare const SubnetsApiAxiosParamCreator: (configuration?: Configuration) => {
1633
+ /**
1634
+ * Add new subnets to an existing Private Network.
1635
+ * @summary Add subnets to a Private Network
1636
+ * @param {AddSubnetsRegionEnum} region The region you want to target
1637
+ * @param {string} privateNetworkId Private Network ID. (UUID format)
1638
+ * @param {AddSubnetsRequest} addSubnetsRequest
1639
+ * @param {*} [options] Override http request option.
1640
+ * @throws {RequiredError}
1641
+ */
1642
+ addSubnets: (region: AddSubnetsRegionEnum, privateNetworkId: string, addSubnetsRequest: AddSubnetsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1643
+ /**
1644
+ * Delete the specified subnets from a Private Network.
1645
+ * @summary Delete subnets from a Private Network
1646
+ * @param {DeleteSubnetsRegionEnum} region The region you want to target
1647
+ * @param {string} privateNetworkId Private Network ID. (UUID format)
1648
+ * @param {AddSubnetsRequest} addSubnetsRequest
1649
+ * @param {*} [options] Override http request option.
1650
+ * @throws {RequiredError}
1651
+ */
1652
+ deleteSubnets: (region: DeleteSubnetsRegionEnum, privateNetworkId: string, addSubnetsRequest: AddSubnetsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1653
+ /**
1654
+ * List any Private Network\'s subnets. See ListPrivateNetworks to list a specific Private Network\'s subnets.
1655
+ * @summary List subnets
1656
+ * @param {ListSubnetsRegionEnum} region The region you want to target
1657
+ * @param {ListSubnetsOrderByEnum} [orderBy] Sort order of the returned subnets.
1658
+ * @param {number} [page] Page number to return, from the paginated results.
1659
+ * @param {number} [pageSize] Maximum number of Private Networks to return per page.
1660
+ * @param {string} [organizationId] Organization ID to filter for. Only subnets belonging to this Organization will be returned. (UUID format)
1661
+ * @param {string} [projectId] Project ID to filter for. Only subnets belonging to this Project will be returned. (UUID format)
1662
+ * @param {Array<string>} [subnetIds] Subnet IDs to filter for. Only subnets matching the specified IDs will be returned.
1663
+ * @param {string} [vpcId] VPC ID to filter for. Only subnets belonging to this VPC will be returned. (UUID format)
1664
+ * @param {*} [options] Override http request option.
1665
+ * @throws {RequiredError}
1666
+ */
1667
+ listSubnets: (region: ListSubnetsRegionEnum, orderBy?: ListSubnetsOrderByEnum, page?: number, pageSize?: number, organizationId?: string, projectId?: string, subnetIds?: Array<string>, vpcId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1668
+ };
1669
+ /**
1670
+ * SubnetsApi - functional programming interface
1671
+ * @export
1672
+ */
1673
+ export declare const SubnetsApiFp: (configuration?: Configuration) => {
1674
+ /**
1675
+ * Add new subnets to an existing Private Network.
1676
+ * @summary Add subnets to a Private Network
1677
+ * @param {AddSubnetsRegionEnum} region The region you want to target
1678
+ * @param {string} privateNetworkId Private Network ID. (UUID format)
1679
+ * @param {AddSubnetsRequest} addSubnetsRequest
1680
+ * @param {*} [options] Override http request option.
1681
+ * @throws {RequiredError}
1682
+ */
1683
+ addSubnets(region: AddSubnetsRegionEnum, privateNetworkId: string, addSubnetsRequest: AddSubnetsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayVpcV2AddSubnetsResponse>>;
1684
+ /**
1685
+ * Delete the specified subnets from a Private Network.
1686
+ * @summary Delete subnets from a Private Network
1687
+ * @param {DeleteSubnetsRegionEnum} region The region you want to target
1688
+ * @param {string} privateNetworkId Private Network ID. (UUID format)
1689
+ * @param {AddSubnetsRequest} addSubnetsRequest
1690
+ * @param {*} [options] Override http request option.
1691
+ * @throws {RequiredError}
1692
+ */
1693
+ deleteSubnets(region: DeleteSubnetsRegionEnum, privateNetworkId: string, addSubnetsRequest: AddSubnetsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayVpcV2DeleteSubnetsResponse>>;
1694
+ /**
1695
+ * List any Private Network\'s subnets. See ListPrivateNetworks to list a specific Private Network\'s subnets.
1696
+ * @summary List subnets
1697
+ * @param {ListSubnetsRegionEnum} region The region you want to target
1698
+ * @param {ListSubnetsOrderByEnum} [orderBy] Sort order of the returned subnets.
1699
+ * @param {number} [page] Page number to return, from the paginated results.
1700
+ * @param {number} [pageSize] Maximum number of Private Networks to return per page.
1701
+ * @param {string} [organizationId] Organization ID to filter for. Only subnets belonging to this Organization will be returned. (UUID format)
1702
+ * @param {string} [projectId] Project ID to filter for. Only subnets belonging to this Project will be returned. (UUID format)
1703
+ * @param {Array<string>} [subnetIds] Subnet IDs to filter for. Only subnets matching the specified IDs will be returned.
1704
+ * @param {string} [vpcId] VPC ID to filter for. Only subnets belonging to this VPC will be returned. (UUID format)
1705
+ * @param {*} [options] Override http request option.
1706
+ * @throws {RequiredError}
1707
+ */
1708
+ listSubnets(region: ListSubnetsRegionEnum, orderBy?: ListSubnetsOrderByEnum, page?: number, pageSize?: number, organizationId?: string, projectId?: string, subnetIds?: Array<string>, vpcId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayVpcV2ListSubnetsResponse>>;
1709
+ };
1710
+ /**
1711
+ * SubnetsApi - factory interface
1712
+ * @export
1713
+ */
1714
+ export declare const SubnetsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1715
+ /**
1716
+ * Add new subnets to an existing Private Network.
1717
+ * @summary Add subnets to a Private Network
1718
+ * @param {AddSubnetsRegionEnum} region The region you want to target
1719
+ * @param {string} privateNetworkId Private Network ID. (UUID format)
1720
+ * @param {AddSubnetsRequest} addSubnetsRequest
1721
+ * @param {*} [options] Override http request option.
1722
+ * @throws {RequiredError}
1723
+ */
1724
+ addSubnets(region: AddSubnetsRegionEnum, privateNetworkId: string, addSubnetsRequest: AddSubnetsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayVpcV2AddSubnetsResponse>;
1725
+ /**
1726
+ * Delete the specified subnets from a Private Network.
1727
+ * @summary Delete subnets from a Private Network
1728
+ * @param {DeleteSubnetsRegionEnum} region The region you want to target
1729
+ * @param {string} privateNetworkId Private Network ID. (UUID format)
1730
+ * @param {AddSubnetsRequest} addSubnetsRequest
1731
+ * @param {*} [options] Override http request option.
1732
+ * @throws {RequiredError}
1733
+ */
1734
+ deleteSubnets(region: DeleteSubnetsRegionEnum, privateNetworkId: string, addSubnetsRequest: AddSubnetsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayVpcV2DeleteSubnetsResponse>;
1735
+ /**
1736
+ * List any Private Network\'s subnets. See ListPrivateNetworks to list a specific Private Network\'s subnets.
1737
+ * @summary List subnets
1738
+ * @param {ListSubnetsRegionEnum} region The region you want to target
1739
+ * @param {ListSubnetsOrderByEnum} [orderBy] Sort order of the returned subnets.
1740
+ * @param {number} [page] Page number to return, from the paginated results.
1741
+ * @param {number} [pageSize] Maximum number of Private Networks to return per page.
1742
+ * @param {string} [organizationId] Organization ID to filter for. Only subnets belonging to this Organization will be returned. (UUID format)
1743
+ * @param {string} [projectId] Project ID to filter for. Only subnets belonging to this Project will be returned. (UUID format)
1744
+ * @param {Array<string>} [subnetIds] Subnet IDs to filter for. Only subnets matching the specified IDs will be returned.
1745
+ * @param {string} [vpcId] VPC ID to filter for. Only subnets belonging to this VPC will be returned. (UUID format)
1746
+ * @param {*} [options] Override http request option.
1747
+ * @throws {RequiredError}
1748
+ */
1749
+ listSubnets(region: ListSubnetsRegionEnum, orderBy?: ListSubnetsOrderByEnum, page?: number, pageSize?: number, organizationId?: string, projectId?: string, subnetIds?: Array<string>, vpcId?: string, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayVpcV2ListSubnetsResponse>;
1750
+ };
1751
+ /**
1752
+ * SubnetsApi - interface
1753
+ * @export
1754
+ * @interface SubnetsApi
1755
+ */
1756
+ export interface SubnetsApiInterface {
1757
+ /**
1758
+ * Add new subnets to an existing Private Network.
1759
+ * @summary Add subnets to a Private Network
1760
+ * @param {AddSubnetsRegionEnum} region The region you want to target
1761
+ * @param {string} privateNetworkId Private Network ID. (UUID format)
1762
+ * @param {AddSubnetsRequest} addSubnetsRequest
1763
+ * @param {*} [options] Override http request option.
1764
+ * @throws {RequiredError}
1765
+ * @memberof SubnetsApiInterface
1766
+ */
1767
+ addSubnets(region: AddSubnetsRegionEnum, privateNetworkId: string, addSubnetsRequest: AddSubnetsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayVpcV2AddSubnetsResponse>;
1768
+ /**
1769
+ * Delete the specified subnets from a Private Network.
1770
+ * @summary Delete subnets from a Private Network
1771
+ * @param {DeleteSubnetsRegionEnum} region The region you want to target
1772
+ * @param {string} privateNetworkId Private Network ID. (UUID format)
1773
+ * @param {AddSubnetsRequest} addSubnetsRequest
1774
+ * @param {*} [options] Override http request option.
1775
+ * @throws {RequiredError}
1776
+ * @memberof SubnetsApiInterface
1777
+ */
1778
+ deleteSubnets(region: DeleteSubnetsRegionEnum, privateNetworkId: string, addSubnetsRequest: AddSubnetsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayVpcV2DeleteSubnetsResponse>;
1779
+ /**
1780
+ * List any Private Network\'s subnets. See ListPrivateNetworks to list a specific Private Network\'s subnets.
1781
+ * @summary List subnets
1782
+ * @param {ListSubnetsRegionEnum} region The region you want to target
1783
+ * @param {ListSubnetsOrderByEnum} [orderBy] Sort order of the returned subnets.
1784
+ * @param {number} [page] Page number to return, from the paginated results.
1785
+ * @param {number} [pageSize] Maximum number of Private Networks to return per page.
1786
+ * @param {string} [organizationId] Organization ID to filter for. Only subnets belonging to this Organization will be returned. (UUID format)
1787
+ * @param {string} [projectId] Project ID to filter for. Only subnets belonging to this Project will be returned. (UUID format)
1788
+ * @param {Array<string>} [subnetIds] Subnet IDs to filter for. Only subnets matching the specified IDs will be returned.
1789
+ * @param {string} [vpcId] VPC ID to filter for. Only subnets belonging to this VPC will be returned. (UUID format)
1790
+ * @param {*} [options] Override http request option.
1791
+ * @throws {RequiredError}
1792
+ * @memberof SubnetsApiInterface
1793
+ */
1794
+ listSubnets(region: ListSubnetsRegionEnum, orderBy?: ListSubnetsOrderByEnum, page?: number, pageSize?: number, organizationId?: string, projectId?: string, subnetIds?: Array<string>, vpcId?: string, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayVpcV2ListSubnetsResponse>;
1795
+ }
1796
+ /**
1797
+ * SubnetsApi - object-oriented interface
1798
+ * @export
1799
+ * @class SubnetsApi
1800
+ * @extends {BaseAPI}
1801
+ */
1802
+ export declare class SubnetsApi extends BaseAPI implements SubnetsApiInterface {
1803
+ /**
1804
+ * Add new subnets to an existing Private Network.
1805
+ * @summary Add subnets to a Private Network
1806
+ * @param {AddSubnetsRegionEnum} region The region you want to target
1807
+ * @param {string} privateNetworkId Private Network ID. (UUID format)
1808
+ * @param {AddSubnetsRequest} addSubnetsRequest
1809
+ * @param {*} [options] Override http request option.
1810
+ * @throws {RequiredError}
1811
+ * @memberof SubnetsApi
1812
+ */
1813
+ addSubnets(region: AddSubnetsRegionEnum, privateNetworkId: string, addSubnetsRequest: AddSubnetsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayVpcV2AddSubnetsResponse, any, {}>>;
1814
+ /**
1815
+ * Delete the specified subnets from a Private Network.
1816
+ * @summary Delete subnets from a Private Network
1817
+ * @param {DeleteSubnetsRegionEnum} region The region you want to target
1818
+ * @param {string} privateNetworkId Private Network ID. (UUID format)
1819
+ * @param {AddSubnetsRequest} addSubnetsRequest
1820
+ * @param {*} [options] Override http request option.
1821
+ * @throws {RequiredError}
1822
+ * @memberof SubnetsApi
1823
+ */
1824
+ deleteSubnets(region: DeleteSubnetsRegionEnum, privateNetworkId: string, addSubnetsRequest: AddSubnetsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayVpcV2DeleteSubnetsResponse, any, {}>>;
1825
+ /**
1826
+ * List any Private Network\'s subnets. See ListPrivateNetworks to list a specific Private Network\'s subnets.
1827
+ * @summary List subnets
1828
+ * @param {ListSubnetsRegionEnum} region The region you want to target
1829
+ * @param {ListSubnetsOrderByEnum} [orderBy] Sort order of the returned subnets.
1830
+ * @param {number} [page] Page number to return, from the paginated results.
1831
+ * @param {number} [pageSize] Maximum number of Private Networks to return per page.
1832
+ * @param {string} [organizationId] Organization ID to filter for. Only subnets belonging to this Organization will be returned. (UUID format)
1833
+ * @param {string} [projectId] Project ID to filter for. Only subnets belonging to this Project will be returned. (UUID format)
1834
+ * @param {Array<string>} [subnetIds] Subnet IDs to filter for. Only subnets matching the specified IDs will be returned.
1835
+ * @param {string} [vpcId] VPC ID to filter for. Only subnets belonging to this VPC will be returned. (UUID format)
1836
+ * @param {*} [options] Override http request option.
1837
+ * @throws {RequiredError}
1838
+ * @memberof SubnetsApi
1839
+ */
1840
+ listSubnets(region: ListSubnetsRegionEnum, orderBy?: ListSubnetsOrderByEnum, page?: number, pageSize?: number, organizationId?: string, projectId?: string, subnetIds?: Array<string>, vpcId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayVpcV2ListSubnetsResponse, any, {}>>;
1841
+ }
1842
+ /**
1843
+ * @export
1844
+ */
1845
+ export declare const AddSubnetsRegionEnum: {
1846
+ readonly FrPar: "fr-par";
1847
+ readonly NlAms: "nl-ams";
1848
+ readonly PlWaw: "pl-waw";
1849
+ };
1850
+ export type AddSubnetsRegionEnum = (typeof AddSubnetsRegionEnum)[keyof typeof AddSubnetsRegionEnum];
1851
+ /**
1852
+ * @export
1853
+ */
1854
+ export declare const DeleteSubnetsRegionEnum: {
1855
+ readonly FrPar: "fr-par";
1856
+ readonly NlAms: "nl-ams";
1857
+ readonly PlWaw: "pl-waw";
1858
+ };
1859
+ export type DeleteSubnetsRegionEnum = (typeof DeleteSubnetsRegionEnum)[keyof typeof DeleteSubnetsRegionEnum];
1860
+ /**
1861
+ * @export
1862
+ */
1863
+ export declare const ListSubnetsRegionEnum: {
1864
+ readonly FrPar: "fr-par";
1865
+ readonly NlAms: "nl-ams";
1866
+ readonly PlWaw: "pl-waw";
1867
+ };
1868
+ export type ListSubnetsRegionEnum = (typeof ListSubnetsRegionEnum)[keyof typeof ListSubnetsRegionEnum];
1869
+ /**
1870
+ * @export
1871
+ */
1872
+ export declare const ListSubnetsOrderByEnum: {
1873
+ readonly CreatedAtAsc: "created_at_asc";
1874
+ readonly CreatedAtDesc: "created_at_desc";
1875
+ };
1876
+ export type ListSubnetsOrderByEnum = (typeof ListSubnetsOrderByEnum)[keyof typeof ListSubnetsOrderByEnum];
1877
+ /**
1878
+ * VPCsApi - axios parameter creator
1879
+ * @export
1880
+ */
1881
+ export declare const VPCsApiAxiosParamCreator: (configuration?: Configuration) => {
1882
+ /**
1883
+ * Create a new VPC in the specified region.
1884
+ * @summary Create a VPC
1885
+ * @param {CreateVPCRegionEnum} region The region you want to target
1886
+ * @param {CreateVPCRequest} createVPCRequest
1887
+ * @param {*} [options] Override http request option.
1888
+ * @throws {RequiredError}
1889
+ */
1890
+ createVPC: (region: CreateVPCRegionEnum, createVPCRequest: CreateVPCRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1891
+ /**
1892
+ * Delete a VPC specified by its VPC ID.
1893
+ * @summary Delete a VPC
1894
+ * @param {DeleteVPCRegionEnum} region The region you want to target
1895
+ * @param {string} vpcId VPC ID. (UUID format)
1896
+ * @param {*} [options] Override http request option.
1897
+ * @throws {RequiredError}
1898
+ */
1899
+ deleteVPC: (region: DeleteVPCRegionEnum, vpcId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1900
+ /**
1901
+ * Enable routing on an existing VPC. Note that you will not be able to deactivate it afterwards.
1902
+ * @summary Enable routing on a VPC
1903
+ * @param {EnableRoutingRegionEnum} region The region you want to target
1904
+ * @param {string} vpcId VPC ID. (UUID format)
1905
+ * @param {object} body
1906
+ * @param {*} [options] Override http request option.
1907
+ * @throws {RequiredError}
1908
+ */
1909
+ enableRouting: (region: EnableRoutingRegionEnum, vpcId: string, body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1910
+ /**
1911
+ * Retrieve details of an existing VPC, specified by its VPC ID.
1912
+ * @summary Get a VPC
1913
+ * @param {GetVPCRegionEnum} region The region you want to target
1914
+ * @param {string} vpcId VPC ID. (UUID format)
1915
+ * @param {*} [options] Override http request option.
1916
+ * @throws {RequiredError}
1917
+ */
1918
+ getVPC: (region: GetVPCRegionEnum, vpcId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1919
+ /**
1920
+ * List existing VPCs in the specified region.
1921
+ * @summary List VPCs
1922
+ * @param {ListVPCsRegionEnum} region The region you want to target
1923
+ * @param {ListVPCsOrderByEnum} [orderBy] Sort order of the returned VPCs.
1924
+ * @param {number} [page] Page number to return, from the paginated results.
1925
+ * @param {number} [pageSize] Maximum number of VPCs to return per page.
1926
+ * @param {string} [name] Name to filter for. Only VPCs with names containing this string will be returned.
1927
+ * @param {Array<string>} [tags] Tags to filter for. Only VPCs with one or more matching tags will be returned.
1928
+ * @param {string} [organizationId] Organization ID to filter for. Only VPCs belonging to this Organization will be returned. (UUID format)
1929
+ * @param {string} [projectId] Project ID to filter for. Only VPCs belonging to this Project will be returned. (UUID format)
1930
+ * @param {boolean} [isDefault] Defines whether to filter only for VPCs which are the default one for their Project.
1931
+ * @param {boolean} [routingEnabled] Defines whether to filter only for VPCs which route traffic between their Private Networks.
1932
+ * @param {*} [options] Override http request option.
1933
+ * @throws {RequiredError}
1934
+ */
1935
+ listVPCs: (region: ListVPCsRegionEnum, orderBy?: ListVPCsOrderByEnum, page?: number, pageSize?: number, name?: string, tags?: Array<string>, organizationId?: string, projectId?: string, isDefault?: boolean, routingEnabled?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1936
+ /**
1937
+ * Update parameters including name and tags of the specified VPC.
1938
+ * @summary Update VPC
1939
+ * @param {UpdateVPCRegionEnum} region The region you want to target
1940
+ * @param {string} vpcId VPC ID. (UUID format)
1941
+ * @param {UpdateVPCRequest} updateVPCRequest
1942
+ * @param {*} [options] Override http request option.
1943
+ * @throws {RequiredError}
1944
+ */
1945
+ updateVPC: (region: UpdateVPCRegionEnum, vpcId: string, updateVPCRequest: UpdateVPCRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1946
+ };
1947
+ /**
1948
+ * VPCsApi - functional programming interface
1949
+ * @export
1950
+ */
1951
+ export declare const VPCsApiFp: (configuration?: Configuration) => {
1952
+ /**
1953
+ * Create a new VPC in the specified region.
1954
+ * @summary Create a VPC
1955
+ * @param {CreateVPCRegionEnum} region The region you want to target
1956
+ * @param {CreateVPCRequest} createVPCRequest
1957
+ * @param {*} [options] Override http request option.
1958
+ * @throws {RequiredError}
1959
+ */
1960
+ createVPC(region: CreateVPCRegionEnum, createVPCRequest: CreateVPCRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayVpcV2VPC>>;
1961
+ /**
1962
+ * Delete a VPC specified by its VPC ID.
1963
+ * @summary Delete a VPC
1964
+ * @param {DeleteVPCRegionEnum} region The region you want to target
1965
+ * @param {string} vpcId VPC ID. (UUID format)
1966
+ * @param {*} [options] Override http request option.
1967
+ * @throws {RequiredError}
1968
+ */
1969
+ deleteVPC(region: DeleteVPCRegionEnum, vpcId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1970
+ /**
1971
+ * Enable routing on an existing VPC. Note that you will not be able to deactivate it afterwards.
1972
+ * @summary Enable routing on a VPC
1973
+ * @param {EnableRoutingRegionEnum} region The region you want to target
1974
+ * @param {string} vpcId VPC ID. (UUID format)
1975
+ * @param {object} body
1976
+ * @param {*} [options] Override http request option.
1977
+ * @throws {RequiredError}
1978
+ */
1979
+ enableRouting(region: EnableRoutingRegionEnum, vpcId: string, body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayVpcV2VPC>>;
1980
+ /**
1981
+ * Retrieve details of an existing VPC, specified by its VPC ID.
1982
+ * @summary Get a VPC
1983
+ * @param {GetVPCRegionEnum} region The region you want to target
1984
+ * @param {string} vpcId VPC ID. (UUID format)
1985
+ * @param {*} [options] Override http request option.
1986
+ * @throws {RequiredError}
1987
+ */
1988
+ getVPC(region: GetVPCRegionEnum, vpcId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayVpcV2VPC>>;
1989
+ /**
1990
+ * List existing VPCs in the specified region.
1991
+ * @summary List VPCs
1992
+ * @param {ListVPCsRegionEnum} region The region you want to target
1993
+ * @param {ListVPCsOrderByEnum} [orderBy] Sort order of the returned VPCs.
1994
+ * @param {number} [page] Page number to return, from the paginated results.
1995
+ * @param {number} [pageSize] Maximum number of VPCs to return per page.
1996
+ * @param {string} [name] Name to filter for. Only VPCs with names containing this string will be returned.
1997
+ * @param {Array<string>} [tags] Tags to filter for. Only VPCs with one or more matching tags will be returned.
1998
+ * @param {string} [organizationId] Organization ID to filter for. Only VPCs belonging to this Organization will be returned. (UUID format)
1999
+ * @param {string} [projectId] Project ID to filter for. Only VPCs belonging to this Project will be returned. (UUID format)
2000
+ * @param {boolean} [isDefault] Defines whether to filter only for VPCs which are the default one for their Project.
2001
+ * @param {boolean} [routingEnabled] Defines whether to filter only for VPCs which route traffic between their Private Networks.
2002
+ * @param {*} [options] Override http request option.
2003
+ * @throws {RequiredError}
2004
+ */
2005
+ listVPCs(region: ListVPCsRegionEnum, orderBy?: ListVPCsOrderByEnum, page?: number, pageSize?: number, name?: string, tags?: Array<string>, organizationId?: string, projectId?: string, isDefault?: boolean, routingEnabled?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayVpcV2ListVPCsResponse>>;
2006
+ /**
2007
+ * Update parameters including name and tags of the specified VPC.
2008
+ * @summary Update VPC
2009
+ * @param {UpdateVPCRegionEnum} region The region you want to target
2010
+ * @param {string} vpcId VPC ID. (UUID format)
2011
+ * @param {UpdateVPCRequest} updateVPCRequest
2012
+ * @param {*} [options] Override http request option.
2013
+ * @throws {RequiredError}
2014
+ */
2015
+ updateVPC(region: UpdateVPCRegionEnum, vpcId: string, updateVPCRequest: UpdateVPCRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayVpcV2VPC>>;
2016
+ };
2017
+ /**
2018
+ * VPCsApi - factory interface
2019
+ * @export
2020
+ */
2021
+ export declare const VPCsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2022
+ /**
2023
+ * Create a new VPC in the specified region.
2024
+ * @summary Create a VPC
2025
+ * @param {CreateVPCRegionEnum} region The region you want to target
2026
+ * @param {CreateVPCRequest} createVPCRequest
2027
+ * @param {*} [options] Override http request option.
2028
+ * @throws {RequiredError}
2029
+ */
2030
+ createVPC(region: CreateVPCRegionEnum, createVPCRequest: CreateVPCRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayVpcV2VPC>;
2031
+ /**
2032
+ * Delete a VPC specified by its VPC ID.
2033
+ * @summary Delete a VPC
2034
+ * @param {DeleteVPCRegionEnum} region The region you want to target
2035
+ * @param {string} vpcId VPC ID. (UUID format)
2036
+ * @param {*} [options] Override http request option.
2037
+ * @throws {RequiredError}
2038
+ */
2039
+ deleteVPC(region: DeleteVPCRegionEnum, vpcId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
2040
+ /**
2041
+ * Enable routing on an existing VPC. Note that you will not be able to deactivate it afterwards.
2042
+ * @summary Enable routing on a VPC
2043
+ * @param {EnableRoutingRegionEnum} region The region you want to target
2044
+ * @param {string} vpcId VPC ID. (UUID format)
2045
+ * @param {object} body
2046
+ * @param {*} [options] Override http request option.
2047
+ * @throws {RequiredError}
2048
+ */
2049
+ enableRouting(region: EnableRoutingRegionEnum, vpcId: string, body: object, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayVpcV2VPC>;
2050
+ /**
2051
+ * Retrieve details of an existing VPC, specified by its VPC ID.
2052
+ * @summary Get a VPC
2053
+ * @param {GetVPCRegionEnum} region The region you want to target
2054
+ * @param {string} vpcId VPC ID. (UUID format)
2055
+ * @param {*} [options] Override http request option.
2056
+ * @throws {RequiredError}
2057
+ */
2058
+ getVPC(region: GetVPCRegionEnum, vpcId: string, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayVpcV2VPC>;
2059
+ /**
2060
+ * List existing VPCs in the specified region.
2061
+ * @summary List VPCs
2062
+ * @param {ListVPCsRegionEnum} region The region you want to target
2063
+ * @param {ListVPCsOrderByEnum} [orderBy] Sort order of the returned VPCs.
2064
+ * @param {number} [page] Page number to return, from the paginated results.
2065
+ * @param {number} [pageSize] Maximum number of VPCs to return per page.
2066
+ * @param {string} [name] Name to filter for. Only VPCs with names containing this string will be returned.
2067
+ * @param {Array<string>} [tags] Tags to filter for. Only VPCs with one or more matching tags will be returned.
2068
+ * @param {string} [organizationId] Organization ID to filter for. Only VPCs belonging to this Organization will be returned. (UUID format)
2069
+ * @param {string} [projectId] Project ID to filter for. Only VPCs belonging to this Project will be returned. (UUID format)
2070
+ * @param {boolean} [isDefault] Defines whether to filter only for VPCs which are the default one for their Project.
2071
+ * @param {boolean} [routingEnabled] Defines whether to filter only for VPCs which route traffic between their Private Networks.
2072
+ * @param {*} [options] Override http request option.
2073
+ * @throws {RequiredError}
2074
+ */
2075
+ listVPCs(region: ListVPCsRegionEnum, orderBy?: ListVPCsOrderByEnum, page?: number, pageSize?: number, name?: string, tags?: Array<string>, organizationId?: string, projectId?: string, isDefault?: boolean, routingEnabled?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayVpcV2ListVPCsResponse>;
2076
+ /**
2077
+ * Update parameters including name and tags of the specified VPC.
2078
+ * @summary Update VPC
2079
+ * @param {UpdateVPCRegionEnum} region The region you want to target
2080
+ * @param {string} vpcId VPC ID. (UUID format)
2081
+ * @param {UpdateVPCRequest} updateVPCRequest
2082
+ * @param {*} [options] Override http request option.
2083
+ * @throws {RequiredError}
2084
+ */
2085
+ updateVPC(region: UpdateVPCRegionEnum, vpcId: string, updateVPCRequest: UpdateVPCRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayVpcV2VPC>;
2086
+ };
2087
+ /**
2088
+ * VPCsApi - interface
2089
+ * @export
2090
+ * @interface VPCsApi
2091
+ */
2092
+ export interface VPCsApiInterface {
2093
+ /**
2094
+ * Create a new VPC in the specified region.
2095
+ * @summary Create a VPC
2096
+ * @param {CreateVPCRegionEnum} region The region you want to target
2097
+ * @param {CreateVPCRequest} createVPCRequest
2098
+ * @param {*} [options] Override http request option.
2099
+ * @throws {RequiredError}
2100
+ * @memberof VPCsApiInterface
2101
+ */
2102
+ createVPC(region: CreateVPCRegionEnum, createVPCRequest: CreateVPCRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayVpcV2VPC>;
2103
+ /**
2104
+ * Delete a VPC specified by its VPC ID.
2105
+ * @summary Delete a VPC
2106
+ * @param {DeleteVPCRegionEnum} region The region you want to target
2107
+ * @param {string} vpcId VPC ID. (UUID format)
2108
+ * @param {*} [options] Override http request option.
2109
+ * @throws {RequiredError}
2110
+ * @memberof VPCsApiInterface
2111
+ */
2112
+ deleteVPC(region: DeleteVPCRegionEnum, vpcId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
2113
+ /**
2114
+ * Enable routing on an existing VPC. Note that you will not be able to deactivate it afterwards.
2115
+ * @summary Enable routing on a VPC
2116
+ * @param {EnableRoutingRegionEnum} region The region you want to target
2117
+ * @param {string} vpcId VPC ID. (UUID format)
2118
+ * @param {object} body
2119
+ * @param {*} [options] Override http request option.
2120
+ * @throws {RequiredError}
2121
+ * @memberof VPCsApiInterface
2122
+ */
2123
+ enableRouting(region: EnableRoutingRegionEnum, vpcId: string, body: object, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayVpcV2VPC>;
2124
+ /**
2125
+ * Retrieve details of an existing VPC, specified by its VPC ID.
2126
+ * @summary Get a VPC
2127
+ * @param {GetVPCRegionEnum} region The region you want to target
2128
+ * @param {string} vpcId VPC ID. (UUID format)
2129
+ * @param {*} [options] Override http request option.
2130
+ * @throws {RequiredError}
2131
+ * @memberof VPCsApiInterface
2132
+ */
2133
+ getVPC(region: GetVPCRegionEnum, vpcId: string, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayVpcV2VPC>;
2134
+ /**
2135
+ * List existing VPCs in the specified region.
2136
+ * @summary List VPCs
2137
+ * @param {ListVPCsRegionEnum} region The region you want to target
2138
+ * @param {ListVPCsOrderByEnum} [orderBy] Sort order of the returned VPCs.
2139
+ * @param {number} [page] Page number to return, from the paginated results.
2140
+ * @param {number} [pageSize] Maximum number of VPCs to return per page.
2141
+ * @param {string} [name] Name to filter for. Only VPCs with names containing this string will be returned.
2142
+ * @param {Array<string>} [tags] Tags to filter for. Only VPCs with one or more matching tags will be returned.
2143
+ * @param {string} [organizationId] Organization ID to filter for. Only VPCs belonging to this Organization will be returned. (UUID format)
2144
+ * @param {string} [projectId] Project ID to filter for. Only VPCs belonging to this Project will be returned. (UUID format)
2145
+ * @param {boolean} [isDefault] Defines whether to filter only for VPCs which are the default one for their Project.
2146
+ * @param {boolean} [routingEnabled] Defines whether to filter only for VPCs which route traffic between their Private Networks.
2147
+ * @param {*} [options] Override http request option.
2148
+ * @throws {RequiredError}
2149
+ * @memberof VPCsApiInterface
2150
+ */
2151
+ listVPCs(region: ListVPCsRegionEnum, orderBy?: ListVPCsOrderByEnum, page?: number, pageSize?: number, name?: string, tags?: Array<string>, organizationId?: string, projectId?: string, isDefault?: boolean, routingEnabled?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayVpcV2ListVPCsResponse>;
2152
+ /**
2153
+ * Update parameters including name and tags of the specified VPC.
2154
+ * @summary Update VPC
2155
+ * @param {UpdateVPCRegionEnum} region The region you want to target
2156
+ * @param {string} vpcId VPC ID. (UUID format)
2157
+ * @param {UpdateVPCRequest} updateVPCRequest
2158
+ * @param {*} [options] Override http request option.
2159
+ * @throws {RequiredError}
2160
+ * @memberof VPCsApiInterface
2161
+ */
2162
+ updateVPC(region: UpdateVPCRegionEnum, vpcId: string, updateVPCRequest: UpdateVPCRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayVpcV2VPC>;
2163
+ }
2164
+ /**
2165
+ * VPCsApi - object-oriented interface
2166
+ * @export
2167
+ * @class VPCsApi
2168
+ * @extends {BaseAPI}
2169
+ */
2170
+ export declare class VPCsApi extends BaseAPI implements VPCsApiInterface {
2171
+ /**
2172
+ * Create a new VPC in the specified region.
2173
+ * @summary Create a VPC
2174
+ * @param {CreateVPCRegionEnum} region The region you want to target
2175
+ * @param {CreateVPCRequest} createVPCRequest
2176
+ * @param {*} [options] Override http request option.
2177
+ * @throws {RequiredError}
2178
+ * @memberof VPCsApi
2179
+ */
2180
+ createVPC(region: CreateVPCRegionEnum, createVPCRequest: CreateVPCRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayVpcV2VPC, any, {}>>;
2181
+ /**
2182
+ * Delete a VPC specified by its VPC ID.
2183
+ * @summary Delete a VPC
2184
+ * @param {DeleteVPCRegionEnum} region The region you want to target
2185
+ * @param {string} vpcId VPC ID. (UUID format)
2186
+ * @param {*} [options] Override http request option.
2187
+ * @throws {RequiredError}
2188
+ * @memberof VPCsApi
2189
+ */
2190
+ deleteVPC(region: DeleteVPCRegionEnum, vpcId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
2191
+ /**
2192
+ * Enable routing on an existing VPC. Note that you will not be able to deactivate it afterwards.
2193
+ * @summary Enable routing on a VPC
2194
+ * @param {EnableRoutingRegionEnum} region The region you want to target
2195
+ * @param {string} vpcId VPC ID. (UUID format)
2196
+ * @param {object} body
2197
+ * @param {*} [options] Override http request option.
2198
+ * @throws {RequiredError}
2199
+ * @memberof VPCsApi
2200
+ */
2201
+ enableRouting(region: EnableRoutingRegionEnum, vpcId: string, body: object, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayVpcV2VPC, any, {}>>;
2202
+ /**
2203
+ * Retrieve details of an existing VPC, specified by its VPC ID.
2204
+ * @summary Get a VPC
2205
+ * @param {GetVPCRegionEnum} region The region you want to target
2206
+ * @param {string} vpcId VPC ID. (UUID format)
2207
+ * @param {*} [options] Override http request option.
2208
+ * @throws {RequiredError}
2209
+ * @memberof VPCsApi
2210
+ */
2211
+ getVPC(region: GetVPCRegionEnum, vpcId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayVpcV2VPC, any, {}>>;
2212
+ /**
2213
+ * List existing VPCs in the specified region.
2214
+ * @summary List VPCs
2215
+ * @param {ListVPCsRegionEnum} region The region you want to target
2216
+ * @param {ListVPCsOrderByEnum} [orderBy] Sort order of the returned VPCs.
2217
+ * @param {number} [page] Page number to return, from the paginated results.
2218
+ * @param {number} [pageSize] Maximum number of VPCs to return per page.
2219
+ * @param {string} [name] Name to filter for. Only VPCs with names containing this string will be returned.
2220
+ * @param {Array<string>} [tags] Tags to filter for. Only VPCs with one or more matching tags will be returned.
2221
+ * @param {string} [organizationId] Organization ID to filter for. Only VPCs belonging to this Organization will be returned. (UUID format)
2222
+ * @param {string} [projectId] Project ID to filter for. Only VPCs belonging to this Project will be returned. (UUID format)
2223
+ * @param {boolean} [isDefault] Defines whether to filter only for VPCs which are the default one for their Project.
2224
+ * @param {boolean} [routingEnabled] Defines whether to filter only for VPCs which route traffic between their Private Networks.
2225
+ * @param {*} [options] Override http request option.
2226
+ * @throws {RequiredError}
2227
+ * @memberof VPCsApi
2228
+ */
2229
+ listVPCs(region: ListVPCsRegionEnum, orderBy?: ListVPCsOrderByEnum, page?: number, pageSize?: number, name?: string, tags?: Array<string>, organizationId?: string, projectId?: string, isDefault?: boolean, routingEnabled?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayVpcV2ListVPCsResponse, any, {}>>;
2230
+ /**
2231
+ * Update parameters including name and tags of the specified VPC.
2232
+ * @summary Update VPC
2233
+ * @param {UpdateVPCRegionEnum} region The region you want to target
2234
+ * @param {string} vpcId VPC ID. (UUID format)
2235
+ * @param {UpdateVPCRequest} updateVPCRequest
2236
+ * @param {*} [options] Override http request option.
2237
+ * @throws {RequiredError}
2238
+ * @memberof VPCsApi
2239
+ */
2240
+ updateVPC(region: UpdateVPCRegionEnum, vpcId: string, updateVPCRequest: UpdateVPCRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayVpcV2VPC, any, {}>>;
2241
+ }
2242
+ /**
2243
+ * @export
2244
+ */
2245
+ export declare const CreateVPCRegionEnum: {
2246
+ readonly FrPar: "fr-par";
2247
+ readonly NlAms: "nl-ams";
2248
+ readonly PlWaw: "pl-waw";
2249
+ };
2250
+ export type CreateVPCRegionEnum = (typeof CreateVPCRegionEnum)[keyof typeof CreateVPCRegionEnum];
2251
+ /**
2252
+ * @export
2253
+ */
2254
+ export declare const DeleteVPCRegionEnum: {
2255
+ readonly FrPar: "fr-par";
2256
+ readonly NlAms: "nl-ams";
2257
+ readonly PlWaw: "pl-waw";
2258
+ };
2259
+ export type DeleteVPCRegionEnum = (typeof DeleteVPCRegionEnum)[keyof typeof DeleteVPCRegionEnum];
2260
+ /**
2261
+ * @export
2262
+ */
2263
+ export declare const EnableRoutingRegionEnum: {
2264
+ readonly FrPar: "fr-par";
2265
+ readonly NlAms: "nl-ams";
2266
+ readonly PlWaw: "pl-waw";
2267
+ };
2268
+ export type EnableRoutingRegionEnum = (typeof EnableRoutingRegionEnum)[keyof typeof EnableRoutingRegionEnum];
2269
+ /**
2270
+ * @export
2271
+ */
2272
+ export declare const GetVPCRegionEnum: {
2273
+ readonly FrPar: "fr-par";
2274
+ readonly NlAms: "nl-ams";
2275
+ readonly PlWaw: "pl-waw";
2276
+ };
2277
+ export type GetVPCRegionEnum = (typeof GetVPCRegionEnum)[keyof typeof GetVPCRegionEnum];
2278
+ /**
2279
+ * @export
2280
+ */
2281
+ export declare const ListVPCsRegionEnum: {
2282
+ readonly FrPar: "fr-par";
2283
+ readonly NlAms: "nl-ams";
2284
+ readonly PlWaw: "pl-waw";
2285
+ };
2286
+ export type ListVPCsRegionEnum = (typeof ListVPCsRegionEnum)[keyof typeof ListVPCsRegionEnum];
2287
+ /**
2288
+ * @export
2289
+ */
2290
+ export declare const ListVPCsOrderByEnum: {
2291
+ readonly CreatedAtAsc: "created_at_asc";
2292
+ readonly CreatedAtDesc: "created_at_desc";
2293
+ readonly NameAsc: "name_asc";
2294
+ readonly NameDesc: "name_desc";
2295
+ };
2296
+ export type ListVPCsOrderByEnum = (typeof ListVPCsOrderByEnum)[keyof typeof ListVPCsOrderByEnum];
2297
+ /**
2298
+ * @export
2299
+ */
2300
+ export declare const UpdateVPCRegionEnum: {
2301
+ readonly FrPar: "fr-par";
2302
+ readonly NlAms: "nl-ams";
2303
+ readonly PlWaw: "pl-waw";
2304
+ };
2305
+ export type UpdateVPCRegionEnum = (typeof UpdateVPCRegionEnum)[keyof typeof UpdateVPCRegionEnum];