@distilled.cloud/scaleway 0.0.0 → 1.0.0-rc.22

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 (639) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +171 -4
  3. package/lib/.lazy.json +1 -0
  4. package/lib/_bundle/lazy.js +4 -0
  5. package/lib/_bundle/sdk.js +2 -0
  6. package/lib/_bundle/sdk.js.map +1 -0
  7. package/lib/credentials.d.ts +44 -0
  8. package/lib/credentials.d.ts.map +1 -0
  9. package/lib/credentials.js +1 -0
  10. package/lib/errors.d.ts +285 -0
  11. package/lib/errors.d.ts.map +1 -0
  12. package/lib/errors.js +1 -0
  13. package/lib/index.d.ts +48 -0
  14. package/lib/index.d.ts.map +1 -0
  15. package/lib/index.js +6 -0
  16. package/lib/pagination.d.ts +10 -0
  17. package/lib/pagination.d.ts.map +1 -0
  18. package/lib/pagination.js +1 -0
  19. package/lib/protocol.d.ts +48 -0
  20. package/lib/protocol.d.ts.map +1 -0
  21. package/lib/protocol.js +1 -0
  22. package/lib/retry.d.ts +31 -0
  23. package/lib/retry.d.ts.map +1 -0
  24. package/lib/retry.js +1 -0
  25. package/lib/services/account_contract_v3.d.ts +124 -0
  26. package/lib/services/account_contract_v3.d.ts.map +1 -0
  27. package/lib/services/account_contract_v3.js +2 -0
  28. package/lib/services/account_contract_v3.js.map +1 -0
  29. package/lib/services/account_iso_code_v3.d.ts +44 -0
  30. package/lib/services/account_iso_code_v3.d.ts.map +1 -0
  31. package/lib/services/account_iso_code_v3.js +2 -0
  32. package/lib/services/account_iso_code_v3.js.map +1 -0
  33. package/lib/services/account_organization_v3.d.ts +290 -0
  34. package/lib/services/account_organization_v3.d.ts.map +1 -0
  35. package/lib/services/account_organization_v3.js +2 -0
  36. package/lib/services/account_organization_v3.js.map +1 -0
  37. package/lib/services/account_project_v3.d.ts +173 -0
  38. package/lib/services/account_project_v3.d.ts.map +1 -0
  39. package/lib/services/account_project_v3.js +2 -0
  40. package/lib/services/account_project_v3.js.map +1 -0
  41. package/lib/services/account_unauthenticated_user_v3.d.ts +479 -0
  42. package/lib/services/account_unauthenticated_user_v3.d.ts.map +1 -0
  43. package/lib/services/account_unauthenticated_user_v3.js +35 -0
  44. package/lib/services/account_unauthenticated_user_v3.js.map +1 -0
  45. package/lib/services/account_unauthenticated_v3.d.ts +18 -0
  46. package/lib/services/account_unauthenticated_v3.d.ts.map +1 -0
  47. package/lib/services/account_unauthenticated_v3.js +2 -0
  48. package/lib/services/account_unauthenticated_v3.js.map +1 -0
  49. package/lib/services/account_user_v3.d.ts +522 -0
  50. package/lib/services/account_user_v3.d.ts.map +1 -0
  51. package/lib/services/account_user_v3.js +39 -0
  52. package/lib/services/account_user_v3.js.map +1 -0
  53. package/lib/services/annotations_v1.d.ts +260 -0
  54. package/lib/services/annotations_v1.d.ts.map +1 -0
  55. package/lib/services/annotations_v1.js +2 -0
  56. package/lib/services/annotations_v1.js.map +1 -0
  57. package/lib/services/baremetal_private_network_v1.d.ts +95 -0
  58. package/lib/services/baremetal_private_network_v1.d.ts.map +1 -0
  59. package/lib/services/baremetal_private_network_v1.js +2 -0
  60. package/lib/services/baremetal_private_network_v1.js.map +1 -0
  61. package/lib/services/baremetal_private_network_v3.d.ts +110 -0
  62. package/lib/services/baremetal_private_network_v3.d.ts.map +1 -0
  63. package/lib/services/baremetal_private_network_v3.js +2 -0
  64. package/lib/services/baremetal_private_network_v3.js.map +1 -0
  65. package/lib/services/baremetal_v1.d.ts +1089 -0
  66. package/lib/services/baremetal_v1.d.ts.map +1 -0
  67. package/lib/services/baremetal_v1.js +52 -0
  68. package/lib/services/baremetal_v1.js.map +1 -0
  69. package/lib/services/billing_electronic_billing_v2.d.ts +86 -0
  70. package/lib/services/billing_electronic_billing_v2.d.ts.map +1 -0
  71. package/lib/services/billing_electronic_billing_v2.js +2 -0
  72. package/lib/services/billing_electronic_billing_v2.js.map +1 -0
  73. package/lib/services/billing_v2.d.ts +187 -0
  74. package/lib/services/billing_v2.d.ts.map +1 -0
  75. package/lib/services/billing_v2.js +2 -0
  76. package/lib/services/billing_v2.js.map +1 -0
  77. package/lib/services/block_v1.d.ts +401 -0
  78. package/lib/services/block_v1.d.ts.map +1 -0
  79. package/lib/services/block_v1.js +27 -0
  80. package/lib/services/block_v1.js.map +1 -0
  81. package/lib/services/cockpit_global_v1.d.ts +75 -0
  82. package/lib/services/cockpit_global_v1.d.ts.map +1 -0
  83. package/lib/services/cockpit_global_v1.js +2 -0
  84. package/lib/services/cockpit_global_v1.js.map +1 -0
  85. package/lib/services/cockpit_regional_v1.d.ts +739 -0
  86. package/lib/services/cockpit_regional_v1.d.ts.map +1 -0
  87. package/lib/services/cockpit_regional_v1.js +47 -0
  88. package/lib/services/cockpit_regional_v1.js.map +1 -0
  89. package/lib/services/containers_v1.d.ts +822 -0
  90. package/lib/services/containers_v1.d.ts.map +1 -0
  91. package/lib/services/containers_v1.js +39 -0
  92. package/lib/services/containers_v1.js.map +1 -0
  93. package/lib/services/dedibox_billing_v1.d.ts +151 -0
  94. package/lib/services/dedibox_billing_v1.d.ts.map +1 -0
  95. package/lib/services/dedibox_billing_v1.js +2 -0
  96. package/lib/services/dedibox_billing_v1.js.map +1 -0
  97. package/lib/services/dedibox_ipv6_block_v1.d.ts +119 -0
  98. package/lib/services/dedibox_ipv6_block_v1.d.ts.map +1 -0
  99. package/lib/services/dedibox_ipv6_block_v1.js +2 -0
  100. package/lib/services/dedibox_ipv6_block_v1.js.map +1 -0
  101. package/lib/services/dedibox_rpn_san_v1.d.ts +486 -0
  102. package/lib/services/dedibox_rpn_san_v1.d.ts.map +1 -0
  103. package/lib/services/dedibox_rpn_san_v1.js +2 -0
  104. package/lib/services/dedibox_rpn_san_v1.js.map +1 -0
  105. package/lib/services/dedibox_rpn_v1.d.ts +68 -0
  106. package/lib/services/dedibox_rpn_v1.d.ts.map +1 -0
  107. package/lib/services/dedibox_rpn_v1.js +2 -0
  108. package/lib/services/dedibox_rpn_v1.js.map +1 -0
  109. package/lib/services/dedibox_rpn_v1_v1.d.ts +687 -0
  110. package/lib/services/dedibox_rpn_v1_v1.d.ts.map +1 -0
  111. package/lib/services/dedibox_rpn_v1_v1.js +30 -0
  112. package/lib/services/dedibox_rpn_v1_v1.js.map +1 -0
  113. package/lib/services/dedibox_rpn_v2_v1.d.ts +646 -0
  114. package/lib/services/dedibox_rpn_v2_v1.d.ts.map +1 -0
  115. package/lib/services/dedibox_rpn_v2_v1.js +27 -0
  116. package/lib/services/dedibox_rpn_v2_v1.js.map +1 -0
  117. package/lib/services/dedibox_v1.d.ts +1351 -0
  118. package/lib/services/dedibox_v1.d.ts.map +1 -0
  119. package/lib/services/dedibox_v1.js +70 -0
  120. package/lib/services/dedibox_v1.js.map +1 -0
  121. package/lib/services/generative_apis_openai_v1.d.ts +772 -0
  122. package/lib/services/generative_apis_openai_v1.d.ts.map +1 -0
  123. package/lib/services/generative_apis_openai_v1.js +24 -0
  124. package/lib/services/generative_apis_openai_v1.js.map +1 -0
  125. package/lib/services/generative_apis_v1.d.ts +82 -0
  126. package/lib/services/generative_apis_v1.d.ts.map +1 -0
  127. package/lib/services/generative_apis_v1.js +2 -0
  128. package/lib/services/generative_apis_v1.js.map +1 -0
  129. package/lib/services/index.d.ts +57 -0
  130. package/lib/services/index.d.ts.map +1 -0
  131. package/lib/services/index.js +56 -0
  132. package/lib/services/inference_v1.d.ts +460 -0
  133. package/lib/services/inference_v1.d.ts.map +1 -0
  134. package/lib/services/inference_v1.js +33 -0
  135. package/lib/services/inference_v1.js.map +1 -0
  136. package/lib/services/instance_v1.d.ts +2183 -0
  137. package/lib/services/instance_v1.d.ts.map +1 -0
  138. package/lib/services/instance_v1.js +112 -0
  139. package/lib/services/instance_v1.js.map +1 -0
  140. package/lib/services/iot_v1.d.ts +837 -0
  141. package/lib/services/iot_v1.d.ts.map +1 -0
  142. package/lib/services/iot_v1.js +50 -0
  143. package/lib/services/iot_v1.js.map +1 -0
  144. package/lib/services/ipam_v1.d.ts +244 -0
  145. package/lib/services/ipam_v1.d.ts.map +1 -0
  146. package/lib/services/ipam_v1.js +2 -0
  147. package/lib/services/ipam_v1.js.map +1 -0
  148. package/lib/services/k8s_v1.d.ts +1223 -0
  149. package/lib/services/k8s_v1.d.ts.map +1 -0
  150. package/lib/services/k8s_v1.js +61 -0
  151. package/lib/services/k8s_v1.js.map +1 -0
  152. package/lib/services/lb_zoned_v1.d.ts +1517 -0
  153. package/lib/services/lb_zoned_v1.d.ts.map +1 -0
  154. package/lib/services/lb_zoned_v1.js +75 -0
  155. package/lib/services/lb_zoned_v1.js.map +1 -0
  156. package/lib/services/marketplace_console_v2.d.ts +72 -0
  157. package/lib/services/marketplace_console_v2.d.ts.map +1 -0
  158. package/lib/services/marketplace_console_v2.js +2 -0
  159. package/lib/services/marketplace_console_v2.js.map +1 -0
  160. package/lib/services/marketplace_v2.d.ts +169 -0
  161. package/lib/services/marketplace_v2.d.ts.map +1 -0
  162. package/lib/services/marketplace_v2.js +2 -0
  163. package/lib/services/marketplace_v2.js.map +1 -0
  164. package/lib/services/mongodb_v1.d.ts +698 -0
  165. package/lib/services/mongodb_v1.d.ts.map +1 -0
  166. package/lib/services/mongodb_v1.js +43 -0
  167. package/lib/services/mongodb_v1.js.map +1 -0
  168. package/lib/services/partner_v1.d.ts +142 -0
  169. package/lib/services/partner_v1.d.ts.map +1 -0
  170. package/lib/services/partner_v1.js +2 -0
  171. package/lib/services/partner_v1.js.map +1 -0
  172. package/lib/services/rdb_encryption_v1.d.ts +17 -0
  173. package/lib/services/rdb_encryption_v1.d.ts.map +1 -0
  174. package/lib/services/rdb_encryption_v1.js +2 -0
  175. package/lib/services/rdb_encryption_v1.js.map +1 -0
  176. package/lib/services/rdb_v1.d.ts +1422 -0
  177. package/lib/services/rdb_v1.d.ts.map +1 -0
  178. package/lib/services/rdb_v1.js +87 -0
  179. package/lib/services/rdb_v1.js.map +1 -0
  180. package/lib/services/redis_v1.d.ts +602 -0
  181. package/lib/services/redis_v1.d.ts.map +1 -0
  182. package/lib/services/redis_v1.js +42 -0
  183. package/lib/services/redis_v1.js.map +1 -0
  184. package/lib/services/registry_v1.d.ts +281 -0
  185. package/lib/services/registry_v1.d.ts.map +1 -0
  186. package/lib/services/registry_v1.js +2 -0
  187. package/lib/services/registry_v1.js.map +1 -0
  188. package/lib/services/reseller_v1.d.ts +81 -0
  189. package/lib/services/reseller_v1.d.ts.map +1 -0
  190. package/lib/services/reseller_v1.js +2 -0
  191. package/lib/services/reseller_v1.js.map +1 -0
  192. package/lib/services/vpc_gw_v2.d.ts +640 -0
  193. package/lib/services/vpc_gw_v2.d.ts.map +1 -0
  194. package/lib/services/vpc_gw_v2.js +46 -0
  195. package/lib/services/vpc_gw_v2.js.map +1 -0
  196. package/lib/services/vpc_private_network_with_nics_v2.d.ts +114 -0
  197. package/lib/services/vpc_private_network_with_nics_v2.d.ts.map +1 -0
  198. package/lib/services/vpc_private_network_with_nics_v2.js +2 -0
  199. package/lib/services/vpc_private_network_with_nics_v2.js.map +1 -0
  200. package/lib/services/vpc_routes_with_nexthop_v2.d.ts +87 -0
  201. package/lib/services/vpc_routes_with_nexthop_v2.d.ts.map +1 -0
  202. package/lib/services/vpc_routes_with_nexthop_v2.js +2 -0
  203. package/lib/services/vpc_routes_with_nexthop_v2.js.map +1 -0
  204. package/lib/services/vpc_v2.d.ts +875 -0
  205. package/lib/services/vpc_v2.d.ts.map +1 -0
  206. package/lib/services/vpc_v2.js +54 -0
  207. package/lib/services/vpc_v2.js.map +1 -0
  208. package/lib/services/webhosting_backup_v1.d.ts +182 -0
  209. package/lib/services/webhosting_backup_v1.d.ts.map +1 -0
  210. package/lib/services/webhosting_backup_v1.js +2 -0
  211. package/lib/services/webhosting_backup_v1.js.map +1 -0
  212. package/lib/services/webhosting_control_panel_v1.d.ts +37 -0
  213. package/lib/services/webhosting_control_panel_v1.d.ts.map +1 -0
  214. package/lib/services/webhosting_control_panel_v1.js +2 -0
  215. package/lib/services/webhosting_control_panel_v1.js.map +1 -0
  216. package/lib/services/webhosting_database_v1.d.ts +195 -0
  217. package/lib/services/webhosting_database_v1.d.ts.map +1 -0
  218. package/lib/services/webhosting_database_v1.js +2 -0
  219. package/lib/services/webhosting_database_v1.js.map +1 -0
  220. package/lib/services/webhosting_dedibox_v1.d.ts +232 -0
  221. package/lib/services/webhosting_dedibox_v1.d.ts.map +1 -0
  222. package/lib/services/webhosting_dedibox_v1.js +2 -0
  223. package/lib/services/webhosting_dedibox_v1.js.map +1 -0
  224. package/lib/services/webhosting_dns_v1.d.ts +177 -0
  225. package/lib/services/webhosting_dns_v1.d.ts.map +1 -0
  226. package/lib/services/webhosting_dns_v1.js +2 -0
  227. package/lib/services/webhosting_dns_v1.js.map +1 -0
  228. package/lib/services/webhosting_free_domain_v1.d.ts +51 -0
  229. package/lib/services/webhosting_free_domain_v1.d.ts.map +1 -0
  230. package/lib/services/webhosting_free_domain_v1.js +2 -0
  231. package/lib/services/webhosting_free_domain_v1.js.map +1 -0
  232. package/lib/services/webhosting_ftp_account_v1.d.ts +79 -0
  233. package/lib/services/webhosting_ftp_account_v1.d.ts.map +1 -0
  234. package/lib/services/webhosting_ftp_account_v1.js +2 -0
  235. package/lib/services/webhosting_ftp_account_v1.js.map +1 -0
  236. package/lib/services/webhosting_hosting_v1.d.ts +502 -0
  237. package/lib/services/webhosting_hosting_v1.d.ts.map +1 -0
  238. package/lib/services/webhosting_hosting_v1.js +27 -0
  239. package/lib/services/webhosting_hosting_v1.js.map +1 -0
  240. package/lib/services/webhosting_mail_account_v1.d.ts +84 -0
  241. package/lib/services/webhosting_mail_account_v1.d.ts.map +1 -0
  242. package/lib/services/webhosting_mail_account_v1.js +2 -0
  243. package/lib/services/webhosting_mail_account_v1.js.map +1 -0
  244. package/lib/services/webhosting_offer_v1.d.ts +122 -0
  245. package/lib/services/webhosting_offer_v1.d.ts.map +1 -0
  246. package/lib/services/webhosting_offer_v1.js +2 -0
  247. package/lib/services/webhosting_offer_v1.js.map +1 -0
  248. package/lib/services/webhosting_website_v1.d.ts +75 -0
  249. package/lib/services/webhosting_website_v1.d.ts.map +1 -0
  250. package/lib/services/webhosting_website_v1.js +2 -0
  251. package/lib/services/webhosting_website_v1.js.map +1 -0
  252. package/lib/services.lazy/account_contract_v3.js +1 -0
  253. package/lib/services.lazy/account_iso_code_v3.js +1 -0
  254. package/lib/services.lazy/account_organization_v3.js +1 -0
  255. package/lib/services.lazy/account_project_v3.js +1 -0
  256. package/lib/services.lazy/account_unauthenticated_user_v3.js +3 -0
  257. package/lib/services.lazy/account_unauthenticated_v3.js +1 -0
  258. package/lib/services.lazy/account_user_v3.js +3 -0
  259. package/lib/services.lazy/annotations_v1.js +1 -0
  260. package/lib/services.lazy/baremetal_private_network_v1.js +1 -0
  261. package/lib/services.lazy/baremetal_private_network_v3.js +1 -0
  262. package/lib/services.lazy/baremetal_v1.js +3 -0
  263. package/lib/services.lazy/billing_electronic_billing_v2.js +1 -0
  264. package/lib/services.lazy/billing_v2.js +1 -0
  265. package/lib/services.lazy/block_v1.js +3 -0
  266. package/lib/services.lazy/cockpit_global_v1.js +1 -0
  267. package/lib/services.lazy/cockpit_regional_v1.js +3 -0
  268. package/lib/services.lazy/containers_v1.js +3 -0
  269. package/lib/services.lazy/dedibox_billing_v1.js +1 -0
  270. package/lib/services.lazy/dedibox_ipv6_block_v1.js +1 -0
  271. package/lib/services.lazy/dedibox_rpn_san_v1.js +1 -0
  272. package/lib/services.lazy/dedibox_rpn_v1.js +1 -0
  273. package/lib/services.lazy/dedibox_rpn_v1_v1.js +3 -0
  274. package/lib/services.lazy/dedibox_rpn_v2_v1.js +3 -0
  275. package/lib/services.lazy/dedibox_v1.js +3 -0
  276. package/lib/services.lazy/generative_apis_openai_v1.js +3 -0
  277. package/lib/services.lazy/generative_apis_v1.js +1 -0
  278. package/lib/services.lazy/index.js +3 -0
  279. package/lib/services.lazy/inference_v1.js +3 -0
  280. package/lib/services.lazy/instance_v1.js +3 -0
  281. package/lib/services.lazy/iot_v1.js +3 -0
  282. package/lib/services.lazy/ipam_v1.js +1 -0
  283. package/lib/services.lazy/k8s_v1.js +3 -0
  284. package/lib/services.lazy/lb_zoned_v1.js +3 -0
  285. package/lib/services.lazy/marketplace_console_v2.js +1 -0
  286. package/lib/services.lazy/marketplace_v2.js +1 -0
  287. package/lib/services.lazy/mongodb_v1.js +3 -0
  288. package/lib/services.lazy/partner_v1.js +1 -0
  289. package/lib/services.lazy/rdb_encryption_v1.js +1 -0
  290. package/lib/services.lazy/rdb_v1.js +3 -0
  291. package/lib/services.lazy/redis_v1.js +3 -0
  292. package/lib/services.lazy/registry_v1.js +1 -0
  293. package/lib/services.lazy/reseller_v1.js +1 -0
  294. package/lib/services.lazy/vpc_gw_v2.js +3 -0
  295. package/lib/services.lazy/vpc_private_network_with_nics_v2.js +1 -0
  296. package/lib/services.lazy/vpc_routes_with_nexthop_v2.js +1 -0
  297. package/lib/services.lazy/vpc_v2.js +3 -0
  298. package/lib/services.lazy/webhosting_backup_v1.js +1 -0
  299. package/lib/services.lazy/webhosting_control_panel_v1.js +1 -0
  300. package/lib/services.lazy/webhosting_database_v1.js +1 -0
  301. package/lib/services.lazy/webhosting_dedibox_v1.js +1 -0
  302. package/lib/services.lazy/webhosting_dns_v1.js +1 -0
  303. package/lib/services.lazy/webhosting_free_domain_v1.js +1 -0
  304. package/lib/services.lazy/webhosting_ftp_account_v1.js +1 -0
  305. package/lib/services.lazy/webhosting_hosting_v1.js +3 -0
  306. package/lib/services.lazy/webhosting_mail_account_v1.js +1 -0
  307. package/lib/services.lazy/webhosting_offer_v1.js +1 -0
  308. package/lib/services.lazy/webhosting_website_v1.js +1 -0
  309. package/lib/traits.d.ts +25 -0
  310. package/lib/traits.d.ts.map +1 -0
  311. package/lib/traits.js +1 -0
  312. package/lib/unstable-services/apple_silicon_private_network_v1alpha1.d.ts +119 -0
  313. package/lib/unstable-services/apple_silicon_private_network_v1alpha1.d.ts.map +1 -0
  314. package/lib/unstable-services/apple_silicon_private_network_v1alpha1.js +2 -0
  315. package/lib/unstable-services/apple_silicon_private_network_v1alpha1.js.map +1 -0
  316. package/lib/unstable-services/apple_silicon_v1alpha1.d.ts +569 -0
  317. package/lib/unstable-services/apple_silicon_v1alpha1.d.ts.map +1 -0
  318. package/lib/unstable-services/apple_silicon_v1alpha1.js +38 -0
  319. package/lib/unstable-services/apple_silicon_v1alpha1.js.map +1 -0
  320. package/lib/unstable-services/audit_trail_v1alpha1.d.ts +1082 -0
  321. package/lib/unstable-services/audit_trail_v1alpha1.d.ts.map +1 -0
  322. package/lib/unstable-services/audit_trail_v1alpha1.js +47 -0
  323. package/lib/unstable-services/audit_trail_v1alpha1.js.map +1 -0
  324. package/lib/unstable-services/autoscaling_v1alpha2.d.ts +368 -0
  325. package/lib/unstable-services/autoscaling_v1alpha2.d.ts.map +1 -0
  326. package/lib/unstable-services/autoscaling_v1alpha2.js +2 -0
  327. package/lib/unstable-services/autoscaling_v1alpha2.js.map +1 -0
  328. package/lib/unstable-services/billing_fin_ops_v2beta1.d.ts +78 -0
  329. package/lib/unstable-services/billing_fin_ops_v2beta1.d.ts.map +1 -0
  330. package/lib/unstable-services/billing_fin_ops_v2beta1.js +2 -0
  331. package/lib/unstable-services/billing_fin_ops_v2beta1.js.map +1 -0
  332. package/lib/unstable-services/billing_v2beta1.d.ts +411 -0
  333. package/lib/unstable-services/billing_v2beta1.d.ts.map +1 -0
  334. package/lib/unstable-services/billing_v2beta1.js +25 -0
  335. package/lib/unstable-services/billing_v2beta1.js.map +1 -0
  336. package/lib/unstable-services/block_v1alpha1.d.ts +372 -0
  337. package/lib/unstable-services/block_v1alpha1.d.ts.map +1 -0
  338. package/lib/unstable-services/block_v1alpha1.js +27 -0
  339. package/lib/unstable-services/block_v1alpha1.js.map +1 -0
  340. package/lib/unstable-services/data_orchestrator_v1alpha2.d.ts +440 -0
  341. package/lib/unstable-services/data_orchestrator_v1alpha2.d.ts.map +1 -0
  342. package/lib/unstable-services/data_orchestrator_v1alpha2.js +27 -0
  343. package/lib/unstable-services/data_orchestrator_v1alpha2.js.map +1 -0
  344. package/lib/unstable-services/datalab_v1beta1.d.ts +322 -0
  345. package/lib/unstable-services/datalab_v1beta1.d.ts.map +1 -0
  346. package/lib/unstable-services/datalab_v1beta1.js +2 -0
  347. package/lib/unstable-services/datalab_v1beta1.js.map +1 -0
  348. package/lib/unstable-services/dataviz_v1alpha1.d.ts +456 -0
  349. package/lib/unstable-services/dataviz_v1alpha1.d.ts.map +1 -0
  350. package/lib/unstable-services/dataviz_v1alpha1.js +34 -0
  351. package/lib/unstable-services/dataviz_v1alpha1.js.map +1 -0
  352. package/lib/unstable-services/datawarehouse_v1beta1.d.ts +492 -0
  353. package/lib/unstable-services/datawarehouse_v1beta1.d.ts.map +1 -0
  354. package/lib/unstable-services/datawarehouse_v1beta1.js +34 -0
  355. package/lib/unstable-services/datawarehouse_v1beta1.js.map +1 -0
  356. package/lib/unstable-services/domain_registrar_v2beta1.d.ts +1087 -0
  357. package/lib/unstable-services/domain_registrar_v2beta1.d.ts.map +1 -0
  358. package/lib/unstable-services/domain_registrar_v2beta1.js +50 -0
  359. package/lib/unstable-services/domain_registrar_v2beta1.js.map +1 -0
  360. package/lib/unstable-services/domain_suggestion_v2beta1.d.ts +19 -0
  361. package/lib/unstable-services/domain_suggestion_v2beta1.d.ts.map +1 -0
  362. package/lib/unstable-services/domain_suggestion_v2beta1.js +2 -0
  363. package/lib/unstable-services/domain_suggestion_v2beta1.js.map +1 -0
  364. package/lib/unstable-services/domain_v2beta1.d.ts +520 -0
  365. package/lib/unstable-services/domain_v2beta1.d.ts.map +1 -0
  366. package/lib/unstable-services/domain_v2beta1.js +44 -0
  367. package/lib/unstable-services/domain_v2beta1.js.map +1 -0
  368. package/lib/unstable-services/edge_services_v1beta1.d.ts +1153 -0
  369. package/lib/unstable-services/edge_services_v1beta1.d.ts.map +1 -0
  370. package/lib/unstable-services/edge_services_v1beta1.js +81 -0
  371. package/lib/unstable-services/edge_services_v1beta1.js.map +1 -0
  372. package/lib/unstable-services/environmental_footprint_user_v1alpha1.d.ts +149 -0
  373. package/lib/unstable-services/environmental_footprint_user_v1alpha1.d.ts.map +1 -0
  374. package/lib/unstable-services/environmental_footprint_user_v1alpha1.js +2 -0
  375. package/lib/unstable-services/environmental_footprint_user_v1alpha1.js.map +1 -0
  376. package/lib/unstable-services/file_v1alpha1.d.ts +350 -0
  377. package/lib/unstable-services/file_v1alpha1.d.ts.map +1 -0
  378. package/lib/unstable-services/file_v1alpha1.js +24 -0
  379. package/lib/unstable-services/file_v1alpha1.js.map +1 -0
  380. package/lib/unstable-services/flexible_ip_v1alpha1.d.ts +241 -0
  381. package/lib/unstable-services/flexible_ip_v1alpha1.d.ts.map +1 -0
  382. package/lib/unstable-services/flexible_ip_v1alpha1.js +2 -0
  383. package/lib/unstable-services/flexible_ip_v1alpha1.js.map +1 -0
  384. package/lib/unstable-services/functions_v1beta1.d.ts +852 -0
  385. package/lib/unstable-services/functions_v1beta1.d.ts.map +1 -0
  386. package/lib/unstable-services/functions_v1beta1.js +49 -0
  387. package/lib/unstable-services/functions_v1beta1.js.map +1 -0
  388. package/lib/unstable-services/iam_unauthenticated_v1alpha1.d.ts +257 -0
  389. package/lib/unstable-services/iam_unauthenticated_v1alpha1.d.ts.map +1 -0
  390. package/lib/unstable-services/iam_unauthenticated_v1alpha1.js +2 -0
  391. package/lib/unstable-services/iam_unauthenticated_v1alpha1.js.map +1 -0
  392. package/lib/unstable-services/iam_v1alpha1.d.ts +1506 -0
  393. package/lib/unstable-services/iam_v1alpha1.d.ts.map +1 -0
  394. package/lib/unstable-services/iam_v1alpha1.js +105 -0
  395. package/lib/unstable-services/iam_v1alpha1.js.map +1 -0
  396. package/lib/unstable-services/index.d.ts +44 -0
  397. package/lib/unstable-services/index.d.ts.map +1 -0
  398. package/lib/unstable-services/index.js +43 -0
  399. package/lib/unstable-services/instance_v2alpha1.d.ts +1755 -0
  400. package/lib/unstable-services/instance_v2alpha1.d.ts.map +1 -0
  401. package/lib/unstable-services/instance_v2alpha1.js +81 -0
  402. package/lib/unstable-services/instance_v2alpha1.js.map +1 -0
  403. package/lib/unstable-services/instance_volume_v2alpha1.d.ts +333 -0
  404. package/lib/unstable-services/instance_volume_v2alpha1.d.ts.map +1 -0
  405. package/lib/unstable-services/instance_volume_v2alpha1.js +26 -0
  406. package/lib/unstable-services/instance_volume_v2alpha1.js.map +1 -0
  407. package/lib/unstable-services/interlink_v1beta1.d.ts +636 -0
  408. package/lib/unstable-services/interlink_v1beta1.d.ts.map +1 -0
  409. package/lib/unstable-services/interlink_v1beta1.js +39 -0
  410. package/lib/unstable-services/interlink_v1beta1.js.map +1 -0
  411. package/lib/unstable-services/kafka_v1alpha1.d.ts +451 -0
  412. package/lib/unstable-services/kafka_v1alpha1.d.ts.map +1 -0
  413. package/lib/unstable-services/kafka_v1alpha1.js +27 -0
  414. package/lib/unstable-services/kafka_v1alpha1.js.map +1 -0
  415. package/lib/unstable-services/key_manager_v1alpha1.d.ts +515 -0
  416. package/lib/unstable-services/key_manager_v1alpha1.d.ts.map +1 -0
  417. package/lib/unstable-services/key_manager_v1alpha1.js +36 -0
  418. package/lib/unstable-services/key_manager_v1alpha1.js.map +1 -0
  419. package/lib/unstable-services/mailbox_v1alpha1.d.ts +438 -0
  420. package/lib/unstable-services/mailbox_v1alpha1.d.ts.map +1 -0
  421. package/lib/unstable-services/mailbox_v1alpha1.js +39 -0
  422. package/lib/unstable-services/mailbox_v1alpha1.js.map +1 -0
  423. package/lib/unstable-services/messageq_v1alpha1.d.ts +420 -0
  424. package/lib/unstable-services/messageq_v1alpha1.d.ts.map +1 -0
  425. package/lib/unstable-services/messageq_v1alpha1.js +29 -0
  426. package/lib/unstable-services/messageq_v1alpha1.js.map +1 -0
  427. package/lib/unstable-services/mnq_console_v1beta1.d.ts +32 -0
  428. package/lib/unstable-services/mnq_console_v1beta1.d.ts.map +1 -0
  429. package/lib/unstable-services/mnq_console_v1beta1.js +2 -0
  430. package/lib/unstable-services/mnq_console_v1beta1.js.map +1 -0
  431. package/lib/unstable-services/mnq_nats_v1beta1.d.ts +177 -0
  432. package/lib/unstable-services/mnq_nats_v1beta1.d.ts.map +1 -0
  433. package/lib/unstable-services/mnq_nats_v1beta1.js +2 -0
  434. package/lib/unstable-services/mnq_nats_v1beta1.js.map +1 -0
  435. package/lib/unstable-services/mnq_sns_v1beta1.d.ts +155 -0
  436. package/lib/unstable-services/mnq_sns_v1beta1.d.ts.map +1 -0
  437. package/lib/unstable-services/mnq_sns_v1beta1.js +2 -0
  438. package/lib/unstable-services/mnq_sns_v1beta1.js.map +1 -0
  439. package/lib/unstable-services/mnq_sqs_v1beta1.d.ts +155 -0
  440. package/lib/unstable-services/mnq_sqs_v1beta1.d.ts.map +1 -0
  441. package/lib/unstable-services/mnq_sqs_v1beta1.js +2 -0
  442. package/lib/unstable-services/mnq_sqs_v1beta1.js.map +1 -0
  443. package/lib/unstable-services/mongodb_v1alpha1.d.ts +604 -0
  444. package/lib/unstable-services/mongodb_v1alpha1.d.ts.map +1 -0
  445. package/lib/unstable-services/mongodb_v1alpha1.js +37 -0
  446. package/lib/unstable-services/mongodb_v1alpha1.js.map +1 -0
  447. package/lib/unstable-services/product_catalog_public_catalog_v2alpha1.d.ts +479 -0
  448. package/lib/unstable-services/product_catalog_public_catalog_v2alpha1.d.ts.map +1 -0
  449. package/lib/unstable-services/product_catalog_public_catalog_v2alpha1.js +2 -0
  450. package/lib/unstable-services/product_catalog_public_catalog_v2alpha1.js.map +1 -0
  451. package/lib/unstable-services/qaas_v1alpha1.d.ts +764 -0
  452. package/lib/unstable-services/qaas_v1alpha1.d.ts.map +1 -0
  453. package/lib/unstable-services/qaas_v1alpha1.js +51 -0
  454. package/lib/unstable-services/qaas_v1alpha1.js.map +1 -0
  455. package/lib/unstable-services/s2s_vpn_v1alpha1.d.ts +794 -0
  456. package/lib/unstable-services/s2s_vpn_v1alpha1.d.ts.map +1 -0
  457. package/lib/unstable-services/s2s_vpn_v1alpha1.js +45 -0
  458. package/lib/unstable-services/s2s_vpn_v1alpha1.js.map +1 -0
  459. package/lib/unstable-services/search_v1alpha1.d.ts +120 -0
  460. package/lib/unstable-services/search_v1alpha1.d.ts.map +1 -0
  461. package/lib/unstable-services/search_v1alpha1.js +2 -0
  462. package/lib/unstable-services/search_v1alpha1.js.map +1 -0
  463. package/lib/unstable-services/searchdb_v1alpha1.d.ts +424 -0
  464. package/lib/unstable-services/searchdb_v1alpha1.d.ts.map +1 -0
  465. package/lib/unstable-services/searchdb_v1alpha1.js +29 -0
  466. package/lib/unstable-services/searchdb_v1alpha1.js.map +1 -0
  467. package/lib/unstable-services/secret_manager_v1beta1.d.ts +407 -0
  468. package/lib/unstable-services/secret_manager_v1beta1.d.ts.map +1 -0
  469. package/lib/unstable-services/secret_manager_v1beta1.js +32 -0
  470. package/lib/unstable-services/secret_manager_v1beta1.js.map +1 -0
  471. package/lib/unstable-services/serverless_jobs_v1alpha1.d.ts +331 -0
  472. package/lib/unstable-services/serverless_jobs_v1alpha1.d.ts.map +1 -0
  473. package/lib/unstable-services/serverless_jobs_v1alpha1.js +28 -0
  474. package/lib/unstable-services/serverless_jobs_v1alpha1.js.map +1 -0
  475. package/lib/unstable-services/serverless_jobs_v1alpha2.d.ts +546 -0
  476. package/lib/unstable-services/serverless_jobs_v1alpha2.d.ts.map +1 -0
  477. package/lib/unstable-services/serverless_jobs_v1alpha2.js +35 -0
  478. package/lib/unstable-services/serverless_jobs_v1alpha2.js.map +1 -0
  479. package/lib/unstable-services/serverless_sqldb_v1alpha1.d.ts +239 -0
  480. package/lib/unstable-services/serverless_sqldb_v1alpha1.d.ts.map +1 -0
  481. package/lib/unstable-services/serverless_sqldb_v1alpha1.js +2 -0
  482. package/lib/unstable-services/serverless_sqldb_v1alpha1.js.map +1 -0
  483. package/lib/unstable-services/transactional_email_v1alpha1.d.ts +936 -0
  484. package/lib/unstable-services/transactional_email_v1alpha1.d.ts.map +1 -0
  485. package/lib/unstable-services/transactional_email_v1alpha1.js +46 -0
  486. package/lib/unstable-services/transactional_email_v1alpha1.js.map +1 -0
  487. package/lib/unstable-services.lazy/apple_silicon_private_network_v1alpha1.js +1 -0
  488. package/lib/unstable-services.lazy/apple_silicon_v1alpha1.js +3 -0
  489. package/lib/unstable-services.lazy/audit_trail_v1alpha1.js +3 -0
  490. package/lib/unstable-services.lazy/autoscaling_v1alpha2.js +1 -0
  491. package/lib/unstable-services.lazy/billing_fin_ops_v2beta1.js +1 -0
  492. package/lib/unstable-services.lazy/billing_v2beta1.js +3 -0
  493. package/lib/unstable-services.lazy/block_v1alpha1.js +3 -0
  494. package/lib/unstable-services.lazy/data_orchestrator_v1alpha2.js +3 -0
  495. package/lib/unstable-services.lazy/datalab_v1beta1.js +1 -0
  496. package/lib/unstable-services.lazy/dataviz_v1alpha1.js +3 -0
  497. package/lib/unstable-services.lazy/datawarehouse_v1beta1.js +3 -0
  498. package/lib/unstable-services.lazy/domain_registrar_v2beta1.js +3 -0
  499. package/lib/unstable-services.lazy/domain_suggestion_v2beta1.js +1 -0
  500. package/lib/unstable-services.lazy/domain_v2beta1.js +3 -0
  501. package/lib/unstable-services.lazy/edge_services_v1beta1.js +3 -0
  502. package/lib/unstable-services.lazy/environmental_footprint_user_v1alpha1.js +1 -0
  503. package/lib/unstable-services.lazy/file_v1alpha1.js +3 -0
  504. package/lib/unstable-services.lazy/flexible_ip_v1alpha1.js +1 -0
  505. package/lib/unstable-services.lazy/functions_v1beta1.js +3 -0
  506. package/lib/unstable-services.lazy/iam_unauthenticated_v1alpha1.js +1 -0
  507. package/lib/unstable-services.lazy/iam_v1alpha1.js +3 -0
  508. package/lib/unstable-services.lazy/index.js +3 -0
  509. package/lib/unstable-services.lazy/instance_v2alpha1.js +3 -0
  510. package/lib/unstable-services.lazy/instance_volume_v2alpha1.js +3 -0
  511. package/lib/unstable-services.lazy/interlink_v1beta1.js +3 -0
  512. package/lib/unstable-services.lazy/kafka_v1alpha1.js +3 -0
  513. package/lib/unstable-services.lazy/key_manager_v1alpha1.js +3 -0
  514. package/lib/unstable-services.lazy/mailbox_v1alpha1.js +3 -0
  515. package/lib/unstable-services.lazy/messageq_v1alpha1.js +3 -0
  516. package/lib/unstable-services.lazy/mnq_console_v1beta1.js +1 -0
  517. package/lib/unstable-services.lazy/mnq_nats_v1beta1.js +1 -0
  518. package/lib/unstable-services.lazy/mnq_sns_v1beta1.js +1 -0
  519. package/lib/unstable-services.lazy/mnq_sqs_v1beta1.js +1 -0
  520. package/lib/unstable-services.lazy/mongodb_v1alpha1.js +3 -0
  521. package/lib/unstable-services.lazy/product_catalog_public_catalog_v2alpha1.js +1 -0
  522. package/lib/unstable-services.lazy/qaas_v1alpha1.js +3 -0
  523. package/lib/unstable-services.lazy/s2s_vpn_v1alpha1.js +3 -0
  524. package/lib/unstable-services.lazy/search_v1alpha1.js +1 -0
  525. package/lib/unstable-services.lazy/searchdb_v1alpha1.js +3 -0
  526. package/lib/unstable-services.lazy/secret_manager_v1beta1.js +3 -0
  527. package/lib/unstable-services.lazy/serverless_jobs_v1alpha1.js +3 -0
  528. package/lib/unstable-services.lazy/serverless_jobs_v1alpha2.js +3 -0
  529. package/lib/unstable-services.lazy/serverless_sqldb_v1alpha1.js +1 -0
  530. package/lib/unstable-services.lazy/transactional_email_v1alpha1.js +3 -0
  531. package/package.json +89 -2
  532. package/src/credentials.ts +104 -0
  533. package/src/errors.ts +307 -0
  534. package/src/index.ts +52 -0
  535. package/src/pagination.ts +65 -0
  536. package/src/protocol.ts +496 -0
  537. package/src/retry.ts +47 -0
  538. package/src/services/account_contract_v3.ts +441 -0
  539. package/src/services/account_iso_code_v3.ts +165 -0
  540. package/src/services/account_organization_v3.ts +947 -0
  541. package/src/services/account_project_v3.ts +530 -0
  542. package/src/services/account_unauthenticated_user_v3.ts +1445 -0
  543. package/src/services/account_unauthenticated_v3.ts +92 -0
  544. package/src/services/account_user_v3.ts +1657 -0
  545. package/src/services/annotations_v1.ts +897 -0
  546. package/src/services/baremetal_private_network_v1.ts +327 -0
  547. package/src/services/baremetal_private_network_v3.ts +376 -0
  548. package/src/services/baremetal_v1.ts +3072 -0
  549. package/src/services/billing_electronic_billing_v2.ts +323 -0
  550. package/src/services/billing_v2.ts +662 -0
  551. package/src/services/block_v1.ts +1282 -0
  552. package/src/services/cockpit_global_v1.ts +282 -0
  553. package/src/services/cockpit_regional_v1.ts +2177 -0
  554. package/src/services/containers_v1.ts +2110 -0
  555. package/src/services/dedibox_billing_v1.ts +621 -0
  556. package/src/services/dedibox_ipv6_block_v1.ts +468 -0
  557. package/src/services/dedibox_rpn_san_v1.ts +1185 -0
  558. package/src/services/dedibox_rpn_v1.ts +207 -0
  559. package/src/services/dedibox_rpn_v1_v1.ts +1763 -0
  560. package/src/services/dedibox_rpn_v2_v1.ts +1654 -0
  561. package/src/services/dedibox_v1.ts +3765 -0
  562. package/src/services/generative_apis_openai_v1.ts +1692 -0
  563. package/src/services/generative_apis_v1.ts +251 -0
  564. package/src/services/index.ts +57 -0
  565. package/src/services/inference_v1.ts +1353 -0
  566. package/src/services/instance_v1.ts +6611 -0
  567. package/src/services/iot_v1.ts +2419 -0
  568. package/src/services/ipam_v1.ts +716 -0
  569. package/src/services/k8s_v1.ts +3108 -0
  570. package/src/services/lb_zoned_v1.ts +4533 -0
  571. package/src/services/marketplace_console_v2.ts +198 -0
  572. package/src/services/marketplace_v2.ts +625 -0
  573. package/src/services/mongodb_v1.ts +2104 -0
  574. package/src/services/partner_v1.ts +462 -0
  575. package/src/services/rdb_encryption_v1.ts +83 -0
  576. package/src/services/rdb_v1.ts +4211 -0
  577. package/src/services/redis_v1.ts +1918 -0
  578. package/src/services/registry_v1.ts +863 -0
  579. package/src/services/reseller_v1.ts +258 -0
  580. package/src/services/vpc_gw_v2.ts +2137 -0
  581. package/src/services/vpc_private_network_with_nics_v2.ts +311 -0
  582. package/src/services/vpc_routes_with_nexthop_v2.ts +226 -0
  583. package/src/services/vpc_v2.ts +2533 -0
  584. package/src/services/webhosting_backup_v1.ts +578 -0
  585. package/src/services/webhosting_control_panel_v1.ts +130 -0
  586. package/src/services/webhosting_database_v1.ts +682 -0
  587. package/src/services/webhosting_dedibox_v1.ts +480 -0
  588. package/src/services/webhosting_dns_v1.ts +471 -0
  589. package/src/services/webhosting_free_domain_v1.ts +190 -0
  590. package/src/services/webhosting_ftp_account_v1.ts +280 -0
  591. package/src/services/webhosting_hosting_v1.ts +1309 -0
  592. package/src/services/webhosting_mail_account_v1.ts +291 -0
  593. package/src/services/webhosting_offer_v1.ts +289 -0
  594. package/src/services/webhosting_website_v1.ts +274 -0
  595. package/src/traits.ts +63 -0
  596. package/src/unstable-services/apple_silicon_private_network_v1alpha1.ts +395 -0
  597. package/src/unstable-services/apple_silicon_v1alpha1.ts +1685 -0
  598. package/src/unstable-services/audit_trail_v1alpha1.ts +3220 -0
  599. package/src/unstable-services/autoscaling_v1alpha2.ts +1103 -0
  600. package/src/unstable-services/billing_fin_ops_v2beta1.ts +195 -0
  601. package/src/unstable-services/billing_v2beta1.ts +1203 -0
  602. package/src/unstable-services/block_v1alpha1.ts +1239 -0
  603. package/src/unstable-services/data_orchestrator_v1alpha2.ts +1230 -0
  604. package/src/unstable-services/datalab_v1beta1.ts +852 -0
  605. package/src/unstable-services/dataviz_v1alpha1.ts +1478 -0
  606. package/src/unstable-services/datawarehouse_v1beta1.ts +1504 -0
  607. package/src/unstable-services/domain_registrar_v2beta1.ts +2979 -0
  608. package/src/unstable-services/domain_suggestion_v2beta1.ts +86 -0
  609. package/src/unstable-services/domain_v2beta1.ts +1794 -0
  610. package/src/unstable-services/edge_services_v1beta1.ts +3724 -0
  611. package/src/unstable-services/environmental_footprint_user_v1alpha1.ts +429 -0
  612. package/src/unstable-services/file_v1alpha1.ts +1016 -0
  613. package/src/unstable-services/flexible_ip_v1alpha1.ts +804 -0
  614. package/src/unstable-services/functions_v1beta1.ts +2410 -0
  615. package/src/unstable-services/iam_unauthenticated_v1alpha1.ts +863 -0
  616. package/src/unstable-services/iam_v1alpha1.ts +4919 -0
  617. package/src/unstable-services/index.ts +44 -0
  618. package/src/unstable-services/instance_v2alpha1.ts +5395 -0
  619. package/src/unstable-services/instance_volume_v2alpha1.ts +1111 -0
  620. package/src/unstable-services/interlink_v1beta1.ts +1791 -0
  621. package/src/unstable-services/kafka_v1alpha1.ts +1275 -0
  622. package/src/unstable-services/key_manager_v1alpha1.ts +1618 -0
  623. package/src/unstable-services/mailbox_v1alpha1.ts +1561 -0
  624. package/src/unstable-services/messageq_v1alpha1.ts +1266 -0
  625. package/src/unstable-services/mnq_console_v1beta1.ts +111 -0
  626. package/src/unstable-services/mnq_nats_v1beta1.ts +608 -0
  627. package/src/unstable-services/mnq_sns_v1beta1.ts +523 -0
  628. package/src/unstable-services/mnq_sqs_v1beta1.ts +523 -0
  629. package/src/unstable-services/mongodb_v1alpha1.ts +1789 -0
  630. package/src/unstable-services/product_catalog_public_catalog_v2alpha1.ts +1113 -0
  631. package/src/unstable-services/qaas_v1alpha1.ts +2404 -0
  632. package/src/unstable-services/s2s_vpn_v1alpha1.ts +2173 -0
  633. package/src/unstable-services/search_v1alpha1.ts +349 -0
  634. package/src/unstable-services/searchdb_v1alpha1.ts +1273 -0
  635. package/src/unstable-services/secret_manager_v1beta1.ts +1255 -0
  636. package/src/unstable-services/serverless_jobs_v1alpha1.ts +1017 -0
  637. package/src/unstable-services/serverless_jobs_v1alpha2.ts +1516 -0
  638. package/src/unstable-services/serverless_sqldb_v1alpha1.ts +747 -0
  639. package/src/unstable-services/transactional_email_v1alpha1.ts +2495 -0
