@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,4227 @@
1
+ /**
2
+ * Elastic Metal API
3
+ * Scaleway Elastic Metal servers are dedicated physical servers that you can order on-demand, like Instances. You can install an OS or other images on your Elastic Metal server and connect to it via SSH to use it as you require. You can power off the server when you are not using or delete it from your account once you have finished using it. Elastic Metal servers are ideal for large workloads, big data, and applications that require increased security and dedicated resources. (switchcolumn) <Message type=\"tip\"> Check out our dedicated APIs to manage [Private Networks](https://www.scaleway.com/en/developers/api/elastic-metal/private-network-api/) and [Flexible IPs](https://www.scaleway.com/en/developers/api/elastic-metal-flexible-ip/) for Elastic Metal servers. </Message> (switchcolumn) ## Concepts Refer to our [dedicated concepts](https://www.scaleway.com/en/docs/elastic-metal/concepts/) page to find definitions of the different terms referring to Elastic Metal servers. ## Quickstart (switchcolumn) (switchcolumn) 1. **Configure your environment variables.** ```bash export PROJECT_ID=\"<project-id>\" export ACCESS_KEY=\"<access-key>\" export SECRET_KEY=\"<secret-key>\" export ZONE=\"<availability-zone>\" ``` <Message type=\"note\"> This is an optional step that seeks to simplify your usage of the Bare Metal API. </Message> 2. **Edit the POST request payload** that we will use in the next step to create an Elastic Metal server. Modify the values in the example according to your needs, using the information in the table to help. ```json { \"offer_id\": \"string\", \"project_id\": \"string\", \"name\": \"string\", \"description\": \"string\", \"tags\": [ \"tag1\", \"tag2\" ], \"install\": { \"os_id\": \"string\", \"hostname\": \"string\", \"ssh_key_ids\": [ \"string\" ], \"user\": \"string\", \"password\": \"string\", \"service_user\": \"string\", \"service_password\": \"string\" }, \"option_ids\": [ \"string\" ] } ``` | Parameter | Description | | :--------------- | :----------------------------------------------------------------- | | `offer_id` | **REQUIRED** UUID of the Elastic Metal offer | | `project_id` | **REQUIRED** UUID of the project you want to create your Elastic Metal in. | | `name` | **REQUIRED** Name of the Elastic Metal server (≠hostname) | | `description` | **REQUIRED** A description of your server (max 255 characters) | | `tags` | **OPTIONAL** An array of tags associated with your server | | `os_id` | The ID of the operating system image to install on the server | | `hostname` | Hostname of the server | | `ssh_key_ids` | SSH key IDs authorized on the server | | `user` | **NULLABLE** A regular user to be configured on the server | | `password` | **NULLABLE** The password for the user account | | `service_user` | **NULLABLE** A service user for third party services (user to login in services such as BigBlueButton) | | `service password` | **NULLABLE** Password for the service user | | `option_ids` | IDs of options to enable on server | <Message type=\"tip\"> [To find your Project ID you can either use the [Account API](https://www.scaleway.com/en/developers/api/account/project-api/#path-projects-list-all-projects-of-an-organization) or the [Scaleway console](https://console.scaleway.com/project/settings): </Message> 3. **Run the following command** to create an Elastic Metal server. Make sure you include the payload you edited in the previous step. ```bash curl -X POST \\ -H \"Content-Type: application/json\" \\ -H \"X-Auth-Token: $SECRET_KEY\" https://api.scaleway.com/baremetal/v1/zones/$ZONE/servers \\ -d \'{ \"offer_id\": \"bd757ca3-a71b-4158-9ef5-39436b6db2a4\", \"project_id\": \"cc6d123a-bc09-4e24-b5d9-3310f2104e13\", \"name\": \"MyElasticMetal\", \"description\": \"My_Elastic_Metal_Server\", \"tags\": [ \"Ubuntu22\", \"Dedicated\" ], \"install\": { \"os_id\": \"96e5f0f2-d216-4de2-8a15-68730d877885\", \"hostname\": \"elasticmetal.example.com\", \"ssh_key_ids\": [ \"fa05e77f-66b7-43b9-bc21-4dfe3c5bb624\" ], \"user\": \"ubuntu\", \"password\": \"mySecretPa$$word\" \"option_ids\": [ \"string\" ] }\" ``` 4. **List your Elastic Metal servers.** ```bash curl -X GET \\ -H \"Content-Type: application/json\" \\ -H \"X-Auth-Token: $SECRET_KEY\" https://api.scaleway.com/baremetal/v1/zones/$ZONE/servers ``` 5. **Retrieve your Elastic Metal server IP** from the response. 6. **Connect to your Elastic Metal server** using SSH ```bash ssh root@my-elastic-metal-server-ip ``` (switchcolumn) <Message type=\"requirement\"> To perform the following steps, you must first ensure that: - you have an account and are logged into the [Scaleway console](https://console.scaleway.com/organization) - 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 ### Features - Installation (Server is installed by preseed [preseed: complete install from a virtual media], you must define at least one ssh key to install your server) - Start/Stop/Reboot - Rescue Reboot, a rescue image is an operating system image designed to help you diagnose and fix OS experiencing failures. When your server boot on rescue, you can mount your disks and start diagnosing/fixing your image. - Billed by the minute (billing starts when the server is delivered and stops when the server is deleted) - IPv6, all servers are available with a /128 IPv6 subnet - ReverseIP, You can configure your reverse IP (IPv4 and IPv6), you must register the server IP in your DNS records before calling the endpoint - Basic monitoring with ping status - Flexible IP is available ([documentation](https://www.scaleway.com/en/developers/api/elastic-metal-flexible-ip/)) ### Availability Zones Scaleway\'s infrastructure is spread across different [regions and Availability Zones](https://www.scaleway.com/en/docs/account/reference-content/products-availability/). Elastic Metal servers are available in Paris, Amsterdam, and Warsaw regions, with product availability in the following AZs: | Name | API ID | |-----------|----------------------------------| | Paris | `fr-par-1` `fr-par-2` | | Amsterdam | `nl-ams-1` `nl-ams-2` | | Warsaw | `pl-waw-2` `pl-waw-3` | ## Technical limitations - Failover IPs are not available in API `v1`, use the API `v1alpha1` ## Going further For more help using Scaleway Elastic Metal servers, check out the following resources: - Our [main documentation](https://www.scaleway.com/en/docs/elastic-metal/) - The #elastic-metal 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/) ### Troubleshooting #### How is the installation of Elastic Metal servers done? - The installation of Elastic Metal servers is done by preseed (± 10min) (preseed: complete install from a virtual media) #### How can I retrieve my secret key and Project ID? You can find your [secret key](https://console.scaleway.com/iam/api-keys) and your [Project ID](https://console.scaleway.com/project/credentials) in the Scaleway console. #### How can I add my server to a Private Network? See [our dedicated documentation](/en/developers/api/elastic-metal-flexible-ip).
4
+ *
5
+ * The version of the OpenAPI document: v1
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 AddOptionServerRequest
20
+ */
21
+ export interface AddOptionServerRequest {
22
+ /**
23
+ * Auto expire the option after this date. (RFC 3339 format)
24
+ * @type {string}
25
+ * @memberof AddOptionServerRequest
26
+ */
27
+ expires_at?: string;
28
+ }
29
+ /**
30
+ *
31
+ * @export
32
+ * @interface CreateServerRequest
33
+ */
34
+ export interface CreateServerRequest {
35
+ /**
36
+ * Offer ID of the new server.
37
+ * @type {string}
38
+ * @memberof CreateServerRequest
39
+ */
40
+ offer_id: string;
41
+ /**
42
+ * Organization ID with which the server will be created.
43
+ * @type {string}
44
+ * @memberof CreateServerRequest
45
+ * @deprecated
46
+ */
47
+ organization_id?: string;
48
+ /**
49
+ * Project ID with which the server will be created.
50
+ * @type {string}
51
+ * @memberof CreateServerRequest
52
+ */
53
+ project_id?: string;
54
+ /**
55
+ * Name of the server (≠hostname).
56
+ * @type {string}
57
+ * @memberof CreateServerRequest
58
+ */
59
+ name: string;
60
+ /**
61
+ * Description associated with the server, max 255 characters.
62
+ * @type {string}
63
+ * @memberof CreateServerRequest
64
+ */
65
+ description: string;
66
+ /**
67
+ * Tags to associate to the server.
68
+ * @type {Array<string>}
69
+ * @memberof CreateServerRequest
70
+ */
71
+ tags?: Array<string>;
72
+ /**
73
+ *
74
+ * @type {CreateServerRequestInstall}
75
+ * @memberof CreateServerRequest
76
+ */
77
+ install?: CreateServerRequestInstall;
78
+ /**
79
+ * IDs of options to enable on server.
80
+ * @type {Array<string>}
81
+ * @memberof CreateServerRequest
82
+ */
83
+ option_ids?: Array<string>;
84
+ /**
85
+ * If enabled, the server can not be deleted.
86
+ * @type {boolean}
87
+ * @memberof CreateServerRequest
88
+ */
89
+ protected?: boolean;
90
+ /**
91
+ *
92
+ * @type {CreateServerRequestUserData}
93
+ * @memberof CreateServerRequest
94
+ */
95
+ user_data?: CreateServerRequestUserData;
96
+ }
97
+ /**
98
+ * Object describing the configuration details of the OS installation on the server.
99
+ * @export
100
+ * @interface CreateServerRequestInstall
101
+ */
102
+ export interface CreateServerRequestInstall {
103
+ /**
104
+ * ID of the OS to installation on the server.
105
+ * @type {string}
106
+ * @memberof CreateServerRequestInstall
107
+ */
108
+ os_id?: string;
109
+ /**
110
+ * Hostname of the server.
111
+ * @type {string}
112
+ * @memberof CreateServerRequestInstall
113
+ */
114
+ hostname?: string;
115
+ /**
116
+ * SSH key IDs authorized on the server.
117
+ * @type {Array<string>}
118
+ * @memberof CreateServerRequestInstall
119
+ */
120
+ ssh_key_ids?: Array<string>;
121
+ /**
122
+ * User for the installation.
123
+ * @type {string}
124
+ * @memberof CreateServerRequestInstall
125
+ */
126
+ user?: string;
127
+ /**
128
+ * Password for the installation.
129
+ * @type {string}
130
+ * @memberof CreateServerRequestInstall
131
+ */
132
+ password?: string;
133
+ /**
134
+ * Regular user that runs the service to be installed on the server.
135
+ * @type {string}
136
+ * @memberof CreateServerRequestInstall
137
+ */
138
+ service_user?: string;
139
+ /**
140
+ * Password used for the service to install.
141
+ * @type {string}
142
+ * @memberof CreateServerRequestInstall
143
+ */
144
+ service_password?: string;
145
+ /**
146
+ *
147
+ * @type {ValidatePartitioningSchemaRequestPartitioningSchema}
148
+ * @memberof CreateServerRequestInstall
149
+ */
150
+ partitioning_schema?: ValidatePartitioningSchemaRequestPartitioningSchema;
151
+ }
152
+ /**
153
+ * Configuration data to pass to cloud-init such as a YAML cloud config data or a user-data script.
154
+ * @export
155
+ * @interface CreateServerRequestUserData
156
+ */
157
+ export interface CreateServerRequestUserData {
158
+ /**
159
+ *
160
+ * @type {string}
161
+ * @memberof CreateServerRequestUserData
162
+ */
163
+ value?: string;
164
+ }
165
+ /**
166
+ *
167
+ * @export
168
+ * @interface InstallServerRequest
169
+ */
170
+ export interface InstallServerRequest {
171
+ /**
172
+ * ID of the OS to installation on the server.
173
+ * @type {string}
174
+ * @memberof InstallServerRequest
175
+ */
176
+ os_id: string;
177
+ /**
178
+ * Hostname of the server.
179
+ * @type {string}
180
+ * @memberof InstallServerRequest
181
+ */
182
+ hostname: string;
183
+ /**
184
+ * SSH key IDs authorized on the server.
185
+ * @type {Array<string>}
186
+ * @memberof InstallServerRequest
187
+ */
188
+ ssh_key_ids: Array<string>;
189
+ /**
190
+ * User used for the installation.
191
+ * @type {string}
192
+ * @memberof InstallServerRequest
193
+ */
194
+ user?: string;
195
+ /**
196
+ * Password used for the installation.
197
+ * @type {string}
198
+ * @memberof InstallServerRequest
199
+ */
200
+ password?: string;
201
+ /**
202
+ * User used for the service to install.
203
+ * @type {string}
204
+ * @memberof InstallServerRequest
205
+ */
206
+ service_user?: string;
207
+ /**
208
+ * Password used for the service to install.
209
+ * @type {string}
210
+ * @memberof InstallServerRequest
211
+ */
212
+ service_password?: string;
213
+ /**
214
+ *
215
+ * @type {ValidatePartitioningSchemaRequestPartitioningSchema}
216
+ * @memberof InstallServerRequest
217
+ */
218
+ partitioning_schema?: ValidatePartitioningSchemaRequestPartitioningSchema;
219
+ /**
220
+ *
221
+ * @type {InstallServerRequestUserData}
222
+ * @memberof InstallServerRequest
223
+ * @deprecated
224
+ */
225
+ user_data?: InstallServerRequestUserData;
226
+ }
227
+ /**
228
+ * Configuration data to pass to cloud-init such as a YAML cloud config data or a user-data script.
229
+ * @export
230
+ * @interface InstallServerRequestUserData
231
+ */
232
+ export interface InstallServerRequestUserData {
233
+ /**
234
+ *
235
+ * @type {string}
236
+ * @memberof InstallServerRequestUserData
237
+ */
238
+ name?: string;
239
+ /**
240
+ *
241
+ * @type {string}
242
+ * @memberof InstallServerRequestUserData
243
+ */
244
+ content_type?: string;
245
+ /**
246
+ *
247
+ * @type {string}
248
+ * @memberof InstallServerRequestUserData
249
+ */
250
+ content?: string;
251
+ }
252
+ /**
253
+ *
254
+ * @export
255
+ * @interface RebootServerRequest
256
+ */
257
+ export interface RebootServerRequest {
258
+ /**
259
+ * The type of boot.
260
+ * @type {string}
261
+ * @memberof RebootServerRequest
262
+ */
263
+ boot_type?: RebootServerRequestBootTypeEnum;
264
+ /**
265
+ * Additional SSH public key IDs to configure on rescue image.
266
+ * @type {Array<string>}
267
+ * @memberof RebootServerRequest
268
+ */
269
+ ssh_key_ids?: Array<string>;
270
+ }
271
+ export declare const RebootServerRequestBootTypeEnum: {
272
+ readonly UnknownBootType: "unknown_boot_type";
273
+ readonly Normal: "normal";
274
+ readonly Rescue: "rescue";
275
+ };
276
+ export type RebootServerRequestBootTypeEnum = (typeof RebootServerRequestBootTypeEnum)[keyof typeof RebootServerRequestBootTypeEnum];
277
+ /**
278
+ *
279
+ * @export
280
+ * @interface ScalewayBaremetalV1BMCAccess
281
+ */
282
+ export interface ScalewayBaremetalV1BMCAccess {
283
+ /**
284
+ * URL to access to the server console.
285
+ * @type {string}
286
+ * @memberof ScalewayBaremetalV1BMCAccess
287
+ */
288
+ url?: string;
289
+ /**
290
+ * The login to use for the BMC (Baseboard Management Controller) access authentication.
291
+ * @type {string}
292
+ * @memberof ScalewayBaremetalV1BMCAccess
293
+ */
294
+ login?: string;
295
+ /**
296
+ * The password to use for the BMC (Baseboard Management Controller) access authentication.
297
+ * @type {string}
298
+ * @memberof ScalewayBaremetalV1BMCAccess
299
+ */
300
+ password?: string;
301
+ /**
302
+ * The date after which the BMC (Baseboard Management Controller) access will be closed. (RFC 3339 format)
303
+ * @type {string}
304
+ * @memberof ScalewayBaremetalV1BMCAccess
305
+ */
306
+ expires_at?: string;
307
+ }
308
+ /**
309
+ *
310
+ * @export
311
+ * @interface ScalewayBaremetalV1CPU
312
+ */
313
+ export interface ScalewayBaremetalV1CPU {
314
+ /**
315
+ * Name of the CPU.
316
+ * @type {string}
317
+ * @memberof ScalewayBaremetalV1CPU
318
+ */
319
+ name?: string;
320
+ /**
321
+ * Number of CPU cores.
322
+ * @type {number}
323
+ * @memberof ScalewayBaremetalV1CPU
324
+ */
325
+ core_count?: number;
326
+ /**
327
+ * Number CPU threads.
328
+ * @type {number}
329
+ * @memberof ScalewayBaremetalV1CPU
330
+ */
331
+ thread_count?: number;
332
+ /**
333
+ * Frequency of the CPU in MHz.
334
+ * @type {number}
335
+ * @memberof ScalewayBaremetalV1CPU
336
+ */
337
+ frequency?: number;
338
+ /**
339
+ * Benchmark of the CPU.
340
+ * @type {string}
341
+ * @memberof ScalewayBaremetalV1CPU
342
+ */
343
+ benchmark?: string;
344
+ }
345
+ /**
346
+ *
347
+ * @export
348
+ * @interface ScalewayBaremetalV1Disk
349
+ */
350
+ export interface ScalewayBaremetalV1Disk {
351
+ /**
352
+ * Capacity of the disk in bytes. (in bytes)
353
+ * @type {number}
354
+ * @memberof ScalewayBaremetalV1Disk
355
+ */
356
+ capacity?: number;
357
+ /**
358
+ * Type of the disk.
359
+ * @type {string}
360
+ * @memberof ScalewayBaremetalV1Disk
361
+ */
362
+ type?: string;
363
+ }
364
+ /**
365
+ *
366
+ * @export
367
+ * @interface ScalewayBaremetalV1GPU
368
+ */
369
+ export interface ScalewayBaremetalV1GPU {
370
+ /**
371
+ * Name of the GPU.
372
+ * @type {string}
373
+ * @memberof ScalewayBaremetalV1GPU
374
+ */
375
+ name?: string;
376
+ /**
377
+ * Capacity of the vram in bytes.
378
+ * @type {number}
379
+ * @memberof ScalewayBaremetalV1GPU
380
+ */
381
+ vram?: number;
382
+ }
383
+ /**
384
+ *
385
+ * @export
386
+ * @interface ScalewayBaremetalV1GetServerMetricsResponse
387
+ */
388
+ export interface ScalewayBaremetalV1GetServerMetricsResponse {
389
+ /**
390
+ *
391
+ * @type {ScalewayBaremetalV1GetServerMetricsResponsePings}
392
+ * @memberof ScalewayBaremetalV1GetServerMetricsResponse
393
+ */
394
+ pings?: ScalewayBaremetalV1GetServerMetricsResponsePings;
395
+ }
396
+ /**
397
+ * Timeseries object representing pings on the server.
398
+ * @export
399
+ * @interface ScalewayBaremetalV1GetServerMetricsResponsePings
400
+ */
401
+ export interface ScalewayBaremetalV1GetServerMetricsResponsePings {
402
+ /**
403
+ *
404
+ * @type {string}
405
+ * @memberof ScalewayBaremetalV1GetServerMetricsResponsePings
406
+ */
407
+ name?: string;
408
+ /**
409
+ *
410
+ * @type {Array<Array<ScalewayStdTimeSeriesPointInner>>}
411
+ * @memberof ScalewayBaremetalV1GetServerMetricsResponsePings
412
+ */
413
+ points?: Array<Array<ScalewayStdTimeSeriesPointInner>>;
414
+ /**
415
+ *
416
+ * @type {ScalewayBaremetalV1GetServerMetricsResponsePingsMetadata}
417
+ * @memberof ScalewayBaremetalV1GetServerMetricsResponsePings
418
+ */
419
+ metadata?: ScalewayBaremetalV1GetServerMetricsResponsePingsMetadata;
420
+ }
421
+ /**
422
+ *
423
+ * @export
424
+ * @interface ScalewayBaremetalV1GetServerMetricsResponsePingsMetadata
425
+ */
426
+ export interface ScalewayBaremetalV1GetServerMetricsResponsePingsMetadata {
427
+ [key: string]: any;
428
+ /**
429
+ *
430
+ * @type {string}
431
+ * @memberof ScalewayBaremetalV1GetServerMetricsResponsePingsMetadata
432
+ */
433
+ '&lt;metadataKey&gt;'?: string;
434
+ }
435
+ /**
436
+ *
437
+ * @export
438
+ * @interface ScalewayBaremetalV1IP
439
+ */
440
+ export interface ScalewayBaremetalV1IP {
441
+ /**
442
+ * ID of the IP.
443
+ * @type {string}
444
+ * @memberof ScalewayBaremetalV1IP
445
+ */
446
+ id?: string;
447
+ /**
448
+ * Address of the IP. (IP address)
449
+ * @type {string}
450
+ * @memberof ScalewayBaremetalV1IP
451
+ */
452
+ address?: string;
453
+ /**
454
+ * Reverse IP value.
455
+ * @type {string}
456
+ * @memberof ScalewayBaremetalV1IP
457
+ */
458
+ reverse?: string;
459
+ /**
460
+ * Version of IP (v4 or v6).
461
+ * @type {string}
462
+ * @memberof ScalewayBaremetalV1IP
463
+ */
464
+ version?: ScalewayBaremetalV1IPVersionEnum;
465
+ /**
466
+ * Status of the reverse.
467
+ * @type {string}
468
+ * @memberof ScalewayBaremetalV1IP
469
+ */
470
+ reverse_status?: ScalewayBaremetalV1IPReverseStatusEnum;
471
+ /**
472
+ * A message related to the reverse status, e.g. in case of an error.
473
+ * @type {string}
474
+ * @memberof ScalewayBaremetalV1IP
475
+ */
476
+ reverse_status_message?: string;
477
+ }
478
+ export declare const ScalewayBaremetalV1IPVersionEnum: {
479
+ readonly Ipv4: "IPv4";
480
+ readonly Ipv6: "IPv6";
481
+ };
482
+ export type ScalewayBaremetalV1IPVersionEnum = (typeof ScalewayBaremetalV1IPVersionEnum)[keyof typeof ScalewayBaremetalV1IPVersionEnum];
483
+ export declare const ScalewayBaremetalV1IPReverseStatusEnum: {
484
+ readonly Unknown: "unknown";
485
+ readonly Pending: "pending";
486
+ readonly Active: "active";
487
+ readonly Error: "error";
488
+ };
489
+ export type ScalewayBaremetalV1IPReverseStatusEnum = (typeof ScalewayBaremetalV1IPReverseStatusEnum)[keyof typeof ScalewayBaremetalV1IPReverseStatusEnum];
490
+ /**
491
+ *
492
+ * @export
493
+ * @interface ScalewayBaremetalV1ListOSResponse
494
+ */
495
+ export interface ScalewayBaremetalV1ListOSResponse {
496
+ /**
497
+ * Total count of matching OS.
498
+ * @type {number}
499
+ * @memberof ScalewayBaremetalV1ListOSResponse
500
+ */
501
+ total_count?: number;
502
+ /**
503
+ * OS that match filters.
504
+ * @type {Array<ScalewayBaremetalV1OS>}
505
+ * @memberof ScalewayBaremetalV1ListOSResponse
506
+ */
507
+ os?: Array<ScalewayBaremetalV1OS>;
508
+ }
509
+ /**
510
+ *
511
+ * @export
512
+ * @interface ScalewayBaremetalV1ListOffersResponse
513
+ */
514
+ export interface ScalewayBaremetalV1ListOffersResponse {
515
+ /**
516
+ * Total count of matching offers.
517
+ * @type {number}
518
+ * @memberof ScalewayBaremetalV1ListOffersResponse
519
+ */
520
+ total_count?: number;
521
+ /**
522
+ * Offers that match filters.
523
+ * @type {Array<ScalewayBaremetalV1Offer>}
524
+ * @memberof ScalewayBaremetalV1ListOffersResponse
525
+ */
526
+ offers?: Array<ScalewayBaremetalV1Offer>;
527
+ }
528
+ /**
529
+ *
530
+ * @export
531
+ * @interface ScalewayBaremetalV1ListOptionsResponse
532
+ */
533
+ export interface ScalewayBaremetalV1ListOptionsResponse {
534
+ /**
535
+ * Total count of matching options.
536
+ * @type {number}
537
+ * @memberof ScalewayBaremetalV1ListOptionsResponse
538
+ */
539
+ total_count?: number;
540
+ /**
541
+ * Options that match filters.
542
+ * @type {Array<ScalewayBaremetalV1Option>}
543
+ * @memberof ScalewayBaremetalV1ListOptionsResponse
544
+ */
545
+ options?: Array<ScalewayBaremetalV1Option>;
546
+ }
547
+ /**
548
+ *
549
+ * @export
550
+ * @interface ScalewayBaremetalV1ListServerEventsResponse
551
+ */
552
+ export interface ScalewayBaremetalV1ListServerEventsResponse {
553
+ /**
554
+ * Total count of matching events.
555
+ * @type {number}
556
+ * @memberof ScalewayBaremetalV1ListServerEventsResponse
557
+ */
558
+ total_count?: number;
559
+ /**
560
+ * Server events that match filters.
561
+ * @type {Array<ScalewayBaremetalV1ServerEvent>}
562
+ * @memberof ScalewayBaremetalV1ListServerEventsResponse
563
+ */
564
+ events?: Array<ScalewayBaremetalV1ServerEvent>;
565
+ }
566
+ /**
567
+ *
568
+ * @export
569
+ * @interface ScalewayBaremetalV1ListServersResponse
570
+ */
571
+ export interface ScalewayBaremetalV1ListServersResponse {
572
+ /**
573
+ * Total count of matching servers.
574
+ * @type {number}
575
+ * @memberof ScalewayBaremetalV1ListServersResponse
576
+ */
577
+ total_count?: number;
578
+ /**
579
+ * Array of Elastic Metal server objects matching the filters in the request.
580
+ * @type {Array<ScalewayBaremetalV1Server>}
581
+ * @memberof ScalewayBaremetalV1ListServersResponse
582
+ */
583
+ servers?: Array<ScalewayBaremetalV1Server>;
584
+ }
585
+ /**
586
+ *
587
+ * @export
588
+ * @interface ScalewayBaremetalV1ListSettingsResponse
589
+ */
590
+ export interface ScalewayBaremetalV1ListSettingsResponse {
591
+ /**
592
+ * Total count of matching settings.
593
+ * @type {number}
594
+ * @memberof ScalewayBaremetalV1ListSettingsResponse
595
+ */
596
+ total_count?: number;
597
+ /**
598
+ * Settings that match filters.
599
+ * @type {Array<ScalewayBaremetalV1Setting>}
600
+ * @memberof ScalewayBaremetalV1ListSettingsResponse
601
+ */
602
+ settings?: Array<ScalewayBaremetalV1Setting>;
603
+ }
604
+ /**
605
+ *
606
+ * @export
607
+ * @interface ScalewayBaremetalV1Memory
608
+ */
609
+ export interface ScalewayBaremetalV1Memory {
610
+ /**
611
+ * Capacity of the memory in bytes. (in bytes)
612
+ * @type {number}
613
+ * @memberof ScalewayBaremetalV1Memory
614
+ */
615
+ capacity?: number;
616
+ /**
617
+ * Type of the memory.
618
+ * @type {string}
619
+ * @memberof ScalewayBaremetalV1Memory
620
+ */
621
+ type?: string;
622
+ /**
623
+ * Frequency of the memory in MHz.
624
+ * @type {number}
625
+ * @memberof ScalewayBaremetalV1Memory
626
+ */
627
+ frequency?: number;
628
+ /**
629
+ * True if the memory is an error-correcting code memory.
630
+ * @type {boolean}
631
+ * @memberof ScalewayBaremetalV1Memory
632
+ */
633
+ is_ecc?: boolean;
634
+ }
635
+ /**
636
+ *
637
+ * @export
638
+ * @interface ScalewayBaremetalV1OS
639
+ */
640
+ export interface ScalewayBaremetalV1OS {
641
+ /**
642
+ * ID of the OS.
643
+ * @type {string}
644
+ * @memberof ScalewayBaremetalV1OS
645
+ */
646
+ id?: string;
647
+ /**
648
+ * Name of the OS.
649
+ * @type {string}
650
+ * @memberof ScalewayBaremetalV1OS
651
+ */
652
+ name?: string;
653
+ /**
654
+ * Version of the OS.
655
+ * @type {string}
656
+ * @memberof ScalewayBaremetalV1OS
657
+ */
658
+ version?: string;
659
+ /**
660
+ * URL of this OS\'s logo.
661
+ * @type {string}
662
+ * @memberof ScalewayBaremetalV1OS
663
+ */
664
+ logo_url?: string;
665
+ /**
666
+ *
667
+ * @type {ScalewayBaremetalV1OSSsh}
668
+ * @memberof ScalewayBaremetalV1OS
669
+ */
670
+ ssh?: ScalewayBaremetalV1OSSsh;
671
+ /**
672
+ *
673
+ * @type {ScalewayBaremetalV1OSUser}
674
+ * @memberof ScalewayBaremetalV1OS
675
+ */
676
+ user?: ScalewayBaremetalV1OSUser;
677
+ /**
678
+ *
679
+ * @type {ScalewayBaremetalV1OSPassword}
680
+ * @memberof ScalewayBaremetalV1OS
681
+ */
682
+ password?: ScalewayBaremetalV1OSPassword;
683
+ /**
684
+ *
685
+ * @type {ScalewayBaremetalV1OSServiceUser}
686
+ * @memberof ScalewayBaremetalV1OS
687
+ */
688
+ service_user?: ScalewayBaremetalV1OSServiceUser;
689
+ /**
690
+ *
691
+ * @type {ScalewayBaremetalV1OSServicePassword}
692
+ * @memberof ScalewayBaremetalV1OS
693
+ */
694
+ service_password?: ScalewayBaremetalV1OSServicePassword;
695
+ /**
696
+ * Defines if the operating system is enabled or not.
697
+ * @type {boolean}
698
+ * @memberof ScalewayBaremetalV1OS
699
+ */
700
+ enabled?: boolean;
701
+ /**
702
+ * License required (check server options for pricing details).
703
+ * @type {boolean}
704
+ * @memberof ScalewayBaremetalV1OS
705
+ */
706
+ license_required?: boolean;
707
+ /**
708
+ * Defines if a specific Organization is allowed to install this OS type.
709
+ * @type {boolean}
710
+ * @memberof ScalewayBaremetalV1OS
711
+ */
712
+ allowed?: boolean;
713
+ /**
714
+ * Defines if custom partitioning is supported by this OS.
715
+ * @type {boolean}
716
+ * @memberof ScalewayBaremetalV1OS
717
+ */
718
+ custom_partitioning_supported?: boolean;
719
+ /**
720
+ * Defines if cloud-init is supported by this OS.
721
+ * @type {boolean}
722
+ * @memberof ScalewayBaremetalV1OS
723
+ */
724
+ cloud_init_supported?: boolean;
725
+ /**
726
+ * Defines the cloud-init API version used by this OS.
727
+ * @type {string}
728
+ * @memberof ScalewayBaremetalV1OS
729
+ */
730
+ cloud_init_version?: string;
731
+ /**
732
+ * Zone in which is the OS is available.
733
+ * @type {string}
734
+ * @memberof ScalewayBaremetalV1OS
735
+ */
736
+ zone?: string;
737
+ }
738
+ /**
739
+ * Object defining the password requirements to install the OS.
740
+ * @export
741
+ * @interface ScalewayBaremetalV1OSPassword
742
+ */
743
+ export interface ScalewayBaremetalV1OSPassword {
744
+ /**
745
+ *
746
+ * @type {boolean}
747
+ * @memberof ScalewayBaremetalV1OSPassword
748
+ */
749
+ editable?: boolean;
750
+ /**
751
+ *
752
+ * @type {boolean}
753
+ * @memberof ScalewayBaremetalV1OSPassword
754
+ */
755
+ required?: boolean;
756
+ /**
757
+ *
758
+ * @type {string}
759
+ * @memberof ScalewayBaremetalV1OSPassword
760
+ */
761
+ default_value?: string;
762
+ }
763
+ /**
764
+ * Object defining the password requirements to install the service.
765
+ * @export
766
+ * @interface ScalewayBaremetalV1OSServicePassword
767
+ */
768
+ export interface ScalewayBaremetalV1OSServicePassword {
769
+ /**
770
+ *
771
+ * @type {boolean}
772
+ * @memberof ScalewayBaremetalV1OSServicePassword
773
+ */
774
+ editable?: boolean;
775
+ /**
776
+ *
777
+ * @type {boolean}
778
+ * @memberof ScalewayBaremetalV1OSServicePassword
779
+ */
780
+ required?: boolean;
781
+ /**
782
+ *
783
+ * @type {string}
784
+ * @memberof ScalewayBaremetalV1OSServicePassword
785
+ */
786
+ default_value?: string;
787
+ }
788
+ /**
789
+ * Object defining the username requirements to install the service.
790
+ * @export
791
+ * @interface ScalewayBaremetalV1OSServiceUser
792
+ */
793
+ export interface ScalewayBaremetalV1OSServiceUser {
794
+ /**
795
+ *
796
+ * @type {boolean}
797
+ * @memberof ScalewayBaremetalV1OSServiceUser
798
+ */
799
+ editable?: boolean;
800
+ /**
801
+ *
802
+ * @type {boolean}
803
+ * @memberof ScalewayBaremetalV1OSServiceUser
804
+ */
805
+ required?: boolean;
806
+ /**
807
+ *
808
+ * @type {string}
809
+ * @memberof ScalewayBaremetalV1OSServiceUser
810
+ */
811
+ default_value?: string;
812
+ }
813
+ /**
814
+ * Object defining the SSH requirements to install the OS.
815
+ * @export
816
+ * @interface ScalewayBaremetalV1OSSsh
817
+ */
818
+ export interface ScalewayBaremetalV1OSSsh {
819
+ /**
820
+ *
821
+ * @type {boolean}
822
+ * @memberof ScalewayBaremetalV1OSSsh
823
+ */
824
+ editable?: boolean;
825
+ /**
826
+ *
827
+ * @type {boolean}
828
+ * @memberof ScalewayBaremetalV1OSSsh
829
+ */
830
+ required?: boolean;
831
+ /**
832
+ *
833
+ * @type {string}
834
+ * @memberof ScalewayBaremetalV1OSSsh
835
+ */
836
+ default_value?: string;
837
+ }
838
+ /**
839
+ * Object defining the username requirements to install the OS.
840
+ * @export
841
+ * @interface ScalewayBaremetalV1OSUser
842
+ */
843
+ export interface ScalewayBaremetalV1OSUser {
844
+ /**
845
+ *
846
+ * @type {boolean}
847
+ * @memberof ScalewayBaremetalV1OSUser
848
+ */
849
+ editable?: boolean;
850
+ /**
851
+ *
852
+ * @type {boolean}
853
+ * @memberof ScalewayBaremetalV1OSUser
854
+ */
855
+ required?: boolean;
856
+ /**
857
+ *
858
+ * @type {string}
859
+ * @memberof ScalewayBaremetalV1OSUser
860
+ */
861
+ default_value?: string;
862
+ }
863
+ /**
864
+ *
865
+ * @export
866
+ * @interface ScalewayBaremetalV1Offer
867
+ */
868
+ export interface ScalewayBaremetalV1Offer {
869
+ /**
870
+ * ID of the offer.
871
+ * @type {string}
872
+ * @memberof ScalewayBaremetalV1Offer
873
+ */
874
+ id?: string;
875
+ /**
876
+ * Name of the offer.
877
+ * @type {string}
878
+ * @memberof ScalewayBaremetalV1Offer
879
+ */
880
+ name?: string;
881
+ /**
882
+ * Stock level.
883
+ * @type {string}
884
+ * @memberof ScalewayBaremetalV1Offer
885
+ */
886
+ stock?: ScalewayBaremetalV1OfferStockEnum;
887
+ /**
888
+ * Public bandwidth available (in bits/s) with the offer.
889
+ * @type {number}
890
+ * @memberof ScalewayBaremetalV1Offer
891
+ */
892
+ bandwidth?: number;
893
+ /**
894
+ * Maximum public bandwidth available (in bits/s) depending on available options.
895
+ * @type {number}
896
+ * @memberof ScalewayBaremetalV1Offer
897
+ */
898
+ max_bandwidth?: number;
899
+ /**
900
+ * Commercial range of the offer.
901
+ * @type {string}
902
+ * @memberof ScalewayBaremetalV1Offer
903
+ */
904
+ commercial_range?: string;
905
+ /**
906
+ *
907
+ * @type {ScalewayBaremetalV1OfferPricePerHour}
908
+ * @memberof ScalewayBaremetalV1Offer
909
+ */
910
+ price_per_hour?: ScalewayBaremetalV1OfferPricePerHour;
911
+ /**
912
+ *
913
+ * @type {ScalewayBaremetalV1OfferPricePerMonth}
914
+ * @memberof ScalewayBaremetalV1Offer
915
+ */
916
+ price_per_month?: ScalewayBaremetalV1OfferPricePerMonth;
917
+ /**
918
+ * Disks specifications of the offer.
919
+ * @type {Array<ScalewayBaremetalV1Disk>}
920
+ * @memberof ScalewayBaremetalV1Offer
921
+ */
922
+ disks?: Array<ScalewayBaremetalV1Disk>;
923
+ /**
924
+ * Defines whether the offer is currently available.
925
+ * @type {boolean}
926
+ * @memberof ScalewayBaremetalV1Offer
927
+ */
928
+ enable?: boolean;
929
+ /**
930
+ * CPU specifications of the offer.
931
+ * @type {Array<ScalewayBaremetalV1CPU>}
932
+ * @memberof ScalewayBaremetalV1Offer
933
+ */
934
+ cpus?: Array<ScalewayBaremetalV1CPU>;
935
+ /**
936
+ * Memory specifications of the offer.
937
+ * @type {Array<ScalewayBaremetalV1Memory>}
938
+ * @memberof ScalewayBaremetalV1Offer
939
+ */
940
+ memories?: Array<ScalewayBaremetalV1Memory>;
941
+ /**
942
+ * Name of the quota associated to the offer.
943
+ * @type {string}
944
+ * @memberof ScalewayBaremetalV1Offer
945
+ */
946
+ quota_name?: string;
947
+ /**
948
+ * Persistent memory specifications of the offer.
949
+ * @type {Array<ScalewayBaremetalV1PersistentMemory>}
950
+ * @memberof ScalewayBaremetalV1Offer
951
+ */
952
+ persistent_memories?: Array<ScalewayBaremetalV1PersistentMemory>;
953
+ /**
954
+ * Raid controller specifications of the offer.
955
+ * @type {Array<ScalewayBaremetalV1RaidController>}
956
+ * @memberof ScalewayBaremetalV1Offer
957
+ */
958
+ raid_controllers?: Array<ScalewayBaremetalV1RaidController>;
959
+ /**
960
+ * Array of OS images IDs incompatible with the server.
961
+ * @type {Array<string>}
962
+ * @memberof ScalewayBaremetalV1Offer
963
+ */
964
+ incompatible_os_ids?: Array<string>;
965
+ /**
966
+ * Period of subscription for the offer.
967
+ * @type {string}
968
+ * @memberof ScalewayBaremetalV1Offer
969
+ */
970
+ subscription_period?: ScalewayBaremetalV1OfferSubscriptionPeriodEnum;
971
+ /**
972
+ * Operation path of the service.
973
+ * @type {string}
974
+ * @memberof ScalewayBaremetalV1Offer
975
+ */
976
+ operation_path?: string;
977
+ /**
978
+ *
979
+ * @type {ScalewayBaremetalV1OfferFee}
980
+ * @memberof ScalewayBaremetalV1Offer
981
+ */
982
+ fee?: ScalewayBaremetalV1OfferFee;
983
+ /**
984
+ * Available options for customization of the server.
985
+ * @type {Array<ScalewayBaremetalV1OfferOptionOffer>}
986
+ * @memberof ScalewayBaremetalV1Offer
987
+ */
988
+ options?: Array<ScalewayBaremetalV1OfferOptionOffer>;
989
+ /**
990
+ * Private bandwidth available in bits/s with the offer.
991
+ * @type {number}
992
+ * @memberof ScalewayBaremetalV1Offer
993
+ */
994
+ private_bandwidth?: number;
995
+ /**
996
+ * Defines whether the offer\'s bandwidth is shared or not.
997
+ * @type {boolean}
998
+ * @memberof ScalewayBaremetalV1Offer
999
+ */
1000
+ shared_bandwidth?: boolean;
1001
+ /**
1002
+ * Array of tags attached to the offer.
1003
+ * @type {Array<string>}
1004
+ * @memberof ScalewayBaremetalV1Offer
1005
+ */
1006
+ tags?: Array<string>;
1007
+ /**
1008
+ * GPU specifications of the offer.
1009
+ * @type {Array<ScalewayBaremetalV1GPU>}
1010
+ * @memberof ScalewayBaremetalV1Offer
1011
+ */
1012
+ gpus?: Array<ScalewayBaremetalV1GPU>;
1013
+ /**
1014
+ * Exist only for hourly offers, to migrate to the monthly offer.
1015
+ * @type {string}
1016
+ * @memberof ScalewayBaremetalV1Offer
1017
+ */
1018
+ monthly_offer_id?: string;
1019
+ /**
1020
+ * Zone in which is the offer is available.
1021
+ * @type {string}
1022
+ * @memberof ScalewayBaremetalV1Offer
1023
+ */
1024
+ zone?: string;
1025
+ }
1026
+ export declare const ScalewayBaremetalV1OfferStockEnum: {
1027
+ readonly Empty: "empty";
1028
+ readonly Low: "low";
1029
+ readonly Available: "available";
1030
+ };
1031
+ export type ScalewayBaremetalV1OfferStockEnum = (typeof ScalewayBaremetalV1OfferStockEnum)[keyof typeof ScalewayBaremetalV1OfferStockEnum];
1032
+ export declare const ScalewayBaremetalV1OfferSubscriptionPeriodEnum: {
1033
+ readonly UnknownSubscriptionPeriod: "unknown_subscription_period";
1034
+ readonly Hourly: "hourly";
1035
+ readonly Monthly: "monthly";
1036
+ };
1037
+ export type ScalewayBaremetalV1OfferSubscriptionPeriodEnum = (typeof ScalewayBaremetalV1OfferSubscriptionPeriodEnum)[keyof typeof ScalewayBaremetalV1OfferSubscriptionPeriodEnum];
1038
+ /**
1039
+ * One time fee invoiced by Scaleway for the setup and activation of the server.
1040
+ * @export
1041
+ * @interface ScalewayBaremetalV1OfferFee
1042
+ */
1043
+ export interface ScalewayBaremetalV1OfferFee {
1044
+ /**
1045
+ *
1046
+ * @type {string}
1047
+ * @memberof ScalewayBaremetalV1OfferFee
1048
+ */
1049
+ currency_code?: string;
1050
+ /**
1051
+ *
1052
+ * @type {number}
1053
+ * @memberof ScalewayBaremetalV1OfferFee
1054
+ */
1055
+ units?: number;
1056
+ /**
1057
+ *
1058
+ * @type {number}
1059
+ * @memberof ScalewayBaremetalV1OfferFee
1060
+ */
1061
+ nanos?: number;
1062
+ }
1063
+ /**
1064
+ *
1065
+ * @export
1066
+ * @interface ScalewayBaremetalV1OfferOptionOffer
1067
+ */
1068
+ export interface ScalewayBaremetalV1OfferOptionOffer {
1069
+ /**
1070
+ * ID of the option.
1071
+ * @type {string}
1072
+ * @memberof ScalewayBaremetalV1OfferOptionOffer
1073
+ */
1074
+ id?: string;
1075
+ /**
1076
+ * Name of the option.
1077
+ * @type {string}
1078
+ * @memberof ScalewayBaremetalV1OfferOptionOffer
1079
+ */
1080
+ name?: string;
1081
+ /**
1082
+ * If true the option is enabled and included by default in the offer. If true the option is enabled and included by default in the offer If false the option is available for the offer but not included by default.
1083
+ * @type {boolean}
1084
+ * @memberof ScalewayBaremetalV1OfferOptionOffer
1085
+ */
1086
+ enabled?: boolean;
1087
+ /**
1088
+ * Period of subscription for the offer.
1089
+ * @type {string}
1090
+ * @memberof ScalewayBaremetalV1OfferOptionOffer
1091
+ */
1092
+ subscription_period?: ScalewayBaremetalV1OfferOptionOfferSubscriptionPeriodEnum;
1093
+ /**
1094
+ *
1095
+ * @type {ScalewayBaremetalV1OfferOptionOfferPrice}
1096
+ * @memberof ScalewayBaremetalV1OfferOptionOffer
1097
+ */
1098
+ price?: ScalewayBaremetalV1OfferOptionOfferPrice;
1099
+ /**
1100
+ * Boolean to know if option could be managed.
1101
+ * @type {boolean}
1102
+ * @memberof ScalewayBaremetalV1OfferOptionOffer
1103
+ */
1104
+ manageable?: boolean;
1105
+ /**
1106
+ * Deprecated, use LicenseOptionVars.os_id instead.
1107
+ * @type {string}
1108
+ * @memberof ScalewayBaremetalV1OfferOptionOffer
1109
+ * @deprecated
1110
+ */
1111
+ os_id?: string;
1112
+ /**
1113
+ *
1114
+ * @type {ScalewayBaremetalV1OfferOptionOfferLicense}
1115
+ * @memberof ScalewayBaremetalV1OfferOptionOffer
1116
+ */
1117
+ license?: ScalewayBaremetalV1OfferOptionOfferLicense;
1118
+ /**
1119
+ *
1120
+ * @type {ScalewayBaremetalV1OfferOptionOfferPublicBandwidth}
1121
+ * @memberof ScalewayBaremetalV1OfferOptionOffer
1122
+ */
1123
+ public_bandwidth?: ScalewayBaremetalV1OfferOptionOfferPublicBandwidth;
1124
+ /**
1125
+ *
1126
+ * @type {ScalewayBaremetalV1OfferOptionOfferPrivateNetwork}
1127
+ * @memberof ScalewayBaremetalV1OfferOptionOffer
1128
+ */
1129
+ private_network?: ScalewayBaremetalV1OfferOptionOfferPrivateNetwork;
1130
+ /**
1131
+ * Remote_access option.
1132
+ * @type {object}
1133
+ * @memberof ScalewayBaremetalV1OfferOptionOffer
1134
+ */
1135
+ remote_access?: object;
1136
+ /**
1137
+ * Certification option.
1138
+ * @type {object}
1139
+ * @memberof ScalewayBaremetalV1OfferOptionOffer
1140
+ */
1141
+ certification?: object;
1142
+ }
1143
+ export declare const ScalewayBaremetalV1OfferOptionOfferSubscriptionPeriodEnum: {
1144
+ readonly UnknownSubscriptionPeriod: "unknown_subscription_period";
1145
+ readonly Hourly: "hourly";
1146
+ readonly Monthly: "monthly";
1147
+ };
1148
+ export type ScalewayBaremetalV1OfferOptionOfferSubscriptionPeriodEnum = (typeof ScalewayBaremetalV1OfferOptionOfferSubscriptionPeriodEnum)[keyof typeof ScalewayBaremetalV1OfferOptionOfferSubscriptionPeriodEnum];
1149
+ /**
1150
+ * License option, contains the ID of the OS linked to the option.
1151
+ * @export
1152
+ * @interface ScalewayBaremetalV1OfferOptionOfferLicense
1153
+ */
1154
+ export interface ScalewayBaremetalV1OfferOptionOfferLicense {
1155
+ /**
1156
+ *
1157
+ * @type {string}
1158
+ * @memberof ScalewayBaremetalV1OfferOptionOfferLicense
1159
+ */
1160
+ os_id?: string;
1161
+ }
1162
+ /**
1163
+ * Price of the option.
1164
+ * @export
1165
+ * @interface ScalewayBaremetalV1OfferOptionOfferPrice
1166
+ */
1167
+ export interface ScalewayBaremetalV1OfferOptionOfferPrice {
1168
+ /**
1169
+ *
1170
+ * @type {string}
1171
+ * @memberof ScalewayBaremetalV1OfferOptionOfferPrice
1172
+ */
1173
+ currency_code?: string;
1174
+ /**
1175
+ *
1176
+ * @type {number}
1177
+ * @memberof ScalewayBaremetalV1OfferOptionOfferPrice
1178
+ */
1179
+ units?: number;
1180
+ /**
1181
+ *
1182
+ * @type {number}
1183
+ * @memberof ScalewayBaremetalV1OfferOptionOfferPrice
1184
+ */
1185
+ nanos?: number;
1186
+ }
1187
+ /**
1188
+ * Private_network option, contains the bandwidth_in_bps.
1189
+ * @export
1190
+ * @interface ScalewayBaremetalV1OfferOptionOfferPrivateNetwork
1191
+ */
1192
+ export interface ScalewayBaremetalV1OfferOptionOfferPrivateNetwork {
1193
+ /**
1194
+ *
1195
+ * @type {number}
1196
+ * @memberof ScalewayBaremetalV1OfferOptionOfferPrivateNetwork
1197
+ */
1198
+ bandwidth_in_bps?: number;
1199
+ }
1200
+ /**
1201
+ * Public_bandwidth option, contains the bandwidth_in_bps.
1202
+ * @export
1203
+ * @interface ScalewayBaremetalV1OfferOptionOfferPublicBandwidth
1204
+ */
1205
+ export interface ScalewayBaremetalV1OfferOptionOfferPublicBandwidth {
1206
+ /**
1207
+ *
1208
+ * @type {number}
1209
+ * @memberof ScalewayBaremetalV1OfferOptionOfferPublicBandwidth
1210
+ */
1211
+ bandwidth_in_bps?: number;
1212
+ }
1213
+ /**
1214
+ * Price of the offer for the next 60 minutes (a server order at 11h32 will be paid until 12h32).
1215
+ * @export
1216
+ * @interface ScalewayBaremetalV1OfferPricePerHour
1217
+ */
1218
+ export interface ScalewayBaremetalV1OfferPricePerHour {
1219
+ /**
1220
+ *
1221
+ * @type {string}
1222
+ * @memberof ScalewayBaremetalV1OfferPricePerHour
1223
+ */
1224
+ currency_code?: string;
1225
+ /**
1226
+ *
1227
+ * @type {number}
1228
+ * @memberof ScalewayBaremetalV1OfferPricePerHour
1229
+ */
1230
+ units?: number;
1231
+ /**
1232
+ *
1233
+ * @type {number}
1234
+ * @memberof ScalewayBaremetalV1OfferPricePerHour
1235
+ */
1236
+ nanos?: number;
1237
+ }
1238
+ /**
1239
+ * Monthly price of the offer, if subscribing on a monthly basis.
1240
+ * @export
1241
+ * @interface ScalewayBaremetalV1OfferPricePerMonth
1242
+ */
1243
+ export interface ScalewayBaremetalV1OfferPricePerMonth {
1244
+ /**
1245
+ *
1246
+ * @type {string}
1247
+ * @memberof ScalewayBaremetalV1OfferPricePerMonth
1248
+ */
1249
+ currency_code?: string;
1250
+ /**
1251
+ *
1252
+ * @type {number}
1253
+ * @memberof ScalewayBaremetalV1OfferPricePerMonth
1254
+ */
1255
+ units?: number;
1256
+ /**
1257
+ *
1258
+ * @type {number}
1259
+ * @memberof ScalewayBaremetalV1OfferPricePerMonth
1260
+ */
1261
+ nanos?: number;
1262
+ }
1263
+ /**
1264
+ *
1265
+ * @export
1266
+ * @interface ScalewayBaremetalV1Option
1267
+ */
1268
+ export interface ScalewayBaremetalV1Option {
1269
+ /**
1270
+ * ID of the option.
1271
+ * @type {string}
1272
+ * @memberof ScalewayBaremetalV1Option
1273
+ */
1274
+ id?: string;
1275
+ /**
1276
+ * Name of the option.
1277
+ * @type {string}
1278
+ * @memberof ScalewayBaremetalV1Option
1279
+ */
1280
+ name?: string;
1281
+ /**
1282
+ * Defines whether the option is manageable (could be added or removed).
1283
+ * @type {boolean}
1284
+ * @memberof ScalewayBaremetalV1Option
1285
+ */
1286
+ manageable?: boolean;
1287
+ /**
1288
+ *
1289
+ * @type {ScalewayBaremetalV1OfferOptionOfferLicense}
1290
+ * @memberof ScalewayBaremetalV1Option
1291
+ */
1292
+ license?: ScalewayBaremetalV1OfferOptionOfferLicense;
1293
+ /**
1294
+ *
1295
+ * @type {ScalewayBaremetalV1OfferOptionOfferPublicBandwidth}
1296
+ * @memberof ScalewayBaremetalV1Option
1297
+ */
1298
+ public_bandwidth?: ScalewayBaremetalV1OfferOptionOfferPublicBandwidth;
1299
+ /**
1300
+ *
1301
+ * @type {ScalewayBaremetalV1OfferOptionOfferPrivateNetwork}
1302
+ * @memberof ScalewayBaremetalV1Option
1303
+ */
1304
+ private_network?: ScalewayBaremetalV1OfferOptionOfferPrivateNetwork;
1305
+ /**
1306
+ * Remote_access option.
1307
+ * @type {object}
1308
+ * @memberof ScalewayBaremetalV1Option
1309
+ */
1310
+ remote_access?: object;
1311
+ /**
1312
+ * Certification option.
1313
+ * @type {object}
1314
+ * @memberof ScalewayBaremetalV1Option
1315
+ */
1316
+ certification?: object;
1317
+ }
1318
+ /**
1319
+ *
1320
+ * @export
1321
+ * @interface ScalewayBaremetalV1PersistentMemory
1322
+ */
1323
+ export interface ScalewayBaremetalV1PersistentMemory {
1324
+ /**
1325
+ * Capacity of the memory in bytes. (in bytes)
1326
+ * @type {number}
1327
+ * @memberof ScalewayBaremetalV1PersistentMemory
1328
+ */
1329
+ capacity?: number;
1330
+ /**
1331
+ * Type of the memory.
1332
+ * @type {string}
1333
+ * @memberof ScalewayBaremetalV1PersistentMemory
1334
+ */
1335
+ type?: string;
1336
+ /**
1337
+ * Frequency of the memory in MHz.
1338
+ * @type {number}
1339
+ * @memberof ScalewayBaremetalV1PersistentMemory
1340
+ */
1341
+ frequency?: number;
1342
+ }
1343
+ /**
1344
+ *
1345
+ * @export
1346
+ * @interface ScalewayBaremetalV1RaidController
1347
+ */
1348
+ export interface ScalewayBaremetalV1RaidController {
1349
+ /**
1350
+ *
1351
+ * @type {string}
1352
+ * @memberof ScalewayBaremetalV1RaidController
1353
+ */
1354
+ model?: string;
1355
+ /**
1356
+ *
1357
+ * @type {Array<string>}
1358
+ * @memberof ScalewayBaremetalV1RaidController
1359
+ */
1360
+ raid_level?: Array<string>;
1361
+ }
1362
+ /**
1363
+ *
1364
+ * @export
1365
+ * @interface ScalewayBaremetalV1Schema
1366
+ */
1367
+ export interface ScalewayBaremetalV1Schema {
1368
+ /**
1369
+ *
1370
+ * @type {Array<ScalewayBaremetalV1SchemaDisk>}
1371
+ * @memberof ScalewayBaremetalV1Schema
1372
+ */
1373
+ disks?: Array<ScalewayBaremetalV1SchemaDisk>;
1374
+ /**
1375
+ *
1376
+ * @type {Array<ScalewayBaremetalV1SchemaRAID>}
1377
+ * @memberof ScalewayBaremetalV1Schema
1378
+ */
1379
+ raids?: Array<ScalewayBaremetalV1SchemaRAID>;
1380
+ /**
1381
+ *
1382
+ * @type {Array<ScalewayBaremetalV1SchemaFilesystem>}
1383
+ * @memberof ScalewayBaremetalV1Schema
1384
+ */
1385
+ filesystems?: Array<ScalewayBaremetalV1SchemaFilesystem>;
1386
+ /**
1387
+ *
1388
+ * @type {ScalewayBaremetalV1SchemaZFS}
1389
+ * @memberof ScalewayBaremetalV1Schema
1390
+ */
1391
+ zfs?: ScalewayBaremetalV1SchemaZFS;
1392
+ }
1393
+ /**
1394
+ *
1395
+ * @export
1396
+ * @interface ScalewayBaremetalV1SchemaDisk
1397
+ */
1398
+ export interface ScalewayBaremetalV1SchemaDisk {
1399
+ /**
1400
+ *
1401
+ * @type {string}
1402
+ * @memberof ScalewayBaremetalV1SchemaDisk
1403
+ */
1404
+ device?: string;
1405
+ /**
1406
+ *
1407
+ * @type {Array<ScalewayBaremetalV1SchemaPartition>}
1408
+ * @memberof ScalewayBaremetalV1SchemaDisk
1409
+ */
1410
+ partitions?: Array<ScalewayBaremetalV1SchemaPartition>;
1411
+ }
1412
+ /**
1413
+ *
1414
+ * @export
1415
+ * @interface ScalewayBaremetalV1SchemaFilesystem
1416
+ */
1417
+ export interface ScalewayBaremetalV1SchemaFilesystem {
1418
+ /**
1419
+ *
1420
+ * @type {string}
1421
+ * @memberof ScalewayBaremetalV1SchemaFilesystem
1422
+ */
1423
+ device?: string;
1424
+ /**
1425
+ *
1426
+ * @type {ScalewayBaremetalV1SchemaFilesystemFormat}
1427
+ * @memberof ScalewayBaremetalV1SchemaFilesystem
1428
+ */
1429
+ format?: ScalewayBaremetalV1SchemaFilesystemFormat;
1430
+ /**
1431
+ *
1432
+ * @type {string}
1433
+ * @memberof ScalewayBaremetalV1SchemaFilesystem
1434
+ */
1435
+ mountpoint?: string;
1436
+ }
1437
+ /**
1438
+ *
1439
+ * @export
1440
+ * @enum {string}
1441
+ */
1442
+ export declare const ScalewayBaremetalV1SchemaFilesystemFormat: {
1443
+ readonly UnknownFormat: "unknown_format";
1444
+ readonly Fat32: "fat32";
1445
+ readonly Ext4: "ext4";
1446
+ readonly Swap: "swap";
1447
+ readonly Zfs: "zfs";
1448
+ readonly Xfs: "xfs";
1449
+ };
1450
+ export type ScalewayBaremetalV1SchemaFilesystemFormat = (typeof ScalewayBaremetalV1SchemaFilesystemFormat)[keyof typeof ScalewayBaremetalV1SchemaFilesystemFormat];
1451
+ /**
1452
+ *
1453
+ * @export
1454
+ * @interface ScalewayBaremetalV1SchemaPartition
1455
+ */
1456
+ export interface ScalewayBaremetalV1SchemaPartition {
1457
+ /**
1458
+ *
1459
+ * @type {ScalewayBaremetalV1SchemaPartitionLabel}
1460
+ * @memberof ScalewayBaremetalV1SchemaPartition
1461
+ */
1462
+ label?: ScalewayBaremetalV1SchemaPartitionLabel;
1463
+ /**
1464
+ *
1465
+ * @type {number}
1466
+ * @memberof ScalewayBaremetalV1SchemaPartition
1467
+ */
1468
+ number?: number;
1469
+ /**
1470
+ * (in bytes)
1471
+ * @type {number}
1472
+ * @memberof ScalewayBaremetalV1SchemaPartition
1473
+ */
1474
+ size?: number;
1475
+ /**
1476
+ *
1477
+ * @type {boolean}
1478
+ * @memberof ScalewayBaremetalV1SchemaPartition
1479
+ */
1480
+ use_all_available_space?: boolean;
1481
+ }
1482
+ /**
1483
+ *
1484
+ * @export
1485
+ * @enum {string}
1486
+ */
1487
+ export declare const ScalewayBaremetalV1SchemaPartitionLabel: {
1488
+ readonly UnknownPartitionLabel: "unknown_partition_label";
1489
+ readonly Uefi: "uefi";
1490
+ readonly Legacy: "legacy";
1491
+ readonly Root: "root";
1492
+ readonly Boot: "boot";
1493
+ readonly Swap: "swap";
1494
+ readonly Data: "data";
1495
+ readonly Home: "home";
1496
+ readonly Raid: "raid";
1497
+ readonly Zfs: "zfs";
1498
+ };
1499
+ export type ScalewayBaremetalV1SchemaPartitionLabel = (typeof ScalewayBaremetalV1SchemaPartitionLabel)[keyof typeof ScalewayBaremetalV1SchemaPartitionLabel];
1500
+ /**
1501
+ *
1502
+ * @export
1503
+ * @interface ScalewayBaremetalV1SchemaPool
1504
+ */
1505
+ export interface ScalewayBaremetalV1SchemaPool {
1506
+ /**
1507
+ *
1508
+ * @type {string}
1509
+ * @memberof ScalewayBaremetalV1SchemaPool
1510
+ */
1511
+ name?: string;
1512
+ /**
1513
+ *
1514
+ * @type {ScalewayBaremetalV1SchemaPoolType}
1515
+ * @memberof ScalewayBaremetalV1SchemaPool
1516
+ */
1517
+ type?: ScalewayBaremetalV1SchemaPoolType;
1518
+ /**
1519
+ *
1520
+ * @type {Array<string>}
1521
+ * @memberof ScalewayBaremetalV1SchemaPool
1522
+ */
1523
+ devices?: Array<string>;
1524
+ /**
1525
+ *
1526
+ * @type {Array<string>}
1527
+ * @memberof ScalewayBaremetalV1SchemaPool
1528
+ */
1529
+ options?: Array<string>;
1530
+ /**
1531
+ *
1532
+ * @type {Array<string>}
1533
+ * @memberof ScalewayBaremetalV1SchemaPool
1534
+ */
1535
+ filesystem_options?: Array<string>;
1536
+ }
1537
+ /**
1538
+ *
1539
+ * @export
1540
+ * @enum {string}
1541
+ */
1542
+ export declare const ScalewayBaremetalV1SchemaPoolType: {
1543
+ readonly UnknownType: "unknown_type";
1544
+ readonly NoRaid: "no_raid";
1545
+ readonly Mirror: "mirror";
1546
+ readonly Raidz1: "raidz1";
1547
+ readonly Raidz2: "raidz2";
1548
+ };
1549
+ export type ScalewayBaremetalV1SchemaPoolType = (typeof ScalewayBaremetalV1SchemaPoolType)[keyof typeof ScalewayBaremetalV1SchemaPoolType];
1550
+ /**
1551
+ *
1552
+ * @export
1553
+ * @interface ScalewayBaremetalV1SchemaRAID
1554
+ */
1555
+ export interface ScalewayBaremetalV1SchemaRAID {
1556
+ /**
1557
+ *
1558
+ * @type {string}
1559
+ * @memberof ScalewayBaremetalV1SchemaRAID
1560
+ */
1561
+ name?: string;
1562
+ /**
1563
+ *
1564
+ * @type {ScalewayBaremetalV1SchemaRAIDLevel}
1565
+ * @memberof ScalewayBaremetalV1SchemaRAID
1566
+ */
1567
+ level?: ScalewayBaremetalV1SchemaRAIDLevel;
1568
+ /**
1569
+ *
1570
+ * @type {Array<string>}
1571
+ * @memberof ScalewayBaremetalV1SchemaRAID
1572
+ */
1573
+ devices?: Array<string>;
1574
+ }
1575
+ /**
1576
+ *
1577
+ * @export
1578
+ * @enum {string}
1579
+ */
1580
+ export declare const ScalewayBaremetalV1SchemaRAIDLevel: {
1581
+ readonly UnknownRaidLevel: "unknown_raid_level";
1582
+ readonly RaidLevel0: "raid_level_0";
1583
+ readonly RaidLevel1: "raid_level_1";
1584
+ readonly RaidLevel5: "raid_level_5";
1585
+ readonly RaidLevel6: "raid_level_6";
1586
+ readonly RaidLevel10: "raid_level_10";
1587
+ };
1588
+ export type ScalewayBaremetalV1SchemaRAIDLevel = (typeof ScalewayBaremetalV1SchemaRAIDLevel)[keyof typeof ScalewayBaremetalV1SchemaRAIDLevel];
1589
+ /**
1590
+ *
1591
+ * @export
1592
+ * @interface ScalewayBaremetalV1SchemaZFS
1593
+ */
1594
+ export interface ScalewayBaremetalV1SchemaZFS {
1595
+ /**
1596
+ *
1597
+ * @type {Array<ScalewayBaremetalV1SchemaPool>}
1598
+ * @memberof ScalewayBaremetalV1SchemaZFS
1599
+ */
1600
+ pools?: Array<ScalewayBaremetalV1SchemaPool>;
1601
+ }
1602
+ /**
1603
+ *
1604
+ * @export
1605
+ * @interface ScalewayBaremetalV1Server
1606
+ */
1607
+ export interface ScalewayBaremetalV1Server {
1608
+ /**
1609
+ * ID of the server.
1610
+ * @type {string}
1611
+ * @memberof ScalewayBaremetalV1Server
1612
+ */
1613
+ id?: string;
1614
+ /**
1615
+ * Organization ID the server is attached to.
1616
+ * @type {string}
1617
+ * @memberof ScalewayBaremetalV1Server
1618
+ */
1619
+ organization_id?: string;
1620
+ /**
1621
+ * Project ID the server is attached to.
1622
+ * @type {string}
1623
+ * @memberof ScalewayBaremetalV1Server
1624
+ */
1625
+ project_id?: string;
1626
+ /**
1627
+ * Name of the server.
1628
+ * @type {string}
1629
+ * @memberof ScalewayBaremetalV1Server
1630
+ */
1631
+ name?: string;
1632
+ /**
1633
+ * Description of the server.
1634
+ * @type {string}
1635
+ * @memberof ScalewayBaremetalV1Server
1636
+ */
1637
+ description?: string;
1638
+ /**
1639
+ * Last modification date of the server. (RFC 3339 format)
1640
+ * @type {string}
1641
+ * @memberof ScalewayBaremetalV1Server
1642
+ */
1643
+ updated_at?: string;
1644
+ /**
1645
+ * Creation date of the server. (RFC 3339 format)
1646
+ * @type {string}
1647
+ * @memberof ScalewayBaremetalV1Server
1648
+ */
1649
+ created_at?: string;
1650
+ /**
1651
+ * Status of the server.
1652
+ * @type {string}
1653
+ * @memberof ScalewayBaremetalV1Server
1654
+ */
1655
+ status?: ScalewayBaremetalV1ServerStatusEnum;
1656
+ /**
1657
+ * Offer ID of the server.
1658
+ * @type {string}
1659
+ * @memberof ScalewayBaremetalV1Server
1660
+ */
1661
+ offer_id?: string;
1662
+ /**
1663
+ * Offer name of the server.
1664
+ * @type {string}
1665
+ * @memberof ScalewayBaremetalV1Server
1666
+ */
1667
+ offer_name?: string;
1668
+ /**
1669
+ * Array of custom tags attached to the server.
1670
+ * @type {Array<string>}
1671
+ * @memberof ScalewayBaremetalV1Server
1672
+ */
1673
+ tags?: Array<string>;
1674
+ /**
1675
+ * Array of IPs attached to the server.
1676
+ * @type {Array<ScalewayBaremetalV1IP>}
1677
+ * @memberof ScalewayBaremetalV1Server
1678
+ */
1679
+ ips?: Array<ScalewayBaremetalV1IP>;
1680
+ /**
1681
+ * Domain of the server.
1682
+ * @type {string}
1683
+ * @memberof ScalewayBaremetalV1Server
1684
+ */
1685
+ domain?: string;
1686
+ /**
1687
+ * Boot type of the server.
1688
+ * @type {string}
1689
+ * @memberof ScalewayBaremetalV1Server
1690
+ */
1691
+ boot_type?: ScalewayBaremetalV1ServerBootTypeEnum;
1692
+ /**
1693
+ * Zone in which is the server located.
1694
+ * @type {string}
1695
+ * @memberof ScalewayBaremetalV1Server
1696
+ */
1697
+ zone?: string;
1698
+ /**
1699
+ *
1700
+ * @type {ScalewayBaremetalV1ServerInstall}
1701
+ * @memberof ScalewayBaremetalV1Server
1702
+ */
1703
+ install?: ScalewayBaremetalV1ServerInstall;
1704
+ /**
1705
+ * Status of server ping.
1706
+ * @type {string}
1707
+ * @memberof ScalewayBaremetalV1Server
1708
+ */
1709
+ ping_status?: ScalewayBaremetalV1ServerPingStatusEnum;
1710
+ /**
1711
+ * Options enabled on the server.
1712
+ * @type {Array<ScalewayBaremetalV1ServerOption>}
1713
+ * @memberof ScalewayBaremetalV1Server
1714
+ */
1715
+ options?: Array<ScalewayBaremetalV1ServerOption>;
1716
+ /**
1717
+ *
1718
+ * @type {ScalewayBaremetalV1ServerRescueServer}
1719
+ * @memberof ScalewayBaremetalV1Server
1720
+ */
1721
+ rescue_server?: ScalewayBaremetalV1ServerRescueServer;
1722
+ /**
1723
+ * If enabled, the server can not be deleted.
1724
+ * @type {boolean}
1725
+ * @memberof ScalewayBaremetalV1Server
1726
+ */
1727
+ protected?: boolean;
1728
+ /**
1729
+ *
1730
+ * @type {ScalewayBaremetalV1ServerUserData}
1731
+ * @memberof ScalewayBaremetalV1Server
1732
+ */
1733
+ user_data?: ScalewayBaremetalV1ServerUserData;
1734
+ }
1735
+ export declare const ScalewayBaremetalV1ServerStatusEnum: {
1736
+ readonly Unknown: "unknown";
1737
+ readonly Delivering: "delivering";
1738
+ readonly Ready: "ready";
1739
+ readonly Stopping: "stopping";
1740
+ readonly Stopped: "stopped";
1741
+ readonly Starting: "starting";
1742
+ readonly Error: "error";
1743
+ readonly Deleting: "deleting";
1744
+ readonly Locked: "locked";
1745
+ readonly OutOfStock: "out_of_stock";
1746
+ readonly Ordered: "ordered";
1747
+ readonly Resetting: "resetting";
1748
+ readonly Migrating: "migrating";
1749
+ };
1750
+ export type ScalewayBaremetalV1ServerStatusEnum = (typeof ScalewayBaremetalV1ServerStatusEnum)[keyof typeof ScalewayBaremetalV1ServerStatusEnum];
1751
+ export declare const ScalewayBaremetalV1ServerBootTypeEnum: {
1752
+ readonly UnknownBootType: "unknown_boot_type";
1753
+ readonly Normal: "normal";
1754
+ readonly Rescue: "rescue";
1755
+ };
1756
+ export type ScalewayBaremetalV1ServerBootTypeEnum = (typeof ScalewayBaremetalV1ServerBootTypeEnum)[keyof typeof ScalewayBaremetalV1ServerBootTypeEnum];
1757
+ export declare const ScalewayBaremetalV1ServerPingStatusEnum: {
1758
+ readonly PingStatusUnknown: "ping_status_unknown";
1759
+ readonly PingStatusUp: "ping_status_up";
1760
+ readonly PingStatusDown: "ping_status_down";
1761
+ };
1762
+ export type ScalewayBaremetalV1ServerPingStatusEnum = (typeof ScalewayBaremetalV1ServerPingStatusEnum)[keyof typeof ScalewayBaremetalV1ServerPingStatusEnum];
1763
+ /**
1764
+ *
1765
+ * @export
1766
+ * @interface ScalewayBaremetalV1ServerEvent
1767
+ */
1768
+ export interface ScalewayBaremetalV1ServerEvent {
1769
+ /**
1770
+ * ID of the server to which the action will be applied.
1771
+ * @type {string}
1772
+ * @memberof ScalewayBaremetalV1ServerEvent
1773
+ */
1774
+ id?: string;
1775
+ /**
1776
+ * The action that will be applied to the server.
1777
+ * @type {string}
1778
+ * @memberof ScalewayBaremetalV1ServerEvent
1779
+ */
1780
+ action?: string;
1781
+ /**
1782
+ * Date of last modification of the action. (RFC 3339 format)
1783
+ * @type {string}
1784
+ * @memberof ScalewayBaremetalV1ServerEvent
1785
+ */
1786
+ updated_at?: string;
1787
+ /**
1788
+ * Date of creation of the action. (RFC 3339 format)
1789
+ * @type {string}
1790
+ * @memberof ScalewayBaremetalV1ServerEvent
1791
+ */
1792
+ created_at?: string;
1793
+ }
1794
+ /**
1795
+ * Configuration of the installation.
1796
+ * @export
1797
+ * @interface ScalewayBaremetalV1ServerInstall
1798
+ */
1799
+ export interface ScalewayBaremetalV1ServerInstall {
1800
+ /**
1801
+ * ID of the OS.
1802
+ * @type {string}
1803
+ * @memberof ScalewayBaremetalV1ServerInstall
1804
+ */
1805
+ os_id?: string;
1806
+ /**
1807
+ * Host defined during the server installation.
1808
+ * @type {string}
1809
+ * @memberof ScalewayBaremetalV1ServerInstall
1810
+ */
1811
+ hostname?: string;
1812
+ /**
1813
+ * SSH public key IDs defined during server installation.
1814
+ * @type {Array<string>}
1815
+ * @memberof ScalewayBaremetalV1ServerInstall
1816
+ */
1817
+ ssh_key_ids?: Array<string>;
1818
+ /**
1819
+ * Status of the server installation.
1820
+ * @type {string}
1821
+ * @memberof ScalewayBaremetalV1ServerInstall
1822
+ */
1823
+ status?: ScalewayBaremetalV1ServerInstallStatusEnum;
1824
+ /**
1825
+ * User defined in the server installation, or the default user if none were specified.
1826
+ * @type {string}
1827
+ * @memberof ScalewayBaremetalV1ServerInstall
1828
+ */
1829
+ user?: string;
1830
+ /**
1831
+ * Service user defined in the server installation, or the default user if none were specified.
1832
+ * @type {string}
1833
+ * @memberof ScalewayBaremetalV1ServerInstall
1834
+ */
1835
+ service_user?: string;
1836
+ /**
1837
+ * Address of the installed service.
1838
+ * @type {string}
1839
+ * @memberof ScalewayBaremetalV1ServerInstall
1840
+ */
1841
+ service_url?: string;
1842
+ /**
1843
+ *
1844
+ * @type {ValidatePartitioningSchemaRequestPartitioningSchema}
1845
+ * @memberof ScalewayBaremetalV1ServerInstall
1846
+ */
1847
+ partitioning_schema?: ValidatePartitioningSchemaRequestPartitioningSchema;
1848
+ }
1849
+ export declare const ScalewayBaremetalV1ServerInstallStatusEnum: {
1850
+ readonly Unknown: "unknown";
1851
+ readonly ToInstall: "to_install";
1852
+ readonly Installing: "installing";
1853
+ readonly Completed: "completed";
1854
+ readonly Error: "error";
1855
+ };
1856
+ export type ScalewayBaremetalV1ServerInstallStatusEnum = (typeof ScalewayBaremetalV1ServerInstallStatusEnum)[keyof typeof ScalewayBaremetalV1ServerInstallStatusEnum];
1857
+ /**
1858
+ *
1859
+ * @export
1860
+ * @interface ScalewayBaremetalV1ServerOption
1861
+ */
1862
+ export interface ScalewayBaremetalV1ServerOption {
1863
+ /**
1864
+ * ID of the option.
1865
+ * @type {string}
1866
+ * @memberof ScalewayBaremetalV1ServerOption
1867
+ */
1868
+ id?: string;
1869
+ /**
1870
+ * Name of the option.
1871
+ * @type {string}
1872
+ * @memberof ScalewayBaremetalV1ServerOption
1873
+ */
1874
+ name?: string;
1875
+ /**
1876
+ * Status of the option on this server.
1877
+ * @type {string}
1878
+ * @memberof ScalewayBaremetalV1ServerOption
1879
+ */
1880
+ status?: ScalewayBaremetalV1ServerOptionStatusEnum;
1881
+ /**
1882
+ * Defines whether the option can be managed (added or removed).
1883
+ * @type {boolean}
1884
+ * @memberof ScalewayBaremetalV1ServerOption
1885
+ */
1886
+ manageable?: boolean;
1887
+ /**
1888
+ * Auto expiration date for compatible options. (RFC 3339 format)
1889
+ * @type {string}
1890
+ * @memberof ScalewayBaremetalV1ServerOption
1891
+ */
1892
+ expires_at?: string;
1893
+ /**
1894
+ *
1895
+ * @type {ScalewayBaremetalV1OfferOptionOfferLicense}
1896
+ * @memberof ScalewayBaremetalV1ServerOption
1897
+ */
1898
+ license?: ScalewayBaremetalV1OfferOptionOfferLicense;
1899
+ /**
1900
+ *
1901
+ * @type {ScalewayBaremetalV1OfferOptionOfferPublicBandwidth}
1902
+ * @memberof ScalewayBaremetalV1ServerOption
1903
+ */
1904
+ public_bandwidth?: ScalewayBaremetalV1OfferOptionOfferPublicBandwidth;
1905
+ /**
1906
+ *
1907
+ * @type {ScalewayBaremetalV1OfferOptionOfferPrivateNetwork}
1908
+ * @memberof ScalewayBaremetalV1ServerOption
1909
+ */
1910
+ private_network?: ScalewayBaremetalV1OfferOptionOfferPrivateNetwork;
1911
+ /**
1912
+ * Remote_access option.
1913
+ * @type {object}
1914
+ * @memberof ScalewayBaremetalV1ServerOption
1915
+ */
1916
+ remote_access?: object;
1917
+ /**
1918
+ * Certification option.
1919
+ * @type {object}
1920
+ * @memberof ScalewayBaremetalV1ServerOption
1921
+ */
1922
+ certification?: object;
1923
+ }
1924
+ export declare const ScalewayBaremetalV1ServerOptionStatusEnum: {
1925
+ readonly OptionStatusUnknown: "option_status_unknown";
1926
+ readonly OptionStatusEnable: "option_status_enable";
1927
+ readonly OptionStatusEnabling: "option_status_enabling";
1928
+ readonly OptionStatusDisabling: "option_status_disabling";
1929
+ readonly OptionStatusError: "option_status_error";
1930
+ };
1931
+ export type ScalewayBaremetalV1ServerOptionStatusEnum = (typeof ScalewayBaremetalV1ServerOptionStatusEnum)[keyof typeof ScalewayBaremetalV1ServerOptionStatusEnum];
1932
+ /**
1933
+ * Configuration of rescue boot.
1934
+ * @export
1935
+ * @interface ScalewayBaremetalV1ServerRescueServer
1936
+ */
1937
+ export interface ScalewayBaremetalV1ServerRescueServer {
1938
+ /**
1939
+ * Rescue user name.
1940
+ * @type {string}
1941
+ * @memberof ScalewayBaremetalV1ServerRescueServer
1942
+ */
1943
+ user?: string;
1944
+ /**
1945
+ * Rescue password.
1946
+ * @type {string}
1947
+ * @memberof ScalewayBaremetalV1ServerRescueServer
1948
+ */
1949
+ password?: string;
1950
+ }
1951
+ /**
1952
+ * Optional configuration data passed to cloud-init.
1953
+ * @export
1954
+ * @interface ScalewayBaremetalV1ServerUserData
1955
+ */
1956
+ export interface ScalewayBaremetalV1ServerUserData {
1957
+ /**
1958
+ *
1959
+ * @type {string}
1960
+ * @memberof ScalewayBaremetalV1ServerUserData
1961
+ */
1962
+ value?: string;
1963
+ }
1964
+ /**
1965
+ *
1966
+ * @export
1967
+ * @interface ScalewayBaremetalV1Setting
1968
+ */
1969
+ export interface ScalewayBaremetalV1Setting {
1970
+ /**
1971
+ * ID of the setting.
1972
+ * @type {string}
1973
+ * @memberof ScalewayBaremetalV1Setting
1974
+ */
1975
+ id?: string;
1976
+ /**
1977
+ * Type of the setting.
1978
+ * @type {string}
1979
+ * @memberof ScalewayBaremetalV1Setting
1980
+ */
1981
+ type?: ScalewayBaremetalV1SettingTypeEnum;
1982
+ /**
1983
+ * ID of the Project ID.
1984
+ * @type {string}
1985
+ * @memberof ScalewayBaremetalV1Setting
1986
+ */
1987
+ project_id?: string;
1988
+ /**
1989
+ * Defines whether the setting is enabled.
1990
+ * @type {boolean}
1991
+ * @memberof ScalewayBaremetalV1Setting
1992
+ */
1993
+ enabled?: boolean;
1994
+ }
1995
+ export declare const ScalewayBaremetalV1SettingTypeEnum: {
1996
+ readonly Unknown: "unknown";
1997
+ readonly Smtp: "smtp";
1998
+ };
1999
+ export type ScalewayBaremetalV1SettingTypeEnum = (typeof ScalewayBaremetalV1SettingTypeEnum)[keyof typeof ScalewayBaremetalV1SettingTypeEnum];
2000
+ /**
2001
+ * @type ScalewayStdTimeSeriesPointInner
2002
+ * @export
2003
+ */
2004
+ export type ScalewayStdTimeSeriesPointInner = number | string;
2005
+ /**
2006
+ *
2007
+ * @export
2008
+ * @interface StartBMCAccessRequest
2009
+ */
2010
+ export interface StartBMCAccessRequest {
2011
+ /**
2012
+ * The IP authorized to connect to the server. (IPv4 address)
2013
+ * @type {string}
2014
+ * @memberof StartBMCAccessRequest
2015
+ */
2016
+ ip: string;
2017
+ }
2018
+ /**
2019
+ *
2020
+ * @export
2021
+ * @interface UpdateIPRequest
2022
+ */
2023
+ export interface UpdateIPRequest {
2024
+ /**
2025
+ * New reverse IP to update, not updated if null.
2026
+ * @type {string}
2027
+ * @memberof UpdateIPRequest
2028
+ */
2029
+ reverse?: string;
2030
+ }
2031
+ /**
2032
+ *
2033
+ * @export
2034
+ * @interface UpdateServerRequest
2035
+ */
2036
+ export interface UpdateServerRequest {
2037
+ /**
2038
+ * Name of the server (≠hostname), not updated if null.
2039
+ * @type {string}
2040
+ * @memberof UpdateServerRequest
2041
+ */
2042
+ name?: string;
2043
+ /**
2044
+ * Description associated with the server, max 255 characters, not updated if null.
2045
+ * @type {string}
2046
+ * @memberof UpdateServerRequest
2047
+ */
2048
+ description?: string;
2049
+ /**
2050
+ * Tags associated with the server, not updated if null.
2051
+ * @type {Array<string>}
2052
+ * @memberof UpdateServerRequest
2053
+ */
2054
+ tags?: Array<string>;
2055
+ /**
2056
+ * If enabled, the server can not be deleted.
2057
+ * @type {boolean}
2058
+ * @memberof UpdateServerRequest
2059
+ */
2060
+ protected?: boolean;
2061
+ /**
2062
+ *
2063
+ * @type {CreateServerRequestUserData}
2064
+ * @memberof UpdateServerRequest
2065
+ */
2066
+ user_data?: CreateServerRequestUserData;
2067
+ }
2068
+ /**
2069
+ *
2070
+ * @export
2071
+ * @interface UpdateSettingRequest
2072
+ */
2073
+ export interface UpdateSettingRequest {
2074
+ /**
2075
+ * Defines whether the setting is enabled.
2076
+ * @type {boolean}
2077
+ * @memberof UpdateSettingRequest
2078
+ */
2079
+ enabled?: boolean;
2080
+ }
2081
+ /**
2082
+ *
2083
+ * @export
2084
+ * @interface ValidatePartitioningSchemaRequest
2085
+ */
2086
+ export interface ValidatePartitioningSchemaRequest {
2087
+ /**
2088
+ *
2089
+ * @type {ValidatePartitioningSchemaRequestPartitioningSchema}
2090
+ * @memberof ValidatePartitioningSchemaRequest
2091
+ */
2092
+ partitioning_schema?: ValidatePartitioningSchemaRequestPartitioningSchema;
2093
+ /**
2094
+ * Offer ID of the server.
2095
+ * @type {string}
2096
+ * @memberof ValidatePartitioningSchemaRequest
2097
+ */
2098
+ offer_id?: string;
2099
+ /**
2100
+ * OS ID.
2101
+ * @type {string}
2102
+ * @memberof ValidatePartitioningSchemaRequest
2103
+ */
2104
+ os_id?: string;
2105
+ }
2106
+ /**
2107
+ * Partitioning schema.
2108
+ * @export
2109
+ * @interface ValidatePartitioningSchemaRequestPartitioningSchema
2110
+ */
2111
+ export interface ValidatePartitioningSchemaRequestPartitioningSchema {
2112
+ /**
2113
+ *
2114
+ * @type {Array<ScalewayBaremetalV1SchemaDisk>}
2115
+ * @memberof ValidatePartitioningSchemaRequestPartitioningSchema
2116
+ */
2117
+ disks?: Array<ScalewayBaremetalV1SchemaDisk>;
2118
+ /**
2119
+ *
2120
+ * @type {Array<ScalewayBaremetalV1SchemaRAID>}
2121
+ * @memberof ValidatePartitioningSchemaRequestPartitioningSchema
2122
+ */
2123
+ raids?: Array<ScalewayBaremetalV1SchemaRAID>;
2124
+ /**
2125
+ *
2126
+ * @type {Array<ScalewayBaremetalV1SchemaFilesystem>}
2127
+ * @memberof ValidatePartitioningSchemaRequestPartitioningSchema
2128
+ */
2129
+ filesystems?: Array<ScalewayBaremetalV1SchemaFilesystem>;
2130
+ /**
2131
+ *
2132
+ * @type {ScalewayBaremetalV1SchemaZFS}
2133
+ * @memberof ValidatePartitioningSchemaRequestPartitioningSchema
2134
+ */
2135
+ zfs?: ScalewayBaremetalV1SchemaZFS;
2136
+ }
2137
+ /**
2138
+ * BMCAccessApi - axios parameter creator
2139
+ * @export
2140
+ */
2141
+ export declare const BMCAccessApiAxiosParamCreator: (configuration?: Configuration) => {
2142
+ /**
2143
+ * Get the BMC (Baseboard Management Controller) access associated with the ID, including the URL and login information needed to connect.
2144
+ * @summary Get BMC access
2145
+ * @param {GetBMCAccessZoneEnum} zone The zone you want to target
2146
+ * @param {string} serverId ID of the server.
2147
+ * @param {*} [options] Override http request option.
2148
+ * @throws {RequiredError}
2149
+ */
2150
+ getBMCAccess: (zone: GetBMCAccessZoneEnum, serverId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2151
+ /**
2152
+ * Start BMC (Baseboard Management Controller) access associated with the ID. The BMC (Baseboard Management Controller) access is available one hour after the installation of the server. You need first to create an option Remote Access. You will find the ID and the price with a call to listOffers (https://developers.scaleway.com/en/products/baremetal/api/#get-78db92). Then add the option https://developers.scaleway.com/en/products/baremetal/api/#post-b14abd. After adding the BMC option, you need to Get Remote Access to get the login/password https://developers.scaleway.com/en/products/baremetal/api/#get-cefc0f. Do not forget to delete the Option after use.
2153
+ * @summary Start BMC access
2154
+ * @param {StartBMCAccessZoneEnum} zone The zone you want to target
2155
+ * @param {string} serverId ID of the server.
2156
+ * @param {StartBMCAccessRequest} startBMCAccessRequest
2157
+ * @param {*} [options] Override http request option.
2158
+ * @throws {RequiredError}
2159
+ */
2160
+ startBMCAccess: (zone: StartBMCAccessZoneEnum, serverId: string, startBMCAccessRequest: StartBMCAccessRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2161
+ /**
2162
+ * Stop BMC (Baseboard Management Controller) access associated with the ID.
2163
+ * @summary Stop BMC access
2164
+ * @param {StopBMCAccessZoneEnum} zone The zone you want to target
2165
+ * @param {string} serverId ID of the server.
2166
+ * @param {*} [options] Override http request option.
2167
+ * @throws {RequiredError}
2168
+ */
2169
+ stopBMCAccess: (zone: StopBMCAccessZoneEnum, serverId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2170
+ };
2171
+ /**
2172
+ * BMCAccessApi - functional programming interface
2173
+ * @export
2174
+ */
2175
+ export declare const BMCAccessApiFp: (configuration?: Configuration) => {
2176
+ /**
2177
+ * Get the BMC (Baseboard Management Controller) access associated with the ID, including the URL and login information needed to connect.
2178
+ * @summary Get BMC access
2179
+ * @param {GetBMCAccessZoneEnum} zone The zone you want to target
2180
+ * @param {string} serverId ID of the server.
2181
+ * @param {*} [options] Override http request option.
2182
+ * @throws {RequiredError}
2183
+ */
2184
+ getBMCAccess(zone: GetBMCAccessZoneEnum, serverId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayBaremetalV1BMCAccess>>;
2185
+ /**
2186
+ * Start BMC (Baseboard Management Controller) access associated with the ID. The BMC (Baseboard Management Controller) access is available one hour after the installation of the server. You need first to create an option Remote Access. You will find the ID and the price with a call to listOffers (https://developers.scaleway.com/en/products/baremetal/api/#get-78db92). Then add the option https://developers.scaleway.com/en/products/baremetal/api/#post-b14abd. After adding the BMC option, you need to Get Remote Access to get the login/password https://developers.scaleway.com/en/products/baremetal/api/#get-cefc0f. Do not forget to delete the Option after use.
2187
+ * @summary Start BMC access
2188
+ * @param {StartBMCAccessZoneEnum} zone The zone you want to target
2189
+ * @param {string} serverId ID of the server.
2190
+ * @param {StartBMCAccessRequest} startBMCAccessRequest
2191
+ * @param {*} [options] Override http request option.
2192
+ * @throws {RequiredError}
2193
+ */
2194
+ startBMCAccess(zone: StartBMCAccessZoneEnum, serverId: string, startBMCAccessRequest: StartBMCAccessRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayBaremetalV1BMCAccess>>;
2195
+ /**
2196
+ * Stop BMC (Baseboard Management Controller) access associated with the ID.
2197
+ * @summary Stop BMC access
2198
+ * @param {StopBMCAccessZoneEnum} zone The zone you want to target
2199
+ * @param {string} serverId ID of the server.
2200
+ * @param {*} [options] Override http request option.
2201
+ * @throws {RequiredError}
2202
+ */
2203
+ stopBMCAccess(zone: StopBMCAccessZoneEnum, serverId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
2204
+ };
2205
+ /**
2206
+ * BMCAccessApi - factory interface
2207
+ * @export
2208
+ */
2209
+ export declare const BMCAccessApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2210
+ /**
2211
+ * Get the BMC (Baseboard Management Controller) access associated with the ID, including the URL and login information needed to connect.
2212
+ * @summary Get BMC access
2213
+ * @param {GetBMCAccessZoneEnum} zone The zone you want to target
2214
+ * @param {string} serverId ID of the server.
2215
+ * @param {*} [options] Override http request option.
2216
+ * @throws {RequiredError}
2217
+ */
2218
+ getBMCAccess(zone: GetBMCAccessZoneEnum, serverId: string, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayBaremetalV1BMCAccess>;
2219
+ /**
2220
+ * Start BMC (Baseboard Management Controller) access associated with the ID. The BMC (Baseboard Management Controller) access is available one hour after the installation of the server. You need first to create an option Remote Access. You will find the ID and the price with a call to listOffers (https://developers.scaleway.com/en/products/baremetal/api/#get-78db92). Then add the option https://developers.scaleway.com/en/products/baremetal/api/#post-b14abd. After adding the BMC option, you need to Get Remote Access to get the login/password https://developers.scaleway.com/en/products/baremetal/api/#get-cefc0f. Do not forget to delete the Option after use.
2221
+ * @summary Start BMC access
2222
+ * @param {StartBMCAccessZoneEnum} zone The zone you want to target
2223
+ * @param {string} serverId ID of the server.
2224
+ * @param {StartBMCAccessRequest} startBMCAccessRequest
2225
+ * @param {*} [options] Override http request option.
2226
+ * @throws {RequiredError}
2227
+ */
2228
+ startBMCAccess(zone: StartBMCAccessZoneEnum, serverId: string, startBMCAccessRequest: StartBMCAccessRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayBaremetalV1BMCAccess>;
2229
+ /**
2230
+ * Stop BMC (Baseboard Management Controller) access associated with the ID.
2231
+ * @summary Stop BMC access
2232
+ * @param {StopBMCAccessZoneEnum} zone The zone you want to target
2233
+ * @param {string} serverId ID of the server.
2234
+ * @param {*} [options] Override http request option.
2235
+ * @throws {RequiredError}
2236
+ */
2237
+ stopBMCAccess(zone: StopBMCAccessZoneEnum, serverId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
2238
+ };
2239
+ /**
2240
+ * BMCAccessApi - interface
2241
+ * @export
2242
+ * @interface BMCAccessApi
2243
+ */
2244
+ export interface BMCAccessApiInterface {
2245
+ /**
2246
+ * Get the BMC (Baseboard Management Controller) access associated with the ID, including the URL and login information needed to connect.
2247
+ * @summary Get BMC access
2248
+ * @param {GetBMCAccessZoneEnum} zone The zone you want to target
2249
+ * @param {string} serverId ID of the server.
2250
+ * @param {*} [options] Override http request option.
2251
+ * @throws {RequiredError}
2252
+ * @memberof BMCAccessApiInterface
2253
+ */
2254
+ getBMCAccess(zone: GetBMCAccessZoneEnum, serverId: string, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayBaremetalV1BMCAccess>;
2255
+ /**
2256
+ * Start BMC (Baseboard Management Controller) access associated with the ID. The BMC (Baseboard Management Controller) access is available one hour after the installation of the server. You need first to create an option Remote Access. You will find the ID and the price with a call to listOffers (https://developers.scaleway.com/en/products/baremetal/api/#get-78db92). Then add the option https://developers.scaleway.com/en/products/baremetal/api/#post-b14abd. After adding the BMC option, you need to Get Remote Access to get the login/password https://developers.scaleway.com/en/products/baremetal/api/#get-cefc0f. Do not forget to delete the Option after use.
2257
+ * @summary Start BMC access
2258
+ * @param {StartBMCAccessZoneEnum} zone The zone you want to target
2259
+ * @param {string} serverId ID of the server.
2260
+ * @param {StartBMCAccessRequest} startBMCAccessRequest
2261
+ * @param {*} [options] Override http request option.
2262
+ * @throws {RequiredError}
2263
+ * @memberof BMCAccessApiInterface
2264
+ */
2265
+ startBMCAccess(zone: StartBMCAccessZoneEnum, serverId: string, startBMCAccessRequest: StartBMCAccessRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayBaremetalV1BMCAccess>;
2266
+ /**
2267
+ * Stop BMC (Baseboard Management Controller) access associated with the ID.
2268
+ * @summary Stop BMC access
2269
+ * @param {StopBMCAccessZoneEnum} zone The zone you want to target
2270
+ * @param {string} serverId ID of the server.
2271
+ * @param {*} [options] Override http request option.
2272
+ * @throws {RequiredError}
2273
+ * @memberof BMCAccessApiInterface
2274
+ */
2275
+ stopBMCAccess(zone: StopBMCAccessZoneEnum, serverId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
2276
+ }
2277
+ /**
2278
+ * BMCAccessApi - object-oriented interface
2279
+ * @export
2280
+ * @class BMCAccessApi
2281
+ * @extends {BaseAPI}
2282
+ */
2283
+ export declare class BMCAccessApi extends BaseAPI implements BMCAccessApiInterface {
2284
+ /**
2285
+ * Get the BMC (Baseboard Management Controller) access associated with the ID, including the URL and login information needed to connect.
2286
+ * @summary Get BMC access
2287
+ * @param {GetBMCAccessZoneEnum} zone The zone you want to target
2288
+ * @param {string} serverId ID of the server.
2289
+ * @param {*} [options] Override http request option.
2290
+ * @throws {RequiredError}
2291
+ * @memberof BMCAccessApi
2292
+ */
2293
+ getBMCAccess(zone: GetBMCAccessZoneEnum, serverId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayBaremetalV1BMCAccess, any, {}>>;
2294
+ /**
2295
+ * Start BMC (Baseboard Management Controller) access associated with the ID. The BMC (Baseboard Management Controller) access is available one hour after the installation of the server. You need first to create an option Remote Access. You will find the ID and the price with a call to listOffers (https://developers.scaleway.com/en/products/baremetal/api/#get-78db92). Then add the option https://developers.scaleway.com/en/products/baremetal/api/#post-b14abd. After adding the BMC option, you need to Get Remote Access to get the login/password https://developers.scaleway.com/en/products/baremetal/api/#get-cefc0f. Do not forget to delete the Option after use.
2296
+ * @summary Start BMC access
2297
+ * @param {StartBMCAccessZoneEnum} zone The zone you want to target
2298
+ * @param {string} serverId ID of the server.
2299
+ * @param {StartBMCAccessRequest} startBMCAccessRequest
2300
+ * @param {*} [options] Override http request option.
2301
+ * @throws {RequiredError}
2302
+ * @memberof BMCAccessApi
2303
+ */
2304
+ startBMCAccess(zone: StartBMCAccessZoneEnum, serverId: string, startBMCAccessRequest: StartBMCAccessRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayBaremetalV1BMCAccess, any, {}>>;
2305
+ /**
2306
+ * Stop BMC (Baseboard Management Controller) access associated with the ID.
2307
+ * @summary Stop BMC access
2308
+ * @param {StopBMCAccessZoneEnum} zone The zone you want to target
2309
+ * @param {string} serverId ID of the server.
2310
+ * @param {*} [options] Override http request option.
2311
+ * @throws {RequiredError}
2312
+ * @memberof BMCAccessApi
2313
+ */
2314
+ stopBMCAccess(zone: StopBMCAccessZoneEnum, serverId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
2315
+ }
2316
+ /**
2317
+ * @export
2318
+ */
2319
+ export declare const GetBMCAccessZoneEnum: {
2320
+ readonly FrPar1: "fr-par-1";
2321
+ readonly FrPar2: "fr-par-2";
2322
+ readonly NlAms1: "nl-ams-1";
2323
+ readonly NlAms2: "nl-ams-2";
2324
+ readonly PlWaw2: "pl-waw-2";
2325
+ readonly PlWaw3: "pl-waw-3";
2326
+ };
2327
+ export type GetBMCAccessZoneEnum = (typeof GetBMCAccessZoneEnum)[keyof typeof GetBMCAccessZoneEnum];
2328
+ /**
2329
+ * @export
2330
+ */
2331
+ export declare const StartBMCAccessZoneEnum: {
2332
+ readonly FrPar1: "fr-par-1";
2333
+ readonly FrPar2: "fr-par-2";
2334
+ readonly NlAms1: "nl-ams-1";
2335
+ readonly NlAms2: "nl-ams-2";
2336
+ readonly PlWaw2: "pl-waw-2";
2337
+ readonly PlWaw3: "pl-waw-3";
2338
+ };
2339
+ export type StartBMCAccessZoneEnum = (typeof StartBMCAccessZoneEnum)[keyof typeof StartBMCAccessZoneEnum];
2340
+ /**
2341
+ * @export
2342
+ */
2343
+ export declare const StopBMCAccessZoneEnum: {
2344
+ readonly FrPar1: "fr-par-1";
2345
+ readonly FrPar2: "fr-par-2";
2346
+ readonly NlAms1: "nl-ams-1";
2347
+ readonly NlAms2: "nl-ams-2";
2348
+ readonly PlWaw2: "pl-waw-2";
2349
+ readonly PlWaw3: "pl-waw-3";
2350
+ };
2351
+ export type StopBMCAccessZoneEnum = (typeof StopBMCAccessZoneEnum)[keyof typeof StopBMCAccessZoneEnum];
2352
+ /**
2353
+ * OSApi - axios parameter creator
2354
+ * @export
2355
+ */
2356
+ export declare const OSApiAxiosParamCreator: (configuration?: Configuration) => {
2357
+ /**
2358
+ * Return the specific OS for the ID.
2359
+ * @summary Get OS with an ID
2360
+ * @param {GetOSZoneEnum} zone The zone you want to target
2361
+ * @param {string} osId ID of the OS.
2362
+ * @param {*} [options] Override http request option.
2363
+ * @throws {RequiredError}
2364
+ */
2365
+ getOS: (zone: GetOSZoneEnum, osId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2366
+ /**
2367
+ * List all OSes that are available for installation on Elastic Metal servers.
2368
+ * @summary List available OSes
2369
+ * @param {ListOSZoneEnum} zone The zone you want to target
2370
+ * @param {number} [page] Page number.
2371
+ * @param {number} [pageSize] Number of OS per page.
2372
+ * @param {string} [offerId] Offer IDs to filter OSes for.
2373
+ * @param {*} [options] Override http request option.
2374
+ * @throws {RequiredError}
2375
+ */
2376
+ listOS: (zone: ListOSZoneEnum, page?: number, pageSize?: number, offerId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2377
+ };
2378
+ /**
2379
+ * OSApi - functional programming interface
2380
+ * @export
2381
+ */
2382
+ export declare const OSApiFp: (configuration?: Configuration) => {
2383
+ /**
2384
+ * Return the specific OS for the ID.
2385
+ * @summary Get OS with an ID
2386
+ * @param {GetOSZoneEnum} zone The zone you want to target
2387
+ * @param {string} osId ID of the OS.
2388
+ * @param {*} [options] Override http request option.
2389
+ * @throws {RequiredError}
2390
+ */
2391
+ getOS(zone: GetOSZoneEnum, osId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayBaremetalV1OS>>;
2392
+ /**
2393
+ * List all OSes that are available for installation on Elastic Metal servers.
2394
+ * @summary List available OSes
2395
+ * @param {ListOSZoneEnum} zone The zone you want to target
2396
+ * @param {number} [page] Page number.
2397
+ * @param {number} [pageSize] Number of OS per page.
2398
+ * @param {string} [offerId] Offer IDs to filter OSes for.
2399
+ * @param {*} [options] Override http request option.
2400
+ * @throws {RequiredError}
2401
+ */
2402
+ listOS(zone: ListOSZoneEnum, page?: number, pageSize?: number, offerId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayBaremetalV1ListOSResponse>>;
2403
+ };
2404
+ /**
2405
+ * OSApi - factory interface
2406
+ * @export
2407
+ */
2408
+ export declare const OSApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2409
+ /**
2410
+ * Return the specific OS for the ID.
2411
+ * @summary Get OS with an ID
2412
+ * @param {GetOSZoneEnum} zone The zone you want to target
2413
+ * @param {string} osId ID of the OS.
2414
+ * @param {*} [options] Override http request option.
2415
+ * @throws {RequiredError}
2416
+ */
2417
+ getOS(zone: GetOSZoneEnum, osId: string, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayBaremetalV1OS>;
2418
+ /**
2419
+ * List all OSes that are available for installation on Elastic Metal servers.
2420
+ * @summary List available OSes
2421
+ * @param {ListOSZoneEnum} zone The zone you want to target
2422
+ * @param {number} [page] Page number.
2423
+ * @param {number} [pageSize] Number of OS per page.
2424
+ * @param {string} [offerId] Offer IDs to filter OSes for.
2425
+ * @param {*} [options] Override http request option.
2426
+ * @throws {RequiredError}
2427
+ */
2428
+ listOS(zone: ListOSZoneEnum, page?: number, pageSize?: number, offerId?: string, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayBaremetalV1ListOSResponse>;
2429
+ };
2430
+ /**
2431
+ * OSApi - interface
2432
+ * @export
2433
+ * @interface OSApi
2434
+ */
2435
+ export interface OSApiInterface {
2436
+ /**
2437
+ * Return the specific OS for the ID.
2438
+ * @summary Get OS with an ID
2439
+ * @param {GetOSZoneEnum} zone The zone you want to target
2440
+ * @param {string} osId ID of the OS.
2441
+ * @param {*} [options] Override http request option.
2442
+ * @throws {RequiredError}
2443
+ * @memberof OSApiInterface
2444
+ */
2445
+ getOS(zone: GetOSZoneEnum, osId: string, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayBaremetalV1OS>;
2446
+ /**
2447
+ * List all OSes that are available for installation on Elastic Metal servers.
2448
+ * @summary List available OSes
2449
+ * @param {ListOSZoneEnum} zone The zone you want to target
2450
+ * @param {number} [page] Page number.
2451
+ * @param {number} [pageSize] Number of OS per page.
2452
+ * @param {string} [offerId] Offer IDs to filter OSes for.
2453
+ * @param {*} [options] Override http request option.
2454
+ * @throws {RequiredError}
2455
+ * @memberof OSApiInterface
2456
+ */
2457
+ listOS(zone: ListOSZoneEnum, page?: number, pageSize?: number, offerId?: string, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayBaremetalV1ListOSResponse>;
2458
+ }
2459
+ /**
2460
+ * OSApi - object-oriented interface
2461
+ * @export
2462
+ * @class OSApi
2463
+ * @extends {BaseAPI}
2464
+ */
2465
+ export declare class OSApi extends BaseAPI implements OSApiInterface {
2466
+ /**
2467
+ * Return the specific OS for the ID.
2468
+ * @summary Get OS with an ID
2469
+ * @param {GetOSZoneEnum} zone The zone you want to target
2470
+ * @param {string} osId ID of the OS.
2471
+ * @param {*} [options] Override http request option.
2472
+ * @throws {RequiredError}
2473
+ * @memberof OSApi
2474
+ */
2475
+ getOS(zone: GetOSZoneEnum, osId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayBaremetalV1OS, any, {}>>;
2476
+ /**
2477
+ * List all OSes that are available for installation on Elastic Metal servers.
2478
+ * @summary List available OSes
2479
+ * @param {ListOSZoneEnum} zone The zone you want to target
2480
+ * @param {number} [page] Page number.
2481
+ * @param {number} [pageSize] Number of OS per page.
2482
+ * @param {string} [offerId] Offer IDs to filter OSes for.
2483
+ * @param {*} [options] Override http request option.
2484
+ * @throws {RequiredError}
2485
+ * @memberof OSApi
2486
+ */
2487
+ listOS(zone: ListOSZoneEnum, page?: number, pageSize?: number, offerId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayBaremetalV1ListOSResponse, any, {}>>;
2488
+ }
2489
+ /**
2490
+ * @export
2491
+ */
2492
+ export declare const GetOSZoneEnum: {
2493
+ readonly FrPar1: "fr-par-1";
2494
+ readonly FrPar2: "fr-par-2";
2495
+ readonly NlAms1: "nl-ams-1";
2496
+ readonly NlAms2: "nl-ams-2";
2497
+ readonly PlWaw2: "pl-waw-2";
2498
+ readonly PlWaw3: "pl-waw-3";
2499
+ };
2500
+ export type GetOSZoneEnum = (typeof GetOSZoneEnum)[keyof typeof GetOSZoneEnum];
2501
+ /**
2502
+ * @export
2503
+ */
2504
+ export declare const ListOSZoneEnum: {
2505
+ readonly FrPar1: "fr-par-1";
2506
+ readonly FrPar2: "fr-par-2";
2507
+ readonly NlAms1: "nl-ams-1";
2508
+ readonly NlAms2: "nl-ams-2";
2509
+ readonly PlWaw2: "pl-waw-2";
2510
+ readonly PlWaw3: "pl-waw-3";
2511
+ };
2512
+ export type ListOSZoneEnum = (typeof ListOSZoneEnum)[keyof typeof ListOSZoneEnum];
2513
+ /**
2514
+ * OffersApi - axios parameter creator
2515
+ * @export
2516
+ */
2517
+ export declare const OffersApiAxiosParamCreator: (configuration?: Configuration) => {
2518
+ /**
2519
+ * Get details of an offer identified by its offer ID.
2520
+ * @summary Get offer
2521
+ * @param {GetOfferZoneEnum} zone The zone you want to target
2522
+ * @param {string} offerId ID of the researched Offer.
2523
+ * @param {*} [options] Override http request option.
2524
+ * @throws {RequiredError}
2525
+ */
2526
+ getOffer: (zone: GetOfferZoneEnum, offerId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2527
+ /**
2528
+ * List all available Elastic Metal server configurations.
2529
+ * @summary List offers
2530
+ * @param {ListOffersZoneEnum} zone The zone you want to target
2531
+ * @param {number} [page] Page number.
2532
+ * @param {number} [pageSize] Number of offers per page.
2533
+ * @param {ListOffersSubscriptionPeriodEnum} [subscriptionPeriod] Subscription period type to filter offers by.
2534
+ * @param {string} [name] Offer name to filter offers by.
2535
+ * @param {*} [options] Override http request option.
2536
+ * @throws {RequiredError}
2537
+ */
2538
+ listOffers: (zone: ListOffersZoneEnum, page?: number, pageSize?: number, subscriptionPeriod?: ListOffersSubscriptionPeriodEnum, name?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2539
+ };
2540
+ /**
2541
+ * OffersApi - functional programming interface
2542
+ * @export
2543
+ */
2544
+ export declare const OffersApiFp: (configuration?: Configuration) => {
2545
+ /**
2546
+ * Get details of an offer identified by its offer ID.
2547
+ * @summary Get offer
2548
+ * @param {GetOfferZoneEnum} zone The zone you want to target
2549
+ * @param {string} offerId ID of the researched Offer.
2550
+ * @param {*} [options] Override http request option.
2551
+ * @throws {RequiredError}
2552
+ */
2553
+ getOffer(zone: GetOfferZoneEnum, offerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayBaremetalV1Offer>>;
2554
+ /**
2555
+ * List all available Elastic Metal server configurations.
2556
+ * @summary List offers
2557
+ * @param {ListOffersZoneEnum} zone The zone you want to target
2558
+ * @param {number} [page] Page number.
2559
+ * @param {number} [pageSize] Number of offers per page.
2560
+ * @param {ListOffersSubscriptionPeriodEnum} [subscriptionPeriod] Subscription period type to filter offers by.
2561
+ * @param {string} [name] Offer name to filter offers by.
2562
+ * @param {*} [options] Override http request option.
2563
+ * @throws {RequiredError}
2564
+ */
2565
+ listOffers(zone: ListOffersZoneEnum, page?: number, pageSize?: number, subscriptionPeriod?: ListOffersSubscriptionPeriodEnum, name?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayBaremetalV1ListOffersResponse>>;
2566
+ };
2567
+ /**
2568
+ * OffersApi - factory interface
2569
+ * @export
2570
+ */
2571
+ export declare const OffersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2572
+ /**
2573
+ * Get details of an offer identified by its offer ID.
2574
+ * @summary Get offer
2575
+ * @param {GetOfferZoneEnum} zone The zone you want to target
2576
+ * @param {string} offerId ID of the researched Offer.
2577
+ * @param {*} [options] Override http request option.
2578
+ * @throws {RequiredError}
2579
+ */
2580
+ getOffer(zone: GetOfferZoneEnum, offerId: string, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayBaremetalV1Offer>;
2581
+ /**
2582
+ * List all available Elastic Metal server configurations.
2583
+ * @summary List offers
2584
+ * @param {ListOffersZoneEnum} zone The zone you want to target
2585
+ * @param {number} [page] Page number.
2586
+ * @param {number} [pageSize] Number of offers per page.
2587
+ * @param {ListOffersSubscriptionPeriodEnum} [subscriptionPeriod] Subscription period type to filter offers by.
2588
+ * @param {string} [name] Offer name to filter offers by.
2589
+ * @param {*} [options] Override http request option.
2590
+ * @throws {RequiredError}
2591
+ */
2592
+ listOffers(zone: ListOffersZoneEnum, page?: number, pageSize?: number, subscriptionPeriod?: ListOffersSubscriptionPeriodEnum, name?: string, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayBaremetalV1ListOffersResponse>;
2593
+ };
2594
+ /**
2595
+ * OffersApi - interface
2596
+ * @export
2597
+ * @interface OffersApi
2598
+ */
2599
+ export interface OffersApiInterface {
2600
+ /**
2601
+ * Get details of an offer identified by its offer ID.
2602
+ * @summary Get offer
2603
+ * @param {GetOfferZoneEnum} zone The zone you want to target
2604
+ * @param {string} offerId ID of the researched Offer.
2605
+ * @param {*} [options] Override http request option.
2606
+ * @throws {RequiredError}
2607
+ * @memberof OffersApiInterface
2608
+ */
2609
+ getOffer(zone: GetOfferZoneEnum, offerId: string, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayBaremetalV1Offer>;
2610
+ /**
2611
+ * List all available Elastic Metal server configurations.
2612
+ * @summary List offers
2613
+ * @param {ListOffersZoneEnum} zone The zone you want to target
2614
+ * @param {number} [page] Page number.
2615
+ * @param {number} [pageSize] Number of offers per page.
2616
+ * @param {ListOffersSubscriptionPeriodEnum} [subscriptionPeriod] Subscription period type to filter offers by.
2617
+ * @param {string} [name] Offer name to filter offers by.
2618
+ * @param {*} [options] Override http request option.
2619
+ * @throws {RequiredError}
2620
+ * @memberof OffersApiInterface
2621
+ */
2622
+ listOffers(zone: ListOffersZoneEnum, page?: number, pageSize?: number, subscriptionPeriod?: ListOffersSubscriptionPeriodEnum, name?: string, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayBaremetalV1ListOffersResponse>;
2623
+ }
2624
+ /**
2625
+ * OffersApi - object-oriented interface
2626
+ * @export
2627
+ * @class OffersApi
2628
+ * @extends {BaseAPI}
2629
+ */
2630
+ export declare class OffersApi extends BaseAPI implements OffersApiInterface {
2631
+ /**
2632
+ * Get details of an offer identified by its offer ID.
2633
+ * @summary Get offer
2634
+ * @param {GetOfferZoneEnum} zone The zone you want to target
2635
+ * @param {string} offerId ID of the researched Offer.
2636
+ * @param {*} [options] Override http request option.
2637
+ * @throws {RequiredError}
2638
+ * @memberof OffersApi
2639
+ */
2640
+ getOffer(zone: GetOfferZoneEnum, offerId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayBaremetalV1Offer, any, {}>>;
2641
+ /**
2642
+ * List all available Elastic Metal server configurations.
2643
+ * @summary List offers
2644
+ * @param {ListOffersZoneEnum} zone The zone you want to target
2645
+ * @param {number} [page] Page number.
2646
+ * @param {number} [pageSize] Number of offers per page.
2647
+ * @param {ListOffersSubscriptionPeriodEnum} [subscriptionPeriod] Subscription period type to filter offers by.
2648
+ * @param {string} [name] Offer name to filter offers by.
2649
+ * @param {*} [options] Override http request option.
2650
+ * @throws {RequiredError}
2651
+ * @memberof OffersApi
2652
+ */
2653
+ listOffers(zone: ListOffersZoneEnum, page?: number, pageSize?: number, subscriptionPeriod?: ListOffersSubscriptionPeriodEnum, name?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayBaremetalV1ListOffersResponse, any, {}>>;
2654
+ }
2655
+ /**
2656
+ * @export
2657
+ */
2658
+ export declare const GetOfferZoneEnum: {
2659
+ readonly FrPar1: "fr-par-1";
2660
+ readonly FrPar2: "fr-par-2";
2661
+ readonly NlAms1: "nl-ams-1";
2662
+ readonly NlAms2: "nl-ams-2";
2663
+ readonly PlWaw2: "pl-waw-2";
2664
+ readonly PlWaw3: "pl-waw-3";
2665
+ };
2666
+ export type GetOfferZoneEnum = (typeof GetOfferZoneEnum)[keyof typeof GetOfferZoneEnum];
2667
+ /**
2668
+ * @export
2669
+ */
2670
+ export declare const ListOffersZoneEnum: {
2671
+ readonly FrPar1: "fr-par-1";
2672
+ readonly FrPar2: "fr-par-2";
2673
+ readonly NlAms1: "nl-ams-1";
2674
+ readonly NlAms2: "nl-ams-2";
2675
+ readonly PlWaw2: "pl-waw-2";
2676
+ readonly PlWaw3: "pl-waw-3";
2677
+ };
2678
+ export type ListOffersZoneEnum = (typeof ListOffersZoneEnum)[keyof typeof ListOffersZoneEnum];
2679
+ /**
2680
+ * @export
2681
+ */
2682
+ export declare const ListOffersSubscriptionPeriodEnum: {
2683
+ readonly UnknownSubscriptionPeriod: "unknown_subscription_period";
2684
+ readonly Hourly: "hourly";
2685
+ readonly Monthly: "monthly";
2686
+ };
2687
+ export type ListOffersSubscriptionPeriodEnum = (typeof ListOffersSubscriptionPeriodEnum)[keyof typeof ListOffersSubscriptionPeriodEnum];
2688
+ /**
2689
+ * OptionsApi - axios parameter creator
2690
+ * @export
2691
+ */
2692
+ export declare const OptionsApiAxiosParamCreator: (configuration?: Configuration) => {
2693
+ /**
2694
+ * Return specific option for the ID.
2695
+ * @summary Get option
2696
+ * @param {GetOptionZoneEnum} zone The zone you want to target
2697
+ * @param {string} optionId ID of the option.
2698
+ * @param {*} [options] Override http request option.
2699
+ * @throws {RequiredError}
2700
+ */
2701
+ getOption: (zone: GetOptionZoneEnum, optionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2702
+ /**
2703
+ * List all options matching with filters.
2704
+ * @summary List options
2705
+ * @param {ListOptionsZoneEnum} zone The zone you want to target
2706
+ * @param {number} [page] Page number.
2707
+ * @param {number} [pageSize] Number of options per page.
2708
+ * @param {string} [offerId] Offer ID to filter options for.
2709
+ * @param {string} [name] Name to filter options for.
2710
+ * @param {*} [options] Override http request option.
2711
+ * @throws {RequiredError}
2712
+ */
2713
+ listOptions: (zone: ListOptionsZoneEnum, page?: number, pageSize?: number, offerId?: string, name?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2714
+ /**
2715
+ * Return all settings for a Project ID.
2716
+ * @summary List all settings
2717
+ * @param {ListSettingsZoneEnum} zone The zone you want to target
2718
+ * @param {number} [page] Page number.
2719
+ * @param {number} [pageSize] Set the maximum list size.
2720
+ * @param {ListSettingsOrderByEnum} [orderBy] Sort order for items in the response.
2721
+ * @param {string} [projectId] ID of the Project. (UUID format)
2722
+ * @param {*} [options] Override http request option.
2723
+ * @throws {RequiredError}
2724
+ */
2725
+ listSettings: (zone: ListSettingsZoneEnum, page?: number, pageSize?: number, orderBy?: ListSettingsOrderByEnum, projectId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2726
+ /**
2727
+ * Update a setting for a Project ID (enable or disable).
2728
+ * @summary Update setting
2729
+ * @param {UpdateSettingZoneEnum} zone The zone you want to target
2730
+ * @param {string} settingId ID of the setting.
2731
+ * @param {UpdateSettingRequest} updateSettingRequest
2732
+ * @param {*} [options] Override http request option.
2733
+ * @throws {RequiredError}
2734
+ */
2735
+ updateSetting: (zone: UpdateSettingZoneEnum, settingId: string, updateSettingRequest: UpdateSettingRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2736
+ };
2737
+ /**
2738
+ * OptionsApi - functional programming interface
2739
+ * @export
2740
+ */
2741
+ export declare const OptionsApiFp: (configuration?: Configuration) => {
2742
+ /**
2743
+ * Return specific option for the ID.
2744
+ * @summary Get option
2745
+ * @param {GetOptionZoneEnum} zone The zone you want to target
2746
+ * @param {string} optionId ID of the option.
2747
+ * @param {*} [options] Override http request option.
2748
+ * @throws {RequiredError}
2749
+ */
2750
+ getOption(zone: GetOptionZoneEnum, optionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayBaremetalV1Option>>;
2751
+ /**
2752
+ * List all options matching with filters.
2753
+ * @summary List options
2754
+ * @param {ListOptionsZoneEnum} zone The zone you want to target
2755
+ * @param {number} [page] Page number.
2756
+ * @param {number} [pageSize] Number of options per page.
2757
+ * @param {string} [offerId] Offer ID to filter options for.
2758
+ * @param {string} [name] Name to filter options for.
2759
+ * @param {*} [options] Override http request option.
2760
+ * @throws {RequiredError}
2761
+ */
2762
+ listOptions(zone: ListOptionsZoneEnum, page?: number, pageSize?: number, offerId?: string, name?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayBaremetalV1ListOptionsResponse>>;
2763
+ /**
2764
+ * Return all settings for a Project ID.
2765
+ * @summary List all settings
2766
+ * @param {ListSettingsZoneEnum} zone The zone you want to target
2767
+ * @param {number} [page] Page number.
2768
+ * @param {number} [pageSize] Set the maximum list size.
2769
+ * @param {ListSettingsOrderByEnum} [orderBy] Sort order for items in the response.
2770
+ * @param {string} [projectId] ID of the Project. (UUID format)
2771
+ * @param {*} [options] Override http request option.
2772
+ * @throws {RequiredError}
2773
+ */
2774
+ listSettings(zone: ListSettingsZoneEnum, page?: number, pageSize?: number, orderBy?: ListSettingsOrderByEnum, projectId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayBaremetalV1ListSettingsResponse>>;
2775
+ /**
2776
+ * Update a setting for a Project ID (enable or disable).
2777
+ * @summary Update setting
2778
+ * @param {UpdateSettingZoneEnum} zone The zone you want to target
2779
+ * @param {string} settingId ID of the setting.
2780
+ * @param {UpdateSettingRequest} updateSettingRequest
2781
+ * @param {*} [options] Override http request option.
2782
+ * @throws {RequiredError}
2783
+ */
2784
+ updateSetting(zone: UpdateSettingZoneEnum, settingId: string, updateSettingRequest: UpdateSettingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayBaremetalV1Setting>>;
2785
+ };
2786
+ /**
2787
+ * OptionsApi - factory interface
2788
+ * @export
2789
+ */
2790
+ export declare const OptionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2791
+ /**
2792
+ * Return specific option for the ID.
2793
+ * @summary Get option
2794
+ * @param {GetOptionZoneEnum} zone The zone you want to target
2795
+ * @param {string} optionId ID of the option.
2796
+ * @param {*} [options] Override http request option.
2797
+ * @throws {RequiredError}
2798
+ */
2799
+ getOption(zone: GetOptionZoneEnum, optionId: string, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayBaremetalV1Option>;
2800
+ /**
2801
+ * List all options matching with filters.
2802
+ * @summary List options
2803
+ * @param {ListOptionsZoneEnum} zone The zone you want to target
2804
+ * @param {number} [page] Page number.
2805
+ * @param {number} [pageSize] Number of options per page.
2806
+ * @param {string} [offerId] Offer ID to filter options for.
2807
+ * @param {string} [name] Name to filter options for.
2808
+ * @param {*} [options] Override http request option.
2809
+ * @throws {RequiredError}
2810
+ */
2811
+ listOptions(zone: ListOptionsZoneEnum, page?: number, pageSize?: number, offerId?: string, name?: string, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayBaremetalV1ListOptionsResponse>;
2812
+ /**
2813
+ * Return all settings for a Project ID.
2814
+ * @summary List all settings
2815
+ * @param {ListSettingsZoneEnum} zone The zone you want to target
2816
+ * @param {number} [page] Page number.
2817
+ * @param {number} [pageSize] Set the maximum list size.
2818
+ * @param {ListSettingsOrderByEnum} [orderBy] Sort order for items in the response.
2819
+ * @param {string} [projectId] ID of the Project. (UUID format)
2820
+ * @param {*} [options] Override http request option.
2821
+ * @throws {RequiredError}
2822
+ */
2823
+ listSettings(zone: ListSettingsZoneEnum, page?: number, pageSize?: number, orderBy?: ListSettingsOrderByEnum, projectId?: string, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayBaremetalV1ListSettingsResponse>;
2824
+ /**
2825
+ * Update a setting for a Project ID (enable or disable).
2826
+ * @summary Update setting
2827
+ * @param {UpdateSettingZoneEnum} zone The zone you want to target
2828
+ * @param {string} settingId ID of the setting.
2829
+ * @param {UpdateSettingRequest} updateSettingRequest
2830
+ * @param {*} [options] Override http request option.
2831
+ * @throws {RequiredError}
2832
+ */
2833
+ updateSetting(zone: UpdateSettingZoneEnum, settingId: string, updateSettingRequest: UpdateSettingRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayBaremetalV1Setting>;
2834
+ };
2835
+ /**
2836
+ * OptionsApi - interface
2837
+ * @export
2838
+ * @interface OptionsApi
2839
+ */
2840
+ export interface OptionsApiInterface {
2841
+ /**
2842
+ * Return specific option for the ID.
2843
+ * @summary Get option
2844
+ * @param {GetOptionZoneEnum} zone The zone you want to target
2845
+ * @param {string} optionId ID of the option.
2846
+ * @param {*} [options] Override http request option.
2847
+ * @throws {RequiredError}
2848
+ * @memberof OptionsApiInterface
2849
+ */
2850
+ getOption(zone: GetOptionZoneEnum, optionId: string, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayBaremetalV1Option>;
2851
+ /**
2852
+ * List all options matching with filters.
2853
+ * @summary List options
2854
+ * @param {ListOptionsZoneEnum} zone The zone you want to target
2855
+ * @param {number} [page] Page number.
2856
+ * @param {number} [pageSize] Number of options per page.
2857
+ * @param {string} [offerId] Offer ID to filter options for.
2858
+ * @param {string} [name] Name to filter options for.
2859
+ * @param {*} [options] Override http request option.
2860
+ * @throws {RequiredError}
2861
+ * @memberof OptionsApiInterface
2862
+ */
2863
+ listOptions(zone: ListOptionsZoneEnum, page?: number, pageSize?: number, offerId?: string, name?: string, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayBaremetalV1ListOptionsResponse>;
2864
+ /**
2865
+ * Return all settings for a Project ID.
2866
+ * @summary List all settings
2867
+ * @param {ListSettingsZoneEnum} zone The zone you want to target
2868
+ * @param {number} [page] Page number.
2869
+ * @param {number} [pageSize] Set the maximum list size.
2870
+ * @param {ListSettingsOrderByEnum} [orderBy] Sort order for items in the response.
2871
+ * @param {string} [projectId] ID of the Project. (UUID format)
2872
+ * @param {*} [options] Override http request option.
2873
+ * @throws {RequiredError}
2874
+ * @memberof OptionsApiInterface
2875
+ */
2876
+ listSettings(zone: ListSettingsZoneEnum, page?: number, pageSize?: number, orderBy?: ListSettingsOrderByEnum, projectId?: string, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayBaremetalV1ListSettingsResponse>;
2877
+ /**
2878
+ * Update a setting for a Project ID (enable or disable).
2879
+ * @summary Update setting
2880
+ * @param {UpdateSettingZoneEnum} zone The zone you want to target
2881
+ * @param {string} settingId ID of the setting.
2882
+ * @param {UpdateSettingRequest} updateSettingRequest
2883
+ * @param {*} [options] Override http request option.
2884
+ * @throws {RequiredError}
2885
+ * @memberof OptionsApiInterface
2886
+ */
2887
+ updateSetting(zone: UpdateSettingZoneEnum, settingId: string, updateSettingRequest: UpdateSettingRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayBaremetalV1Setting>;
2888
+ }
2889
+ /**
2890
+ * OptionsApi - object-oriented interface
2891
+ * @export
2892
+ * @class OptionsApi
2893
+ * @extends {BaseAPI}
2894
+ */
2895
+ export declare class OptionsApi extends BaseAPI implements OptionsApiInterface {
2896
+ /**
2897
+ * Return specific option for the ID.
2898
+ * @summary Get option
2899
+ * @param {GetOptionZoneEnum} zone The zone you want to target
2900
+ * @param {string} optionId ID of the option.
2901
+ * @param {*} [options] Override http request option.
2902
+ * @throws {RequiredError}
2903
+ * @memberof OptionsApi
2904
+ */
2905
+ getOption(zone: GetOptionZoneEnum, optionId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayBaremetalV1Option, any, {}>>;
2906
+ /**
2907
+ * List all options matching with filters.
2908
+ * @summary List options
2909
+ * @param {ListOptionsZoneEnum} zone The zone you want to target
2910
+ * @param {number} [page] Page number.
2911
+ * @param {number} [pageSize] Number of options per page.
2912
+ * @param {string} [offerId] Offer ID to filter options for.
2913
+ * @param {string} [name] Name to filter options for.
2914
+ * @param {*} [options] Override http request option.
2915
+ * @throws {RequiredError}
2916
+ * @memberof OptionsApi
2917
+ */
2918
+ listOptions(zone: ListOptionsZoneEnum, page?: number, pageSize?: number, offerId?: string, name?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayBaremetalV1ListOptionsResponse, any, {}>>;
2919
+ /**
2920
+ * Return all settings for a Project ID.
2921
+ * @summary List all settings
2922
+ * @param {ListSettingsZoneEnum} zone The zone you want to target
2923
+ * @param {number} [page] Page number.
2924
+ * @param {number} [pageSize] Set the maximum list size.
2925
+ * @param {ListSettingsOrderByEnum} [orderBy] Sort order for items in the response.
2926
+ * @param {string} [projectId] ID of the Project. (UUID format)
2927
+ * @param {*} [options] Override http request option.
2928
+ * @throws {RequiredError}
2929
+ * @memberof OptionsApi
2930
+ */
2931
+ listSettings(zone: ListSettingsZoneEnum, page?: number, pageSize?: number, orderBy?: ListSettingsOrderByEnum, projectId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayBaremetalV1ListSettingsResponse, any, {}>>;
2932
+ /**
2933
+ * Update a setting for a Project ID (enable or disable).
2934
+ * @summary Update setting
2935
+ * @param {UpdateSettingZoneEnum} zone The zone you want to target
2936
+ * @param {string} settingId ID of the setting.
2937
+ * @param {UpdateSettingRequest} updateSettingRequest
2938
+ * @param {*} [options] Override http request option.
2939
+ * @throws {RequiredError}
2940
+ * @memberof OptionsApi
2941
+ */
2942
+ updateSetting(zone: UpdateSettingZoneEnum, settingId: string, updateSettingRequest: UpdateSettingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayBaremetalV1Setting, any, {}>>;
2943
+ }
2944
+ /**
2945
+ * @export
2946
+ */
2947
+ export declare const GetOptionZoneEnum: {
2948
+ readonly FrPar1: "fr-par-1";
2949
+ readonly FrPar2: "fr-par-2";
2950
+ readonly NlAms1: "nl-ams-1";
2951
+ readonly NlAms2: "nl-ams-2";
2952
+ readonly PlWaw2: "pl-waw-2";
2953
+ readonly PlWaw3: "pl-waw-3";
2954
+ };
2955
+ export type GetOptionZoneEnum = (typeof GetOptionZoneEnum)[keyof typeof GetOptionZoneEnum];
2956
+ /**
2957
+ * @export
2958
+ */
2959
+ export declare const ListOptionsZoneEnum: {
2960
+ readonly FrPar1: "fr-par-1";
2961
+ readonly FrPar2: "fr-par-2";
2962
+ readonly NlAms1: "nl-ams-1";
2963
+ readonly NlAms2: "nl-ams-2";
2964
+ readonly PlWaw2: "pl-waw-2";
2965
+ readonly PlWaw3: "pl-waw-3";
2966
+ };
2967
+ export type ListOptionsZoneEnum = (typeof ListOptionsZoneEnum)[keyof typeof ListOptionsZoneEnum];
2968
+ /**
2969
+ * @export
2970
+ */
2971
+ export declare const ListSettingsZoneEnum: {
2972
+ readonly FrPar1: "fr-par-1";
2973
+ readonly FrPar2: "fr-par-2";
2974
+ readonly NlAms1: "nl-ams-1";
2975
+ readonly NlAms2: "nl-ams-2";
2976
+ readonly PlWaw2: "pl-waw-2";
2977
+ readonly PlWaw3: "pl-waw-3";
2978
+ };
2979
+ export type ListSettingsZoneEnum = (typeof ListSettingsZoneEnum)[keyof typeof ListSettingsZoneEnum];
2980
+ /**
2981
+ * @export
2982
+ */
2983
+ export declare const ListSettingsOrderByEnum: {
2984
+ readonly CreatedAtAsc: "created_at_asc";
2985
+ readonly CreatedAtDesc: "created_at_desc";
2986
+ };
2987
+ export type ListSettingsOrderByEnum = (typeof ListSettingsOrderByEnum)[keyof typeof ListSettingsOrderByEnum];
2988
+ /**
2989
+ * @export
2990
+ */
2991
+ export declare const UpdateSettingZoneEnum: {
2992
+ readonly FrPar1: "fr-par-1";
2993
+ readonly FrPar2: "fr-par-2";
2994
+ readonly NlAms1: "nl-ams-1";
2995
+ readonly NlAms2: "nl-ams-2";
2996
+ readonly PlWaw2: "pl-waw-2";
2997
+ readonly PlWaw3: "pl-waw-3";
2998
+ };
2999
+ export type UpdateSettingZoneEnum = (typeof UpdateSettingZoneEnum)[keyof typeof UpdateSettingZoneEnum];
3000
+ /**
3001
+ * PartitioningSchemasApi - axios parameter creator
3002
+ * @export
3003
+ */
3004
+ export declare const PartitioningSchemasApiAxiosParamCreator: (configuration?: Configuration) => {
3005
+ /**
3006
+ * Get the default partitioning schema for the given offer ID and OS ID.
3007
+ * @summary Get default partitioning schema
3008
+ * @param {GetDefaultPartitioningSchemaZoneEnum} zone The zone you want to target
3009
+ * @param {string} offerId ID of the offer.
3010
+ * @param {string} osId ID of the OS.
3011
+ * @param {*} [options] Override http request option.
3012
+ * @throws {RequiredError}
3013
+ */
3014
+ getDefaultPartitioningSchema: (zone: GetDefaultPartitioningSchemaZoneEnum, offerId: string, osId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3015
+ /**
3016
+ * Validate the incoming partitioning schema from a user before installing the server. Return default ErrorCode if invalid.
3017
+ * @summary Validate client partitioning schema
3018
+ * @param {ValidatePartitioningSchemaZoneEnum} zone The zone you want to target
3019
+ * @param {ValidatePartitioningSchemaRequest} validatePartitioningSchemaRequest
3020
+ * @param {*} [options] Override http request option.
3021
+ * @throws {RequiredError}
3022
+ */
3023
+ validatePartitioningSchema: (zone: ValidatePartitioningSchemaZoneEnum, validatePartitioningSchemaRequest: ValidatePartitioningSchemaRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3024
+ };
3025
+ /**
3026
+ * PartitioningSchemasApi - functional programming interface
3027
+ * @export
3028
+ */
3029
+ export declare const PartitioningSchemasApiFp: (configuration?: Configuration) => {
3030
+ /**
3031
+ * Get the default partitioning schema for the given offer ID and OS ID.
3032
+ * @summary Get default partitioning schema
3033
+ * @param {GetDefaultPartitioningSchemaZoneEnum} zone The zone you want to target
3034
+ * @param {string} offerId ID of the offer.
3035
+ * @param {string} osId ID of the OS.
3036
+ * @param {*} [options] Override http request option.
3037
+ * @throws {RequiredError}
3038
+ */
3039
+ getDefaultPartitioningSchema(zone: GetDefaultPartitioningSchemaZoneEnum, offerId: string, osId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayBaremetalV1Schema>>;
3040
+ /**
3041
+ * Validate the incoming partitioning schema from a user before installing the server. Return default ErrorCode if invalid.
3042
+ * @summary Validate client partitioning schema
3043
+ * @param {ValidatePartitioningSchemaZoneEnum} zone The zone you want to target
3044
+ * @param {ValidatePartitioningSchemaRequest} validatePartitioningSchemaRequest
3045
+ * @param {*} [options] Override http request option.
3046
+ * @throws {RequiredError}
3047
+ */
3048
+ validatePartitioningSchema(zone: ValidatePartitioningSchemaZoneEnum, validatePartitioningSchemaRequest: ValidatePartitioningSchemaRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
3049
+ };
3050
+ /**
3051
+ * PartitioningSchemasApi - factory interface
3052
+ * @export
3053
+ */
3054
+ export declare const PartitioningSchemasApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3055
+ /**
3056
+ * Get the default partitioning schema for the given offer ID and OS ID.
3057
+ * @summary Get default partitioning schema
3058
+ * @param {GetDefaultPartitioningSchemaZoneEnum} zone The zone you want to target
3059
+ * @param {string} offerId ID of the offer.
3060
+ * @param {string} osId ID of the OS.
3061
+ * @param {*} [options] Override http request option.
3062
+ * @throws {RequiredError}
3063
+ */
3064
+ getDefaultPartitioningSchema(zone: GetDefaultPartitioningSchemaZoneEnum, offerId: string, osId: string, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayBaremetalV1Schema>;
3065
+ /**
3066
+ * Validate the incoming partitioning schema from a user before installing the server. Return default ErrorCode if invalid.
3067
+ * @summary Validate client partitioning schema
3068
+ * @param {ValidatePartitioningSchemaZoneEnum} zone The zone you want to target
3069
+ * @param {ValidatePartitioningSchemaRequest} validatePartitioningSchemaRequest
3070
+ * @param {*} [options] Override http request option.
3071
+ * @throws {RequiredError}
3072
+ */
3073
+ validatePartitioningSchema(zone: ValidatePartitioningSchemaZoneEnum, validatePartitioningSchemaRequest: ValidatePartitioningSchemaRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
3074
+ };
3075
+ /**
3076
+ * PartitioningSchemasApi - interface
3077
+ * @export
3078
+ * @interface PartitioningSchemasApi
3079
+ */
3080
+ export interface PartitioningSchemasApiInterface {
3081
+ /**
3082
+ * Get the default partitioning schema for the given offer ID and OS ID.
3083
+ * @summary Get default partitioning schema
3084
+ * @param {GetDefaultPartitioningSchemaZoneEnum} zone The zone you want to target
3085
+ * @param {string} offerId ID of the offer.
3086
+ * @param {string} osId ID of the OS.
3087
+ * @param {*} [options] Override http request option.
3088
+ * @throws {RequiredError}
3089
+ * @memberof PartitioningSchemasApiInterface
3090
+ */
3091
+ getDefaultPartitioningSchema(zone: GetDefaultPartitioningSchemaZoneEnum, offerId: string, osId: string, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayBaremetalV1Schema>;
3092
+ /**
3093
+ * Validate the incoming partitioning schema from a user before installing the server. Return default ErrorCode if invalid.
3094
+ * @summary Validate client partitioning schema
3095
+ * @param {ValidatePartitioningSchemaZoneEnum} zone The zone you want to target
3096
+ * @param {ValidatePartitioningSchemaRequest} validatePartitioningSchemaRequest
3097
+ * @param {*} [options] Override http request option.
3098
+ * @throws {RequiredError}
3099
+ * @memberof PartitioningSchemasApiInterface
3100
+ */
3101
+ validatePartitioningSchema(zone: ValidatePartitioningSchemaZoneEnum, validatePartitioningSchemaRequest: ValidatePartitioningSchemaRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
3102
+ }
3103
+ /**
3104
+ * PartitioningSchemasApi - object-oriented interface
3105
+ * @export
3106
+ * @class PartitioningSchemasApi
3107
+ * @extends {BaseAPI}
3108
+ */
3109
+ export declare class PartitioningSchemasApi extends BaseAPI implements PartitioningSchemasApiInterface {
3110
+ /**
3111
+ * Get the default partitioning schema for the given offer ID and OS ID.
3112
+ * @summary Get default partitioning schema
3113
+ * @param {GetDefaultPartitioningSchemaZoneEnum} zone The zone you want to target
3114
+ * @param {string} offerId ID of the offer.
3115
+ * @param {string} osId ID of the OS.
3116
+ * @param {*} [options] Override http request option.
3117
+ * @throws {RequiredError}
3118
+ * @memberof PartitioningSchemasApi
3119
+ */
3120
+ getDefaultPartitioningSchema(zone: GetDefaultPartitioningSchemaZoneEnum, offerId: string, osId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayBaremetalV1Schema, any, {}>>;
3121
+ /**
3122
+ * Validate the incoming partitioning schema from a user before installing the server. Return default ErrorCode if invalid.
3123
+ * @summary Validate client partitioning schema
3124
+ * @param {ValidatePartitioningSchemaZoneEnum} zone The zone you want to target
3125
+ * @param {ValidatePartitioningSchemaRequest} validatePartitioningSchemaRequest
3126
+ * @param {*} [options] Override http request option.
3127
+ * @throws {RequiredError}
3128
+ * @memberof PartitioningSchemasApi
3129
+ */
3130
+ validatePartitioningSchema(zone: ValidatePartitioningSchemaZoneEnum, validatePartitioningSchemaRequest: ValidatePartitioningSchemaRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
3131
+ }
3132
+ /**
3133
+ * @export
3134
+ */
3135
+ export declare const GetDefaultPartitioningSchemaZoneEnum: {
3136
+ readonly FrPar1: "fr-par-1";
3137
+ readonly FrPar2: "fr-par-2";
3138
+ readonly NlAms1: "nl-ams-1";
3139
+ readonly NlAms2: "nl-ams-2";
3140
+ readonly PlWaw2: "pl-waw-2";
3141
+ readonly PlWaw3: "pl-waw-3";
3142
+ };
3143
+ export type GetDefaultPartitioningSchemaZoneEnum = (typeof GetDefaultPartitioningSchemaZoneEnum)[keyof typeof GetDefaultPartitioningSchemaZoneEnum];
3144
+ /**
3145
+ * @export
3146
+ */
3147
+ export declare const ValidatePartitioningSchemaZoneEnum: {
3148
+ readonly FrPar1: "fr-par-1";
3149
+ readonly FrPar2: "fr-par-2";
3150
+ readonly NlAms1: "nl-ams-1";
3151
+ readonly NlAms2: "nl-ams-2";
3152
+ readonly PlWaw2: "pl-waw-2";
3153
+ readonly PlWaw3: "pl-waw-3";
3154
+ };
3155
+ export type ValidatePartitioningSchemaZoneEnum = (typeof ValidatePartitioningSchemaZoneEnum)[keyof typeof ValidatePartitioningSchemaZoneEnum];
3156
+ /**
3157
+ * ServerActionsApi - axios parameter creator
3158
+ * @export
3159
+ */
3160
+ export declare const ServerActionsApiAxiosParamCreator: (configuration?: Configuration) => {
3161
+ /**
3162
+ * Reboot the Elastic Metal server associated with the ID, use the `boot_type` `rescue` to reboot the server in rescue mode.
3163
+ * @summary Reboot an Elastic Metal server
3164
+ * @param {RebootServerZoneEnum} zone The zone you want to target
3165
+ * @param {string} serverId ID of the server to reboot.
3166
+ * @param {RebootServerRequest} rebootServerRequest
3167
+ * @param {*} [options] Override http request option.
3168
+ * @throws {RequiredError}
3169
+ */
3170
+ rebootServer: (zone: RebootServerZoneEnum, serverId: string, rebootServerRequest: RebootServerRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3171
+ /**
3172
+ * Start the server associated with the ID.
3173
+ * @summary Start an Elastic Metal server
3174
+ * @param {StartServerZoneEnum} zone The zone you want to target
3175
+ * @param {string} serverId ID of the server to start.
3176
+ * @param {RebootServerRequest} rebootServerRequest
3177
+ * @param {*} [options] Override http request option.
3178
+ * @throws {RequiredError}
3179
+ */
3180
+ startServer: (zone: StartServerZoneEnum, serverId: string, rebootServerRequest: RebootServerRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3181
+ /**
3182
+ * Stop the server associated with the ID. The server remains allocated to your account and all data remains on the local storage of the server.
3183
+ * @summary Stop an Elastic Metal server
3184
+ * @param {StopServerZoneEnum} zone The zone you want to target
3185
+ * @param {string} serverId ID of the server to stop.
3186
+ * @param {object} body
3187
+ * @param {*} [options] Override http request option.
3188
+ * @throws {RequiredError}
3189
+ */
3190
+ stopServer: (zone: StopServerZoneEnum, serverId: string, body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3191
+ };
3192
+ /**
3193
+ * ServerActionsApi - functional programming interface
3194
+ * @export
3195
+ */
3196
+ export declare const ServerActionsApiFp: (configuration?: Configuration) => {
3197
+ /**
3198
+ * Reboot the Elastic Metal server associated with the ID, use the `boot_type` `rescue` to reboot the server in rescue mode.
3199
+ * @summary Reboot an Elastic Metal server
3200
+ * @param {RebootServerZoneEnum} zone The zone you want to target
3201
+ * @param {string} serverId ID of the server to reboot.
3202
+ * @param {RebootServerRequest} rebootServerRequest
3203
+ * @param {*} [options] Override http request option.
3204
+ * @throws {RequiredError}
3205
+ */
3206
+ rebootServer(zone: RebootServerZoneEnum, serverId: string, rebootServerRequest: RebootServerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayBaremetalV1Server>>;
3207
+ /**
3208
+ * Start the server associated with the ID.
3209
+ * @summary Start an Elastic Metal server
3210
+ * @param {StartServerZoneEnum} zone The zone you want to target
3211
+ * @param {string} serverId ID of the server to start.
3212
+ * @param {RebootServerRequest} rebootServerRequest
3213
+ * @param {*} [options] Override http request option.
3214
+ * @throws {RequiredError}
3215
+ */
3216
+ startServer(zone: StartServerZoneEnum, serverId: string, rebootServerRequest: RebootServerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayBaremetalV1Server>>;
3217
+ /**
3218
+ * Stop the server associated with the ID. The server remains allocated to your account and all data remains on the local storage of the server.
3219
+ * @summary Stop an Elastic Metal server
3220
+ * @param {StopServerZoneEnum} zone The zone you want to target
3221
+ * @param {string} serverId ID of the server to stop.
3222
+ * @param {object} body
3223
+ * @param {*} [options] Override http request option.
3224
+ * @throws {RequiredError}
3225
+ */
3226
+ stopServer(zone: StopServerZoneEnum, serverId: string, body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayBaremetalV1Server>>;
3227
+ };
3228
+ /**
3229
+ * ServerActionsApi - factory interface
3230
+ * @export
3231
+ */
3232
+ export declare const ServerActionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3233
+ /**
3234
+ * Reboot the Elastic Metal server associated with the ID, use the `boot_type` `rescue` to reboot the server in rescue mode.
3235
+ * @summary Reboot an Elastic Metal server
3236
+ * @param {RebootServerZoneEnum} zone The zone you want to target
3237
+ * @param {string} serverId ID of the server to reboot.
3238
+ * @param {RebootServerRequest} rebootServerRequest
3239
+ * @param {*} [options] Override http request option.
3240
+ * @throws {RequiredError}
3241
+ */
3242
+ rebootServer(zone: RebootServerZoneEnum, serverId: string, rebootServerRequest: RebootServerRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayBaremetalV1Server>;
3243
+ /**
3244
+ * Start the server associated with the ID.
3245
+ * @summary Start an Elastic Metal server
3246
+ * @param {StartServerZoneEnum} zone The zone you want to target
3247
+ * @param {string} serverId ID of the server to start.
3248
+ * @param {RebootServerRequest} rebootServerRequest
3249
+ * @param {*} [options] Override http request option.
3250
+ * @throws {RequiredError}
3251
+ */
3252
+ startServer(zone: StartServerZoneEnum, serverId: string, rebootServerRequest: RebootServerRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayBaremetalV1Server>;
3253
+ /**
3254
+ * Stop the server associated with the ID. The server remains allocated to your account and all data remains on the local storage of the server.
3255
+ * @summary Stop an Elastic Metal server
3256
+ * @param {StopServerZoneEnum} zone The zone you want to target
3257
+ * @param {string} serverId ID of the server to stop.
3258
+ * @param {object} body
3259
+ * @param {*} [options] Override http request option.
3260
+ * @throws {RequiredError}
3261
+ */
3262
+ stopServer(zone: StopServerZoneEnum, serverId: string, body: object, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayBaremetalV1Server>;
3263
+ };
3264
+ /**
3265
+ * ServerActionsApi - interface
3266
+ * @export
3267
+ * @interface ServerActionsApi
3268
+ */
3269
+ export interface ServerActionsApiInterface {
3270
+ /**
3271
+ * Reboot the Elastic Metal server associated with the ID, use the `boot_type` `rescue` to reboot the server in rescue mode.
3272
+ * @summary Reboot an Elastic Metal server
3273
+ * @param {RebootServerZoneEnum} zone The zone you want to target
3274
+ * @param {string} serverId ID of the server to reboot.
3275
+ * @param {RebootServerRequest} rebootServerRequest
3276
+ * @param {*} [options] Override http request option.
3277
+ * @throws {RequiredError}
3278
+ * @memberof ServerActionsApiInterface
3279
+ */
3280
+ rebootServer(zone: RebootServerZoneEnum, serverId: string, rebootServerRequest: RebootServerRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayBaremetalV1Server>;
3281
+ /**
3282
+ * Start the server associated with the ID.
3283
+ * @summary Start an Elastic Metal server
3284
+ * @param {StartServerZoneEnum} zone The zone you want to target
3285
+ * @param {string} serverId ID of the server to start.
3286
+ * @param {RebootServerRequest} rebootServerRequest
3287
+ * @param {*} [options] Override http request option.
3288
+ * @throws {RequiredError}
3289
+ * @memberof ServerActionsApiInterface
3290
+ */
3291
+ startServer(zone: StartServerZoneEnum, serverId: string, rebootServerRequest: RebootServerRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayBaremetalV1Server>;
3292
+ /**
3293
+ * Stop the server associated with the ID. The server remains allocated to your account and all data remains on the local storage of the server.
3294
+ * @summary Stop an Elastic Metal server
3295
+ * @param {StopServerZoneEnum} zone The zone you want to target
3296
+ * @param {string} serverId ID of the server to stop.
3297
+ * @param {object} body
3298
+ * @param {*} [options] Override http request option.
3299
+ * @throws {RequiredError}
3300
+ * @memberof ServerActionsApiInterface
3301
+ */
3302
+ stopServer(zone: StopServerZoneEnum, serverId: string, body: object, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayBaremetalV1Server>;
3303
+ }
3304
+ /**
3305
+ * ServerActionsApi - object-oriented interface
3306
+ * @export
3307
+ * @class ServerActionsApi
3308
+ * @extends {BaseAPI}
3309
+ */
3310
+ export declare class ServerActionsApi extends BaseAPI implements ServerActionsApiInterface {
3311
+ /**
3312
+ * Reboot the Elastic Metal server associated with the ID, use the `boot_type` `rescue` to reboot the server in rescue mode.
3313
+ * @summary Reboot an Elastic Metal server
3314
+ * @param {RebootServerZoneEnum} zone The zone you want to target
3315
+ * @param {string} serverId ID of the server to reboot.
3316
+ * @param {RebootServerRequest} rebootServerRequest
3317
+ * @param {*} [options] Override http request option.
3318
+ * @throws {RequiredError}
3319
+ * @memberof ServerActionsApi
3320
+ */
3321
+ rebootServer(zone: RebootServerZoneEnum, serverId: string, rebootServerRequest: RebootServerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayBaremetalV1Server, any, {}>>;
3322
+ /**
3323
+ * Start the server associated with the ID.
3324
+ * @summary Start an Elastic Metal server
3325
+ * @param {StartServerZoneEnum} zone The zone you want to target
3326
+ * @param {string} serverId ID of the server to start.
3327
+ * @param {RebootServerRequest} rebootServerRequest
3328
+ * @param {*} [options] Override http request option.
3329
+ * @throws {RequiredError}
3330
+ * @memberof ServerActionsApi
3331
+ */
3332
+ startServer(zone: StartServerZoneEnum, serverId: string, rebootServerRequest: RebootServerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayBaremetalV1Server, any, {}>>;
3333
+ /**
3334
+ * Stop the server associated with the ID. The server remains allocated to your account and all data remains on the local storage of the server.
3335
+ * @summary Stop an Elastic Metal server
3336
+ * @param {StopServerZoneEnum} zone The zone you want to target
3337
+ * @param {string} serverId ID of the server to stop.
3338
+ * @param {object} body
3339
+ * @param {*} [options] Override http request option.
3340
+ * @throws {RequiredError}
3341
+ * @memberof ServerActionsApi
3342
+ */
3343
+ stopServer(zone: StopServerZoneEnum, serverId: string, body: object, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayBaremetalV1Server, any, {}>>;
3344
+ }
3345
+ /**
3346
+ * @export
3347
+ */
3348
+ export declare const RebootServerZoneEnum: {
3349
+ readonly FrPar1: "fr-par-1";
3350
+ readonly FrPar2: "fr-par-2";
3351
+ readonly NlAms1: "nl-ams-1";
3352
+ readonly NlAms2: "nl-ams-2";
3353
+ readonly PlWaw2: "pl-waw-2";
3354
+ readonly PlWaw3: "pl-waw-3";
3355
+ };
3356
+ export type RebootServerZoneEnum = (typeof RebootServerZoneEnum)[keyof typeof RebootServerZoneEnum];
3357
+ /**
3358
+ * @export
3359
+ */
3360
+ export declare const StartServerZoneEnum: {
3361
+ readonly FrPar1: "fr-par-1";
3362
+ readonly FrPar2: "fr-par-2";
3363
+ readonly NlAms1: "nl-ams-1";
3364
+ readonly NlAms2: "nl-ams-2";
3365
+ readonly PlWaw2: "pl-waw-2";
3366
+ readonly PlWaw3: "pl-waw-3";
3367
+ };
3368
+ export type StartServerZoneEnum = (typeof StartServerZoneEnum)[keyof typeof StartServerZoneEnum];
3369
+ /**
3370
+ * @export
3371
+ */
3372
+ export declare const StopServerZoneEnum: {
3373
+ readonly FrPar1: "fr-par-1";
3374
+ readonly FrPar2: "fr-par-2";
3375
+ readonly NlAms1: "nl-ams-1";
3376
+ readonly NlAms2: "nl-ams-2";
3377
+ readonly PlWaw2: "pl-waw-2";
3378
+ readonly PlWaw3: "pl-waw-3";
3379
+ };
3380
+ export type StopServerZoneEnum = (typeof StopServerZoneEnum)[keyof typeof StopServerZoneEnum];
3381
+ /**
3382
+ * ServersApi - axios parameter creator
3383
+ * @export
3384
+ */
3385
+ export declare const ServersApiAxiosParamCreator: (configuration?: Configuration) => {
3386
+ /**
3387
+ * Add an option, such as Private Networks, to a specific server.
3388
+ * @summary Add server option
3389
+ * @param {AddOptionServerZoneEnum} zone The zone you want to target
3390
+ * @param {string} serverId ID of the server.
3391
+ * @param {string} optionId ID of the option to add.
3392
+ * @param {AddOptionServerRequest} addOptionServerRequest
3393
+ * @param {*} [options] Override http request option.
3394
+ * @throws {RequiredError}
3395
+ */
3396
+ addOptionServer: (zone: AddOptionServerZoneEnum, serverId: string, optionId: string, addOptionServerRequest: AddOptionServerRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3397
+ /**
3398
+ * Create a new Elastic Metal server. Once the server is created, proceed with the [installation of an OS](#post-3e949e).
3399
+ * @summary Create an Elastic Metal server
3400
+ * @param {CreateServerZoneEnum} zone The zone you want to target
3401
+ * @param {CreateServerRequest} createServerRequest
3402
+ * @param {*} [options] Override http request option.
3403
+ * @throws {RequiredError}
3404
+ */
3405
+ createServer: (zone: CreateServerZoneEnum, createServerRequest: CreateServerRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3406
+ /**
3407
+ * Delete an option from a specific server.
3408
+ * @summary Delete server option
3409
+ * @param {DeleteOptionServerZoneEnum} zone The zone you want to target
3410
+ * @param {string} serverId ID of the server.
3411
+ * @param {string} optionId ID of the option to delete.
3412
+ * @param {*} [options] Override http request option.
3413
+ * @throws {RequiredError}
3414
+ */
3415
+ deleteOptionServer: (zone: DeleteOptionServerZoneEnum, serverId: string, optionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3416
+ /**
3417
+ * Delete the server associated with the ID.
3418
+ * @summary Delete an Elastic Metal server
3419
+ * @param {DeleteServerZoneEnum} zone The zone you want to target
3420
+ * @param {string} serverId ID of the server to delete.
3421
+ * @param {*} [options] Override http request option.
3422
+ * @throws {RequiredError}
3423
+ */
3424
+ deleteServer: (zone: DeleteServerZoneEnum, serverId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3425
+ /**
3426
+ * Get full details of an existing Elastic Metal server associated with the ID.
3427
+ * @summary Get a specific Elastic Metal server
3428
+ * @param {GetServerZoneEnum} zone The zone you want to target
3429
+ * @param {string} serverId ID of the server.
3430
+ * @param {*} [options] Override http request option.
3431
+ * @throws {RequiredError}
3432
+ */
3433
+ getServer: (zone: GetServerZoneEnum, serverId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3434
+ /**
3435
+ * Get the ping status of the server associated with the ID.
3436
+ * @summary Return server metrics
3437
+ * @param {GetServerMetricsZoneEnum} zone The zone you want to target
3438
+ * @param {string} serverId Server ID to get the metrics.
3439
+ * @param {*} [options] Override http request option.
3440
+ * @throws {RequiredError}
3441
+ */
3442
+ getServerMetrics: (zone: GetServerMetricsZoneEnum, serverId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3443
+ /**
3444
+ * Install an Operating System (OS) on the Elastic Metal server with a specific ID.
3445
+ * @summary Install an Elastic Metal server
3446
+ * @param {InstallServerZoneEnum} zone The zone you want to target
3447
+ * @param {string} serverId Server ID to install.
3448
+ * @param {InstallServerRequest} installServerRequest
3449
+ * @param {*} [options] Override http request option.
3450
+ * @throws {RequiredError}
3451
+ */
3452
+ installServer: (zone: InstallServerZoneEnum, serverId: string, installServerRequest: InstallServerRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3453
+ /**
3454
+ * List event (i.e. start/stop/reboot) associated to the server ID.
3455
+ * @summary List server events
3456
+ * @param {ListServerEventsZoneEnum} zone The zone you want to target
3457
+ * @param {string} serverId ID of the server events searched.
3458
+ * @param {number} [page] Page number.
3459
+ * @param {number} [pageSize] Number of server events per page.
3460
+ * @param {ListServerEventsOrderByEnum} [orderBy] Order of the server events.
3461
+ * @param {*} [options] Override http request option.
3462
+ * @throws {RequiredError}
3463
+ */
3464
+ listServerEvents: (zone: ListServerEventsZoneEnum, serverId: string, page?: number, pageSize?: number, orderBy?: ListServerEventsOrderByEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3465
+ /**
3466
+ * List Elastic Metal servers for a specific Organization.
3467
+ * @summary List Elastic Metal servers for an Organization
3468
+ * @param {ListServersZoneEnum} zone The zone you want to target
3469
+ * @param {number} [page] Page number.
3470
+ * @param {number} [pageSize] Number of servers per page.
3471
+ * @param {ListServersOrderByEnum} [orderBy] Order of the servers.
3472
+ * @param {Array<string>} [tags] Tags to filter for.
3473
+ * @param {Array<string>} [status] Status to filter for.
3474
+ * @param {string} [name] Names to filter for.
3475
+ * @param {string} [organizationId] Organization ID to filter for.
3476
+ * @param {string} [projectId] Project ID to filter for.
3477
+ * @param {string} [optionId] Option ID to filter for.
3478
+ * @param {*} [options] Override http request option.
3479
+ * @throws {RequiredError}
3480
+ */
3481
+ listServers: (zone: ListServersZoneEnum, page?: number, pageSize?: number, orderBy?: ListServersOrderByEnum, tags?: Array<string>, status?: Array<string>, name?: string, organizationId?: string, projectId?: string, optionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3482
+ /**
3483
+ * Migrate server with hourly offer to monthly offer.
3484
+ * @summary Migrate server offer
3485
+ * @param {MigrateServerToMonthlyOfferZoneEnum} zone The zone you want to target
3486
+ * @param {string} serverId ID of the server.
3487
+ * @param {*} [options] Override http request option.
3488
+ * @throws {RequiredError}
3489
+ */
3490
+ migrateServerToMonthlyOffer: (zone: MigrateServerToMonthlyOfferZoneEnum, serverId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3491
+ /**
3492
+ * Configure the IP address associated with the server ID and IP ID. You can use this method to set a reverse DNS for an IP address.
3493
+ * @summary Update IP
3494
+ * @param {UpdateIPZoneEnum} zone The zone you want to target
3495
+ * @param {string} serverId ID of the server.
3496
+ * @param {string} ipId ID of the IP to update.
3497
+ * @param {UpdateIPRequest} updateIPRequest
3498
+ * @param {*} [options] Override http request option.
3499
+ * @throws {RequiredError}
3500
+ */
3501
+ updateIP: (zone: UpdateIPZoneEnum, serverId: string, ipId: string, updateIPRequest: UpdateIPRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3502
+ /**
3503
+ * Update the server associated with the ID. You can update parameters such as the server\'s name, tags, description and protection flag. Any parameters left null in the request body are not updated.
3504
+ * @summary Update an Elastic Metal server
3505
+ * @param {UpdateServerZoneEnum} zone The zone you want to target
3506
+ * @param {string} serverId ID of the server to update.
3507
+ * @param {UpdateServerRequest} updateServerRequest
3508
+ * @param {*} [options] Override http request option.
3509
+ * @throws {RequiredError}
3510
+ */
3511
+ updateServer: (zone: UpdateServerZoneEnum, serverId: string, updateServerRequest: UpdateServerRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3512
+ };
3513
+ /**
3514
+ * ServersApi - functional programming interface
3515
+ * @export
3516
+ */
3517
+ export declare const ServersApiFp: (configuration?: Configuration) => {
3518
+ /**
3519
+ * Add an option, such as Private Networks, to a specific server.
3520
+ * @summary Add server option
3521
+ * @param {AddOptionServerZoneEnum} zone The zone you want to target
3522
+ * @param {string} serverId ID of the server.
3523
+ * @param {string} optionId ID of the option to add.
3524
+ * @param {AddOptionServerRequest} addOptionServerRequest
3525
+ * @param {*} [options] Override http request option.
3526
+ * @throws {RequiredError}
3527
+ */
3528
+ addOptionServer(zone: AddOptionServerZoneEnum, serverId: string, optionId: string, addOptionServerRequest: AddOptionServerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayBaremetalV1Server>>;
3529
+ /**
3530
+ * Create a new Elastic Metal server. Once the server is created, proceed with the [installation of an OS](#post-3e949e).
3531
+ * @summary Create an Elastic Metal server
3532
+ * @param {CreateServerZoneEnum} zone The zone you want to target
3533
+ * @param {CreateServerRequest} createServerRequest
3534
+ * @param {*} [options] Override http request option.
3535
+ * @throws {RequiredError}
3536
+ */
3537
+ createServer(zone: CreateServerZoneEnum, createServerRequest: CreateServerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayBaremetalV1Server>>;
3538
+ /**
3539
+ * Delete an option from a specific server.
3540
+ * @summary Delete server option
3541
+ * @param {DeleteOptionServerZoneEnum} zone The zone you want to target
3542
+ * @param {string} serverId ID of the server.
3543
+ * @param {string} optionId ID of the option to delete.
3544
+ * @param {*} [options] Override http request option.
3545
+ * @throws {RequiredError}
3546
+ */
3547
+ deleteOptionServer(zone: DeleteOptionServerZoneEnum, serverId: string, optionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayBaremetalV1Server>>;
3548
+ /**
3549
+ * Delete the server associated with the ID.
3550
+ * @summary Delete an Elastic Metal server
3551
+ * @param {DeleteServerZoneEnum} zone The zone you want to target
3552
+ * @param {string} serverId ID of the server to delete.
3553
+ * @param {*} [options] Override http request option.
3554
+ * @throws {RequiredError}
3555
+ */
3556
+ deleteServer(zone: DeleteServerZoneEnum, serverId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayBaremetalV1Server>>;
3557
+ /**
3558
+ * Get full details of an existing Elastic Metal server associated with the ID.
3559
+ * @summary Get a specific Elastic Metal server
3560
+ * @param {GetServerZoneEnum} zone The zone you want to target
3561
+ * @param {string} serverId ID of the server.
3562
+ * @param {*} [options] Override http request option.
3563
+ * @throws {RequiredError}
3564
+ */
3565
+ getServer(zone: GetServerZoneEnum, serverId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayBaremetalV1Server>>;
3566
+ /**
3567
+ * Get the ping status of the server associated with the ID.
3568
+ * @summary Return server metrics
3569
+ * @param {GetServerMetricsZoneEnum} zone The zone you want to target
3570
+ * @param {string} serverId Server ID to get the metrics.
3571
+ * @param {*} [options] Override http request option.
3572
+ * @throws {RequiredError}
3573
+ */
3574
+ getServerMetrics(zone: GetServerMetricsZoneEnum, serverId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayBaremetalV1GetServerMetricsResponse>>;
3575
+ /**
3576
+ * Install an Operating System (OS) on the Elastic Metal server with a specific ID.
3577
+ * @summary Install an Elastic Metal server
3578
+ * @param {InstallServerZoneEnum} zone The zone you want to target
3579
+ * @param {string} serverId Server ID to install.
3580
+ * @param {InstallServerRequest} installServerRequest
3581
+ * @param {*} [options] Override http request option.
3582
+ * @throws {RequiredError}
3583
+ */
3584
+ installServer(zone: InstallServerZoneEnum, serverId: string, installServerRequest: InstallServerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayBaremetalV1Server>>;
3585
+ /**
3586
+ * List event (i.e. start/stop/reboot) associated to the server ID.
3587
+ * @summary List server events
3588
+ * @param {ListServerEventsZoneEnum} zone The zone you want to target
3589
+ * @param {string} serverId ID of the server events searched.
3590
+ * @param {number} [page] Page number.
3591
+ * @param {number} [pageSize] Number of server events per page.
3592
+ * @param {ListServerEventsOrderByEnum} [orderBy] Order of the server events.
3593
+ * @param {*} [options] Override http request option.
3594
+ * @throws {RequiredError}
3595
+ */
3596
+ listServerEvents(zone: ListServerEventsZoneEnum, serverId: string, page?: number, pageSize?: number, orderBy?: ListServerEventsOrderByEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayBaremetalV1ListServerEventsResponse>>;
3597
+ /**
3598
+ * List Elastic Metal servers for a specific Organization.
3599
+ * @summary List Elastic Metal servers for an Organization
3600
+ * @param {ListServersZoneEnum} zone The zone you want to target
3601
+ * @param {number} [page] Page number.
3602
+ * @param {number} [pageSize] Number of servers per page.
3603
+ * @param {ListServersOrderByEnum} [orderBy] Order of the servers.
3604
+ * @param {Array<string>} [tags] Tags to filter for.
3605
+ * @param {Array<string>} [status] Status to filter for.
3606
+ * @param {string} [name] Names to filter for.
3607
+ * @param {string} [organizationId] Organization ID to filter for.
3608
+ * @param {string} [projectId] Project ID to filter for.
3609
+ * @param {string} [optionId] Option ID to filter for.
3610
+ * @param {*} [options] Override http request option.
3611
+ * @throws {RequiredError}
3612
+ */
3613
+ listServers(zone: ListServersZoneEnum, page?: number, pageSize?: number, orderBy?: ListServersOrderByEnum, tags?: Array<string>, status?: Array<string>, name?: string, organizationId?: string, projectId?: string, optionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayBaremetalV1ListServersResponse>>;
3614
+ /**
3615
+ * Migrate server with hourly offer to monthly offer.
3616
+ * @summary Migrate server offer
3617
+ * @param {MigrateServerToMonthlyOfferZoneEnum} zone The zone you want to target
3618
+ * @param {string} serverId ID of the server.
3619
+ * @param {*} [options] Override http request option.
3620
+ * @throws {RequiredError}
3621
+ */
3622
+ migrateServerToMonthlyOffer(zone: MigrateServerToMonthlyOfferZoneEnum, serverId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayBaremetalV1Server>>;
3623
+ /**
3624
+ * Configure the IP address associated with the server ID and IP ID. You can use this method to set a reverse DNS for an IP address.
3625
+ * @summary Update IP
3626
+ * @param {UpdateIPZoneEnum} zone The zone you want to target
3627
+ * @param {string} serverId ID of the server.
3628
+ * @param {string} ipId ID of the IP to update.
3629
+ * @param {UpdateIPRequest} updateIPRequest
3630
+ * @param {*} [options] Override http request option.
3631
+ * @throws {RequiredError}
3632
+ */
3633
+ updateIP(zone: UpdateIPZoneEnum, serverId: string, ipId: string, updateIPRequest: UpdateIPRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayBaremetalV1IP>>;
3634
+ /**
3635
+ * Update the server associated with the ID. You can update parameters such as the server\'s name, tags, description and protection flag. Any parameters left null in the request body are not updated.
3636
+ * @summary Update an Elastic Metal server
3637
+ * @param {UpdateServerZoneEnum} zone The zone you want to target
3638
+ * @param {string} serverId ID of the server to update.
3639
+ * @param {UpdateServerRequest} updateServerRequest
3640
+ * @param {*} [options] Override http request option.
3641
+ * @throws {RequiredError}
3642
+ */
3643
+ updateServer(zone: UpdateServerZoneEnum, serverId: string, updateServerRequest: UpdateServerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayBaremetalV1Server>>;
3644
+ };
3645
+ /**
3646
+ * ServersApi - factory interface
3647
+ * @export
3648
+ */
3649
+ export declare const ServersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3650
+ /**
3651
+ * Add an option, such as Private Networks, to a specific server.
3652
+ * @summary Add server option
3653
+ * @param {AddOptionServerZoneEnum} zone The zone you want to target
3654
+ * @param {string} serverId ID of the server.
3655
+ * @param {string} optionId ID of the option to add.
3656
+ * @param {AddOptionServerRequest} addOptionServerRequest
3657
+ * @param {*} [options] Override http request option.
3658
+ * @throws {RequiredError}
3659
+ */
3660
+ addOptionServer(zone: AddOptionServerZoneEnum, serverId: string, optionId: string, addOptionServerRequest: AddOptionServerRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayBaremetalV1Server>;
3661
+ /**
3662
+ * Create a new Elastic Metal server. Once the server is created, proceed with the [installation of an OS](#post-3e949e).
3663
+ * @summary Create an Elastic Metal server
3664
+ * @param {CreateServerZoneEnum} zone The zone you want to target
3665
+ * @param {CreateServerRequest} createServerRequest
3666
+ * @param {*} [options] Override http request option.
3667
+ * @throws {RequiredError}
3668
+ */
3669
+ createServer(zone: CreateServerZoneEnum, createServerRequest: CreateServerRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayBaremetalV1Server>;
3670
+ /**
3671
+ * Delete an option from a specific server.
3672
+ * @summary Delete server option
3673
+ * @param {DeleteOptionServerZoneEnum} zone The zone you want to target
3674
+ * @param {string} serverId ID of the server.
3675
+ * @param {string} optionId ID of the option to delete.
3676
+ * @param {*} [options] Override http request option.
3677
+ * @throws {RequiredError}
3678
+ */
3679
+ deleteOptionServer(zone: DeleteOptionServerZoneEnum, serverId: string, optionId: string, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayBaremetalV1Server>;
3680
+ /**
3681
+ * Delete the server associated with the ID.
3682
+ * @summary Delete an Elastic Metal server
3683
+ * @param {DeleteServerZoneEnum} zone The zone you want to target
3684
+ * @param {string} serverId ID of the server to delete.
3685
+ * @param {*} [options] Override http request option.
3686
+ * @throws {RequiredError}
3687
+ */
3688
+ deleteServer(zone: DeleteServerZoneEnum, serverId: string, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayBaremetalV1Server>;
3689
+ /**
3690
+ * Get full details of an existing Elastic Metal server associated with the ID.
3691
+ * @summary Get a specific Elastic Metal server
3692
+ * @param {GetServerZoneEnum} zone The zone you want to target
3693
+ * @param {string} serverId ID of the server.
3694
+ * @param {*} [options] Override http request option.
3695
+ * @throws {RequiredError}
3696
+ */
3697
+ getServer(zone: GetServerZoneEnum, serverId: string, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayBaremetalV1Server>;
3698
+ /**
3699
+ * Get the ping status of the server associated with the ID.
3700
+ * @summary Return server metrics
3701
+ * @param {GetServerMetricsZoneEnum} zone The zone you want to target
3702
+ * @param {string} serverId Server ID to get the metrics.
3703
+ * @param {*} [options] Override http request option.
3704
+ * @throws {RequiredError}
3705
+ */
3706
+ getServerMetrics(zone: GetServerMetricsZoneEnum, serverId: string, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayBaremetalV1GetServerMetricsResponse>;
3707
+ /**
3708
+ * Install an Operating System (OS) on the Elastic Metal server with a specific ID.
3709
+ * @summary Install an Elastic Metal server
3710
+ * @param {InstallServerZoneEnum} zone The zone you want to target
3711
+ * @param {string} serverId Server ID to install.
3712
+ * @param {InstallServerRequest} installServerRequest
3713
+ * @param {*} [options] Override http request option.
3714
+ * @throws {RequiredError}
3715
+ */
3716
+ installServer(zone: InstallServerZoneEnum, serverId: string, installServerRequest: InstallServerRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayBaremetalV1Server>;
3717
+ /**
3718
+ * List event (i.e. start/stop/reboot) associated to the server ID.
3719
+ * @summary List server events
3720
+ * @param {ListServerEventsZoneEnum} zone The zone you want to target
3721
+ * @param {string} serverId ID of the server events searched.
3722
+ * @param {number} [page] Page number.
3723
+ * @param {number} [pageSize] Number of server events per page.
3724
+ * @param {ListServerEventsOrderByEnum} [orderBy] Order of the server events.
3725
+ * @param {*} [options] Override http request option.
3726
+ * @throws {RequiredError}
3727
+ */
3728
+ listServerEvents(zone: ListServerEventsZoneEnum, serverId: string, page?: number, pageSize?: number, orderBy?: ListServerEventsOrderByEnum, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayBaremetalV1ListServerEventsResponse>;
3729
+ /**
3730
+ * List Elastic Metal servers for a specific Organization.
3731
+ * @summary List Elastic Metal servers for an Organization
3732
+ * @param {ListServersZoneEnum} zone The zone you want to target
3733
+ * @param {number} [page] Page number.
3734
+ * @param {number} [pageSize] Number of servers per page.
3735
+ * @param {ListServersOrderByEnum} [orderBy] Order of the servers.
3736
+ * @param {Array<string>} [tags] Tags to filter for.
3737
+ * @param {Array<string>} [status] Status to filter for.
3738
+ * @param {string} [name] Names to filter for.
3739
+ * @param {string} [organizationId] Organization ID to filter for.
3740
+ * @param {string} [projectId] Project ID to filter for.
3741
+ * @param {string} [optionId] Option ID to filter for.
3742
+ * @param {*} [options] Override http request option.
3743
+ * @throws {RequiredError}
3744
+ */
3745
+ listServers(zone: ListServersZoneEnum, page?: number, pageSize?: number, orderBy?: ListServersOrderByEnum, tags?: Array<string>, status?: Array<string>, name?: string, organizationId?: string, projectId?: string, optionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayBaremetalV1ListServersResponse>;
3746
+ /**
3747
+ * Migrate server with hourly offer to monthly offer.
3748
+ * @summary Migrate server offer
3749
+ * @param {MigrateServerToMonthlyOfferZoneEnum} zone The zone you want to target
3750
+ * @param {string} serverId ID of the server.
3751
+ * @param {*} [options] Override http request option.
3752
+ * @throws {RequiredError}
3753
+ */
3754
+ migrateServerToMonthlyOffer(zone: MigrateServerToMonthlyOfferZoneEnum, serverId: string, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayBaremetalV1Server>;
3755
+ /**
3756
+ * Configure the IP address associated with the server ID and IP ID. You can use this method to set a reverse DNS for an IP address.
3757
+ * @summary Update IP
3758
+ * @param {UpdateIPZoneEnum} zone The zone you want to target
3759
+ * @param {string} serverId ID of the server.
3760
+ * @param {string} ipId ID of the IP to update.
3761
+ * @param {UpdateIPRequest} updateIPRequest
3762
+ * @param {*} [options] Override http request option.
3763
+ * @throws {RequiredError}
3764
+ */
3765
+ updateIP(zone: UpdateIPZoneEnum, serverId: string, ipId: string, updateIPRequest: UpdateIPRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayBaremetalV1IP>;
3766
+ /**
3767
+ * Update the server associated with the ID. You can update parameters such as the server\'s name, tags, description and protection flag. Any parameters left null in the request body are not updated.
3768
+ * @summary Update an Elastic Metal server
3769
+ * @param {UpdateServerZoneEnum} zone The zone you want to target
3770
+ * @param {string} serverId ID of the server to update.
3771
+ * @param {UpdateServerRequest} updateServerRequest
3772
+ * @param {*} [options] Override http request option.
3773
+ * @throws {RequiredError}
3774
+ */
3775
+ updateServer(zone: UpdateServerZoneEnum, serverId: string, updateServerRequest: UpdateServerRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayBaremetalV1Server>;
3776
+ };
3777
+ /**
3778
+ * ServersApi - interface
3779
+ * @export
3780
+ * @interface ServersApi
3781
+ */
3782
+ export interface ServersApiInterface {
3783
+ /**
3784
+ * Add an option, such as Private Networks, to a specific server.
3785
+ * @summary Add server option
3786
+ * @param {AddOptionServerZoneEnum} zone The zone you want to target
3787
+ * @param {string} serverId ID of the server.
3788
+ * @param {string} optionId ID of the option to add.
3789
+ * @param {AddOptionServerRequest} addOptionServerRequest
3790
+ * @param {*} [options] Override http request option.
3791
+ * @throws {RequiredError}
3792
+ * @memberof ServersApiInterface
3793
+ */
3794
+ addOptionServer(zone: AddOptionServerZoneEnum, serverId: string, optionId: string, addOptionServerRequest: AddOptionServerRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayBaremetalV1Server>;
3795
+ /**
3796
+ * Create a new Elastic Metal server. Once the server is created, proceed with the [installation of an OS](#post-3e949e).
3797
+ * @summary Create an Elastic Metal server
3798
+ * @param {CreateServerZoneEnum} zone The zone you want to target
3799
+ * @param {CreateServerRequest} createServerRequest
3800
+ * @param {*} [options] Override http request option.
3801
+ * @throws {RequiredError}
3802
+ * @memberof ServersApiInterface
3803
+ */
3804
+ createServer(zone: CreateServerZoneEnum, createServerRequest: CreateServerRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayBaremetalV1Server>;
3805
+ /**
3806
+ * Delete an option from a specific server.
3807
+ * @summary Delete server option
3808
+ * @param {DeleteOptionServerZoneEnum} zone The zone you want to target
3809
+ * @param {string} serverId ID of the server.
3810
+ * @param {string} optionId ID of the option to delete.
3811
+ * @param {*} [options] Override http request option.
3812
+ * @throws {RequiredError}
3813
+ * @memberof ServersApiInterface
3814
+ */
3815
+ deleteOptionServer(zone: DeleteOptionServerZoneEnum, serverId: string, optionId: string, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayBaremetalV1Server>;
3816
+ /**
3817
+ * Delete the server associated with the ID.
3818
+ * @summary Delete an Elastic Metal server
3819
+ * @param {DeleteServerZoneEnum} zone The zone you want to target
3820
+ * @param {string} serverId ID of the server to delete.
3821
+ * @param {*} [options] Override http request option.
3822
+ * @throws {RequiredError}
3823
+ * @memberof ServersApiInterface
3824
+ */
3825
+ deleteServer(zone: DeleteServerZoneEnum, serverId: string, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayBaremetalV1Server>;
3826
+ /**
3827
+ * Get full details of an existing Elastic Metal server associated with the ID.
3828
+ * @summary Get a specific Elastic Metal server
3829
+ * @param {GetServerZoneEnum} zone The zone you want to target
3830
+ * @param {string} serverId ID of the server.
3831
+ * @param {*} [options] Override http request option.
3832
+ * @throws {RequiredError}
3833
+ * @memberof ServersApiInterface
3834
+ */
3835
+ getServer(zone: GetServerZoneEnum, serverId: string, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayBaremetalV1Server>;
3836
+ /**
3837
+ * Get the ping status of the server associated with the ID.
3838
+ * @summary Return server metrics
3839
+ * @param {GetServerMetricsZoneEnum} zone The zone you want to target
3840
+ * @param {string} serverId Server ID to get the metrics.
3841
+ * @param {*} [options] Override http request option.
3842
+ * @throws {RequiredError}
3843
+ * @memberof ServersApiInterface
3844
+ */
3845
+ getServerMetrics(zone: GetServerMetricsZoneEnum, serverId: string, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayBaremetalV1GetServerMetricsResponse>;
3846
+ /**
3847
+ * Install an Operating System (OS) on the Elastic Metal server with a specific ID.
3848
+ * @summary Install an Elastic Metal server
3849
+ * @param {InstallServerZoneEnum} zone The zone you want to target
3850
+ * @param {string} serverId Server ID to install.
3851
+ * @param {InstallServerRequest} installServerRequest
3852
+ * @param {*} [options] Override http request option.
3853
+ * @throws {RequiredError}
3854
+ * @memberof ServersApiInterface
3855
+ */
3856
+ installServer(zone: InstallServerZoneEnum, serverId: string, installServerRequest: InstallServerRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayBaremetalV1Server>;
3857
+ /**
3858
+ * List event (i.e. start/stop/reboot) associated to the server ID.
3859
+ * @summary List server events
3860
+ * @param {ListServerEventsZoneEnum} zone The zone you want to target
3861
+ * @param {string} serverId ID of the server events searched.
3862
+ * @param {number} [page] Page number.
3863
+ * @param {number} [pageSize] Number of server events per page.
3864
+ * @param {ListServerEventsOrderByEnum} [orderBy] Order of the server events.
3865
+ * @param {*} [options] Override http request option.
3866
+ * @throws {RequiredError}
3867
+ * @memberof ServersApiInterface
3868
+ */
3869
+ listServerEvents(zone: ListServerEventsZoneEnum, serverId: string, page?: number, pageSize?: number, orderBy?: ListServerEventsOrderByEnum, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayBaremetalV1ListServerEventsResponse>;
3870
+ /**
3871
+ * List Elastic Metal servers for a specific Organization.
3872
+ * @summary List Elastic Metal servers for an Organization
3873
+ * @param {ListServersZoneEnum} zone The zone you want to target
3874
+ * @param {number} [page] Page number.
3875
+ * @param {number} [pageSize] Number of servers per page.
3876
+ * @param {ListServersOrderByEnum} [orderBy] Order of the servers.
3877
+ * @param {Array<string>} [tags] Tags to filter for.
3878
+ * @param {Array<string>} [status] Status to filter for.
3879
+ * @param {string} [name] Names to filter for.
3880
+ * @param {string} [organizationId] Organization ID to filter for.
3881
+ * @param {string} [projectId] Project ID to filter for.
3882
+ * @param {string} [optionId] Option ID to filter for.
3883
+ * @param {*} [options] Override http request option.
3884
+ * @throws {RequiredError}
3885
+ * @memberof ServersApiInterface
3886
+ */
3887
+ listServers(zone: ListServersZoneEnum, page?: number, pageSize?: number, orderBy?: ListServersOrderByEnum, tags?: Array<string>, status?: Array<string>, name?: string, organizationId?: string, projectId?: string, optionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayBaremetalV1ListServersResponse>;
3888
+ /**
3889
+ * Migrate server with hourly offer to monthly offer.
3890
+ * @summary Migrate server offer
3891
+ * @param {MigrateServerToMonthlyOfferZoneEnum} zone The zone you want to target
3892
+ * @param {string} serverId ID of the server.
3893
+ * @param {*} [options] Override http request option.
3894
+ * @throws {RequiredError}
3895
+ * @memberof ServersApiInterface
3896
+ */
3897
+ migrateServerToMonthlyOffer(zone: MigrateServerToMonthlyOfferZoneEnum, serverId: string, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayBaremetalV1Server>;
3898
+ /**
3899
+ * Configure the IP address associated with the server ID and IP ID. You can use this method to set a reverse DNS for an IP address.
3900
+ * @summary Update IP
3901
+ * @param {UpdateIPZoneEnum} zone The zone you want to target
3902
+ * @param {string} serverId ID of the server.
3903
+ * @param {string} ipId ID of the IP to update.
3904
+ * @param {UpdateIPRequest} updateIPRequest
3905
+ * @param {*} [options] Override http request option.
3906
+ * @throws {RequiredError}
3907
+ * @memberof ServersApiInterface
3908
+ */
3909
+ updateIP(zone: UpdateIPZoneEnum, serverId: string, ipId: string, updateIPRequest: UpdateIPRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayBaremetalV1IP>;
3910
+ /**
3911
+ * Update the server associated with the ID. You can update parameters such as the server\'s name, tags, description and protection flag. Any parameters left null in the request body are not updated.
3912
+ * @summary Update an Elastic Metal server
3913
+ * @param {UpdateServerZoneEnum} zone The zone you want to target
3914
+ * @param {string} serverId ID of the server to update.
3915
+ * @param {UpdateServerRequest} updateServerRequest
3916
+ * @param {*} [options] Override http request option.
3917
+ * @throws {RequiredError}
3918
+ * @memberof ServersApiInterface
3919
+ */
3920
+ updateServer(zone: UpdateServerZoneEnum, serverId: string, updateServerRequest: UpdateServerRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayBaremetalV1Server>;
3921
+ }
3922
+ /**
3923
+ * ServersApi - object-oriented interface
3924
+ * @export
3925
+ * @class ServersApi
3926
+ * @extends {BaseAPI}
3927
+ */
3928
+ export declare class ServersApi extends BaseAPI implements ServersApiInterface {
3929
+ /**
3930
+ * Add an option, such as Private Networks, to a specific server.
3931
+ * @summary Add server option
3932
+ * @param {AddOptionServerZoneEnum} zone The zone you want to target
3933
+ * @param {string} serverId ID of the server.
3934
+ * @param {string} optionId ID of the option to add.
3935
+ * @param {AddOptionServerRequest} addOptionServerRequest
3936
+ * @param {*} [options] Override http request option.
3937
+ * @throws {RequiredError}
3938
+ * @memberof ServersApi
3939
+ */
3940
+ addOptionServer(zone: AddOptionServerZoneEnum, serverId: string, optionId: string, addOptionServerRequest: AddOptionServerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayBaremetalV1Server, any, {}>>;
3941
+ /**
3942
+ * Create a new Elastic Metal server. Once the server is created, proceed with the [installation of an OS](#post-3e949e).
3943
+ * @summary Create an Elastic Metal server
3944
+ * @param {CreateServerZoneEnum} zone The zone you want to target
3945
+ * @param {CreateServerRequest} createServerRequest
3946
+ * @param {*} [options] Override http request option.
3947
+ * @throws {RequiredError}
3948
+ * @memberof ServersApi
3949
+ */
3950
+ createServer(zone: CreateServerZoneEnum, createServerRequest: CreateServerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayBaremetalV1Server, any, {}>>;
3951
+ /**
3952
+ * Delete an option from a specific server.
3953
+ * @summary Delete server option
3954
+ * @param {DeleteOptionServerZoneEnum} zone The zone you want to target
3955
+ * @param {string} serverId ID of the server.
3956
+ * @param {string} optionId ID of the option to delete.
3957
+ * @param {*} [options] Override http request option.
3958
+ * @throws {RequiredError}
3959
+ * @memberof ServersApi
3960
+ */
3961
+ deleteOptionServer(zone: DeleteOptionServerZoneEnum, serverId: string, optionId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayBaremetalV1Server, any, {}>>;
3962
+ /**
3963
+ * Delete the server associated with the ID.
3964
+ * @summary Delete an Elastic Metal server
3965
+ * @param {DeleteServerZoneEnum} zone The zone you want to target
3966
+ * @param {string} serverId ID of the server to delete.
3967
+ * @param {*} [options] Override http request option.
3968
+ * @throws {RequiredError}
3969
+ * @memberof ServersApi
3970
+ */
3971
+ deleteServer(zone: DeleteServerZoneEnum, serverId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayBaremetalV1Server, any, {}>>;
3972
+ /**
3973
+ * Get full details of an existing Elastic Metal server associated with the ID.
3974
+ * @summary Get a specific Elastic Metal server
3975
+ * @param {GetServerZoneEnum} zone The zone you want to target
3976
+ * @param {string} serverId ID of the server.
3977
+ * @param {*} [options] Override http request option.
3978
+ * @throws {RequiredError}
3979
+ * @memberof ServersApi
3980
+ */
3981
+ getServer(zone: GetServerZoneEnum, serverId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayBaremetalV1Server, any, {}>>;
3982
+ /**
3983
+ * Get the ping status of the server associated with the ID.
3984
+ * @summary Return server metrics
3985
+ * @param {GetServerMetricsZoneEnum} zone The zone you want to target
3986
+ * @param {string} serverId Server ID to get the metrics.
3987
+ * @param {*} [options] Override http request option.
3988
+ * @throws {RequiredError}
3989
+ * @memberof ServersApi
3990
+ */
3991
+ getServerMetrics(zone: GetServerMetricsZoneEnum, serverId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayBaremetalV1GetServerMetricsResponse, any, {}>>;
3992
+ /**
3993
+ * Install an Operating System (OS) on the Elastic Metal server with a specific ID.
3994
+ * @summary Install an Elastic Metal server
3995
+ * @param {InstallServerZoneEnum} zone The zone you want to target
3996
+ * @param {string} serverId Server ID to install.
3997
+ * @param {InstallServerRequest} installServerRequest
3998
+ * @param {*} [options] Override http request option.
3999
+ * @throws {RequiredError}
4000
+ * @memberof ServersApi
4001
+ */
4002
+ installServer(zone: InstallServerZoneEnum, serverId: string, installServerRequest: InstallServerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayBaremetalV1Server, any, {}>>;
4003
+ /**
4004
+ * List event (i.e. start/stop/reboot) associated to the server ID.
4005
+ * @summary List server events
4006
+ * @param {ListServerEventsZoneEnum} zone The zone you want to target
4007
+ * @param {string} serverId ID of the server events searched.
4008
+ * @param {number} [page] Page number.
4009
+ * @param {number} [pageSize] Number of server events per page.
4010
+ * @param {ListServerEventsOrderByEnum} [orderBy] Order of the server events.
4011
+ * @param {*} [options] Override http request option.
4012
+ * @throws {RequiredError}
4013
+ * @memberof ServersApi
4014
+ */
4015
+ listServerEvents(zone: ListServerEventsZoneEnum, serverId: string, page?: number, pageSize?: number, orderBy?: ListServerEventsOrderByEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayBaremetalV1ListServerEventsResponse, any, {}>>;
4016
+ /**
4017
+ * List Elastic Metal servers for a specific Organization.
4018
+ * @summary List Elastic Metal servers for an Organization
4019
+ * @param {ListServersZoneEnum} zone The zone you want to target
4020
+ * @param {number} [page] Page number.
4021
+ * @param {number} [pageSize] Number of servers per page.
4022
+ * @param {ListServersOrderByEnum} [orderBy] Order of the servers.
4023
+ * @param {Array<string>} [tags] Tags to filter for.
4024
+ * @param {Array<string>} [status] Status to filter for.
4025
+ * @param {string} [name] Names to filter for.
4026
+ * @param {string} [organizationId] Organization ID to filter for.
4027
+ * @param {string} [projectId] Project ID to filter for.
4028
+ * @param {string} [optionId] Option ID to filter for.
4029
+ * @param {*} [options] Override http request option.
4030
+ * @throws {RequiredError}
4031
+ * @memberof ServersApi
4032
+ */
4033
+ listServers(zone: ListServersZoneEnum, page?: number, pageSize?: number, orderBy?: ListServersOrderByEnum, tags?: Array<string>, status?: Array<string>, name?: string, organizationId?: string, projectId?: string, optionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayBaremetalV1ListServersResponse, any, {}>>;
4034
+ /**
4035
+ * Migrate server with hourly offer to monthly offer.
4036
+ * @summary Migrate server offer
4037
+ * @param {MigrateServerToMonthlyOfferZoneEnum} zone The zone you want to target
4038
+ * @param {string} serverId ID of the server.
4039
+ * @param {*} [options] Override http request option.
4040
+ * @throws {RequiredError}
4041
+ * @memberof ServersApi
4042
+ */
4043
+ migrateServerToMonthlyOffer(zone: MigrateServerToMonthlyOfferZoneEnum, serverId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayBaremetalV1Server, any, {}>>;
4044
+ /**
4045
+ * Configure the IP address associated with the server ID and IP ID. You can use this method to set a reverse DNS for an IP address.
4046
+ * @summary Update IP
4047
+ * @param {UpdateIPZoneEnum} zone The zone you want to target
4048
+ * @param {string} serverId ID of the server.
4049
+ * @param {string} ipId ID of the IP to update.
4050
+ * @param {UpdateIPRequest} updateIPRequest
4051
+ * @param {*} [options] Override http request option.
4052
+ * @throws {RequiredError}
4053
+ * @memberof ServersApi
4054
+ */
4055
+ updateIP(zone: UpdateIPZoneEnum, serverId: string, ipId: string, updateIPRequest: UpdateIPRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayBaremetalV1IP, any, {}>>;
4056
+ /**
4057
+ * Update the server associated with the ID. You can update parameters such as the server\'s name, tags, description and protection flag. Any parameters left null in the request body are not updated.
4058
+ * @summary Update an Elastic Metal server
4059
+ * @param {UpdateServerZoneEnum} zone The zone you want to target
4060
+ * @param {string} serverId ID of the server to update.
4061
+ * @param {UpdateServerRequest} updateServerRequest
4062
+ * @param {*} [options] Override http request option.
4063
+ * @throws {RequiredError}
4064
+ * @memberof ServersApi
4065
+ */
4066
+ updateServer(zone: UpdateServerZoneEnum, serverId: string, updateServerRequest: UpdateServerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayBaremetalV1Server, any, {}>>;
4067
+ }
4068
+ /**
4069
+ * @export
4070
+ */
4071
+ export declare const AddOptionServerZoneEnum: {
4072
+ readonly FrPar1: "fr-par-1";
4073
+ readonly FrPar2: "fr-par-2";
4074
+ readonly NlAms1: "nl-ams-1";
4075
+ readonly NlAms2: "nl-ams-2";
4076
+ readonly PlWaw2: "pl-waw-2";
4077
+ readonly PlWaw3: "pl-waw-3";
4078
+ };
4079
+ export type AddOptionServerZoneEnum = (typeof AddOptionServerZoneEnum)[keyof typeof AddOptionServerZoneEnum];
4080
+ /**
4081
+ * @export
4082
+ */
4083
+ export declare const CreateServerZoneEnum: {
4084
+ readonly FrPar1: "fr-par-1";
4085
+ readonly FrPar2: "fr-par-2";
4086
+ readonly NlAms1: "nl-ams-1";
4087
+ readonly NlAms2: "nl-ams-2";
4088
+ readonly PlWaw2: "pl-waw-2";
4089
+ readonly PlWaw3: "pl-waw-3";
4090
+ };
4091
+ export type CreateServerZoneEnum = (typeof CreateServerZoneEnum)[keyof typeof CreateServerZoneEnum];
4092
+ /**
4093
+ * @export
4094
+ */
4095
+ export declare const DeleteOptionServerZoneEnum: {
4096
+ readonly FrPar1: "fr-par-1";
4097
+ readonly FrPar2: "fr-par-2";
4098
+ readonly NlAms1: "nl-ams-1";
4099
+ readonly NlAms2: "nl-ams-2";
4100
+ readonly PlWaw2: "pl-waw-2";
4101
+ readonly PlWaw3: "pl-waw-3";
4102
+ };
4103
+ export type DeleteOptionServerZoneEnum = (typeof DeleteOptionServerZoneEnum)[keyof typeof DeleteOptionServerZoneEnum];
4104
+ /**
4105
+ * @export
4106
+ */
4107
+ export declare const DeleteServerZoneEnum: {
4108
+ readonly FrPar1: "fr-par-1";
4109
+ readonly FrPar2: "fr-par-2";
4110
+ readonly NlAms1: "nl-ams-1";
4111
+ readonly NlAms2: "nl-ams-2";
4112
+ readonly PlWaw2: "pl-waw-2";
4113
+ readonly PlWaw3: "pl-waw-3";
4114
+ };
4115
+ export type DeleteServerZoneEnum = (typeof DeleteServerZoneEnum)[keyof typeof DeleteServerZoneEnum];
4116
+ /**
4117
+ * @export
4118
+ */
4119
+ export declare const GetServerZoneEnum: {
4120
+ readonly FrPar1: "fr-par-1";
4121
+ readonly FrPar2: "fr-par-2";
4122
+ readonly NlAms1: "nl-ams-1";
4123
+ readonly NlAms2: "nl-ams-2";
4124
+ readonly PlWaw2: "pl-waw-2";
4125
+ readonly PlWaw3: "pl-waw-3";
4126
+ };
4127
+ export type GetServerZoneEnum = (typeof GetServerZoneEnum)[keyof typeof GetServerZoneEnum];
4128
+ /**
4129
+ * @export
4130
+ */
4131
+ export declare const GetServerMetricsZoneEnum: {
4132
+ readonly FrPar1: "fr-par-1";
4133
+ readonly FrPar2: "fr-par-2";
4134
+ readonly NlAms1: "nl-ams-1";
4135
+ readonly NlAms2: "nl-ams-2";
4136
+ readonly PlWaw2: "pl-waw-2";
4137
+ readonly PlWaw3: "pl-waw-3";
4138
+ };
4139
+ export type GetServerMetricsZoneEnum = (typeof GetServerMetricsZoneEnum)[keyof typeof GetServerMetricsZoneEnum];
4140
+ /**
4141
+ * @export
4142
+ */
4143
+ export declare const InstallServerZoneEnum: {
4144
+ readonly FrPar1: "fr-par-1";
4145
+ readonly FrPar2: "fr-par-2";
4146
+ readonly NlAms1: "nl-ams-1";
4147
+ readonly NlAms2: "nl-ams-2";
4148
+ readonly PlWaw2: "pl-waw-2";
4149
+ readonly PlWaw3: "pl-waw-3";
4150
+ };
4151
+ export type InstallServerZoneEnum = (typeof InstallServerZoneEnum)[keyof typeof InstallServerZoneEnum];
4152
+ /**
4153
+ * @export
4154
+ */
4155
+ export declare const ListServerEventsZoneEnum: {
4156
+ readonly FrPar1: "fr-par-1";
4157
+ readonly FrPar2: "fr-par-2";
4158
+ readonly NlAms1: "nl-ams-1";
4159
+ readonly NlAms2: "nl-ams-2";
4160
+ readonly PlWaw2: "pl-waw-2";
4161
+ readonly PlWaw3: "pl-waw-3";
4162
+ };
4163
+ export type ListServerEventsZoneEnum = (typeof ListServerEventsZoneEnum)[keyof typeof ListServerEventsZoneEnum];
4164
+ /**
4165
+ * @export
4166
+ */
4167
+ export declare const ListServerEventsOrderByEnum: {
4168
+ readonly CreatedAtAsc: "created_at_asc";
4169
+ readonly CreatedAtDesc: "created_at_desc";
4170
+ };
4171
+ export type ListServerEventsOrderByEnum = (typeof ListServerEventsOrderByEnum)[keyof typeof ListServerEventsOrderByEnum];
4172
+ /**
4173
+ * @export
4174
+ */
4175
+ export declare const ListServersZoneEnum: {
4176
+ readonly FrPar1: "fr-par-1";
4177
+ readonly FrPar2: "fr-par-2";
4178
+ readonly NlAms1: "nl-ams-1";
4179
+ readonly NlAms2: "nl-ams-2";
4180
+ readonly PlWaw2: "pl-waw-2";
4181
+ readonly PlWaw3: "pl-waw-3";
4182
+ };
4183
+ export type ListServersZoneEnum = (typeof ListServersZoneEnum)[keyof typeof ListServersZoneEnum];
4184
+ /**
4185
+ * @export
4186
+ */
4187
+ export declare const ListServersOrderByEnum: {
4188
+ readonly CreatedAtAsc: "created_at_asc";
4189
+ readonly CreatedAtDesc: "created_at_desc";
4190
+ };
4191
+ export type ListServersOrderByEnum = (typeof ListServersOrderByEnum)[keyof typeof ListServersOrderByEnum];
4192
+ /**
4193
+ * @export
4194
+ */
4195
+ export declare const MigrateServerToMonthlyOfferZoneEnum: {
4196
+ readonly FrPar1: "fr-par-1";
4197
+ readonly FrPar2: "fr-par-2";
4198
+ readonly NlAms1: "nl-ams-1";
4199
+ readonly NlAms2: "nl-ams-2";
4200
+ readonly PlWaw2: "pl-waw-2";
4201
+ readonly PlWaw3: "pl-waw-3";
4202
+ };
4203
+ export type MigrateServerToMonthlyOfferZoneEnum = (typeof MigrateServerToMonthlyOfferZoneEnum)[keyof typeof MigrateServerToMonthlyOfferZoneEnum];
4204
+ /**
4205
+ * @export
4206
+ */
4207
+ export declare const UpdateIPZoneEnum: {
4208
+ readonly FrPar1: "fr-par-1";
4209
+ readonly FrPar2: "fr-par-2";
4210
+ readonly NlAms1: "nl-ams-1";
4211
+ readonly NlAms2: "nl-ams-2";
4212
+ readonly PlWaw2: "pl-waw-2";
4213
+ readonly PlWaw3: "pl-waw-3";
4214
+ };
4215
+ export type UpdateIPZoneEnum = (typeof UpdateIPZoneEnum)[keyof typeof UpdateIPZoneEnum];
4216
+ /**
4217
+ * @export
4218
+ */
4219
+ export declare const UpdateServerZoneEnum: {
4220
+ readonly FrPar1: "fr-par-1";
4221
+ readonly FrPar2: "fr-par-2";
4222
+ readonly NlAms1: "nl-ams-1";
4223
+ readonly NlAms2: "nl-ams-2";
4224
+ readonly PlWaw2: "pl-waw-2";
4225
+ readonly PlWaw3: "pl-waw-3";
4226
+ };
4227
+ export type UpdateServerZoneEnum = (typeof UpdateServerZoneEnum)[keyof typeof UpdateServerZoneEnum];