@@ -0,0 +1,2183 @@
1
+ import * as API from "@distilled.cloud/core/api";
2
+ import type * as Redacted from "effect/Redacted";
3
+ import { type ScalewayOpError, type ScalewayOpContext } from "../protocol.ts";
4
+ export type { ScalewayOpError, ScalewayOpContext };
5
+ export type AttachServerFileSystemRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
6
+ export interface AttachServerFileSystemRequest {
7
+ /** The zone you want to target */
8
+ zone?: AttachServerFileSystemRequestZone | (string & {}) | undefined;
9
+ server_id: string;
10
+ filesystem_id?: string | undefined;
11
+ }
12
+ export type ServerActionEnum = "poweron" | "backup" | "stop_in_place" | "poweroff" | "terminate" | "reboot" | "enable_routed_ip";
13
+ /** List of allowed actions on the Instance. */
14
+ export type ServerAllowedActionsList = Array<ServerActionEnum>;
15
+ /** Tags associated with the Instance. */
16
+ export type ServerTagsList = Array<string>;
17
+ export type Arch = "unknown_arch" | "x86_64" | "arm" | "arm64";
18
+ export interface Bootscript {
19
+ architecture?: Arch | (string & {}) | undefined;
20
+ bootcmdargs?: string | undefined;
21
+ default?: boolean | undefined;
22
+ dtb?: string | undefined;
23
+ id?: string | undefined;
24
+ initrd?: string | undefined;
25
+ kernel?: string | undefined;
26
+ organization?: string | undefined;
27
+ public?: boolean | undefined;
28
+ title?: string | undefined;
29
+ project?: string | undefined;
30
+ /** The zone you want to target */
31
+ zone?: string | undefined;
32
+ }
33
+ export type VolumeVolumeType = "l_ssd" | "b_ssd" | "unified" | "scratch" | "sbs_volume" | "sbs_snapshot";
34
+ /** Volume tags. */
35
+ export type VolumeTagsList = Array<string>;
36
+ export interface ServerSummary {
37
+ id?: string | undefined;
38
+ name?: string | undefined;
39
+ }
40
+ export type VolumeState = "available" | "snapshotting" | "fetching" | "saving" | "attaching" | "resizing" | "hotsyncing" | "error";
41
+ export interface Volume {
42
+ /** Volume unique ID. */
43
+ id?: string | undefined;
44
+ /** Volume name. */
45
+ name?: string | undefined;
46
+ /** Show the volume NBD export URI (deprecated, will always be empty). */
47
+ export_uri?: string | undefined;
48
+ /** Volume disk size. (in bytes) */
49
+ size?: number | undefined;
50
+ /** Volume type. */
51
+ volume_type?: VolumeVolumeType | (string & {}) | undefined;
52
+ /** Volume creation date. (RFC 3339 format) */
53
+ creation_date?: string | null | undefined;
54
+ /** Volume modification date. (RFC 3339 format) */
55
+ modification_date?: string | null | undefined;
56
+ /** Volume Organization ID. */
57
+ organization?: string | undefined;
58
+ /** Volume Project ID. */
59
+ project?: string | undefined;
60
+ /** Volume tags. */
61
+ tags?: VolumeTagsList | undefined;
62
+ /** Instance attached to the volume. */
63
+ server?: ServerSummary | undefined;
64
+ /** Volume state. */
65
+ state?: VolumeState | (string & {}) | undefined;
66
+ /** Zone in which the volume is located. */
67
+ zone?: string | undefined;
68
+ }
69
+ export type ImageExtraVolumesMap = {
70
+ [key: string]: Volume | undefined;
71
+ };
72
+ export interface VolumeSummary {
73
+ id?: string | undefined;
74
+ name?: string | undefined;
75
+ /** (in bytes) */
76
+ size?: number | undefined;
77
+ volume_type?: VolumeVolumeType | (string & {}) | undefined;
78
+ }
79
+ export type ImageState = "available" | "creating" | "error";
80
+ export type ImageTagsList = Array<string>;
81
+ export interface Image {
82
+ id?: string | undefined;
83
+ name?: string | undefined;
84
+ arch?: Arch | undefined;
85
+ /** (RFC 3339 format) */
86
+ creation_date?: string | null | undefined;
87
+ /** (RFC 3339 format) */
88
+ modification_date?: string | null | undefined;
89
+ default_bootscript?: Bootscript | undefined;
90
+ extra_volumes?: ImageExtraVolumesMap | undefined;
91
+ from_server?: string | undefined;
92
+ organization?: string | undefined;
93
+ public?: boolean | undefined;
94
+ root_volume?: VolumeSummary | undefined;
95
+ state?: ImageState | undefined;
96
+ project?: string | undefined;
97
+ tags?: ImageTagsList | undefined;
98
+ /** The zone you want to target */
99
+ zone?: string | undefined;
100
+ }
101
+ export type ServerIpIpFamily = "inet" | "inet6";
102
+ export type ServerIpProvisioningMode = "manual" | "dhcp" | "slaac";
103
+ /** Tags associated with the IP. */
104
+ export type ServerIpTagsList = Array<string>;
105
+ export type ServerIpState = "unknown_state" | "detached" | "attached" | "pending" | "error";
106
+ export interface ServerIp {
107
+ /** Unique ID of the IP address. */
108
+ id?: string | undefined;
109
+ /** Instance's public IP-Address. (IP address) */
110
+ address?: string | undefined;
111
+ /** Gateway's IP address. (IP address) */
112
+ gateway?: string | undefined;
113
+ /** CIDR netmask. */
114
+ netmask?: string | undefined;
115
+ /** IP address family (inet or inet6). */
116
+ family?: ServerIpIpFamily | undefined;
117
+ /** True if the IP address is dynamic. */
118
+ dynamic?: boolean | undefined;
119
+ /** Information about this address provisioning mode. */
120
+ provisioning_mode?: ServerIpProvisioningMode | undefined;
121
+ /** Tags associated with the IP. */
122
+ tags?: ServerIpTagsList | undefined;
123
+ /** The ip_id of an IPAM ip if the ip is created from IPAM, null if not. (UUID format) */
124
+ ipam_id?: string | undefined;
125
+ /** IP address state. */
126
+ state?: ServerIpState | undefined;
127
+ }
128
+ /** Information about all the public IPs attached to the server. */
129
+ export type ServerPublicIpsList = Array<ServerIp>;
130
+ export type ServerState = "running" | "stopped" | "stopped in place" | "starting" | "stopping" | "locked";
131
+ export interface ServerLocation {
132
+ cluster_id?: string | undefined;
133
+ hypervisor_id?: string | undefined;
134
+ node_id?: string | undefined;
135
+ platform_id?: string | undefined;
136
+ zone_id?: string | undefined;
137
+ }
138
+ export interface ServerIpv6 {
139
+ /** Instance IPv6 IP-Address. (IPv6 address) */
140
+ address?: string | undefined;
141
+ /** IPv6 IP-addresses gateway. (IPv6 address) */
142
+ gateway?: string | undefined;
143
+ /** IPv6 IP-addresses CIDR netmask. */
144
+ netmask?: string | undefined;
145
+ }
146
+ export type BootType = "local" | "bootscript" | "rescue";
147
+ export type VolumeServerVolumeType = "l_ssd" | "b_ssd" | "sbs_volume" | "scratch";
148
+ export type VolumeServerState = "available" | "snapshotting" | "resizing" | "fetching" | "saving" | "hotsyncing" | "attaching" | "error";
149
+ export interface VolumeServer {
150
+ id?: string | undefined;
151
+ name?: string | null | undefined;
152
+ export_uri?: string | null | undefined;
153
+ organization?: string | null | undefined;
154
+ server?: ServerSummary | undefined;
155
+ /** (in bytes) */
156
+ size?: number | null | undefined;
157
+ volume_type?: VolumeServerVolumeType | undefined;
158
+ /** (RFC 3339 format) */
159
+ creation_date?: string | null | undefined;
160
+ /** (RFC 3339 format) */
161
+ modification_date?: string | null | undefined;
162
+ state?: VolumeServerState | undefined;
163
+ project?: string | null | undefined;
164
+ boot?: boolean | undefined;
165
+ /** The zone you want to target */
166
+ zone?: string | undefined;
167
+ }
168
+ /** Instance volumes. */
169
+ export type ServerVolumesMap = {
170
+ [key: string]: VolumeServer | undefined;
171
+ };
172
+ export type SecurityGroupSummary = ServerSummary;
173
+ export interface ServerMaintenance {
174
+ reason?: string | undefined;
175
+ /** (RFC 3339 format) */
176
+ start_date?: string | null | undefined;
177
+ }
178
+ /** Instance planned maintenance. */
179
+ export type ServerMaintenancesList = Array<ServerMaintenance>;
180
+ /** Placement group tags. */
181
+ export type PlacementGroupTagsList = Array<string>;
182
+ export type PlacementGroupPolicyMode = "optional" | "enforced";
183
+ export type PlacementGroupPolicyType = "max_availability" | "low_latency";
184
+ export interface PlacementGroup {
185
+ /** Placement group unique ID. */
186
+ id?: string | undefined;
187
+ /** Placement group name. */
188
+ name?: string | undefined;
189
+ /** Placement group Organization ID. */
190
+ organization?: string | undefined;
191
+ /** Placement group Project ID. */
192
+ project?: string | undefined;
193
+ /** Placement group tags. */
194
+ tags?: PlacementGroupTagsList | undefined;
195
+ /** Select the failure mode when the placement cannot be respected, either optional or enforced. */
196
+ policy_mode?: PlacementGroupPolicyMode | undefined;
197
+ /** Select the behavior of the placement group, either low_latency (group) or max_availability (spread). */
198
+ policy_type?: PlacementGroupPolicyType | undefined;
199
+ /** True if the policy is respected, false otherwise. In the server endpoints the value is always false as it is deprecated. In the placement group endpoints the value is correct. */
200
+ policy_respected?: boolean | undefined;
201
+ /** Zone in which the placement group is located. */
202
+ zone?: string | undefined;
203
+ }
204
+ export type PrivateNICState = "available" | "syncing" | "syncing_error";
205
+ /** Private NIC tags. */
206
+ export type PrivateNICTagsList = Array<string>;
207
+ /** The list of IPAM IPs associated with this private NIC. (UUID format) */
208
+ export type PrivateNICIpamIpIdsList = Array<string>;
209
+ export interface PrivateNIC {
210
+ /** Private NIC unique ID. */
211
+ id?: string | undefined;
212
+ /** Instance to which the private NIC is attached. */
213
+ server_id?: string | undefined;
214
+ /** Private Network the private NIC is attached to. */
215
+ private_network_id?: string | undefined;
216
+ /** Private NIC MAC address. */
217
+ mac_address?: string | undefined;
218
+ /** Private NIC state. */
219
+ state?: PrivateNICState | undefined;
220
+ /** Private NIC tags. */
221
+ tags?: PrivateNICTagsList | undefined;
222
+ /** Private NIC creation date. (RFC 3339 format) */
223
+ creation_date?: string | null | undefined;
224
+ /** The zone in which the Private NIC is located. */
225
+ zone?: string | undefined;
226
+ /** The list of IPAM IPs associated with this private NIC. (UUID format) */
227
+ ipam_ip_ids?: PrivateNICIpamIpIdsList | undefined;
228
+ }
229
+ /** Instance private NICs. */
230
+ export type ServerPrivateNicsList = Array<PrivateNIC>;
231
+ export type ServerFilesystemState = "unknown_state" | "attaching" | "available" | "detaching";
232
+ export interface ServerFilesystem {
233
+ /** (UUID format) */
234
+ filesystem_id?: string | undefined;
235
+ state?: ServerFilesystemState | undefined;
236
+ }
237
+ /** List of attached filesystems. */
238
+ export type ServerFilesystemsList = Array<ServerFilesystem>;
239
+ export interface Server {
240
+ /** Instance unique ID. */
241
+ id?: string | undefined;
242
+ /** Instance name. */
243
+ name?: string | undefined;
244
+ /** Instance Organization ID. */
245
+ organization?: string | undefined;
246
+ /** Instance Project ID. */
247
+ project?: string | undefined;
248
+ /** List of allowed actions on the Instance. */
249
+ allowed_actions?: ServerAllowedActionsList | undefined;
250
+ /** Tags associated with the Instance. */
251
+ tags?: ServerTagsList | undefined;
252
+ /** Instance commercial type (eg. GP1-M). */
253
+ commercial_type?: string | undefined;
254
+ /** Instance creation date. (RFC 3339 format) */
255
+ creation_date?: string | null | undefined;
256
+ /** True if a dynamic IPv4 is required. */
257
+ dynamic_ip_required?: boolean | undefined;
258
+ /** True to configure the instance so it uses the routed IP mode. Use of `routed_ip_enabled` as `False` is deprecated. */
259
+ routed_ip_enabled?: boolean | undefined;
260
+ /** True if IPv6 is enabled (deprecated and always `False` when `routed_ip_enabled` is `True`). */
261
+ enable_ipv6?: boolean | undefined;
262
+ /** Instance host name. */
263
+ hostname?: string | undefined;
264
+ /** Information about the Instance image. */
265
+ image?: Image | undefined;
266
+ /** Defines whether the Instance protection option is activated. */
267
+ protected?: boolean | undefined;
268
+ /** Private IP address of the Instance (deprecated and always `null` when `routed_ip_enabled` is `True`). */
269
+ private_ip?: string | null | undefined;
270
+ /** Information about the public IP (deprecated in favor of `public_ips`). */
271
+ public_ip?: ServerIp | undefined;
272
+ /** Information about all the public IPs attached to the server. */
273
+ public_ips?: ServerPublicIpsList | undefined;
274
+ /** The server's MAC address. */
275
+ mac_address?: string | undefined;
276
+ /** Instance modification date. (RFC 3339 format) */
277
+ modification_date?: string | null | undefined;
278
+ /** Instance state. */
279
+ state?: ServerState | undefined;
280
+ /** Instance location. */
281
+ location?: ServerLocation | undefined;
282
+ /** Instance IPv6 address (deprecated when `routed_ip_enabled` is `True`). */
283
+ ipv6?: ServerIpv6 | undefined;
284
+ /** Instance boot type. */
285
+ boot_type?: BootType | undefined;
286
+ /** Instance volumes. */
287
+ volumes?: ServerVolumesMap | undefined;
288
+ /** Instance security group. */
289
+ security_group?: ServerSummary | undefined;
290
+ /** Instance planned maintenance. */
291
+ maintenances?: ServerMaintenancesList | undefined;
292
+ /** Detailed information about the Instance state. */
293
+ state_detail?: string | undefined;
294
+ /** Instance architecture. */
295
+ arch?: Arch | undefined;
296
+ /** Instance placement group. */
297
+ placement_group?: PlacementGroup | undefined;
298
+ /** Instance private NICs. */
299
+ private_nics?: ServerPrivateNicsList | undefined;
300
+ /** Zone in which the Instance is located. */
301
+ zone?: string | undefined;
302
+ /** UUID of the SSH RSA key that will be used to encrypt the initial admin password for OS requiring it. Mandatory for Windows OS. The public_key value of this key is used to encrypt the admin password. When set to an empty string, reset this value and admin_password_encrypted_value to an empty string so a new password may be generated. */
303
+ admin_password_encryption_ssh_key_id?: string | null | undefined;
304
+ /** A base64 encoded string containing the admin password encrypted with the public key pointed to by admin_password_encryption_ssh_key_id. This value is reset when admin_password_encryption_ssh_key_id is set to an empty string. */
305
+ admin_password_encrypted_value?: string | Redacted.Redacted<string> | null | undefined;
306
+ /** List of attached filesystems. */
307
+ filesystems?: ServerFilesystemsList | undefined;
308
+ /** True if the Instance type has reached end of service. */
309
+ end_of_service?: boolean | undefined;
310
+ /** Public DNS of the server. */
311
+ dns?: string | null | undefined;
312
+ }
313
+ export interface AttachServerFileSystemResponse {
314
+ server?: Server | undefined;
315
+ }
316
+ export type AttachServerVolumeRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
317
+ export type AttachServerVolumeRequestVolumeType = "unknown_volume_type" | "l_ssd" | "b_ssd" | "sbs_volume";
318
+ export interface AttachServerVolumeRequest {
319
+ /** The zone you want to target */
320
+ zone?: AttachServerVolumeRequestZone | (string & {}) | undefined;
321
+ server_id: string;
322
+ volume_id?: string | undefined;
323
+ volume_type?: AttachServerVolumeRequestVolumeType | (string & {}) | undefined;
324
+ boot?: boolean | null | undefined;
325
+ }
326
+ export interface AttachServerVolumeResponse {
327
+ server?: Server | undefined;
328
+ }
329
+ export type CheckBlockMigrationOrganizationQuotasRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
330
+ export interface CheckBlockMigrationOrganizationQuotasRequest {
331
+ /** The zone you want to target */
332
+ zone?: CheckBlockMigrationOrganizationQuotasRequestZone | (string & {}) | undefined;
333
+ organization?: string | undefined;
334
+ }
335
+ export interface CheckBlockMigrationOrganizationQuotasResponse {
336
+ }
337
+ export type CreateImageRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
338
+ export interface VolumeTemplate {
339
+ /** UUID of the volume. */
340
+ id?: string | undefined;
341
+ /** Name of the volume. */
342
+ name?: string | undefined;
343
+ /** Disk size of the volume, must be a multiple of 512. (in bytes) */
344
+ size?: number | undefined;
345
+ /** Type of the volume. */
346
+ volume_type?: VolumeVolumeType | (string & {}) | undefined;
347
+ /** Organization ID of the volume. Precisely one of project, organization can be set. */
348
+ organization?: string | null | undefined;
349
+ /** Project ID of the volume. Precisely one of project, organization can be set. */
350
+ project?: string | null | undefined;
351
+ }
352
+ /** Additional volumes of the image. */
353
+ export type CreateImageRequestExtraVolumesMap = {
354
+ [key: string]: VolumeTemplate | undefined;
355
+ };
356
+ /** Tags of the image. */
357
+ export type CreateImageRequestTagsList = Array<string>;
358
+ export interface CreateImageRequest {
359
+ /** The zone you want to target */
360
+ zone?: CreateImageRequestZone | (string & {}) | undefined;
361
+ /** Name of the image. */
362
+ name?: string | undefined;
363
+ /** UUID of the snapshot. */
364
+ root_volume: string;
365
+ /** Architecture of the image. */
366
+ arch: Arch | (string & {});
367
+ /** Additional volumes of the image. */
368
+ extra_volumes?: CreateImageRequestExtraVolumesMap | undefined;
369
+ /** Organization ID of the image. Precisely one of project, organization can be set. */
370
+ organization?: string | null | undefined;
371
+ /** Project ID of the image. Precisely one of project, organization can be set. */
372
+ project?: string | null | undefined;
373
+ /** Tags of the image. */
374
+ tags?: CreateImageRequestTagsList | undefined;
375
+ /** True to create a public image. */
376
+ public?: boolean | null | undefined;
377
+ }
378
+ export interface CreateImageResponse {
379
+ image?: Image | undefined;
380
+ }
381
+ export type CreateIpRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
382
+ /** Tags of the IP. */
383
+ export type CreateIpRequestTagsList = Array<string>;
384
+ export type IpType = "unknown_iptype" | "routed_ipv4" | "routed_ipv6";
385
+ export interface CreateIpRequest {
386
+ /** The zone you want to target */
387
+ zone?: CreateIpRequestZone | (string & {}) | undefined;
388
+ /** Organization ID in which the IP is reserved. Precisely one of project, organization can be set. */
389
+ organization?: string | null | undefined;
390
+ /** Project ID in which the IP is reserved. Precisely one of project, organization can be set. */
391
+ project?: string | null | undefined;
392
+ /** Tags of the IP. */
393
+ tags?: CreateIpRequestTagsList | undefined;
394
+ /** UUID of the Instance you want to attach the IP to. */
395
+ server?: string | null | undefined;
396
+ /** IP type to reserve (either 'routed_ipv4' or 'routed_ipv6'). */
397
+ type?: IpType | (string & {}) | undefined;
398
+ }
399
+ export type IpTagsList = Array<string>;
400
+ export type IpState = "unknown_state" | "detached" | "attached" | "pending" | "error";
401
+ export interface Ip {
402
+ id?: string | undefined;
403
+ /** (IP address) */
404
+ address?: string | undefined;
405
+ reverse?: string | null | undefined;
406
+ server?: ServerSummary | undefined;
407
+ organization?: string | undefined;
408
+ tags?: IpTagsList | undefined;
409
+ project?: string | undefined;
410
+ type?: IpType | undefined;
411
+ state?: IpState | undefined;
412
+ /** (IP network) */
413
+ prefix?: string | undefined;
414
+ /** (UUID format) */
415
+ ipam_id?: string | undefined;
416
+ /** The zone you want to target */
417
+ zone?: string | undefined;
418
+ }
419
+ export interface CreateIpResponse {
420
+ ip?: Ip | undefined;
421
+ }
422
+ export type CreatePlacementGroupRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
423
+ /** Tags of the placement group. */
424
+ export type CreatePlacementGroupRequestTagsList = Array<string>;
425
+ export interface CreatePlacementGroupRequest {
426
+ /** The zone you want to target */
427
+ zone?: CreatePlacementGroupRequestZone | (string & {}) | undefined;
428
+ /** Name of the placement group. */
429
+ name?: string | undefined;
430
+ /** Organization ID of the placement group. Precisely one of project, organization can be set. */
431
+ organization?: string | null | undefined;
432
+ /** Project ID of the placement group. Precisely one of project, organization can be set. */
433
+ project?: string | null | undefined;
434
+ /** Tags of the placement group. */
435
+ tags?: CreatePlacementGroupRequestTagsList | undefined;
436
+ /** Operating mode of the placement group. */
437
+ policy_mode?: PlacementGroupPolicyMode | (string & {}) | undefined;
438
+ /** Policy type of the placement group. */
439
+ policy_type?: PlacementGroupPolicyType | (string & {}) | undefined;
440
+ }
441
+ export interface CreatePlacementGroupResponse {
442
+ placement_group?: PlacementGroup | undefined;
443
+ }
444
+ export type CreatePrivateNICRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
445
+ /** Private NIC tags. */
446
+ export type CreatePrivateNICRequestTagsList = Array<string>;
447
+ /** UUID of IPAM ips, to be attached to the instance in the requested private network. (UUID format) */
448
+ export type CreatePrivateNICRequestIpamIpIdsList = Array<string>;
449
+ export interface CreatePrivateNICRequest {
450
+ /** The zone you want to target */
451
+ zone?: CreatePrivateNICRequestZone | (string & {}) | undefined;
452
+ /** UUID of the Instance the private NIC will be attached to. */
453
+ server_id: string;
454
+ /** UUID of the private network where the private NIC will be attached. */
455
+ private_network_id: string;
456
+ /** Private NIC tags. */
457
+ tags?: CreatePrivateNICRequestTagsList | undefined;
458
+ /** UUID of IPAM ips, to be attached to the instance in the requested private network. (UUID format) */
459
+ ipam_ip_ids?: CreatePrivateNICRequestIpamIpIdsList | undefined;
460
+ }
461
+ export interface CreatePrivateNICResponse {
462
+ private_nic?: PrivateNIC | undefined;
463
+ }
464
+ export type CreateSecurityGroupRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
465
+ /** Tags of the security group. */
466
+ export type CreateSecurityGroupRequestTagsList = Array<string>;
467
+ export type SecurityGroupPolicy = "unknown_policy" | "accept" | "drop";
468
+ export interface CreateSecurityGroupRequest {
469
+ /** The zone you want to target */
470
+ zone?: CreateSecurityGroupRequestZone | (string & {}) | undefined;
471
+ /** Name of the security group. */
472
+ name: string;
473
+ /** Description of the security group. */
474
+ description?: string | undefined;
475
+ /** Organization ID the security group belongs to. Precisely one of project, organization can be set. */
476
+ organization?: string | null | undefined;
477
+ /** Project ID the security group belong to. Precisely one of project, organization can be set. */
478
+ project?: string | null | undefined;
479
+ /** Tags of the security group. */
480
+ tags?: CreateSecurityGroupRequestTagsList | undefined;
481
+ /** Defines whether this security group becomes the default security group for new Instances. Precisely one of organization_default, project_default can be set. */
482
+ organization_default?: boolean | null | undefined;
483
+ /** Whether this security group becomes the default security group for new Instances. Precisely one of organization_default, project_default can be set. */
484
+ project_default?: boolean | null | undefined;
485
+ /** Whether the security group is stateful or not. */
486
+ stateful?: boolean | undefined;
487
+ /** Default policy for inbound rules. */
488
+ inbound_default_policy?: SecurityGroupPolicy | (string & {}) | undefined;
489
+ /** Default policy for outbound rules. */
490
+ outbound_default_policy?: SecurityGroupPolicy | (string & {}) | undefined;
491
+ /** True to block SMTP on IPv4 and IPv6. This feature is read only, please open a support ticket if you need to make it configurable. */
492
+ enable_default_security?: boolean | null | undefined;
493
+ }
494
+ /** Security group tags. */
495
+ export type SecurityGroupTagsList = Array<string>;
496
+ /** List of Instances attached to this security group. */
497
+ export type SecurityGroupServersList = Array<ServerSummary>;
498
+ export type SecurityGroupState = "available" | "syncing" | "syncing_error";
499
+ export interface SecurityGroup {
500
+ /** Security group unique ID. */
501
+ id?: string | undefined;
502
+ /** Security group name. */
503
+ name?: string | undefined;
504
+ /** Security group description. */
505
+ description?: string | undefined;
506
+ /** True if SMTP is blocked on IPv4 and IPv6. This feature is read only, please open a support ticket if you need to make it configurable. */
507
+ enable_default_security?: boolean | undefined;
508
+ /** Default inbound policy. */
509
+ inbound_default_policy?: SecurityGroupPolicy | undefined;
510
+ /** Default outbound policy. */
511
+ outbound_default_policy?: SecurityGroupPolicy | undefined;
512
+ /** Security group Organization ID. */
513
+ organization?: string | undefined;
514
+ /** Security group Project ID. */
515
+ project?: string | undefined;
516
+ /** Security group tags. */
517
+ tags?: SecurityGroupTagsList | undefined;
518
+ /** True if it is your default security group for this Organization ID. */
519
+ organization_default?: boolean | undefined;
520
+ /** True if it is your default security group for this Project ID. */
521
+ project_default?: boolean | undefined;
522
+ /** Security group creation date. (RFC 3339 format) */
523
+ creation_date?: string | null | undefined;
524
+ /** Security group modification date. (RFC 3339 format) */
525
+ modification_date?: string | null | undefined;
526
+ /** List of Instances attached to this security group. */
527
+ servers?: SecurityGroupServersList | undefined;
528
+ /** Defines whether the security group is stateful. */
529
+ stateful?: boolean | undefined;
530
+ /** The state of the security group. Set to `syncing` (until the changes. Are applied) when the security group is updated (e.g., rules added, modified, or deleted) or when it is attached to or detached from a server's public network interface. */
531
+ state?: SecurityGroupState | undefined;
532
+ /** Zone in which the security group is located. */
533
+ zone?: string | undefined;
534
+ }
535
+ export interface CreateSecurityGroupResponse {
536
+ security_group?: SecurityGroup | undefined;
537
+ }
538
+ export type CreateSecurityGroupRuleRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
539
+ export type SecurityGroupRuleProtocol = "unknown_protocol" | "TCP" | "UDP" | "ICMP" | "ANY";
540
+ export type SecurityGroupRuleDirection = "unknown_direction" | "inbound" | "outbound";
541
+ export type SecurityGroupRuleAction = "unknown_action" | "accept" | "drop";
542
+ export interface CreateSecurityGroupRuleRequest {
543
+ /** The zone you want to target */
544
+ zone?: CreateSecurityGroupRuleRequestZone | (string & {}) | undefined;
545
+ /** UUID of the security group. */
546
+ security_group_id: string;
547
+ protocol: SecurityGroupRuleProtocol | (string & {});
548
+ direction: SecurityGroupRuleDirection | (string & {});
549
+ action: SecurityGroupRuleAction | (string & {});
550
+ /** (IP network) */
551
+ ip_range: string;
552
+ /** Beginning of the range of ports to apply this rule to (inclusive). */
553
+ dest_port_from?: number | null | undefined;
554
+ /** End of the range of ports to apply this rule to (inclusive). */
555
+ dest_port_to?: number | null | undefined;
556
+ /** Position of this rule in the security group rules list. */
557
+ position?: number | undefined;
558
+ /** Indicates if this rule is editable (will be ignored). */
559
+ editable?: boolean | undefined;
560
+ }
561
+ export interface SecurityGroupRule {
562
+ id?: string | undefined;
563
+ protocol?: SecurityGroupRuleProtocol | undefined;
564
+ direction?: SecurityGroupRuleDirection | undefined;
565
+ action?: SecurityGroupRuleAction | undefined;
566
+ /** (IP network) */
567
+ ip_range?: string | undefined;
568
+ dest_port_from?: number | null | undefined;
569
+ dest_port_to?: number | null | undefined;
570
+ position?: number | undefined;
571
+ editable?: boolean | undefined;
572
+ /** The zone you want to target */
573
+ zone?: string | undefined;
574
+ }
575
+ export interface CreateSecurityGroupRuleResponse {
576
+ rule?: SecurityGroupRule | undefined;
577
+ }
578
+ export type CreateServerRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
579
+ export interface VolumeServerTemplate {
580
+ /** UUID of the volume. */
581
+ id?: string | null | undefined;
582
+ /** Force the Instance to boot on this volume. */
583
+ boot?: boolean | null | undefined;
584
+ /** Name of the volume. */
585
+ name?: string | null | undefined;
586
+ /** Disk size of the volume, must be a multiple of 512. (in bytes) */
587
+ size?: number | null | undefined;
588
+ /** Type of the volume. */
589
+ volume_type?: VolumeVolumeType | (string & {}) | undefined;
590
+ /** ID of the snapshot on which this volume will be based. */
591
+ base_snapshot?: string | null | undefined;
592
+ /** Organization ID of the volume. */
593
+ organization?: string | null | undefined;
594
+ /** Project ID of the volume. */
595
+ project?: string | null | undefined;
596
+ }
597
+ /** Volumes attached to the server. */
598
+ export type CreateServerRequestVolumesMap = {
599
+ [key: string]: VolumeServerTemplate | undefined;
600
+ };
601
+ /** A list of reserved IP IDs to attach to the Instance. */
602
+ export type CreateServerRequestPublicIpsList = Array<unknown>;
603
+ /** Instance tags. */
604
+ export type CreateServerRequestTagsList = Array<string>;
605
+ export interface CreateServerRequest {
606
+ /** The zone you want to target */
607
+ zone?: CreateServerRequestZone | (string & {}) | undefined;
608
+ /** Instance name. */
609
+ name: string;
610
+ /** Define if a dynamic IPv4 is required for the Instance. By default, `dynamic_ip_required` is true, a dynamic ip is attached to the instance (if no flexible ip is already attached). */
611
+ dynamic_ip_required?: boolean | null | undefined;
612
+ /** If true, configure the Instance so it uses the new routed IP mode. */
613
+ routed_ip_enabled?: boolean | null | undefined;
614
+ /** Define the Instance commercial type (i.e. GP1-S). */
615
+ commercial_type: string;
616
+ /** Instance image ID or label. When an image label is used, it will be converted to the latest image available on the Marketplace. By default, the selected local image will be the `instance_sbs` local image. If an `l_ssd` volume is specified in the volumes argument, an `instance_local` local image will be selected instead. */
617
+ image?: string | null | undefined;
618
+ /** Volumes attached to the server. */
619
+ volumes?: CreateServerRequestVolumesMap | undefined;
620
+ /** True if IPv6 is enabled on the server (deprecated and always `False` when `routed_ip_enabled` is `True`). */
621
+ enable_ipv6?: boolean | undefined;
622
+ /** ID of the reserved IP to attach to the Instance. */
623
+ public_ip?: string | null | undefined;
624
+ /** A list of reserved IP IDs to attach to the Instance. */
625
+ public_ips?: CreateServerRequestPublicIpsList | null | undefined;
626
+ /** Boot type to use. */
627
+ boot_type?: BootType | (string & {}) | undefined;
628
+ /** Instance Organization ID. Precisely one of project, organization can be set. */
629
+ organization?: string | null | undefined;
630
+ /** Instance Project ID. Precisely one of project, organization can be set. */
631
+ project?: string | null | undefined;
632
+ /** Instance tags. */
633
+ tags?: CreateServerRequestTagsList | undefined;
634
+ /** Security group ID. */
635
+ security_group?: string | null | undefined;
636
+ /** Placement group ID if Instance must be part of a placement group. */
637
+ placement_group?: string | null | undefined;
638
+ /** UUID of the SSH RSA key that will be used to encrypt the initial admin password for OS requiring it. Mandatory for Windows OS. The public_key value of this key is used to encrypt the admin password. */
639
+ admin_password_encryption_ssh_key_id?: string | null | undefined;
640
+ /** True to activate server protection option. */
641
+ protected?: boolean | undefined;
642
+ }
643
+ export interface CreateServerResponse {
644
+ server?: Server | undefined;
645
+ }
646
+ export type CreateSnapshotRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
647
+ /** Tags of the snapshot. */
648
+ export type CreateSnapshotRequestTagsList = Array<unknown>;
649
+ export type SnapshotVolumeType = "unknown_volume_type" | "l_ssd" | "b_ssd" | "unified";
650
+ export interface CreateSnapshotRequest {
651
+ /** The zone you want to target */
652
+ zone?: CreateSnapshotRequestZone | (string & {}) | undefined;
653
+ /** Name of the snapshot. */
654
+ name?: string | undefined;
655
+ /** UUID of the volume. */
656
+ volume_id?: string | null | undefined;
657
+ /** Tags of the snapshot. */
658
+ tags?: CreateSnapshotRequestTagsList | null | undefined;
659
+ /** Organization ID of the snapshot. Precisely one of project, organization can be set. */
660
+ organization?: string | null | undefined;
661
+ /** Project ID of the snapshot. Precisely one of project, organization can be set. */
662
+ project?: string | null | undefined;
663
+ /** Volume type of the snapshot. Overrides the volume_type of the snapshot. If omitted, the volume type of the original volume will be used. */
664
+ volume_type?: SnapshotVolumeType | (string & {}) | undefined;
665
+ /** Bucket name for snapshot imports. */
666
+ bucket?: string | null | undefined;
667
+ /** Object key for snapshot imports. */
668
+ key?: string | null | undefined;
669
+ /** Imported snapshot size, must be a multiple of 512. (in bytes) */
670
+ size?: number | null | undefined;
671
+ }
672
+ /** Snapshot tags. */
673
+ export type SnapshotTagsList = Array<string>;
674
+ export type SnapshotState = "available" | "snapshotting" | "error" | "invalid_data" | "importing" | "exporting";
675
+ export interface SnapshotBaseVolume {
676
+ /** Volume ID on which the snapshot is based. */
677
+ id?: string | undefined;
678
+ /** Volume name on which the snapshot is based on. */
679
+ name?: string | undefined;
680
+ }
681
+ export interface Snapshot {
682
+ /** Snapshot ID. */
683
+ id?: string | undefined;
684
+ /** Snapshot name. */
685
+ name?: string | undefined;
686
+ /** Snapshot Organization ID. */
687
+ organization?: string | undefined;
688
+ /** Snapshot Project ID. */
689
+ project?: string | undefined;
690
+ /** Snapshot tags. */
691
+ tags?: SnapshotTagsList | undefined;
692
+ /** Snapshot volume type. */
693
+ volume_type?: VolumeVolumeType | undefined;
694
+ /** Snapshot size. (in bytes) */
695
+ size?: number | undefined;
696
+ /** Snapshot state. */
697
+ state?: SnapshotState | undefined;
698
+ /** Volume on which the snapshot is based on. */
699
+ base_volume?: SnapshotBaseVolume | undefined;
700
+ /** Snapshot creation date. (RFC 3339 format) */
701
+ creation_date?: string | null | undefined;
702
+ /** Snapshot modification date. (RFC 3339 format) */
703
+ modification_date?: string | null | undefined;
704
+ /** Snapshot zone. */
705
+ zone?: string | undefined;
706
+ /** Reason for the failed snapshot import. */
707
+ error_reason?: string | null | undefined;
708
+ }
709
+ export type TaskStatus = "pending" | "started" | "success" | "failure" | "retry";
710
+ export interface Task {
711
+ /** Unique ID of the task. */
712
+ id?: string | undefined;
713
+ /** Description of the task. */
714
+ description?: string | undefined;
715
+ /** Progress of the task in percent. */
716
+ progress?: number | undefined;
717
+ /** Task start date. (RFC 3339 format) */
718
+ started_at?: string | null | undefined;
719
+ /** Task end date. (RFC 3339 format) */
720
+ terminated_at?: string | null | undefined;
721
+ /** Task status. */
722
+ status?: TaskStatus | undefined;
723
+ href_from?: string | undefined;
724
+ /** Location of the resulting resource. */
725
+ href_result?: string | undefined;
726
+ /** Zone in which the task is executed. */
727
+ zone?: string | undefined;
728
+ }
729
+ export interface CreateSnapshotResponse {
730
+ snapshot?: Snapshot | undefined;
731
+ task?: Task | undefined;
732
+ }
733
+ export type CreateVolumeRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
734
+ /** Volume tags. */
735
+ export type CreateVolumeRequestTagsList = Array<string>;
736
+ export interface CreateVolumeRequest {
737
+ /** The zone you want to target */
738
+ zone?: CreateVolumeRequestZone | (string & {}) | undefined;
739
+ /** Volume name. */
740
+ name?: string | undefined;
741
+ /** Volume Organization ID. Precisely one of project, organization can be set. */
742
+ organization?: string | null | undefined;
743
+ /** Volume Project ID. Precisely one of project, organization can be set. */
744
+ project?: string | null | undefined;
745
+ /** Volume tags. */
746
+ tags?: CreateVolumeRequestTagsList | undefined;
747
+ /** Volume type. */
748
+ volume_type?: VolumeVolumeType | (string & {}) | undefined;
749
+ /** Volume disk size, must be a multiple of 512. (in bytes) Precisely one of size, base_snapshot can be set. */
750
+ size?: number | null | undefined;
751
+ /** ID of the snapshot on which this volume will be based. Precisely one of size, base_snapshot can be set. */
752
+ base_snapshot?: string | null | undefined;
753
+ }
754
+ export interface CreateVolumeResponse {
755
+ volume?: Volume | undefined;
756
+ }
757
+ export type DeleteImageRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
758
+ export interface DeleteImageRequest {
759
+ /** The zone you want to target */
760
+ zone?: DeleteImageRequestZone | (string & {}) | undefined;
761
+ /** UUID of the image you want to delete. */
762
+ image_id: string;
763
+ }
764
+ export interface DeleteImageResponse {
765
+ }
766
+ export type DeleteIpRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
767
+ export interface DeleteIpRequest {
768
+ /** The zone you want to target */
769
+ zone?: DeleteIpRequestZone | (string & {}) | undefined;
770
+ /** ID or address of the IP to delete. */
771
+ ip: string;
772
+ }
773
+ export interface DeleteIpResponse {
774
+ }
775
+ export type DeletePlacementGroupRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
776
+ export interface DeletePlacementGroupRequest {
777
+ /** The zone you want to target */
778
+ zone?: DeletePlacementGroupRequestZone | (string & {}) | undefined;
779
+ /** UUID of the placement group you want to delete. */
780
+ placement_group_id: string;
781
+ }
782
+ export interface DeletePlacementGroupResponse {
783
+ }
784
+ export type DeletePrivateNICRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
785
+ export interface DeletePrivateNICRequest {
786
+ /** The zone you want to target */
787
+ zone?: DeletePrivateNICRequestZone | (string & {}) | undefined;
788
+ /** Instance to which the private NIC is attached. */
789
+ server_id: string;
790
+ /** Private NIC unique ID. */
791
+ private_nic_id: string;
792
+ }
793
+ export interface DeletePrivateNICResponse {
794
+ }
795
+ export type DeleteSecurityGroupRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
796
+ export interface DeleteSecurityGroupRequest {
797
+ /** The zone you want to target */
798
+ zone?: DeleteSecurityGroupRequestZone | (string & {}) | undefined;
799
+ /** UUID of the security group you want to delete. */
800
+ security_group_id: string;
801
+ }
802
+ export interface DeleteSecurityGroupResponse {
803
+ }
804
+ export type DeleteSecurityGroupRuleRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
805
+ export interface DeleteSecurityGroupRuleRequest {
806
+ /** The zone you want to target */
807
+ zone?: DeleteSecurityGroupRuleRequestZone | (string & {}) | undefined;
808
+ security_group_id: string;
809
+ security_group_rule_id: string;
810
+ }
811
+ export interface DeleteSecurityGroupRuleResponse {
812
+ }
813
+ export type DeleteServerRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
814
+ export interface DeleteServerRequest {
815
+ /** The zone you want to target */
816
+ zone?: DeleteServerRequestZone | (string & {}) | undefined;
817
+ server_id: string;
818
+ }
819
+ export interface DeleteServerResponse {
820
+ }
821
+ export type DeleteServerUserDataRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
822
+ export interface DeleteServerUserDataRequest {
823
+ /** The zone you want to target */
824
+ zone?: DeleteServerUserDataRequestZone | (string & {}) | undefined;
825
+ /** UUID of the Instance. */
826
+ server_id: string;
827
+ /** Key of the user data to delete. */
828
+ key: string;
829
+ }
830
+ export interface DeleteServerUserDataResponse {
831
+ }
832
+ export type DeleteSnapshotRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
833
+ export interface DeleteSnapshotRequest {
834
+ /** The zone you want to target */
835
+ zone?: DeleteSnapshotRequestZone | (string & {}) | undefined;
836
+ /** UUID of the snapshot you want to delete. */
837
+ snapshot_id: string;
838
+ }
839
+ export interface DeleteSnapshotResponse {
840
+ }
841
+ export type DeleteVolumeRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
842
+ export interface DeleteVolumeRequest {
843
+ /** The zone you want to target */
844
+ zone?: DeleteVolumeRequestZone | (string & {}) | undefined;
845
+ /** UUID of the volume you want to delete. */
846
+ volume_id: string;
847
+ }
848
+ export interface DeleteVolumeResponse {
849
+ }
850
+ export type DetachServerFileSystemRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
851
+ export interface DetachServerFileSystemRequest {
852
+ /** The zone you want to target */
853
+ zone?: DetachServerFileSystemRequestZone | (string & {}) | undefined;
854
+ server_id: string;
855
+ filesystem_id?: string | undefined;
856
+ }
857
+ export interface DetachServerFileSystemResponse {
858
+ server?: Server | undefined;
859
+ }
860
+ export type DetachServerVolumeRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
861
+ export interface DetachServerVolumeRequest {
862
+ /** The zone you want to target */
863
+ zone?: DetachServerVolumeRequestZone | (string & {}) | undefined;
864
+ server_id: string;
865
+ volume_id?: string | undefined;
866
+ }
867
+ export interface DetachServerVolumeResponse {
868
+ server?: Server | undefined;
869
+ }
870
+ export type ExportSnapshotRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
871
+ export interface ExportSnapshotRequest {
872
+ /** The zone you want to target */
873
+ zone?: ExportSnapshotRequestZone | (string & {}) | undefined;
874
+ /** Snapshot ID. */
875
+ snapshot_id: string;
876
+ /** Object Storage bucket name. */
877
+ bucket?: string | undefined;
878
+ /** Object key. */
879
+ key?: string | undefined;
880
+ }
881
+ export interface ExportSnapshotResponse {
882
+ task?: Task | undefined;
883
+ }
884
+ export type GetDashboardRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
885
+ export interface GetDashboardRequest {
886
+ /** The zone you want to target */
887
+ zone?: GetDashboardRequestZone | (string & {}) | undefined;
888
+ organization?: string | undefined;
889
+ project?: string | undefined;
890
+ }
891
+ export type DashboardServersByTypesMap = {
892
+ [key: string]: number | undefined;
893
+ };
894
+ export interface Dashboard {
895
+ volumes_count?: number | undefined;
896
+ running_servers_count?: number | undefined;
897
+ servers_by_types?: DashboardServersByTypesMap | undefined;
898
+ images_count?: number | undefined;
899
+ snapshots_count?: number | undefined;
900
+ servers_count?: number | undefined;
901
+ security_groups_count?: number | undefined;
902
+ volumes_l_ssd_count?: number | undefined;
903
+ /** (in bytes) */
904
+ volumes_l_ssd_total_size?: number | undefined;
905
+ private_nics_count?: number | undefined;
906
+ placement_groups_count?: number | undefined;
907
+ volumes_scratch_count?: number | undefined;
908
+ volumes_b_ssd_count?: number | undefined;
909
+ /** (in bytes) */
910
+ volumes_b_ssd_total_size?: number | undefined;
911
+ }
912
+ export interface GetDashboardResponse {
913
+ dashboard?: Dashboard | undefined;
914
+ }
915
+ export type GetImageRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
916
+ export interface GetImageRequest {
917
+ /** The zone you want to target */
918
+ zone?: GetImageRequestZone | (string & {}) | undefined;
919
+ /** UUID of the image you want to get. */
920
+ image_id: string;
921
+ }
922
+ export interface GetImageResponse {
923
+ image?: Image | undefined;
924
+ }
925
+ export type GetIpRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
926
+ export interface GetIpRequest {
927
+ /** The zone you want to target */
928
+ zone?: GetIpRequestZone | (string & {}) | undefined;
929
+ /** IP ID or address to get. */
930
+ ip: string;
931
+ }
932
+ export interface GetIpResponse {
933
+ ip?: Ip | undefined;
934
+ }
935
+ export type GetPlacementGroupRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
936
+ export interface GetPlacementGroupRequest {
937
+ /** The zone you want to target */
938
+ zone?: GetPlacementGroupRequestZone | (string & {}) | undefined;
939
+ /** UUID of the placement group you want to get. */
940
+ placement_group_id: string;
941
+ }
942
+ export interface GetPlacementGroupResponse {
943
+ placement_group?: PlacementGroup | undefined;
944
+ }
945
+ export type GetPlacementGroupServersRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
946
+ export interface GetPlacementGroupServersRequest {
947
+ /** The zone you want to target */
948
+ zone?: GetPlacementGroupServersRequestZone | (string & {}) | undefined;
949
+ /** UUID of the placement group you want to get. */
950
+ placement_group_id: string;
951
+ }
952
+ export interface PlacementGroupServer {
953
+ /** Instance UUID. */
954
+ id?: string | undefined;
955
+ /** Instance name. */
956
+ name?: string | undefined;
957
+ /** Defines whether the placement group policy is respected (either 1 or 0). */
958
+ policy_respected?: boolean | undefined;
959
+ }
960
+ /** Instances attached to the placement group. */
961
+ export type GetPlacementGroupServersResponseServersList = Array<PlacementGroupServer>;
962
+ export interface GetPlacementGroupServersResponse {
963
+ /** Instances attached to the placement group. */
964
+ servers?: GetPlacementGroupServersResponseServersList | undefined;
965
+ }
966
+ export type GetPrivateNICRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
967
+ export interface GetPrivateNICRequest {
968
+ /** The zone you want to target */
969
+ zone?: GetPrivateNICRequestZone | (string & {}) | undefined;
970
+ /** Instance to which the private NIC is attached. */
971
+ server_id: string;
972
+ /** Private NIC unique ID. */
973
+ private_nic_id: string;
974
+ }
975
+ export interface GetPrivateNICResponse {
976
+ private_nic?: PrivateNIC | undefined;
977
+ }
978
+ export type GetSecurityGroupRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
979
+ export interface GetSecurityGroupRequest {
980
+ /** The zone you want to target */
981
+ zone?: GetSecurityGroupRequestZone | (string & {}) | undefined;
982
+ /** UUID of the security group you want to get. */
983
+ security_group_id: string;
984
+ }
985
+ export interface GetSecurityGroupResponse {
986
+ security_group?: SecurityGroup | undefined;
987
+ }
988
+ export type GetSecurityGroupRuleRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
989
+ export interface GetSecurityGroupRuleRequest {
990
+ /** The zone you want to target */
991
+ zone?: GetSecurityGroupRuleRequestZone | (string & {}) | undefined;
992
+ security_group_id: string;
993
+ security_group_rule_id: string;
994
+ }
995
+ export interface GetSecurityGroupRuleResponse {
996
+ rule?: SecurityGroupRule | undefined;
997
+ }
998
+ export type GetServerRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
999
+ export interface GetServerRequest {
1000
+ /** The zone you want to target */
1001
+ zone?: GetServerRequestZone | (string & {}) | undefined;
1002
+ /** UUID of the Instance you want to get. */
1003
+ server_id: string;
1004
+ }
1005
+ export interface GetServerResponse {
1006
+ server?: Server | undefined;
1007
+ }
1008
+ export type GetServerCompatibleTypesRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
1009
+ export interface GetServerCompatibleTypesRequest {
1010
+ /** The zone you want to target */
1011
+ zone?: GetServerCompatibleTypesRequestZone | (string & {}) | undefined;
1012
+ /** UUID of the Instance you want to get. */
1013
+ server_id: string;
1014
+ }
1015
+ /** Instance compatible types. */
1016
+ export type ServerCompatibleTypesCompatibleTypesList = Array<string>;
1017
+ export interface ServerCompatibleTypes {
1018
+ /** Instance compatible types. */
1019
+ compatible_types?: ServerCompatibleTypesCompatibleTypesList | undefined;
1020
+ }
1021
+ export type GetServerTypesAvailabilityRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
1022
+ export interface GetServerTypesAvailabilityRequest {
1023
+ /** The zone you want to target */
1024
+ zone?: GetServerTypesAvailabilityRequestZone | (string & {}) | undefined;
1025
+ /** A positive integer lower or equal to 100 to select the number of items to return. */
1026
+ per_page?: number | undefined;
1027
+ /** A positive integer to choose the page to return. */
1028
+ page?: number | undefined;
1029
+ }
1030
+ export type ServerTypesAvailability = "available" | "scarce" | "shortage";
1031
+ export interface GetServerTypesAvailabilityResponseAvailability {
1032
+ availability?: ServerTypesAvailability | undefined;
1033
+ }
1034
+ /** Map of server types. */
1035
+ export type GetServerTypesAvailabilityResponseServersMap = {
1036
+ [key: string]: GetServerTypesAvailabilityResponseAvailability | undefined;
1037
+ };
1038
+ export interface GetServerTypesAvailabilityResponse {
1039
+ /** Map of server types. */
1040
+ servers?: GetServerTypesAvailabilityResponseServersMap | undefined;
1041
+ }
1042
+ export type GetServerUserDataRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
1043
+ export interface GetServerUserDataRequest {
1044
+ /** The zone you want to target */
1045
+ zone?: GetServerUserDataRequestZone | (string & {}) | undefined;
1046
+ /** UUID of the Instance. */
1047
+ server_id: string;
1048
+ /** Key of the user data to get. */
1049
+ key: string;
1050
+ }
1051
+ export type GetServerUserDataResponse = string;
1052
+ export type GetSnapshotRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
1053
+ export interface GetSnapshotRequest {
1054
+ /** The zone you want to target */
1055
+ zone?: GetSnapshotRequestZone | (string & {}) | undefined;
1056
+ /** UUID of the snapshot you want to get. */
1057
+ snapshot_id: string;
1058
+ }
1059
+ export interface GetSnapshotResponse {
1060
+ snapshot?: Snapshot | undefined;
1061
+ }
1062
+ export type GetVolumeRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
1063
+ export interface GetVolumeRequest {
1064
+ /** The zone you want to target */
1065
+ zone?: GetVolumeRequestZone | (string & {}) | undefined;
1066
+ /** UUID of the volume you want to get. */
1067
+ volume_id: string;
1068
+ }
1069
+ export interface GetVolumeResponse {
1070
+ volume?: Volume | undefined;
1071
+ }
1072
+ export type ListDefaultSecurityGroupRulesRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
1073
+ export interface ListDefaultSecurityGroupRulesRequest {
1074
+ /** The zone you want to target */
1075
+ zone?: ListDefaultSecurityGroupRulesRequestZone | (string & {}) | undefined;
1076
+ }
1077
+ /** List of security rules. */
1078
+ export type ListSecurityGroupRulesResponseRulesList = Array<SecurityGroupRule>;
1079
+ export interface ListSecurityGroupRulesResponse {
1080
+ /** List of security rules. */
1081
+ rules: ListSecurityGroupRulesResponseRulesList;
1082
+ /** Total number of items, from the `X-Total-Count` response header. */
1083
+ total_count?: number | undefined;
1084
+ }
1085
+ export type ListImagesRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
1086
+ export interface ListImagesRequest {
1087
+ /** The zone you want to target */
1088
+ zone?: ListImagesRequestZone | (string & {}) | undefined;
1089
+ organization?: string | undefined;
1090
+ per_page?: number | undefined;
1091
+ page?: number | undefined;
1092
+ name?: string | undefined;
1093
+ public?: boolean | undefined;
1094
+ arch?: string | undefined;
1095
+ project?: string | undefined;
1096
+ tags?: string | undefined;
1097
+ }
1098
+ /** List of images. */
1099
+ export type ListImagesResponseImagesList = Array<Image>;
1100
+ export interface ListImagesResponse {
1101
+ /** List of images. */
1102
+ images: ListImagesResponseImagesList;
1103
+ /** Total number of items, from the `X-Total-Count` response header. */
1104
+ total_count?: number | undefined;
1105
+ }
1106
+ export type ListIpsRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
1107
+ export interface ListIpsRequest {
1108
+ /** The zone you want to target */
1109
+ zone?: ListIpsRequestZone | (string & {}) | undefined;
1110
+ /** Project ID in which the IPs are reserved. */
1111
+ project?: string | undefined;
1112
+ /** Organization ID in which the IPs are reserved. */
1113
+ organization?: string | undefined;
1114
+ /** Filter IPs with these exact tags (to filter with several tags, use commas to separate them). */
1115
+ tags?: string | undefined;
1116
+ /** Filter on the IP address (Works as a LIKE operation on the IP address). */
1117
+ name?: string | undefined;
1118
+ /** A positive integer lower or equal to 100 to select the number of items to return. */
1119
+ per_page?: number | undefined;
1120
+ /** A positive integer to choose the page to return. */
1121
+ page?: number | undefined;
1122
+ /** Filter on the IP Mobility IP type (whose value should be either 'routed_ipv4' or 'routed_ipv6'). */
1123
+ type?: string | undefined;
1124
+ /** Precisely one of server, detached can be set. */
1125
+ server?: string | undefined;
1126
+ /** Precisely one of server, detached can be set. */
1127
+ detached?: boolean | undefined;
1128
+ }
1129
+ /** List of ips. */
1130
+ export type ListIpsResponseIpsList = Array<Ip>;
1131
+ export interface ListIpsResponse {
1132
+ /** List of ips. */
1133
+ ips: ListIpsResponseIpsList;
1134
+ /** Total number of items, from the `X-Total-Count` response header. */
1135
+ total_count?: number | undefined;
1136
+ }
1137
+ export type ListPlacementGroupsRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
1138
+ export interface ListPlacementGroupsRequest {
1139
+ /** The zone you want to target */
1140
+ zone?: ListPlacementGroupsRequestZone | (string & {}) | undefined;
1141
+ /** A positive integer lower or equal to 100 to select the number of items to return. */
1142
+ per_page?: number | undefined;
1143
+ /** A positive integer to choose the page to return. */
1144
+ page?: number | undefined;
1145
+ /** List only placement groups of this Organization ID. */
1146
+ organization?: string | undefined;
1147
+ /** List only placement groups of this Project ID. */
1148
+ project?: string | undefined;
1149
+ /** List placement groups with these exact tags (to filter with several tags, use commas to separate them). */
1150
+ tags?: string | undefined;
1151
+ /** Filter placement groups by name (for eg. "cluster1" will return "cluster100" and "cluster1" but not "foo"). */
1152
+ name?: string | undefined;
1153
+ }
1154
+ /** List of placement groups. */
1155
+ export type ListPlacementGroupsResponsePlacementGroupsList = Array<PlacementGroup>;
1156
+ export interface ListPlacementGroupsResponse {
1157
+ /** List of placement groups. */
1158
+ placement_groups: ListPlacementGroupsResponsePlacementGroupsList;
1159
+ /** Total number of items, from the `X-Total-Count` response header. */
1160
+ total_count?: number | undefined;
1161
+ }
1162
+ export type ListPrivateNICsRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
1163
+ export interface ListPrivateNICsRequest {
1164
+ /** The zone you want to target */
1165
+ zone?: ListPrivateNICsRequestZone | (string & {}) | undefined;
1166
+ /** Instance to which the private NIC is attached. */
1167
+ server_id: string;
1168
+ /** Private NIC tags. */
1169
+ tags?: string | undefined;
1170
+ /** A positive integer lower or equal to 100 to select the number of items to return. */
1171
+ per_page?: number | undefined;
1172
+ /** A positive integer to choose the page to return. */
1173
+ page?: number | undefined;
1174
+ }
1175
+ export type ListPrivateNICsResponsePrivateNicsList = Array<PrivateNIC>;
1176
+ export interface ListPrivateNICsResponse {
1177
+ private_nics: ListPrivateNICsResponsePrivateNicsList;
1178
+ total_count?: number | undefined;
1179
+ }
1180
+ export type ListSecurityGroupRulesRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
1181
+ export interface ListSecurityGroupRulesRequest {
1182
+ /** The zone you want to target */
1183
+ zone?: ListSecurityGroupRulesRequestZone | (string & {}) | undefined;
1184
+ /** UUID of the security group. */
1185
+ security_group_id: string;
1186
+ /** A positive integer lower or equal to 100 to select the number of items to return. */
1187
+ per_page?: number | undefined;
1188
+ /** A positive integer to choose the page to return. */
1189
+ page?: number | undefined;
1190
+ }
1191
+ export type ListSecurityGroupsRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
1192
+ export interface ListSecurityGroupsRequest {
1193
+ /** The zone you want to target */
1194
+ zone?: ListSecurityGroupsRequestZone | (string & {}) | undefined;
1195
+ /** Name of the security group. */
1196
+ name?: string | undefined;
1197
+ /** Security group Organization ID. */
1198
+ organization?: string | undefined;
1199
+ /** Security group Project ID. */
1200
+ project?: string | undefined;
1201
+ /** List security groups with these exact tags (to filter with several tags, use commas to separate them). */
1202
+ tags?: string | undefined;
1203
+ /** Filter security groups with this value for project_default. */
1204
+ project_default?: boolean | undefined;
1205
+ /** A positive integer lower or equal to 100 to select the number of items to return. */
1206
+ per_page?: number | undefined;
1207
+ /** A positive integer to choose the page to return. */
1208
+ page?: number | undefined;
1209
+ }
1210
+ /** List of security groups. */
1211
+ export type ListSecurityGroupsResponseSecurityGroupsList = Array<SecurityGroup>;
1212
+ export interface ListSecurityGroupsResponse {
1213
+ /** List of security groups. */
1214
+ security_groups: ListSecurityGroupsResponseSecurityGroupsList;
1215
+ /** Total number of items, from the `X-Total-Count` response header. */
1216
+ total_count?: number | undefined;
1217
+ }
1218
+ export type ListServerActionsRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
1219
+ export interface ListServerActionsRequest {
1220
+ /** The zone you want to target */
1221
+ zone?: ListServerActionsRequestZone | (string & {}) | undefined;
1222
+ server_id: string;
1223
+ }
1224
+ export type ListServerActionsResponseActionsList = Array<ServerActionEnum>;
1225
+ export interface ListServerActionsResponse {
1226
+ actions?: ListServerActionsResponseActionsList | undefined;
1227
+ }
1228
+ export type ListServersRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
1229
+ export type ListServersRequestOrder = "creation_date_desc" | "creation_date_asc" | "modification_date_desc" | "modification_date_asc";
1230
+ export interface ListServersRequest {
1231
+ /** The zone you want to target */
1232
+ zone?: ListServersRequestZone | (string & {}) | undefined;
1233
+ /** A positive integer lower or equal to 100 to select the number of items to return. */
1234
+ per_page?: number | undefined;
1235
+ /** A positive integer to choose the page to return. */
1236
+ page?: number | undefined;
1237
+ /** List only Instances of this Organization ID. */
1238
+ organization?: string | undefined;
1239
+ /** List only Instances of this Project ID. */
1240
+ project?: string | undefined;
1241
+ /** Filter Instances by name (eg. "server1" will return "server100" and "server1" but not "foo"). */
1242
+ name?: string | undefined;
1243
+ /** List Instances by private_ip. (IP address) */
1244
+ private_ip?: string | undefined;
1245
+ /** List Instances that are not attached to a public IP. */
1246
+ without_ip?: boolean | undefined;
1247
+ /** List Instances by IP (both private_ip and public_ip are supported). (IP address) */
1248
+ with_ip?: string | undefined;
1249
+ /** List Instances of this commercial type. */
1250
+ commercial_type?: string | undefined;
1251
+ /** List Instances in this state. */
1252
+ state?: ServerState | (string & {}) | undefined;
1253
+ /** List Instances with these exact tags (to filter with several tags, use commas to separate them). */
1254
+ tags?: string | undefined;
1255
+ /** List Instances in this Private Network. */
1256
+ private_network?: string | undefined;
1257
+ /** Define the order of the returned servers. */
1258
+ order?: ListServersRequestOrder | (string & {}) | undefined;
1259
+ /** List Instances from the given Private Networks (use commas to separate them). */
1260
+ private_networks?: string | undefined;
1261
+ /** List Instances associated with the given private NIC MAC address. */
1262
+ private_nic_mac_address?: string | undefined;
1263
+ /** List Instances from these server ids (use commas to separate them). */
1264
+ servers?: string | undefined;
1265
+ }
1266
+ /** List of Instances. */
1267
+ export type ListServersResponseServersList = Array<Server>;
1268
+ export interface ListServersResponse {
1269
+ /** List of Instances. */
1270
+ servers: ListServersResponseServersList;
1271
+ /** Total number of items, from the `X-Total-Count` response header. */
1272
+ total_count?: number | undefined;
1273
+ }
1274
+ export type ListServersTypesRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
1275
+ export interface ListServersTypesRequest {
1276
+ /** The zone you want to target */
1277
+ zone?: ListServersTypesRequestZone | (string & {}) | undefined;
1278
+ per_page?: number | undefined;
1279
+ page?: number | undefined;
1280
+ }
1281
+ /** Alternative Instance name, if any. */
1282
+ export type ServerTypeAltNamesList = Array<string>;
1283
+ export interface ServerTypeVolumeConstraintSizes {
1284
+ /** Minimum volume size in bytes. (in bytes) */
1285
+ min_size?: number | undefined;
1286
+ /** Maximum volume size in bytes. (in bytes) */
1287
+ max_size?: number | undefined;
1288
+ }
1289
+ export interface ServerTypeVolumeConstraintsByType {
1290
+ /** Local SSD volumes. */
1291
+ l_ssd?: ServerTypeVolumeConstraintSizes | undefined;
1292
+ }
1293
+ export interface ServerTypeGPUInfo {
1294
+ /** GPU manufacturer. */
1295
+ gpu_manufacturer?: string | undefined;
1296
+ /** GPU model name. */
1297
+ gpu_name?: string | undefined;
1298
+ /** RAM of a single GPU, in bytes. (in bytes) */
1299
+ gpu_memory?: number | undefined;
1300
+ }
1301
+ export interface ServerTypeNetworkInterface {
1302
+ /** Maximum internal bandwidth in bits per seconds. */
1303
+ internal_bandwidth?: number | null | undefined;
1304
+ /** Maximum internet bandwidth in bits per seconds. */
1305
+ internet_bandwidth?: number | null | undefined;
1306
+ }
1307
+ /** List of available network interfaces. */
1308
+ export type ServerTypeNetworkInterfacesList = Array<ServerTypeNetworkInterface>;
1309
+ export interface ServerTypeNetwork {
1310
+ /** List of available network interfaces. */
1311
+ interfaces?: ServerTypeNetworkInterfacesList | undefined;
1312
+ /** Total maximum internal bandwidth in bits per seconds. */
1313
+ sum_internal_bandwidth?: number | null | undefined;
1314
+ /** Total maximum internet bandwidth in bits per seconds. */
1315
+ sum_internet_bandwidth?: number | null | undefined;
1316
+ /** True if IPv6 is enabled. */
1317
+ ipv6_support?: boolean | undefined;
1318
+ }
1319
+ /** List of supported boot types. */
1320
+ export type ServerTypeCapabilitiesBootTypesList = Array<BootType>;
1321
+ export interface ServerTypeCapabilities {
1322
+ /** Defines whether the Instance supports block storage. */
1323
+ block_storage?: boolean | null | undefined;
1324
+ /** List of supported boot types. */
1325
+ boot_types?: ServerTypeCapabilitiesBootTypesList | undefined;
1326
+ /** Max number of SFS (Scaleway File Systems) that can be attached to the Instance. */
1327
+ max_file_systems?: number | undefined;
1328
+ }
1329
+ export interface ServerType {
1330
+ /** Estimated monthly price, for a 30 days month, in Euro. */
1331
+ monthly_price?: number | undefined;
1332
+ /** Hourly price in Euro. */
1333
+ hourly_price?: number | undefined;
1334
+ /** Alternative Instance name, if any. */
1335
+ alt_names?: ServerTypeAltNamesList | undefined;
1336
+ /** Additional volume constraints. */
1337
+ per_volume_constraint?: ServerTypeVolumeConstraintsByType | undefined;
1338
+ /** Initial volume constraints. */
1339
+ volumes_constraint?: ServerTypeVolumeConstraintSizes | undefined;
1340
+ /** Number of CPU. */
1341
+ ncpus?: number | undefined;
1342
+ /** Number of GPU. */
1343
+ gpu?: number | null | undefined;
1344
+ /** Available RAM in bytes. */
1345
+ ram?: number | undefined;
1346
+ /** GPU information. */
1347
+ gpu_info?: ServerTypeGPUInfo | undefined;
1348
+ /** CPU architecture. */
1349
+ arch?: Arch | undefined;
1350
+ /** Network available for the Instance. */
1351
+ network?: ServerTypeNetwork | undefined;
1352
+ /** Capabilities. */
1353
+ capabilities?: ServerTypeCapabilities | undefined;
1354
+ /** Maximum available scratch storage. (in bytes) */
1355
+ scratch_storage_max_size?: number | null | undefined;
1356
+ /** Maximum supported number of scratch volumes. */
1357
+ scratch_storage_max_volumes_count?: number | undefined;
1358
+ /** The maximum bandwidth allocated to block storage access (in bytes per second). */
1359
+ block_bandwidth?: number | null | undefined;
1360
+ /** True if this Instance type has reached end of service. */
1361
+ end_of_service?: boolean | undefined;
1362
+ /** The billing SKU for this server type. */
1363
+ sku?: string | undefined;
1364
+ }
1365
+ /** List of Instance types. */
1366
+ export type ListServersTypesResponseServersMap = {
1367
+ [key: string]: ServerType | undefined;
1368
+ };
1369
+ export interface ListServersTypesResponse {
1370
+ /** List of Instance types. */
1371
+ servers?: ListServersTypesResponseServersMap | undefined;
1372
+ }
1373
+ export type ListServerUserDataRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
1374
+ export interface ListServerUserDataRequest {
1375
+ /** The zone you want to target */
1376
+ zone?: ListServerUserDataRequestZone | (string & {}) | undefined;
1377
+ /** UUID of the Instance. */
1378
+ server_id: string;
1379
+ }
1380
+ export type ListServerUserDataResponseUserDataList = Array<string>;
1381
+ export interface ListServerUserDataResponse {
1382
+ user_data?: ListServerUserDataResponseUserDataList | undefined;
1383
+ }
1384
+ export type ListSnapshotsRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
1385
+ export interface ListSnapshotsRequest {
1386
+ /** The zone you want to target */
1387
+ zone?: ListSnapshotsRequestZone | (string & {}) | undefined;
1388
+ /** List snapshots only for this Organization ID. */
1389
+ organization?: string | undefined;
1390
+ /** List snapshots only for this Project ID. */
1391
+ project?: string | undefined;
1392
+ /** Number of snapshots returned per page (positive integer lower or equal to 100). */
1393
+ per_page?: number | undefined;
1394
+ /** Page to be returned. */
1395
+ page?: number | undefined;
1396
+ /** List snapshots of the requested name. */
1397
+ name?: string | undefined;
1398
+ /** List snapshots that have the requested tag. */
1399
+ tags?: string | undefined;
1400
+ /** List snapshots originating only from this volume. */
1401
+ base_volume_id?: string | undefined;
1402
+ }
1403
+ /** List of snapshots. */
1404
+ export type ListSnapshotsResponseSnapshotsList = Array<Snapshot>;
1405
+ export interface ListSnapshotsResponse {
1406
+ /** List of snapshots. */
1407
+ snapshots: ListSnapshotsResponseSnapshotsList;
1408
+ /** Total number of items, from the `X-Total-Count` response header. */
1409
+ total_count?: number | undefined;
1410
+ }
1411
+ export type ListVolumesRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
1412
+ export interface ListVolumesRequest {
1413
+ /** The zone you want to target */
1414
+ zone?: ListVolumesRequestZone | (string & {}) | undefined;
1415
+ /** Filter by volume type. */
1416
+ volume_type?: VolumeVolumeType | (string & {}) | undefined;
1417
+ /** A positive integer lower or equal to 100 to select the number of items to return. */
1418
+ per_page?: number | undefined;
1419
+ /** A positive integer to choose the page to return. */
1420
+ page?: number | undefined;
1421
+ /** Filter volume by Organization ID. */
1422
+ organization?: string | undefined;
1423
+ /** Filter volume by Project ID. */
1424
+ project?: string | undefined;
1425
+ /** Filter volumes with these exact tags (to filter with several tags, use commas to separate them). */
1426
+ tags?: string | undefined;
1427
+ /** Filter volume by name (for eg. "vol" will return "myvolume" but not "data"). */
1428
+ name?: string | undefined;
1429
+ }
1430
+ /** List of volumes. */
1431
+ export type ListVolumesResponseVolumesList = Array<Volume>;
1432
+ export interface ListVolumesResponse {
1433
+ /** List of volumes. */
1434
+ volumes: ListVolumesResponseVolumesList;
1435
+ /** Total number of items, from the `X-Total-Count` response header. */
1436
+ total_count?: number | undefined;
1437
+ }
1438
+ export type ListVolumesTypesRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
1439
+ export interface ListVolumesTypesRequest {
1440
+ /** The zone you want to target */
1441
+ zone?: ListVolumesTypesRequestZone | (string & {}) | undefined;
1442
+ per_page?: number | undefined;
1443
+ page?: number | undefined;
1444
+ }
1445
+ export interface VolumeTypeCapabilities {
1446
+ snapshot?: boolean | undefined;
1447
+ }
1448
+ export interface VolumeTypeConstraints {
1449
+ /** (in bytes) */
1450
+ min?: number | undefined;
1451
+ /** (in bytes) */
1452
+ max?: number | undefined;
1453
+ }
1454
+ export interface VolumeType {
1455
+ display_name?: string | undefined;
1456
+ capabilities?: VolumeTypeCapabilities | undefined;
1457
+ constraints?: VolumeTypeConstraints | undefined;
1458
+ }
1459
+ /** Map of volume types. */
1460
+ export type ListVolumesTypesResponseVolumesMap = {
1461
+ [key: string]: VolumeType | undefined;
1462
+ };
1463
+ export interface ListVolumesTypesResponse {
1464
+ /** Map of volume types. */
1465
+ volumes?: ListVolumesTypesResponseVolumesMap | undefined;
1466
+ }
1467
+ export type ReleaseIpToIpamRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
1468
+ export interface ReleaseIpToIpamRequest {
1469
+ /** The zone you want to target */
1470
+ zone?: ReleaseIpToIpamRequestZone | (string & {}) | undefined;
1471
+ /** ID of the IP you want to release from the Instance but retain in IPAM. */
1472
+ ip_id: string;
1473
+ }
1474
+ export interface ReleaseIpToIpamResponse {
1475
+ }
1476
+ export type ServerActionRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
1477
+ export interface ServerActionRequestVolumeBackupTemplate {
1478
+ /** Snapshot's volume type. Overrides the `volume_type` of the snapshot for this volume. If omitted, the volume type of the original volume will be used. */
1479
+ volume_type?: SnapshotVolumeType | (string & {}) | undefined;
1480
+ }
1481
+ /** For each volume UUID, the snapshot parameters of the volume. For each volume UUID, the snapshot parameters of the volume. This field should only be specified when performing a backup action. */
1482
+ export type ServerActionRequestVolumesMap = {
1483
+ [key: string]: ServerActionRequestVolumeBackupTemplate | undefined;
1484
+ };
1485
+ export interface ServerActionRequest {
1486
+ /** The zone you want to target */
1487
+ zone?: ServerActionRequestZone | (string & {}) | undefined;
1488
+ /** UUID of the Instance. */
1489
+ server_id: string;
1490
+ /** Action to perform on the Instance. */
1491
+ action?: ServerActionEnum | (string & {}) | undefined;
1492
+ /** Name of the backup you want to create. Name of the backup you want to create. This field should only be specified when performing a backup action. */
1493
+ name?: string | null | undefined;
1494
+ /** For each volume UUID, the snapshot parameters of the volume. For each volume UUID, the snapshot parameters of the volume. This field should only be specified when performing a backup action. */
1495
+ volumes?: ServerActionRequestVolumesMap | undefined;
1496
+ /** Disable IPv6 on the Instance (true by default). Disable IPv6 on the Instance while performing migration to routed IPs. This field should only be specified when performing a enable_routed_ip action. */
1497
+ disable_ipv6?: boolean | null | undefined;
1498
+ }
1499
+ export interface ServerActionResponse {
1500
+ task?: Task | undefined;
1501
+ }
1502
+ export type SetImageRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
1503
+ export type SetImageRequestExtraVolumesMap = {
1504
+ [key: string]: Volume | undefined;
1505
+ };
1506
+ export type ScalewayStdStringsValue = Array<unknown>;
1507
+ export interface SetImageRequest {
1508
+ /** The zone you want to target */
1509
+ zone?: SetImageRequestZone | (string & {}) | undefined;
1510
+ id: string;
1511
+ name?: string | undefined;
1512
+ arch?: Arch | (string & {}) | undefined;
1513
+ /** (RFC 3339 format) */
1514
+ creation_date?: string | null | undefined;
1515
+ /** (RFC 3339 format) */
1516
+ modification_date?: string | null | undefined;
1517
+ default_bootscript?: Bootscript | undefined;
1518
+ extra_volumes?: SetImageRequestExtraVolumesMap | undefined;
1519
+ from_server?: string | undefined;
1520
+ organization?: string | undefined;
1521
+ public?: boolean | undefined;
1522
+ root_volume?: VolumeSummary | undefined;
1523
+ state?: ImageState | (string & {}) | undefined;
1524
+ project?: string | undefined;
1525
+ tags?: ScalewayStdStringsValue | null | undefined;
1526
+ }
1527
+ export interface SetImageResponse {
1528
+ image?: Image | undefined;
1529
+ }
1530
+ export type SetPlacementGroupRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
1531
+ export interface SetPlacementGroupRequest {
1532
+ /** The zone you want to target */
1533
+ zone?: SetPlacementGroupRequestZone | (string & {}) | undefined;
1534
+ placement_group_id: string;
1535
+ name?: string | undefined;
1536
+ organization?: string | undefined;
1537
+ policy_mode?: PlacementGroupPolicyMode | (string & {}) | undefined;
1538
+ policy_type?: PlacementGroupPolicyType | (string & {}) | undefined;
1539
+ project?: string | undefined;
1540
+ tags?: ScalewayStdStringsValue | null | undefined;
1541
+ }
1542
+ export interface SetPlacementGroupResponse {
1543
+ placement_group?: PlacementGroup | undefined;
1544
+ }
1545
+ export type SetPlacementGroupServersRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
1546
+ /** An array of the Instances' UUIDs you want to configure. */
1547
+ export type SetPlacementGroupServersRequestServersList = Array<string>;
1548
+ export interface SetPlacementGroupServersRequest {
1549
+ /** The zone you want to target */
1550
+ zone?: SetPlacementGroupServersRequestZone | (string & {}) | undefined;
1551
+ /** UUID of the placement group you want to set. */
1552
+ placement_group_id: string;
1553
+ /** An array of the Instances' UUIDs you want to configure. */
1554
+ servers: SetPlacementGroupServersRequestServersList;
1555
+ }
1556
+ /** Instances attached to the placement group. */
1557
+ export type SetPlacementGroupServersResponseServersList = Array<PlacementGroupServer>;
1558
+ export interface SetPlacementGroupServersResponse {
1559
+ /** Instances attached to the placement group. */
1560
+ servers?: SetPlacementGroupServersResponseServersList | undefined;
1561
+ }
1562
+ export type SetSecurityGroupRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
1563
+ /** Tags of the security group. */
1564
+ export type SetSecurityGroupRequestTagsList = Array<unknown>;
1565
+ /** Instances attached to this security group. */
1566
+ export type SetSecurityGroupRequestServersList = Array<ServerSummary>;
1567
+ export interface SetSecurityGroupRequest {
1568
+ /** The zone you want to target */
1569
+ zone?: SetSecurityGroupRequestZone | (string & {}) | undefined;
1570
+ /** UUID of the security group. */
1571
+ id: string;
1572
+ /** Name of the security group. */
1573
+ name?: string | undefined;
1574
+ /** Tags of the security group. */
1575
+ tags?: SetSecurityGroupRequestTagsList | null | undefined;
1576
+ /** Creation date of the security group (will be ignored). (RFC 3339 format) */
1577
+ creation_date?: string | null | undefined;
1578
+ /** Modification date of the security group (will be ignored). (RFC 3339 format) */
1579
+ modification_date?: string | null | undefined;
1580
+ /** Description of the security group. */
1581
+ description?: string | undefined;
1582
+ /** True to block SMTP on IPv4 and IPv6. This feature is read only, please open a support ticket if you need to make it configurable. */
1583
+ enable_default_security?: boolean | undefined;
1584
+ /** Default inbound policy. */
1585
+ inbound_default_policy?: SecurityGroupPolicy | (string & {}) | undefined;
1586
+ /** Default outbound policy. */
1587
+ outbound_default_policy?: SecurityGroupPolicy | (string & {}) | undefined;
1588
+ /** Security groups Organization ID. */
1589
+ organization?: string | undefined;
1590
+ /** Security group Project ID. */
1591
+ project?: string | undefined;
1592
+ /** Please use project_default instead. */
1593
+ organization_default?: boolean | undefined;
1594
+ /** True use this security group for future Instances created in this project. */
1595
+ project_default?: boolean | undefined;
1596
+ /** Instances attached to this security group. */
1597
+ servers?: SetSecurityGroupRequestServersList | undefined;
1598
+ /** True to set the security group as stateful. */
1599
+ stateful?: boolean | undefined;
1600
+ }
1601
+ export interface SetSecurityGroupResponse {
1602
+ security_group?: SecurityGroup | undefined;
1603
+ }
1604
+ export type SetSecurityGroupRuleRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
1605
+ export interface SetSecurityGroupRuleRequest {
1606
+ /** The zone you want to target */
1607
+ zone?: SetSecurityGroupRuleRequestZone | (string & {}) | undefined;
1608
+ security_group_id: string;
1609
+ security_group_rule_id: string;
1610
+ id?: string | undefined;
1611
+ protocol?: SecurityGroupRuleProtocol | (string & {}) | undefined;
1612
+ direction?: SecurityGroupRuleDirection | (string & {}) | undefined;
1613
+ action?: SecurityGroupRuleAction | (string & {}) | undefined;
1614
+ /** (IP network) */
1615
+ ip_range?: string | undefined;
1616
+ dest_port_from?: number | null | undefined;
1617
+ dest_port_to?: number | null | undefined;
1618
+ position?: number | undefined;
1619
+ editable?: boolean | undefined;
1620
+ }
1621
+ export interface SetSecurityGroupRuleResponse {
1622
+ rule?: SecurityGroupRule | undefined;
1623
+ }
1624
+ export type SetSecurityGroupRulesRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
1625
+ export interface SetSecurityGroupRulesRequestRule {
1626
+ /** UUID of the security rule to update. If no value is provided, a new rule will be created. */
1627
+ id?: string | null | undefined;
1628
+ /** Action to apply when the rule matches a packet. */
1629
+ action?: SecurityGroupRuleAction | (string & {}) | undefined;
1630
+ /** Protocol family this rule applies to. */
1631
+ protocol?: SecurityGroupRuleProtocol | (string & {}) | undefined;
1632
+ /** Direction the rule applies to. */
1633
+ direction?: SecurityGroupRuleDirection | (string & {}) | undefined;
1634
+ /** Range of IP addresses these rules apply to. (IP network) */
1635
+ ip_range?: string | undefined;
1636
+ /** Beginning of the range of ports this rule applies to (inclusive). This value will be set to null if protocol is ICMP or ANY. */
1637
+ dest_port_from?: number | null | undefined;
1638
+ /** End of the range of ports this rule applies to (inclusive). This value will be set to null if protocol is ICMP or ANY, or if it is equal to dest_port_from. */
1639
+ dest_port_to?: number | null | undefined;
1640
+ /** Position of this rule in the security group rules list. If several rules are passed with the same position, the resulting order is undefined. */
1641
+ position?: number | undefined;
1642
+ /** Indicates if this rule is editable. Rules with the value false will be ignored. */
1643
+ editable?: boolean | null | undefined;
1644
+ /** Zone of the rule. This field is ignored. */
1645
+ zone?: string | undefined;
1646
+ }
1647
+ /** List of rules to update in the security group. */
1648
+ export type SetSecurityGroupRulesRequestRulesList = Array<SetSecurityGroupRulesRequestRule>;
1649
+ export interface SetSecurityGroupRulesRequest {
1650
+ /** The zone you want to target */
1651
+ zone?: SetSecurityGroupRulesRequestZone | (string & {}) | undefined;
1652
+ /** UUID of the security group to update the rules on. */
1653
+ security_group_id: string;
1654
+ /** List of rules to update in the security group. */
1655
+ rules?: SetSecurityGroupRulesRequestRulesList | undefined;
1656
+ }
1657
+ export type SetSecurityGroupRulesResponseRulesList = Array<SecurityGroupRule>;
1658
+ export interface SetSecurityGroupRulesResponse {
1659
+ rules?: SetSecurityGroupRulesResponseRulesList | undefined;
1660
+ }
1661
+ export type SetServerUserDataRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
1662
+ export interface SetServerUserDataRequest {
1663
+ /** The zone you want to target */
1664
+ zone?: SetServerUserDataRequestZone | (string & {}) | undefined;
1665
+ /** UUID of the Instance. */
1666
+ server_id: string;
1667
+ /** Key of the user data to set. */
1668
+ key: string;
1669
+ /** The user data content, sent verbatim as `text/plain`. */
1670
+ content: string;
1671
+ }
1672
+ export interface SetServerUserDataResponse {
1673
+ }
1674
+ export type SetSnapshotRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
1675
+ export interface SetSnapshotRequest {
1676
+ /** The zone you want to target */
1677
+ zone?: SetSnapshotRequestZone | (string & {}) | undefined;
1678
+ snapshot_id: string;
1679
+ id?: string | undefined;
1680
+ name?: string | undefined;
1681
+ organization?: string | undefined;
1682
+ volume_type?: VolumeVolumeType | (string & {}) | undefined;
1683
+ /** (in bytes) */
1684
+ size?: number | undefined;
1685
+ state?: SnapshotState | (string & {}) | undefined;
1686
+ base_volume?: SnapshotBaseVolume | undefined;
1687
+ /** (RFC 3339 format) */
1688
+ creation_date?: string | null | undefined;
1689
+ /** (RFC 3339 format) */
1690
+ modification_date?: string | null | undefined;
1691
+ project?: string | undefined;
1692
+ tags?: ScalewayStdStringsValue | null | undefined;
1693
+ }
1694
+ export interface SetSnapshotResponse {
1695
+ snapshot?: Snapshot | undefined;
1696
+ }
1697
+ export type SetVolumeRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
1698
+ /** Tags of the volume. */
1699
+ export type SetVolumeRequestTagsList = Array<unknown>;
1700
+ export interface SetVolumeRequest {
1701
+ /** The zone you want to target */
1702
+ zone?: SetVolumeRequestZone | (string & {}) | undefined;
1703
+ /** Unique ID of the volume. */
1704
+ id: string;
1705
+ /** Name of the volume. */
1706
+ name?: string | undefined;
1707
+ /** Tags of the volume. */
1708
+ tags?: SetVolumeRequestTagsList | null | undefined;
1709
+ /** NBD export URI of the Volume (deprecated, this field is ignored). */
1710
+ export_uri?: string | undefined;
1711
+ /** Volume's disk size, must be a multiple of 512. (in bytes) */
1712
+ size?: number | undefined;
1713
+ /** Volume type. */
1714
+ volume_type?: VolumeVolumeType | (string & {}) | undefined;
1715
+ /** Volume creation date. (RFC 3339 format) */
1716
+ creation_date?: string | null | undefined;
1717
+ /** Volume modification date. (RFC 3339 format) */
1718
+ modification_date?: string | null | undefined;
1719
+ /** Volume Organization ID. */
1720
+ organization?: string | undefined;
1721
+ /** Volume Project ID. */
1722
+ project?: string | undefined;
1723
+ /** Instance attached to the volume. */
1724
+ server?: ServerSummary | undefined;
1725
+ /** Volume state. */
1726
+ state?: VolumeState | (string & {}) | undefined;
1727
+ }
1728
+ export interface SetVolumeResponse {
1729
+ volume?: Volume | undefined;
1730
+ }
1731
+ export type UpdateImageRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
1732
+ export interface VolumeImageUpdateTemplate {
1733
+ /** UUID of the snapshot. (UUID format) */
1734
+ id: string;
1735
+ }
1736
+ /** Additional snapshots of the image, with extra_volumeKey being the position of the snapshot in the image. */
1737
+ export type UpdateImageRequestExtraVolumesMap = {
1738
+ [key: string]: VolumeImageUpdateTemplate | undefined;
1739
+ };
1740
+ /** Tags of the image. */
1741
+ export type UpdateImageRequestTagsList = Array<unknown>;
1742
+ export interface UpdateImageRequest {
1743
+ /** The zone you want to target */
1744
+ zone?: UpdateImageRequestZone | (string & {}) | undefined;
1745
+ /** UUID of the image. (UUID format) */
1746
+ image_id: string;
1747
+ /** Name of the image. */
1748
+ name?: string | null | undefined;
1749
+ /** Architecture of the image. */
1750
+ arch?: Arch | (string & {}) | undefined;
1751
+ /** Additional snapshots of the image, with extra_volumeKey being the position of the snapshot in the image. */
1752
+ extra_volumes?: UpdateImageRequestExtraVolumesMap | undefined;
1753
+ /** Tags of the image. */
1754
+ tags?: UpdateImageRequestTagsList | null | undefined;
1755
+ /** True to set the image as public. */
1756
+ public?: boolean | null | undefined;
1757
+ }
1758
+ export interface UpdateImageResponse {
1759
+ image?: Image | undefined;
1760
+ }
1761
+ export type UpdateIpRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
1762
+ /** An array of keywords you want to tag this IP with. */
1763
+ export type UpdateIpRequestTagsList = Array<unknown>;
1764
+ export interface UpdateIpRequest {
1765
+ /** The zone you want to target */
1766
+ zone?: UpdateIpRequestZone | (string & {}) | undefined;
1767
+ /** IP ID or IP address. */
1768
+ ip: string;
1769
+ /** Reverse domain name. */
1770
+ reverse?: string | null | undefined;
1771
+ /** Should have no effect. */
1772
+ type?: IpType | (string & {}) | undefined;
1773
+ /** An array of keywords you want to tag this IP with. */
1774
+ tags?: UpdateIpRequestTagsList | null | undefined;
1775
+ server?: string | null | undefined;
1776
+ }
1777
+ export interface UpdateIpResponse {
1778
+ ip?: Ip | undefined;
1779
+ }
1780
+ export type UpdatePlacementGroupRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
1781
+ /** Tags of the placement group. */
1782
+ export type UpdatePlacementGroupRequestTagsList = Array<unknown>;
1783
+ export interface UpdatePlacementGroupRequest {
1784
+ /** The zone you want to target */
1785
+ zone?: UpdatePlacementGroupRequestZone | (string & {}) | undefined;
1786
+ /** UUID of the placement group. */
1787
+ placement_group_id: string;
1788
+ /** Name of the placement group. */
1789
+ name?: string | null | undefined;
1790
+ /** Tags of the placement group. */
1791
+ tags?: UpdatePlacementGroupRequestTagsList | null | undefined;
1792
+ /** Operating mode of the placement group. */
1793
+ policy_mode?: PlacementGroupPolicyMode | (string & {}) | undefined;
1794
+ /** Policy type of the placement group. */
1795
+ policy_type?: PlacementGroupPolicyType | (string & {}) | undefined;
1796
+ }
1797
+ export interface UpdatePlacementGroupResponse {
1798
+ placement_group?: PlacementGroup | undefined;
1799
+ }
1800
+ export type UpdatePlacementGroupServersRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
1801
+ /** An array of the Instances' UUIDs you want to configure. */
1802
+ export type UpdatePlacementGroupServersRequestServersList = Array<string>;
1803
+ export interface UpdatePlacementGroupServersRequest {
1804
+ /** The zone you want to target */
1805
+ zone?: UpdatePlacementGroupServersRequestZone | (string & {}) | undefined;
1806
+ /** UUID of the placement group you want to update. */
1807
+ placement_group_id: string;
1808
+ /** An array of the Instances' UUIDs you want to configure. */
1809
+ servers: UpdatePlacementGroupServersRequestServersList;
1810
+ }
1811
+ /** Instances attached to the placement group. */
1812
+ export type UpdatePlacementGroupServersResponseServersList = Array<PlacementGroupServer>;
1813
+ export interface UpdatePlacementGroupServersResponse {
1814
+ /** Instances attached to the placement group. */
1815
+ servers?: UpdatePlacementGroupServersResponseServersList | undefined;
1816
+ }
1817
+ export type UpdatePrivateNICRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
1818
+ /** Tags used to select private NIC/s. */
1819
+ export type UpdatePrivateNICRequestTagsList = Array<unknown>;
1820
+ export interface UpdatePrivateNICRequest {
1821
+ /** The zone you want to target */
1822
+ zone?: UpdatePrivateNICRequestZone | (string & {}) | undefined;
1823
+ /** UUID of the Instance the private NIC will be attached to. */
1824
+ server_id: string;
1825
+ /** Private NIC unique ID. */
1826
+ private_nic_id: string;
1827
+ /** Tags used to select private NIC/s. */
1828
+ tags?: UpdatePrivateNICRequestTagsList | null | undefined;
1829
+ }
1830
+ export type UpdateSecurityGroupRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
1831
+ /** Tags of the security group. */
1832
+ export type UpdateSecurityGroupRequestTagsList = Array<unknown>;
1833
+ export interface UpdateSecurityGroupRequest {
1834
+ /** The zone you want to target */
1835
+ zone?: UpdateSecurityGroupRequestZone | (string & {}) | undefined;
1836
+ /** UUID of the security group. (UUID format) */
1837
+ security_group_id: string;
1838
+ /** Name of the security group. */
1839
+ name?: string | null | undefined;
1840
+ /** Description of the security group. */
1841
+ description?: string | null | undefined;
1842
+ /** True to block SMTP on IPv4 and IPv6. This feature is read only, please open a support ticket if you need to make it configurable. */
1843
+ enable_default_security?: boolean | null | undefined;
1844
+ /** Default inbound policy. */
1845
+ inbound_default_policy?: SecurityGroupPolicy | (string & {}) | undefined;
1846
+ /** Tags of the security group. */
1847
+ tags?: UpdateSecurityGroupRequestTagsList | null | undefined;
1848
+ /** Please use project_default instead. */
1849
+ organization_default?: boolean | null | undefined;
1850
+ /** True use this security group for future Instances created in this project. */
1851
+ project_default?: boolean | null | undefined;
1852
+ /** Default outbound policy. */
1853
+ outbound_default_policy?: SecurityGroupPolicy | (string & {}) | undefined;
1854
+ /** True to set the security group as stateful. */
1855
+ stateful?: boolean | null | undefined;
1856
+ }
1857
+ export interface UpdateSecurityGroupResponse {
1858
+ security_group?: SecurityGroup | undefined;
1859
+ }
1860
+ export type UpdateSecurityGroupRuleRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
1861
+ export interface UpdateSecurityGroupRuleRequest {
1862
+ /** The zone you want to target */
1863
+ zone?: UpdateSecurityGroupRuleRequestZone | (string & {}) | undefined;
1864
+ /** UUID of the security group. (UUID format) */
1865
+ security_group_id: string;
1866
+ /** UUID of the rule. (UUID format) */
1867
+ security_group_rule_id: string;
1868
+ /** Protocol family this rule applies to. */
1869
+ protocol?: SecurityGroupRuleProtocol | (string & {}) | undefined;
1870
+ /** Direction the rule applies to. */
1871
+ direction?: SecurityGroupRuleDirection | (string & {}) | undefined;
1872
+ /** Action to apply when the rule matches a packet. */
1873
+ action?: SecurityGroupRuleAction | (string & {}) | undefined;
1874
+ /** Range of IP addresses these rules apply to. (IP network) */
1875
+ ip_range?: string | null | undefined;
1876
+ /** Beginning of the range of ports this rule applies to (inclusive). If 0 is provided, unset the parameter. */
1877
+ dest_port_from?: number | null | undefined;
1878
+ /** End of the range of ports this rule applies to (inclusive). If 0 is provided, unset the parameter. */
1879
+ dest_port_to?: number | null | undefined;
1880
+ /** Position of this rule in the security group rules list. */
1881
+ position?: number | null | undefined;
1882
+ }
1883
+ export interface UpdateSecurityGroupRuleResponse {
1884
+ rule?: SecurityGroupRule | undefined;
1885
+ }
1886
+ export type UpdateServerRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
1887
+ /** Tags of the Instance. */
1888
+ export type UpdateServerRequestTagsList = Array<unknown>;
1889
+ export type UpdateServerRequestVolumesMap = {
1890
+ [key: string]: VolumeServerTemplate | undefined;
1891
+ };
1892
+ /** A list of reserved IP IDs to attach to the Instance. */
1893
+ export type UpdateServerRequestPublicIpsList = Array<unknown>;
1894
+ export type SecurityGroupTemplate = ServerSummary;
1895
+ /** Instance private NICs. */
1896
+ export type UpdateServerRequestPrivateNicsList = Array<unknown>;
1897
+ export interface UpdateServerRequest {
1898
+ /** The zone you want to target */
1899
+ zone?: UpdateServerRequestZone | (string & {}) | undefined;
1900
+ /** UUID of the Instance. */
1901
+ server_id: string;
1902
+ /** Name of the Instance. */
1903
+ name?: string | null | undefined;
1904
+ boot_type?: BootType | (string & {}) | undefined;
1905
+ /** Tags of the Instance. */
1906
+ tags?: UpdateServerRequestTagsList | null | undefined;
1907
+ volumes?: UpdateServerRequestVolumesMap | undefined;
1908
+ dynamic_ip_required?: boolean | null | undefined;
1909
+ /** True to configure the instance so it uses the new routed IP mode (once this is set to True you cannot set it back to False). */
1910
+ routed_ip_enabled?: boolean | null | undefined;
1911
+ /** A list of reserved IP IDs to attach to the Instance. */
1912
+ public_ips?: UpdateServerRequestPublicIpsList | null | undefined;
1913
+ enable_ipv6?: boolean | null | undefined;
1914
+ /** True to activate server protection option. */
1915
+ protected?: boolean | null | undefined;
1916
+ security_group?: ServerSummary | undefined;
1917
+ /** Placement group ID if Instance must be part of a placement group. */
1918
+ placement_group?: string | null | undefined;
1919
+ /** Instance private NICs. */
1920
+ private_nics?: UpdateServerRequestPrivateNicsList | null | undefined;
1921
+ /** Set the commercial_type for this Instance. Warning: This field has some restrictions: - Cannot be changed if the Instance is not in `stopped` state. - Cannot be changed if the Instance is in a placement group. - Cannot be changed from/to a Windows offer to/from a Linux offer. - Local storage requirements of the target commercial_types must be fulfilled (i.e. if an Instance has 80GB of local storage, it can be changed into a GP1-XS, which has a maximum of 150GB, but it cannot be changed into a DEV1-S, which has only 20GB). */
1922
+ commercial_type?: string | null | undefined;
1923
+ /** UUID of the SSH RSA key that will be used to encrypt the initial admin password for OS requiring it. Mandatory for Windows OS. The public_key value of this key is used to encrypt the admin password. When set to an empty string, reset this value and admin_password_encrypted_value to an empty string so a new password may be generated. */
1924
+ admin_password_encryption_ssh_key_id?: string | null | undefined;
1925
+ }
1926
+ export interface UpdateServerResponse {
1927
+ server?: Server | undefined;
1928
+ }
1929
+ export type UpdateSnapshotRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
1930
+ /** Tags of the snapshot. */
1931
+ export type UpdateSnapshotRequestTagsList = Array<unknown>;
1932
+ export interface UpdateSnapshotRequest {
1933
+ /** The zone you want to target */
1934
+ zone?: UpdateSnapshotRequestZone | (string & {}) | undefined;
1935
+ /** UUID of the snapshot. (UUID format) */
1936
+ snapshot_id: string;
1937
+ /** Name of the snapshot. */
1938
+ name?: string | null | undefined;
1939
+ /** Tags of the snapshot. */
1940
+ tags?: UpdateSnapshotRequestTagsList | null | undefined;
1941
+ }
1942
+ export interface UpdateSnapshotResponse {
1943
+ snapshot?: Snapshot | undefined;
1944
+ }
1945
+ export type UpdateVolumeRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1";
1946
+ /** Tags of the volume. */
1947
+ export type UpdateVolumeRequestTagsList = Array<unknown>;
1948
+ export interface UpdateVolumeRequest {
1949
+ /** The zone you want to target */
1950
+ zone?: UpdateVolumeRequestZone | (string & {}) | undefined;
1951
+ /** UUID of the volume. */
1952
+ volume_id: string;
1953
+ /** Volume name. */
1954
+ name?: string | null | undefined;
1955
+ /** Tags of the volume. */
1956
+ tags?: UpdateVolumeRequestTagsList | null | undefined;
1957
+ /** Volume disk size, must be a multiple of 512. (in bytes) */
1958
+ size?: number | null | undefined;
1959
+ }
1960
+ export interface UpdateVolumeResponse {
1961
+ volume?: Volume | undefined;
1962
+ }
1963
+ export type AttachServerFileSystemError = ScalewayOpError;
1964
+ /** Attach a filesystem volume to an Instance */
1965
+ export declare const attachServerFileSystem: API.OperationMethod<AttachServerFileSystemRequest, AttachServerFileSystemResponse, AttachServerFileSystemError, ScalewayOpContext>;
1966
+ export type AttachServerVolumeError = ScalewayOpError;
1967
+ /** Attach a volume to an Instance */
1968
+ export declare const attachServerVolume: API.OperationMethod<AttachServerVolumeRequest, AttachServerVolumeResponse, AttachServerVolumeError, ScalewayOpContext>;
1969
+ export type CheckBlockMigrationOrganizationQuotasError = ScalewayOpError;
1970
+ export declare const checkBlockMigrationOrganizationQuotas: API.OperationMethod<CheckBlockMigrationOrganizationQuotasRequest, CheckBlockMigrationOrganizationQuotasResponse, CheckBlockMigrationOrganizationQuotasError, ScalewayOpContext>;
1971
+ export type CreateImageError = ScalewayOpError;
1972
+ /** Create an Instance image Create an Instance image from the specified snapshot ID. */
1973
+ export declare const createImage: API.OperationMethod<CreateImageRequest, CreateImageResponse, CreateImageError, ScalewayOpContext>;
1974
+ export type CreateIpError = ScalewayOpError;
1975
+ /** Reserve a flexible IP Reserve a flexible IP and attach it to the specified Instance. */
1976
+ export declare const createIp: API.OperationMethod<CreateIpRequest, CreateIpResponse, CreateIpError, ScalewayOpContext>;
1977
+ export type CreatePlacementGroupError = ScalewayOpError;
1978
+ /** Create a placement group Create a new placement group in a specified Availability Zone. */
1979
+ export declare const createPlacementGroup: API.OperationMethod<CreatePlacementGroupRequest, CreatePlacementGroupResponse, CreatePlacementGroupError, ScalewayOpContext>;
1980
+ export type CreatePrivateNICError = ScalewayOpError;
1981
+ /** Create a private NIC connecting an Instance to a Private Network Create a private NIC connecting an Instance to a Private Network. Some private NICs, such as those in deleting, detaching, or in error state are not listed in v1. Therefore, you may encounter quota limits errors when creating a new private NIC, even if your visible count is below the threshold. We strongly recommend migrating to v2alpha1 to see all private NICs. */
1982
+ export declare const createPrivateNIC: API.OperationMethod<CreatePrivateNICRequest, CreatePrivateNICResponse, CreatePrivateNICError, ScalewayOpContext>;
1983
+ export type CreateSecurityGroupError = ScalewayOpError;
1984
+ /** Create a security group Create a security group with a specified name and description. */
1985
+ export declare const createSecurityGroup: API.OperationMethod<CreateSecurityGroupRequest, CreateSecurityGroupResponse, CreateSecurityGroupError, ScalewayOpContext>;
1986
+ export type CreateSecurityGroupRuleError = ScalewayOpError;
1987
+ /** Create rule Create a rule in the specified security group ID. */
1988
+ export declare const createSecurityGroupRule: API.OperationMethod<CreateSecurityGroupRuleRequest, CreateSecurityGroupRuleResponse, CreateSecurityGroupRuleError, ScalewayOpContext>;
1989
+ export type CreateServerError = ScalewayOpError;
1990
+ /** Create an Instance Create a new Instance of the specified commercial type in the specified zone. Pay attention to the volumes parameter, which takes an object which can be used in different ways to achieve different behaviors. Get more information in the [Technical Information](#technical-information) section of the introduction. */
1991
+ export declare const createServer: API.OperationMethod<CreateServerRequest, CreateServerResponse, CreateServerError, ScalewayOpContext>;
1992
+ export type CreateSnapshotError = ScalewayOpError;
1993
+ /** Create a snapshot from a specified volume or from a QCOW2 file Create a snapshot from a specified volume or from a QCOW2 file in a specified Availability Zone. */
1994
+ export declare const createSnapshot: API.OperationMethod<CreateSnapshotRequest, CreateSnapshotResponse, CreateSnapshotError, ScalewayOpContext>;
1995
+ export type CreateVolumeError = ScalewayOpError;
1996
+ /** Create a volume Create a volume of a specified type in an Availability Zone. */
1997
+ export declare const createVolume: API.OperationMethod<CreateVolumeRequest, CreateVolumeResponse, CreateVolumeError, ScalewayOpContext>;
1998
+ export type DeleteImageError = ScalewayOpError;
1999
+ /** Delete an Instance image Delete the image with the specified ID. */
2000
+ export declare const deleteImage: API.OperationMethod<DeleteImageRequest, DeleteImageResponse, DeleteImageError, ScalewayOpContext>;
2001
+ export type DeleteIpError = ScalewayOpError;
2002
+ /** Delete a flexible IP Delete the IP with the specified ID. */
2003
+ export declare const deleteIp: API.OperationMethod<DeleteIpRequest, DeleteIpResponse, DeleteIpError, ScalewayOpContext>;
2004
+ export type DeletePlacementGroupError = ScalewayOpError;
2005
+ /** Delete the specified placement group */
2006
+ export declare const deletePlacementGroup: API.OperationMethod<DeletePlacementGroupRequest, DeletePlacementGroupResponse, DeletePlacementGroupError, ScalewayOpContext>;
2007
+ export type DeletePrivateNICError = ScalewayOpError;
2008
+ /** Delete a private NIC */
2009
+ export declare const deletePrivateNIC: API.OperationMethod<DeletePrivateNICRequest, DeletePrivateNICResponse, DeletePrivateNICError, ScalewayOpContext>;
2010
+ export type DeleteSecurityGroupError = ScalewayOpError;
2011
+ /** Delete a security group Delete a security group with the specified ID. */
2012
+ export declare const deleteSecurityGroup: API.OperationMethod<DeleteSecurityGroupRequest, DeleteSecurityGroupResponse, DeleteSecurityGroupError, ScalewayOpContext>;
2013
+ export type DeleteSecurityGroupRuleError = ScalewayOpError;
2014
+ /** Delete rule Delete a security group rule with the specified ID. */
2015
+ export declare const deleteSecurityGroupRule: API.OperationMethod<DeleteSecurityGroupRuleRequest, DeleteSecurityGroupRuleResponse, DeleteSecurityGroupRuleError, ScalewayOpContext>;
2016
+ export type DeleteServerError = ScalewayOpError;
2017
+ /** Delete an Instance Delete the Instance with the specified ID. */
2018
+ export declare const deleteServer: API.OperationMethod<DeleteServerRequest, DeleteServerResponse, DeleteServerError, ScalewayOpContext>;
2019
+ export type DeleteServerUserDataError = ScalewayOpError;
2020
+ /** Delete user data Delete the specified key from an Instance's user data. */
2021
+ export declare const deleteServerUserData: API.OperationMethod<DeleteServerUserDataRequest, DeleteServerUserDataResponse, DeleteServerUserDataError, ScalewayOpContext>;
2022
+ export type DeleteSnapshotError = ScalewayOpError;
2023
+ /** Delete a snapshot Delete the snapshot with the specified ID. */
2024
+ export declare const deleteSnapshot: API.OperationMethod<DeleteSnapshotRequest, DeleteSnapshotResponse, DeleteSnapshotError, ScalewayOpContext>;
2025
+ export type DeleteVolumeError = ScalewayOpError;
2026
+ /** Delete a volume Delete the volume with the specified ID. */
2027
+ export declare const deleteVolume: API.OperationMethod<DeleteVolumeRequest, DeleteVolumeResponse, DeleteVolumeError, ScalewayOpContext>;
2028
+ export type DetachServerFileSystemError = ScalewayOpError;
2029
+ /** Detach a filesystem volume from an Instance */
2030
+ export declare const detachServerFileSystem: API.OperationMethod<DetachServerFileSystemRequest, DetachServerFileSystemResponse, DetachServerFileSystemError, ScalewayOpContext>;
2031
+ export type DetachServerVolumeError = ScalewayOpError;
2032
+ /** Detach a volume from an Instance */
2033
+ export declare const detachServerVolume: API.OperationMethod<DetachServerVolumeRequest, DetachServerVolumeResponse, DetachServerVolumeError, ScalewayOpContext>;
2034
+ export type ExportSnapshotError = ScalewayOpError;
2035
+ /** Export a snapshot Export a snapshot to a specified Object Storage bucket in the same region. */
2036
+ export declare const exportSnapshot: API.OperationMethod<ExportSnapshotRequest, ExportSnapshotResponse, ExportSnapshotError, ScalewayOpContext>;
2037
+ export type GetDashboardError = ScalewayOpError;
2038
+ export declare const getDashboard: API.OperationMethod<GetDashboardRequest, GetDashboardResponse, GetDashboardError, ScalewayOpContext>;
2039
+ export type GetImageError = ScalewayOpError;
2040
+ /** Get an Instance image Get details of an image with the specified ID. */
2041
+ export declare const getImage: API.OperationMethod<GetImageRequest, GetImageResponse, GetImageError, ScalewayOpContext>;
2042
+ export type GetIpError = ScalewayOpError;
2043
+ /** Get a flexible IP Get details of an IP with the specified ID or address. */
2044
+ export declare const getIp: API.OperationMethod<GetIpRequest, GetIpResponse, GetIpError, ScalewayOpContext>;
2045
+ export type GetPlacementGroupError = ScalewayOpError;
2046
+ /** Get a placement group Get the specified placement group. */
2047
+ export declare const getPlacementGroup: API.OperationMethod<GetPlacementGroupRequest, GetPlacementGroupResponse, GetPlacementGroupError, ScalewayOpContext>;
2048
+ export type GetPlacementGroupServersError = ScalewayOpError;
2049
+ /** Get placement group servers Get all Instances belonging to the specified placement group. */
2050
+ export declare const getPlacementGroupServers: API.OperationMethod<GetPlacementGroupServersRequest, GetPlacementGroupServersResponse, GetPlacementGroupServersError, ScalewayOpContext>;
2051
+ export type GetPrivateNICError = ScalewayOpError;
2052
+ /** Get a private NIC Get private NIC properties. */
2053
+ export declare const getPrivateNIC: API.OperationMethod<GetPrivateNICRequest, GetPrivateNICResponse, GetPrivateNICError, ScalewayOpContext>;
2054
+ export type GetSecurityGroupError = ScalewayOpError;
2055
+ /** Get a security group Get the details of a security group with the specified ID. */
2056
+ export declare const getSecurityGroup: API.OperationMethod<GetSecurityGroupRequest, GetSecurityGroupResponse, GetSecurityGroupError, ScalewayOpContext>;
2057
+ export type GetSecurityGroupRuleError = ScalewayOpError;
2058
+ /** Get rule Get details of a security group rule with the specified ID. */
2059
+ export declare const getSecurityGroupRule: API.OperationMethod<GetSecurityGroupRuleRequest, GetSecurityGroupRuleResponse, GetSecurityGroupRuleError, ScalewayOpContext>;
2060
+ export type GetServerError = ScalewayOpError;
2061
+ /** Get an Instance Get the details of a specified Instance. */
2062
+ export declare const getServer: API.OperationMethod<GetServerRequest, GetServerResponse, GetServerError, ScalewayOpContext>;
2063
+ export type GetServerCompatibleTypesError = ScalewayOpError;
2064
+ /** Get Instance compatible types Get compatible commercial types that can be used to update the Instance. The compatibility of an Instance offer is based on: * the CPU architecture * the OS type * the required l_ssd storage size * the required scratch storage size If the specified Instance offer is flagged as end of service, the best compatible offer is the first returned. */
2065
+ export declare const getServerCompatibleTypes: API.OperationMethod<GetServerCompatibleTypesRequest, ServerCompatibleTypes, GetServerCompatibleTypesError, ScalewayOpContext>;
2066
+ export type GetServerTypesAvailabilityError = ScalewayOpError;
2067
+ /** Get availability Get availability for all Instance types. */
2068
+ export declare const getServerTypesAvailability: API.OperationMethod<GetServerTypesAvailabilityRequest, GetServerTypesAvailabilityResponse, GetServerTypesAvailabilityError, ScalewayOpContext>;
2069
+ export type GetServerUserDataError = ScalewayOpError;
2070
+ /** Get user data Get the content of a user data with the specified key on an Instance. */
2071
+ export declare const getServerUserData: API.OperationMethod<GetServerUserDataRequest, GetServerUserDataResponse, GetServerUserDataError, ScalewayOpContext>;
2072
+ export type GetSnapshotError = ScalewayOpError;
2073
+ /** Get a snapshot Get details of a snapshot with the specified ID. */
2074
+ export declare const getSnapshot: API.OperationMethod<GetSnapshotRequest, GetSnapshotResponse, GetSnapshotError, ScalewayOpContext>;
2075
+ export type GetVolumeError = ScalewayOpError;
2076
+ /** Get a volume Get details of a volume with the specified ID. */
2077
+ export declare const getVolume: API.OperationMethod<GetVolumeRequest, GetVolumeResponse, GetVolumeError, ScalewayOpContext>;
2078
+ export type ListDefaultSecurityGroupRulesError = ScalewayOpError;
2079
+ /** Get default rules Lists the default rules applied to all the security groups. */
2080
+ export declare const listDefaultSecurityGroupRules: API.OperationMethod<ListDefaultSecurityGroupRulesRequest, ListSecurityGroupRulesResponse, ListDefaultSecurityGroupRulesError, ScalewayOpContext>;
2081
+ export type ListImagesError = ScalewayOpError;
2082
+ /** List Instance images List all existing Instance images. */
2083
+ export declare const listImages: API.PaginatedOperationMethod<ListImagesRequest, ListImagesResponse, ListImagesError, ScalewayOpContext, Image>;
2084
+ export type ListIpsError = ScalewayOpError;
2085
+ /** List all flexible IPs List all flexible IPs in a specified zone. */
2086
+ export declare const listIps: API.PaginatedOperationMethod<ListIpsRequest, ListIpsResponse, ListIpsError, ScalewayOpContext, Ip>;
2087
+ export type ListPlacementGroupsError = ScalewayOpError;
2088
+ /** List placement groups List all placement groups in a specified Availability Zone. */
2089
+ export declare const listPlacementGroups: API.PaginatedOperationMethod<ListPlacementGroupsRequest, ListPlacementGroupsResponse, ListPlacementGroupsError, ScalewayOpContext, PlacementGroup>;
2090
+ export type ListPrivateNICsError = ScalewayOpError;
2091
+ /** List all private NICs List all private NICs of a specified Instance. Some private NICs, such as those in deleting, detaching, or in error state are not listed. We strongly recommend migrating to v2alpha1 to retrieve all private NICs. */
2092
+ export declare const listPrivateNICs: API.PaginatedOperationMethod<ListPrivateNICsRequest, ListPrivateNICsResponse, ListPrivateNICsError, ScalewayOpContext, PrivateNIC>;
2093
+ export type ListSecurityGroupRulesError = ScalewayOpError;
2094
+ /** List rules List the rules of the a specified security group ID. */
2095
+ export declare const listSecurityGroupRules: API.PaginatedOperationMethod<ListSecurityGroupRulesRequest, ListSecurityGroupRulesResponse, ListSecurityGroupRulesError, ScalewayOpContext, SecurityGroupRule>;
2096
+ export type ListSecurityGroupsError = ScalewayOpError;
2097
+ /** List security groups List all existing security groups. */
2098
+ export declare const listSecurityGroups: API.PaginatedOperationMethod<ListSecurityGroupsRequest, ListSecurityGroupsResponse, ListSecurityGroupsError, ScalewayOpContext, SecurityGroup>;
2099
+ export type ListServerActionsError = ScalewayOpError;
2100
+ /** List Instance actions List all actions (e.g. power on, power off, reboot) that can currently be performed on an Instance. */
2101
+ export declare const listServerActions: API.OperationMethod<ListServerActionsRequest, ListServerActionsResponse, ListServerActionsError, ScalewayOpContext>;
2102
+ export type ListServersError = ScalewayOpError;
2103
+ /** List all Instances List all Instances in a specified Availability Zone, e.g. `fr-par-1`. */
2104
+ export declare const listServers: API.PaginatedOperationMethod<ListServersRequest, ListServersResponse, ListServersError, ScalewayOpContext, Server>;
2105
+ export type ListServersTypesError = ScalewayOpError;
2106
+ /** List Instance types List available Instance types and their technical details. */
2107
+ export declare const listServersTypes: API.OperationMethod<ListServersTypesRequest, ListServersTypesResponse, ListServersTypesError, ScalewayOpContext>;
2108
+ export type ListServerUserDataError = ScalewayOpError;
2109
+ /** List user data List all user data keys registered on a specified Instance. */
2110
+ export declare const listServerUserData: API.OperationMethod<ListServerUserDataRequest, ListServerUserDataResponse, ListServerUserDataError, ScalewayOpContext>;
2111
+ export type ListSnapshotsError = ScalewayOpError;
2112
+ /** List snapshots List all snapshots of an Organization in a specified Availability Zone. */
2113
+ export declare const listSnapshots: API.PaginatedOperationMethod<ListSnapshotsRequest, ListSnapshotsResponse, ListSnapshotsError, ScalewayOpContext, Snapshot>;
2114
+ export type ListVolumesError = ScalewayOpError;
2115
+ /** List volumes List volumes in the specified Availability Zone. You can filter the output by volume type. */
2116
+ export declare const listVolumes: API.PaginatedOperationMethod<ListVolumesRequest, ListVolumesResponse, ListVolumesError, ScalewayOpContext, Volume>;
2117
+ export type ListVolumesTypesError = ScalewayOpError;
2118
+ /** List volume types List all volume types and their technical details. */
2119
+ export declare const listVolumesTypes: API.OperationMethod<ListVolumesTypesRequest, ListVolumesTypesResponse, ListVolumesTypesError, ScalewayOpContext>;
2120
+ export type ReleaseIpToIpamError = ScalewayOpError;
2121
+ /** Releases the reserved IP without deleting the reservation. **The IP remains available in IPAM**, which means that it is still reserved by the Organization, and can be reattached to another resource (Instance or other product). */
2122
+ export declare const releaseIpToIpam: API.OperationMethod<ReleaseIpToIpamRequest, ReleaseIpToIpamResponse, ReleaseIpToIpamError, ScalewayOpContext>;
2123
+ export type ServerActionError = ScalewayOpError;
2124
+ /** Perform action Perform an action on an Instance. Available actions are: * `poweron`: Start a stopped Instance. * `poweroff`: Fully stop the Instance and release the hypervisor slot. * `stop_in_place`: Stop the Instance, but keep the slot on the hypervisor. * `reboot`: Stop the instance and restart it. * `backup`: Create an image with all the volumes of an Instance. * `terminate`: Delete the Instance along with its attached local volumes. * `enable_routed_ip`: Migrate the Instance to the new network stack. The `terminate` action will result in the deletion of `l_ssd` and `scratch` volumes types, `sbs_volume` volumes will only be detached. If you want to preserve your `l_ssd` volumes, you should stop your Instance, detach the volumes to be preserved, then delete your Instance. The `backup` action can be done with: * No `volumes` key in the body: an image is created with snapshots of all the server volumes, except for the `scratch` volumes types. * `volumes` key in the body with a dictionary as value, in this dictionary volumes UUID as keys and empty dictionaries as values : an image is created with the snapshots of the volumes in `volumes` key. `scratch` volumes types can't be shapshotted. */
2125
+ export declare const serverAction: API.OperationMethod<ServerActionRequest, ServerActionResponse, ServerActionError, ScalewayOpContext>;
2126
+ export type SetImageError = ScalewayOpError;
2127
+ /** Update image Replace all image properties with an image message. */
2128
+ export declare const setImage: API.OperationMethod<SetImageRequest, SetImageResponse, SetImageError, ScalewayOpContext>;
2129
+ export type SetPlacementGroupError = ScalewayOpError;
2130
+ /** Set placement group Set all parameters of the specified placement group. */
2131
+ export declare const setPlacementGroup: API.OperationMethod<SetPlacementGroupRequest, SetPlacementGroupResponse, SetPlacementGroupError, ScalewayOpContext>;
2132
+ export type SetPlacementGroupServersError = ScalewayOpError;
2133
+ /** Set placement group servers Set all Instances belonging to the specified placement group. */
2134
+ export declare const setPlacementGroupServers: API.OperationMethod<SetPlacementGroupServersRequest, SetPlacementGroupServersResponse, SetPlacementGroupServersError, ScalewayOpContext>;
2135
+ export type SetSecurityGroupError = ScalewayOpError;
2136
+ /** Update a security group Replace all security group properties with a security group message. */
2137
+ export declare const setSecurityGroup: API.OperationMethod<SetSecurityGroupRequest, SetSecurityGroupResponse, SetSecurityGroupError, ScalewayOpContext>;
2138
+ export type SetSecurityGroupRuleError = ScalewayOpError;
2139
+ /** Set security group rule Replace all the properties of a rule from a specified security group. */
2140
+ export declare const setSecurityGroupRule: API.OperationMethod<SetSecurityGroupRuleRequest, SetSecurityGroupRuleResponse, SetSecurityGroupRuleError, ScalewayOpContext>;
2141
+ export type SetSecurityGroupRulesError = ScalewayOpError;
2142
+ /** Update all the rules of a security group Replaces the existing rules of the security group with the rules provided. This endpoint supports the update of existing rules, creation of new rules and deletion of existing rules when they are not passed in the request. */
2143
+ export declare const setSecurityGroupRules: API.OperationMethod<SetSecurityGroupRulesRequest, SetSecurityGroupRulesResponse, SetSecurityGroupRulesError, ScalewayOpContext>;
2144
+ export type SetServerUserDataError = ScalewayOpError;
2145
+ /** Add/set user data Add or update a user data with the specified key on an Instance. */
2146
+ export declare const setServerUserData: API.OperationMethod<SetServerUserDataRequest, SetServerUserDataResponse, SetServerUserDataError, ScalewayOpContext>;
2147
+ export type SetSnapshotError = ScalewayOpError;
2148
+ /** Set snapshot Replace all the properties of a snapshot. */
2149
+ export declare const setSnapshot: API.OperationMethod<SetSnapshotRequest, SetSnapshotResponse, SetSnapshotError, ScalewayOpContext>;
2150
+ export type SetVolumeError = ScalewayOpError;
2151
+ /** Update volume Replace all volume properties with a volume message. */
2152
+ export declare const setVolume: API.OperationMethod<SetVolumeRequest, SetVolumeResponse, SetVolumeError, ScalewayOpContext>;
2153
+ export type UpdateImageError = ScalewayOpError;
2154
+ /** Update image Update the properties of an image. */
2155
+ export declare const updateImage: API.OperationMethod<UpdateImageRequest, UpdateImageResponse, UpdateImageError, ScalewayOpContext>;
2156
+ export type UpdateIpError = ScalewayOpError;
2157
+ /** Update a flexible IP Update a flexible IP in the specified zone with the specified ID. */
2158
+ export declare const updateIp: API.OperationMethod<UpdateIpRequest, UpdateIpResponse, UpdateIpError, ScalewayOpContext>;
2159
+ export type UpdatePlacementGroupError = ScalewayOpError;
2160
+ /** Update a placement group Update one or more parameter of the specified placement group. */
2161
+ export declare const updatePlacementGroup: API.OperationMethod<UpdatePlacementGroupRequest, UpdatePlacementGroupResponse, UpdatePlacementGroupError, ScalewayOpContext>;
2162
+ export type UpdatePlacementGroupServersError = ScalewayOpError;
2163
+ /** Update placement group servers Update all Instances belonging to the specified placement group. */
2164
+ export declare const updatePlacementGroupServers: API.OperationMethod<UpdatePlacementGroupServersRequest, UpdatePlacementGroupServersResponse, UpdatePlacementGroupServersError, ScalewayOpContext>;
2165
+ export type UpdatePrivateNICError = ScalewayOpError;
2166
+ /** Update a private NIC Update one or more parameter(s) of a specified private NIC. */
2167
+ export declare const updatePrivateNIC: API.OperationMethod<UpdatePrivateNICRequest, PrivateNIC, UpdatePrivateNICError, ScalewayOpContext>;
2168
+ export type UpdateSecurityGroupError = ScalewayOpError;
2169
+ /** Update a security group Update the properties of security group. */
2170
+ export declare const updateSecurityGroup: API.OperationMethod<UpdateSecurityGroupRequest, UpdateSecurityGroupResponse, UpdateSecurityGroupError, ScalewayOpContext>;
2171
+ export type UpdateSecurityGroupRuleError = ScalewayOpError;
2172
+ /** Update security group rule Update the properties of a rule from a specified security group. */
2173
+ export declare const updateSecurityGroupRule: API.OperationMethod<UpdateSecurityGroupRuleRequest, UpdateSecurityGroupRuleResponse, UpdateSecurityGroupRuleError, ScalewayOpContext>;
2174
+ export type UpdateServerError = ScalewayOpError;
2175
+ /** Update an Instance Update the Instance information, such as name, boot mode, or tags. */
2176
+ export declare const updateServer: API.OperationMethod<UpdateServerRequest, UpdateServerResponse, UpdateServerError, ScalewayOpContext>;
2177
+ export type UpdateSnapshotError = ScalewayOpError;
2178
+ /** Update a snapshot Update the properties of a snapshot. */
2179
+ export declare const updateSnapshot: API.OperationMethod<UpdateSnapshotRequest, UpdateSnapshotResponse, UpdateSnapshotError, ScalewayOpContext>;
2180
+ export type UpdateVolumeError = ScalewayOpError;
2181
+ /** Update a volume Replace the name and/or size properties of a volume specified by its ID, with the specified value(s). */
2182
+ export declare const updateVolume: API.OperationMethod<UpdateVolumeRequest, UpdateVolumeResponse, UpdateVolumeError, ScalewayOpContext>;
2183
+ //# sourceMappingURL=instance_v1.d.ts.map