@distilled.cloud/scaleway 0.0.0-stage → 1.0.0-rc.21

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 +175 -2
  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 +635 -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 +1745 -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 +477 -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 +94 -3
  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 +946 -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 +2130 -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 +5377 -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 +1109 -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,1089 @@
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 AddOptionServerRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1" | "nl-ams-2" | "pl-waw-2" | "pl-waw-3";
6
+ export interface AddOptionServerRequest {
7
+ /** The zone you want to target */
8
+ zone?: AddOptionServerRequestZone | (string & {}) | undefined;
9
+ /** ID of the server. */
10
+ server_id: string;
11
+ /** ID of the option to add. */
12
+ option_id: string;
13
+ /** Auto expire the option after this date. (RFC 3339 format) */
14
+ expires_at?: string | null | undefined;
15
+ }
16
+ export type ServerStatus = "unknown" | "delivering" | "ready" | "stopping" | "stopped" | "starting" | "error" | "deleting" | "locked" | "out_of_stock" | "ordered" | "resetting" | "migrating";
17
+ /** Array of custom tags attached to the server. */
18
+ export type ServerTagsList = Array<string>;
19
+ export type IPVersion = "IPv4" | "IPv6";
20
+ export type IPReverseStatus = "unknown" | "pending" | "active" | "error";
21
+ export interface IP {
22
+ /** ID of the IP. */
23
+ id?: string | undefined;
24
+ /** Address of the IP. (IP address) */
25
+ address?: string | undefined;
26
+ /** Reverse IP value. */
27
+ reverse?: string | undefined;
28
+ /** Version of IP (v4 or v6). */
29
+ version?: IPVersion | undefined;
30
+ /** Status of the reverse. */
31
+ reverse_status?: IPReverseStatus | undefined;
32
+ /** A message related to the reverse status, e.g. in case of an error. */
33
+ reverse_status_message?: string | undefined;
34
+ }
35
+ /** Array of IPs attached to the server. */
36
+ export type ServerIpsList = Array<IP>;
37
+ export type ServerBootType = "unknown_boot_type" | "normal" | "rescue";
38
+ /** SSH public key IDs defined during server installation. */
39
+ export type ServerInstallSshKeyIdsList = Array<string>;
40
+ export type ServerInstallStatus = "unknown" | "to_install" | "installing" | "completed" | "error";
41
+ export type SchemaPartitionLabel = "unknown_partition_label" | "uefi" | "legacy" | "root" | "boot" | "swap" | "data" | "home" | "raid" | "zfs";
42
+ export interface SchemaPartition {
43
+ label?: SchemaPartitionLabel | (string & {}) | undefined;
44
+ number?: number | undefined;
45
+ /** (in bytes) */
46
+ size?: number | undefined;
47
+ use_all_available_space?: boolean | undefined;
48
+ }
49
+ export type SchemaDiskPartitionsList = Array<SchemaPartition>;
50
+ export interface SchemaDisk {
51
+ device?: string | undefined;
52
+ partitions?: SchemaDiskPartitionsList | undefined;
53
+ }
54
+ export type SchemaDisksList = Array<SchemaDisk>;
55
+ export type SchemaRAIDLevel = "unknown_raid_level" | "raid_level_0" | "raid_level_1" | "raid_level_5" | "raid_level_6" | "raid_level_10";
56
+ export type SchemaRAIDDevicesList = Array<string>;
57
+ export interface SchemaRAID {
58
+ name?: string | undefined;
59
+ level?: SchemaRAIDLevel | (string & {}) | undefined;
60
+ devices?: SchemaRAIDDevicesList | undefined;
61
+ }
62
+ export type SchemaRaidsList = Array<SchemaRAID>;
63
+ export type SchemaFilesystemFormat = "unknown_format" | "fat32" | "ext4" | "swap" | "zfs" | "xfs";
64
+ export interface SchemaFilesystem {
65
+ device?: string | undefined;
66
+ format?: SchemaFilesystemFormat | (string & {}) | undefined;
67
+ mountpoint?: string | undefined;
68
+ }
69
+ export type SchemaFilesystemsList = Array<SchemaFilesystem>;
70
+ export type SchemaPoolType = "unknown_type" | "no_raid" | "mirror" | "raidz1" | "raidz2";
71
+ export type SchemaPoolDevicesList = Array<string>;
72
+ export type SchemaPoolOptionsList = Array<string>;
73
+ export type SchemaPoolFilesystemOptionsList = Array<string>;
74
+ export interface SchemaPool {
75
+ name?: string | undefined;
76
+ type?: SchemaPoolType | (string & {}) | undefined;
77
+ devices?: SchemaPoolDevicesList | undefined;
78
+ options?: SchemaPoolOptionsList | undefined;
79
+ filesystem_options?: SchemaPoolFilesystemOptionsList | undefined;
80
+ }
81
+ export type SchemaZFSPoolsList = Array<SchemaPool>;
82
+ export interface SchemaZFS {
83
+ pools?: SchemaZFSPoolsList | undefined;
84
+ }
85
+ export interface Schema {
86
+ disks?: SchemaDisksList | undefined;
87
+ raids?: SchemaRaidsList | undefined;
88
+ filesystems?: SchemaFilesystemsList | undefined;
89
+ zfs?: SchemaZFS | undefined;
90
+ }
91
+ export interface ServerInstall {
92
+ /** ID of the OS. */
93
+ os_id?: string | undefined;
94
+ /** Host defined during the server installation. */
95
+ hostname?: string | undefined;
96
+ /** SSH public key IDs defined during server installation. */
97
+ ssh_key_ids?: ServerInstallSshKeyIdsList | undefined;
98
+ /** Status of the server installation. */
99
+ status?: ServerInstallStatus | undefined;
100
+ /** User defined in the server installation, or the default user if none were specified. */
101
+ user?: string | undefined;
102
+ /** Service user defined in the server installation, or the default user if none were specified. */
103
+ service_user?: string | undefined;
104
+ /** Address of the installed service. */
105
+ service_url?: string | undefined;
106
+ /** Partitioning schema. */
107
+ partitioning_schema?: Schema | undefined;
108
+ /** URL of the network service to which the server should forward its boot request. */
109
+ network_boot_url?: string | undefined;
110
+ /** Defines whether the network boot forwarding should be applied at every reboot or only once. */
111
+ network_boot_persistent?: boolean | undefined;
112
+ }
113
+ export type ServerPingStatus = "ping_status_unknown" | "ping_status_up" | "ping_status_down";
114
+ export type ServerOptionOptionStatus = "option_status_unknown" | "option_status_enable" | "option_status_enabling" | "option_status_disabling" | "option_status_error";
115
+ export interface LicenseOption {
116
+ os_id?: string | undefined;
117
+ }
118
+ export interface PublicBandwidthOption {
119
+ bandwidth_in_bps?: number | undefined;
120
+ }
121
+ export type PrivateNetworkOption = PublicBandwidthOption;
122
+ export type OptionType = "option_type_unknown" | "private_network" | "license" | "remote_access" | "public_bandwidth" | "certification";
123
+ export interface ServerOption {
124
+ /** ID of the option. */
125
+ id?: string | undefined;
126
+ /** Name of the option. */
127
+ name?: string | undefined;
128
+ /** Status of the option on this server. */
129
+ status?: ServerOptionOptionStatus | undefined;
130
+ /** Defines whether the option can be managed (added or removed). */
131
+ manageable?: boolean | undefined;
132
+ /** Auto expiration date for compatible options. (RFC 3339 format) */
133
+ expires_at?: string | null | undefined;
134
+ /** License option, contains the ID of the OS linked to the option. Precisely one of license, public_bandwidth, private_network, remote_access, certification can be set. */
135
+ license?: LicenseOption | null | undefined;
136
+ /** Public_bandwidth option, contains the bandwidth_in_bps. Precisely one of license, public_bandwidth, private_network, remote_access, certification can be set. */
137
+ public_bandwidth?: PublicBandwidthOption | null | undefined;
138
+ /** Private_network option, contains the bandwidth_in_bps. Precisely one of license, public_bandwidth, private_network, remote_access, certification can be set. */
139
+ private_network?: PublicBandwidthOption | null | undefined;
140
+ /** Remote_access option. Precisely one of license, public_bandwidth, private_network, remote_access, certification can be set. */
141
+ remote_access?: unknown | null | undefined;
142
+ /** Certification option. Precisely one of license, public_bandwidth, private_network, remote_access, certification can be set. */
143
+ certification?: unknown | null | undefined;
144
+ /** Type of the option on this server. */
145
+ type?: OptionType | undefined;
146
+ }
147
+ /** Options enabled on the server. */
148
+ export type ServerOptionsList = Array<ServerOption>;
149
+ export interface ServerRescueServer {
150
+ /** Rescue user name. */
151
+ user?: string | undefined;
152
+ /** Rescue password. */
153
+ password?: string | Redacted.Redacted<string> | undefined;
154
+ }
155
+ export type CommitmentPeriod = "unknown_period" | "one_month" | "six_months" | "one_year" | "two_years" | "three_years";
156
+ export interface ServerCommitment {
157
+ /** Commitment period subscribed. */
158
+ period?: CommitmentPeriod | undefined;
159
+ /** Start of commitment subscribed. (RFC 3339 format) */
160
+ started_at?: string | null | undefined;
161
+ /** Next renew of commitment subscribed. (RFC 3339 format) */
162
+ renew_at?: string | null | undefined;
163
+ /** End of commitment subscribed. (RFC 3339 format) */
164
+ end_at?: string | null | undefined;
165
+ /** Discount rate for the commitment period. */
166
+ discount_rate_percent?: number | undefined;
167
+ /** Flag for automatic renewal commitment. */
168
+ auto_renewal?: boolean | undefined;
169
+ }
170
+ export interface Server {
171
+ /** ID of the server. */
172
+ id?: string | undefined;
173
+ /** Organization ID the server is attached to. */
174
+ organization_id?: string | undefined;
175
+ /** Project ID the server is attached to. */
176
+ project_id?: string | undefined;
177
+ /** Name of the server. */
178
+ name?: string | undefined;
179
+ /** Description of the server. */
180
+ description?: string | undefined;
181
+ /** Last modification date of the server. (RFC 3339 format) */
182
+ updated_at?: string | null | undefined;
183
+ /** Creation date of the server. (RFC 3339 format) */
184
+ created_at?: string | null | undefined;
185
+ /** Status of the server. */
186
+ status?: ServerStatus | undefined;
187
+ /** Offer ID of the server. */
188
+ offer_id?: string | undefined;
189
+ /** Offer name of the server. */
190
+ offer_name?: string | undefined;
191
+ /** Array of custom tags attached to the server. */
192
+ tags?: ServerTagsList | undefined;
193
+ /** Array of IPs attached to the server. */
194
+ ips?: ServerIpsList | undefined;
195
+ /** Domain of the server. */
196
+ domain?: string | undefined;
197
+ /** Boot type of the server. */
198
+ boot_type?: ServerBootType | undefined;
199
+ /** Zone in which is the server located. */
200
+ zone?: string | undefined;
201
+ /** Configuration of the installation. */
202
+ install?: ServerInstall | undefined;
203
+ /** Status of server ping. */
204
+ ping_status?: ServerPingStatus | undefined;
205
+ /** Options enabled on the server. */
206
+ options?: ServerOptionsList | undefined;
207
+ /** Configuration of rescue boot. */
208
+ rescue_server?: ServerRescueServer | undefined;
209
+ /** If enabled, the server can not be deleted. */
210
+ protected?: boolean | undefined;
211
+ /** Optional configuration data passed to cloud-init. */
212
+ user_data?: string | null | undefined;
213
+ /** Commitment subscribed for the server. */
214
+ commitment?: ServerCommitment | undefined;
215
+ /** Date on which the server will be deleted. (RFC 3339 format) */
216
+ scheduled_deletion_at?: string | null | undefined;
217
+ /** True if a deletion is scheduled. */
218
+ scheduled_deletion?: boolean | undefined;
219
+ /** The SRN of the server. */
220
+ srn?: string | undefined;
221
+ }
222
+ export type BatchCreateServersRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1" | "nl-ams-2" | "pl-waw-2" | "pl-waw-3";
223
+ /** The zone you want to target */
224
+ export type CreateServerRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1" | "nl-ams-2" | "pl-waw-2" | "pl-waw-3";
225
+ /** Tags to associate to the server. */
226
+ export type CreateServerRequestTagsList = Array<string>;
227
+ /** SSH key IDs authorized on the server. */
228
+ export type CreateServerRequestInstallSshKeyIdsList = Array<string>;
229
+ export interface CreateServerRequestInstall {
230
+ /** ID of the OS to installation on the server. */
231
+ os_id?: string | undefined;
232
+ /** Hostname of the server. */
233
+ hostname?: string | undefined;
234
+ /** SSH key IDs authorized on the server. */
235
+ ssh_key_ids?: CreateServerRequestInstallSshKeyIdsList | undefined;
236
+ /** User for the installation. */
237
+ user?: string | null | undefined;
238
+ /** Password for the installation. */
239
+ password?: string | Redacted.Redacted<string> | null | undefined;
240
+ /** Regular user that runs the service to be installed on the server. */
241
+ service_user?: string | null | undefined;
242
+ /** Password used for the service to install. */
243
+ service_password?: string | Redacted.Redacted<string> | null | undefined;
244
+ /** Partitioning schema. */
245
+ partitioning_schema?: Schema | undefined;
246
+ /** URL of the network service to which the server should forward its boot request. */
247
+ network_boot_url?: string | null | undefined;
248
+ /** Defines whether the network boot forwarding should be applied at every reboot or only once. */
249
+ network_boot_persistent?: boolean | null | undefined;
250
+ }
251
+ /** IDs of options to enable on server. */
252
+ export type CreateServerRequestOptionIdsList = Array<string>;
253
+ export interface CreateServerRequest {
254
+ /** The zone you want to target */
255
+ zone?: CreateServerRequestZone | (string & {}) | null | undefined;
256
+ /** Offer ID of the new server. */
257
+ offer_id: string;
258
+ /** Organization ID with which the server will be created. Precisely one of project_id, organization_id can be set. */
259
+ organization_id?: string | null | undefined;
260
+ /** Project ID with which the server will be created. Precisely one of project_id, organization_id can be set. */
261
+ project_id?: string | null | undefined;
262
+ /** Name of the server (!=hostname). */
263
+ name: string;
264
+ /** Description associated with the server, max 255 characters. */
265
+ description: string;
266
+ /** Tags to associate to the server. */
267
+ tags?: CreateServerRequestTagsList | undefined;
268
+ /** Object describing the configuration details of the OS installation on the server. */
269
+ install?: CreateServerRequestInstall | undefined;
270
+ /** IDs of options to enable on server. */
271
+ option_ids?: CreateServerRequestOptionIdsList | undefined;
272
+ /** If enabled, the server can not be deleted. */
273
+ protected?: boolean | undefined;
274
+ /** Configuration data to pass to cloud-init such as a YAML cloud config data or a user-data script. */
275
+ user_data?: string | null | undefined;
276
+ /** Commitment period to subscribe. */
277
+ commitment_period?: CommitmentPeriod | (string & {}) | undefined;
278
+ }
279
+ export type BatchCreateServersRequestServerConfigTagsList = Array<string>;
280
+ export interface BatchCreateServersRequestServerConfig {
281
+ hostname?: string | undefined;
282
+ description?: string | undefined;
283
+ tags?: BatchCreateServersRequestServerConfigTagsList | undefined;
284
+ }
285
+ /** List of servers to create. */
286
+ export type BatchCreateServersRequestServersList = Array<BatchCreateServersRequestServerConfig>;
287
+ export interface BatchCreateServersRequest {
288
+ /** The zone you want to target */
289
+ zone?: BatchCreateServersRequestZone | (string & {}) | undefined;
290
+ /** Configuration wanted for the servers to create. */
291
+ common_configuration?: CreateServerRequest | undefined;
292
+ /** List of servers to create. */
293
+ servers?: BatchCreateServersRequestServersList | undefined;
294
+ }
295
+ export type BatchCreateServersResponseServersList = Array<Server>;
296
+ export interface BatchCreateServersResponse {
297
+ servers?: BatchCreateServersResponseServersList | undefined;
298
+ }
299
+ export type CreateServerRequestZone2 = "fr-par-1" | "fr-par-2" | "nl-ams-1" | "nl-ams-2" | "pl-waw-2" | "pl-waw-3";
300
+ /** Tags to associate to the server. */
301
+ export type CreateServerRequestTagsList2 = Array<string>;
302
+ /** IDs of options to enable on server. */
303
+ export type CreateServerRequestOptionIdsList2 = Array<string>;
304
+ export interface CreateServerRequest2 {
305
+ /** The zone you want to target */
306
+ zone?: CreateServerRequestZone2 | (string & {}) | undefined;
307
+ /** Offer ID of the new server. */
308
+ offer_id: string;
309
+ /** Organization ID with which the server will be created. Precisely one of project_id, organization_id can be set. */
310
+ organization_id?: string | null | undefined;
311
+ /** Project ID with which the server will be created. Precisely one of project_id, organization_id can be set. */
312
+ project_id?: string | null | undefined;
313
+ /** Name of the server (!=hostname). */
314
+ name: string;
315
+ /** Description associated with the server, max 255 characters. */
316
+ description: string;
317
+ /** Tags to associate to the server. */
318
+ tags?: CreateServerRequestTagsList2 | undefined;
319
+ /** Object describing the configuration details of the OS installation on the server. */
320
+ install?: CreateServerRequestInstall | undefined;
321
+ /** IDs of options to enable on server. */
322
+ option_ids?: CreateServerRequestOptionIdsList2 | undefined;
323
+ /** If enabled, the server can not be deleted. */
324
+ protected?: boolean | undefined;
325
+ /** Configuration data to pass to cloud-init such as a YAML cloud config data or a user-data script. */
326
+ user_data?: string | null | undefined;
327
+ /** Commitment period to subscribe. */
328
+ commitment_period?: CommitmentPeriod | (string & {}) | undefined;
329
+ }
330
+ export type DeleteOptionServerRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1" | "nl-ams-2" | "pl-waw-2" | "pl-waw-3";
331
+ export interface DeleteOptionServerRequest {
332
+ /** The zone you want to target */
333
+ zone?: DeleteOptionServerRequestZone | (string & {}) | undefined;
334
+ /** ID of the server. */
335
+ server_id: string;
336
+ /** ID of the option to delete. */
337
+ option_id: string;
338
+ }
339
+ export type DeleteServerRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1" | "nl-ams-2" | "pl-waw-2" | "pl-waw-3";
340
+ export interface DeleteServerRequest {
341
+ /** The zone you want to target */
342
+ zone?: DeleteServerRequestZone | (string & {}) | undefined;
343
+ /** ID of the server to delete. */
344
+ server_id: string;
345
+ }
346
+ export type GetBMCAccessRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1" | "nl-ams-2" | "pl-waw-2" | "pl-waw-3";
347
+ export interface GetBMCAccessRequest {
348
+ /** The zone you want to target */
349
+ zone?: GetBMCAccessRequestZone | (string & {}) | undefined;
350
+ /** ID of the server. */
351
+ server_id: string;
352
+ }
353
+ export interface BMCAccess {
354
+ /** URL to access to the server console. */
355
+ url?: string | undefined;
356
+ /** The login to use for the BMC (Baseboard Management Controller) access authentication. */
357
+ login?: string | undefined;
358
+ /** The password to use for the BMC (Baseboard Management Controller) access authentication. */
359
+ password?: string | Redacted.Redacted<string> | undefined;
360
+ /** The date after which the BMC (Baseboard Management Controller) access will be closed. (RFC 3339 format) */
361
+ expires_at?: string | null | undefined;
362
+ /** ID of the server. */
363
+ server_id?: string | undefined;
364
+ /** Zone in which the server is located. */
365
+ zone?: string | undefined;
366
+ /** The SRN of the BMC access. */
367
+ srn?: string | undefined;
368
+ }
369
+ export type GetDefaultPartitioningSchemaRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1" | "nl-ams-2" | "pl-waw-2" | "pl-waw-3";
370
+ export interface GetDefaultPartitioningSchemaRequest {
371
+ /** The zone you want to target */
372
+ zone?: GetDefaultPartitioningSchemaRequestZone | (string & {}) | undefined;
373
+ /** ID of the offer. */
374
+ offer_id: string;
375
+ /** ID of the OS. */
376
+ os_id: string;
377
+ }
378
+ export type GetOfferRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1" | "nl-ams-2" | "pl-waw-2" | "pl-waw-3";
379
+ export interface GetOfferRequest {
380
+ /** The zone you want to target */
381
+ zone?: GetOfferRequestZone | (string & {}) | undefined;
382
+ /** ID of the researched Offer. */
383
+ offer_id: string;
384
+ }
385
+ export type OfferStock = "empty" | "low" | "available";
386
+ export interface GoogleTypeMoney {
387
+ currency_code?: string | undefined;
388
+ units?: number | undefined;
389
+ nanos?: number | undefined;
390
+ }
391
+ export interface Disk {
392
+ /** Capacity of the disk in bytes. (in bytes) */
393
+ capacity?: number | undefined;
394
+ /** Type of the disk. */
395
+ type?: string | undefined;
396
+ }
397
+ /** Disks specifications of the offer. */
398
+ export type OfferDisksList = Array<Disk>;
399
+ export interface CPU {
400
+ /** Name of the CPU. */
401
+ name?: string | undefined;
402
+ /** Number of CPU cores. */
403
+ core_count?: number | undefined;
404
+ /** Number CPU threads. */
405
+ thread_count?: number | undefined;
406
+ /** Frequency of the CPU in MHz. */
407
+ frequency?: number | undefined;
408
+ /** Benchmark of the CPU. */
409
+ benchmark?: string | undefined;
410
+ }
411
+ /** CPU specifications of the offer. */
412
+ export type OfferCpusList = Array<CPU>;
413
+ export type MemoryEccType = "unknown_ecc_type" | "none" | "standard" | "on_die";
414
+ export interface Memory {
415
+ /** Capacity of the memory in bytes. (in bytes) */
416
+ capacity?: number | undefined;
417
+ /** Type of the memory. */
418
+ type?: string | undefined;
419
+ /** Frequency of the memory in MHz. */
420
+ frequency?: number | undefined;
421
+ /** True if the memory is an error-correcting code memory. */
422
+ is_ecc?: boolean | undefined;
423
+ /** Type of ECC memory. */
424
+ ecc_type?: MemoryEccType | undefined;
425
+ }
426
+ /** Memory specifications of the offer. */
427
+ export type OfferMemoriesList = Array<Memory>;
428
+ export interface PersistentMemory {
429
+ /** Capacity of the memory in bytes. (in bytes) */
430
+ capacity?: number | undefined;
431
+ /** Type of the memory. */
432
+ type?: string | undefined;
433
+ /** Frequency of the memory in MHz. */
434
+ frequency?: number | undefined;
435
+ }
436
+ /** Persistent memory specifications of the offer. */
437
+ export type OfferPersistentMemoriesList = Array<PersistentMemory>;
438
+ export type RaidControllerRaidLevelList = Array<string>;
439
+ export interface RaidController {
440
+ model?: string | undefined;
441
+ raid_level?: RaidControllerRaidLevelList | undefined;
442
+ }
443
+ /** Raid controller specifications of the offer. */
444
+ export type OfferRaidControllersList = Array<RaidController>;
445
+ /** Array of OS images IDs incompatible with the server. */
446
+ export type OfferIncompatibleOsIdsList = Array<string>;
447
+ export type OfferSubscriptionPeriod = "unknown_subscription_period" | "hourly" | "monthly";
448
+ export interface OfferOptionOffer {
449
+ /** ID of the option. */
450
+ id?: string | undefined;
451
+ /** Name of the option. */
452
+ name?: string | undefined;
453
+ /** If true the option is enabled and included by default in the offer. If true the option is enabled and included by default in the offer If false the option is available for the offer but not included by default. */
454
+ enabled?: boolean | undefined;
455
+ /** Period of subscription for the offer. */
456
+ subscription_period?: OfferSubscriptionPeriod | undefined;
457
+ /** Price of the option. */
458
+ price?: GoogleTypeMoney | undefined;
459
+ /** Boolean to know if option could be managed. */
460
+ manageable?: boolean | undefined;
461
+ /** Deprecated, use LicenseOptionVars.os_id instead. */
462
+ os_id?: string | null | undefined;
463
+ /** License option, contains the ID of the OS linked to the option. Precisely one of license, public_bandwidth, private_network, remote_access, certification can be set. */
464
+ license?: LicenseOption | null | undefined;
465
+ /** Public_bandwidth option, contains the bandwidth_in_bps. Precisely one of license, public_bandwidth, private_network, remote_access, certification can be set. */
466
+ public_bandwidth?: PublicBandwidthOption | null | undefined;
467
+ /** Private_network option, contains the bandwidth_in_bps. Precisely one of license, public_bandwidth, private_network, remote_access, certification can be set. */
468
+ private_network?: PublicBandwidthOption | null | undefined;
469
+ /** Remote_access option. Precisely one of license, public_bandwidth, private_network, remote_access, certification can be set. */
470
+ remote_access?: unknown | null | undefined;
471
+ /** Certification option. Precisely one of license, public_bandwidth, private_network, remote_access, certification can be set. */
472
+ certification?: unknown | null | undefined;
473
+ /** Type of the option offered. */
474
+ type?: OptionType | undefined;
475
+ }
476
+ /** Available options for customization of the server. */
477
+ export type OfferOptionsList = Array<OfferOptionOffer>;
478
+ /** Array of tags attached to the offer. */
479
+ export type OfferTagsList = Array<string>;
480
+ export interface GPU {
481
+ /** Name of the GPU. */
482
+ name?: string | undefined;
483
+ /** Capacity of the vram in bytes. */
484
+ vram?: number | undefined;
485
+ }
486
+ /** GPU specifications of the offer. */
487
+ export type OfferGpusList = Array<GPU>;
488
+ export interface OfferCommitment {
489
+ /** Commitment period. */
490
+ period?: CommitmentPeriod | undefined;
491
+ /** Discount rate for the commitment period. */
492
+ discount_rate_percent?: number | undefined;
493
+ /** Fee not mandatory. */
494
+ no_fee?: boolean | undefined;
495
+ }
496
+ /** List all available commitments on the offer. */
497
+ export type OfferCommitmentsAvailableList = Array<OfferCommitment>;
498
+ export interface Offer {
499
+ /** ID of the offer. */
500
+ id?: string | undefined;
501
+ /** Name of the offer. */
502
+ name?: string | undefined;
503
+ /** Stock level. */
504
+ stock?: OfferStock | undefined;
505
+ /** Public bandwidth available (in bits/s) with the offer. */
506
+ bandwidth?: number | undefined;
507
+ /** Maximum public bandwidth available (in bits/s) depending on available options. */
508
+ max_bandwidth?: number | undefined;
509
+ /** Commercial range of the offer. */
510
+ commercial_range?: string | undefined;
511
+ /** Price of the offer for the next 60 minutes (a server order at 11h32 will be paid until 12h32). */
512
+ price_per_hour?: GoogleTypeMoney | undefined;
513
+ /** Monthly price of the offer, if subscribing on a monthly basis. */
514
+ price_per_month?: GoogleTypeMoney | undefined;
515
+ /** Disks specifications of the offer. */
516
+ disks?: OfferDisksList | undefined;
517
+ /** Defines whether the offer is currently available. */
518
+ enable?: boolean | undefined;
519
+ /** CPU specifications of the offer. */
520
+ cpus?: OfferCpusList | undefined;
521
+ /** Memory specifications of the offer. */
522
+ memories?: OfferMemoriesList | undefined;
523
+ /** Name of the quota associated to the offer. */
524
+ quota_name?: string | undefined;
525
+ /** Persistent memory specifications of the offer. */
526
+ persistent_memories?: OfferPersistentMemoriesList | undefined;
527
+ /** Raid controller specifications of the offer. */
528
+ raid_controllers?: OfferRaidControllersList | undefined;
529
+ /** Array of OS images IDs incompatible with the server. */
530
+ incompatible_os_ids?: OfferIncompatibleOsIdsList | undefined;
531
+ /** Period of subscription for the offer. */
532
+ subscription_period?: OfferSubscriptionPeriod | undefined;
533
+ /** Operation path of the service. */
534
+ operation_path?: string | undefined;
535
+ /** One time fee invoiced by Scaleway for the setup and activation of the server. */
536
+ fee?: GoogleTypeMoney | undefined;
537
+ /** Available options for customization of the server. */
538
+ options?: OfferOptionsList | undefined;
539
+ /** Private bandwidth available in bits/s with the offer. */
540
+ private_bandwidth?: number | undefined;
541
+ /** Defines whether the offer's bandwidth is shared or not. */
542
+ shared_bandwidth?: boolean | undefined;
543
+ /** Array of tags attached to the offer. */
544
+ tags?: OfferTagsList | undefined;
545
+ /** GPU specifications of the offer. */
546
+ gpus?: OfferGpusList | undefined;
547
+ /** Exist only for hourly offers, to migrate to the monthly offer. */
548
+ monthly_offer_id?: string | null | undefined;
549
+ /** List all available commitments on the offer. */
550
+ commitments_available?: OfferCommitmentsAvailableList | undefined;
551
+ /** Zone in which is the offer is available. */
552
+ zone?: string | undefined;
553
+ /** Describe the network topology of the offer. */
554
+ dual_attach?: boolean | null | undefined;
555
+ /** The SRN of the offer. */
556
+ srn?: string | undefined;
557
+ }
558
+ export type GetOptionRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1" | "nl-ams-2" | "pl-waw-2" | "pl-waw-3";
559
+ export interface GetOptionRequest {
560
+ /** The zone you want to target */
561
+ zone?: GetOptionRequestZone | (string & {}) | undefined;
562
+ /** ID of the option. */
563
+ option_id: string;
564
+ }
565
+ export interface Option {
566
+ /** ID of the option. */
567
+ id?: string | undefined;
568
+ /** Name of the option. */
569
+ name?: string | undefined;
570
+ /** Defines whether the option is manageable (could be added or removed). */
571
+ manageable?: boolean | undefined;
572
+ /** Type of the option. */
573
+ type?: OptionType | undefined;
574
+ /** License option, contains the ID of the OS linked to the option. Precisely one of license, public_bandwidth, private_network, remote_access, certification can be set. */
575
+ license?: LicenseOption | null | undefined;
576
+ /** Public_bandwidth option, contains the bandwidth_in_bps. Precisely one of license, public_bandwidth, private_network, remote_access, certification can be set. */
577
+ public_bandwidth?: PublicBandwidthOption | null | undefined;
578
+ /** Private_network option, contains the bandwidth_in_bps. Precisely one of license, public_bandwidth, private_network, remote_access, certification can be set. */
579
+ private_network?: PublicBandwidthOption | null | undefined;
580
+ /** Remote_access option. Precisely one of license, public_bandwidth, private_network, remote_access, certification can be set. */
581
+ remote_access?: unknown | null | undefined;
582
+ /** Certification option. Precisely one of license, public_bandwidth, private_network, remote_access, certification can be set. */
583
+ certification?: unknown | null | undefined;
584
+ /** Zone in which is the option is available. */
585
+ zone?: string | undefined;
586
+ /** The SRN of the option. */
587
+ srn?: string | undefined;
588
+ }
589
+ export type GetOSRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1" | "nl-ams-2" | "pl-waw-2" | "pl-waw-3";
590
+ export interface GetOSRequest {
591
+ /** The zone you want to target */
592
+ zone?: GetOSRequestZone | (string & {}) | undefined;
593
+ /** ID of the OS. */
594
+ os_id: string;
595
+ }
596
+ export interface OSOSField {
597
+ editable?: boolean | undefined;
598
+ required?: boolean | undefined;
599
+ default_value?: string | null | undefined;
600
+ }
601
+ export interface OS {
602
+ /** ID of the OS. */
603
+ id?: string | undefined;
604
+ /** Name of the OS. */
605
+ name?: string | undefined;
606
+ /** Version of the OS. */
607
+ version?: string | undefined;
608
+ /** URL of this OS's logo. */
609
+ logo_url?: string | undefined;
610
+ /** Object defining the SSH requirements to install the OS. */
611
+ ssh?: OSOSField | undefined;
612
+ /** Object defining the username requirements to install the OS. */
613
+ user?: OSOSField | undefined;
614
+ /** Object defining the password requirements to install the OS. */
615
+ password?: OSOSField | undefined;
616
+ /** Object defining the username requirements to install the service. */
617
+ service_user?: OSOSField | undefined;
618
+ /** Object defining the password requirements to install the service. */
619
+ service_password?: OSOSField | undefined;
620
+ /** Defines if the operating system is enabled or not. */
621
+ enabled?: boolean | undefined;
622
+ /** License required (check server options for pricing details). */
623
+ license_required?: boolean | undefined;
624
+ /** Defines if a specific Organization is allowed to install this OS type. */
625
+ allowed?: boolean | undefined;
626
+ /** Defines if custom partitioning is supported by this OS. */
627
+ custom_partitioning_supported?: boolean | undefined;
628
+ /** Defines if cloud-init is supported by this OS. */
629
+ cloud_init_supported?: boolean | undefined;
630
+ /** Defines the cloud-init API version used by this OS. */
631
+ cloud_init_version?: string | null | undefined;
632
+ /** Object defining the network boot requirements for booting server. */
633
+ network_boot?: OSOSField | undefined;
634
+ /** Defines if the network boot can be persisted or not. */
635
+ network_boot_persistent_editable?: boolean | undefined;
636
+ /** Zone in which is the OS is available. */
637
+ zone?: string | undefined;
638
+ /** The SRN of the OS. */
639
+ srn?: string | undefined;
640
+ }
641
+ export type GetServerRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1" | "nl-ams-2" | "pl-waw-2" | "pl-waw-3";
642
+ export interface GetServerRequest {
643
+ /** The zone you want to target */
644
+ zone?: GetServerRequestZone | (string & {}) | undefined;
645
+ /** ID of the server. */
646
+ server_id: string;
647
+ }
648
+ export type GetServerMetricsRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1" | "nl-ams-2" | "pl-waw-2" | "pl-waw-3";
649
+ export interface GetServerMetricsRequest {
650
+ /** The zone you want to target */
651
+ zone?: GetServerMetricsRequestZone | (string & {}) | undefined;
652
+ /** Server ID to get the metrics. */
653
+ server_id: string;
654
+ }
655
+ export type ScalewayStdTimeSeriesPointItem = string | number;
656
+ export type ScalewayStdTimeSeriesPoint = Array<ScalewayStdTimeSeriesPointItem>;
657
+ export type ScalewayStdTimeSeriesPointsList = Array<ScalewayStdTimeSeriesPoint>;
658
+ export type ScalewayStdTimeSeriesMetadataMap = {
659
+ [key: string]: string | undefined;
660
+ };
661
+ export interface ScalewayStdTimeSeries {
662
+ name?: string | undefined;
663
+ points?: ScalewayStdTimeSeriesPointsList | undefined;
664
+ metadata?: ScalewayStdTimeSeriesMetadataMap | undefined;
665
+ }
666
+ export interface GetServerMetricsResponse {
667
+ /** Timeseries object representing pings on the server. */
668
+ pings?: ScalewayStdTimeSeries | undefined;
669
+ }
670
+ export type InstallServerRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1" | "nl-ams-2" | "pl-waw-2" | "pl-waw-3";
671
+ /** SSH key IDs authorized on the server. */
672
+ export type InstallServerRequestSshKeyIdsList = Array<string>;
673
+ export interface ScalewayStdFile {
674
+ name?: string | undefined;
675
+ content_type?: string | undefined;
676
+ content?: string | undefined;
677
+ }
678
+ export interface InstallServerRequest {
679
+ /** The zone you want to target */
680
+ zone?: InstallServerRequestZone | (string & {}) | undefined;
681
+ /** Server ID to install. */
682
+ server_id: string;
683
+ /** ID of the OS to installation on the server. */
684
+ os_id: string;
685
+ /** Hostname of the server. */
686
+ hostname: string;
687
+ /** SSH key IDs authorized on the server. */
688
+ ssh_key_ids: InstallServerRequestSshKeyIdsList;
689
+ /** User used for the installation. */
690
+ user?: string | null | undefined;
691
+ /** Password used for the installation. */
692
+ password?: string | Redacted.Redacted<string> | null | undefined;
693
+ /** User used for the service to install. */
694
+ service_user?: string | null | undefined;
695
+ /** Password used for the service to install. */
696
+ service_password?: string | Redacted.Redacted<string> | null | undefined;
697
+ /** Partitioning schema. */
698
+ partitioning_schema?: Schema | undefined;
699
+ /** Configuration data to pass to cloud-init such as a YAML cloud config data or a user-data script. */
700
+ user_data?: ScalewayStdFile | undefined;
701
+ /** URL of the network service to which the server should forward its boot request. */
702
+ network_boot_url?: string | null | undefined;
703
+ /** Defines whether the network boot forwarding should be applied at every reboot or only once. */
704
+ network_boot_persistent?: boolean | null | undefined;
705
+ }
706
+ export type ListOffersRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1" | "nl-ams-2" | "pl-waw-2" | "pl-waw-3";
707
+ export interface ListOffersRequest {
708
+ /** The zone you want to target */
709
+ zone?: ListOffersRequestZone | (string & {}) | undefined;
710
+ /** Page number. */
711
+ page?: number | undefined;
712
+ /** Number of offers per page. */
713
+ page_size?: number | undefined;
714
+ /** Subscription period type to filter offers by. */
715
+ subscription_period?: OfferSubscriptionPeriod | (string & {}) | undefined;
716
+ /** Offer name to filter offers by. */
717
+ name?: string | undefined;
718
+ }
719
+ /** Offers that match filters. */
720
+ export type ListOffersResponseOffersList = Array<Offer>;
721
+ export interface ListOffersResponse {
722
+ /** Total count of matching offers. */
723
+ total_count?: number | undefined;
724
+ /** Offers that match filters. */
725
+ offers: ListOffersResponseOffersList;
726
+ }
727
+ export type ListOptionsRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1" | "nl-ams-2" | "pl-waw-2" | "pl-waw-3";
728
+ export interface ListOptionsRequest {
729
+ /** The zone you want to target */
730
+ zone?: ListOptionsRequestZone | (string & {}) | undefined;
731
+ /** Page number. */
732
+ page?: number | undefined;
733
+ /** Number of options per page. */
734
+ page_size?: number | undefined;
735
+ /** Offer ID to filter options for. */
736
+ offer_id?: string | undefined;
737
+ /** Name to filter options for. */
738
+ name?: string | undefined;
739
+ }
740
+ /** Options that match filters. */
741
+ export type ListOptionsResponseOptionsList = Array<Option>;
742
+ export interface ListOptionsResponse {
743
+ /** Total count of matching options. */
744
+ total_count?: number | undefined;
745
+ /** Options that match filters. */
746
+ options: ListOptionsResponseOptionsList;
747
+ }
748
+ export type ListOSRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1" | "nl-ams-2" | "pl-waw-2" | "pl-waw-3";
749
+ export interface ListOSRequest {
750
+ /** The zone you want to target */
751
+ zone?: ListOSRequestZone | (string & {}) | undefined;
752
+ /** Page number. */
753
+ page?: number | undefined;
754
+ /** Number of OS per page. */
755
+ page_size?: number | undefined;
756
+ /** Offer IDs to filter OSes for. */
757
+ offer_id?: string | undefined;
758
+ }
759
+ /** OS that match filters. */
760
+ export type ListOSResponseOsList = Array<OS>;
761
+ export interface ListOSResponse {
762
+ /** Total count of matching OS. */
763
+ total_count?: number | undefined;
764
+ /** OS that match filters. */
765
+ os: ListOSResponseOsList;
766
+ }
767
+ export type ListServerEventsRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1" | "nl-ams-2" | "pl-waw-2" | "pl-waw-3";
768
+ export type ListServerEventsRequestOrderBy = "created_at_asc" | "created_at_desc";
769
+ export interface ListServerEventsRequest {
770
+ /** The zone you want to target */
771
+ zone?: ListServerEventsRequestZone | (string & {}) | undefined;
772
+ /** ID of the server events searched. */
773
+ server_id: string;
774
+ /** Page number. */
775
+ page?: number | undefined;
776
+ /** Number of server events per page. */
777
+ page_size?: number | undefined;
778
+ /** Order of the server events. */
779
+ order_by?: ListServerEventsRequestOrderBy | (string & {}) | undefined;
780
+ }
781
+ export interface ServerEvent {
782
+ /** ID of the server to which the action will be applied. */
783
+ id?: string | undefined;
784
+ /** The action that will be applied to the server. */
785
+ action?: string | undefined;
786
+ /** Date of last modification of the action. (RFC 3339 format) */
787
+ updated_at?: string | null | undefined;
788
+ /** Date of creation of the action. (RFC 3339 format) */
789
+ created_at?: string | null | undefined;
790
+ }
791
+ /** Server events that match filters. */
792
+ export type ListServerEventsResponseEventsList = Array<ServerEvent>;
793
+ export interface ListServerEventsResponse {
794
+ /** Total count of matching events. */
795
+ total_count?: number | undefined;
796
+ /** Server events that match filters. */
797
+ events: ListServerEventsResponseEventsList;
798
+ }
799
+ export type ListServersRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1" | "nl-ams-2" | "pl-waw-2" | "pl-waw-3";
800
+ export type ListServersRequestOrderBy = "created_at_asc" | "created_at_desc";
801
+ export type ListServersRequestTagsList = Array<string>;
802
+ export type ListServersRequestStatusList = Array<string>;
803
+ export interface ListServersRequest {
804
+ /** The zone you want to target */
805
+ zone?: ListServersRequestZone | (string & {}) | undefined;
806
+ /** Page number. */
807
+ page?: number | undefined;
808
+ /** Number of servers per page. */
809
+ page_size?: number | undefined;
810
+ /** Order of the servers. */
811
+ order_by?: ListServersRequestOrderBy | (string & {}) | undefined;
812
+ /** Tags to filter for. */
813
+ tags?: ListServersRequestTagsList | undefined;
814
+ /** Status to filter for. */
815
+ status?: ListServersRequestStatusList | undefined;
816
+ /** Names to filter for. */
817
+ name?: string | undefined;
818
+ /** Organization ID to filter for. */
819
+ organization_id?: string | undefined;
820
+ /** Project ID to filter for. */
821
+ project_id?: string | undefined;
822
+ /** Option ID to filter for. */
823
+ option_id?: string | undefined;
824
+ }
825
+ /** Array of Elastic Metal server objects matching the filters in the request. */
826
+ export type ListServersResponseServersList = Array<Server>;
827
+ export interface ListServersResponse {
828
+ /** Total count of matching servers. */
829
+ total_count?: number | undefined;
830
+ /** Array of Elastic Metal server objects matching the filters in the request. */
831
+ servers: ListServersResponseServersList;
832
+ }
833
+ export type ListSettingsRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1" | "nl-ams-2" | "pl-waw-2" | "pl-waw-3";
834
+ export type ListSettingsRequestOrderBy = "created_at_asc" | "created_at_desc";
835
+ export interface ListSettingsRequest {
836
+ /** The zone you want to target */
837
+ zone?: ListSettingsRequestZone | (string & {}) | undefined;
838
+ /** Page number. */
839
+ page?: number | undefined;
840
+ /** Set the maximum list size. */
841
+ page_size?: number | undefined;
842
+ /** Sort order for items in the response. */
843
+ order_by?: ListSettingsRequestOrderBy | (string & {}) | undefined;
844
+ /** ID of the Project. (UUID format) */
845
+ project_id?: string | undefined;
846
+ }
847
+ export type SettingType = "unknown" | "smtp";
848
+ export interface Setting {
849
+ /** ID of the setting. */
850
+ id?: string | undefined;
851
+ /** Type of the setting. */
852
+ type?: SettingType | undefined;
853
+ /** ID of the Project ID. */
854
+ project_id?: string | undefined;
855
+ /** Defines whether the setting is enabled. */
856
+ enabled?: boolean | undefined;
857
+ /** Zone in which is the setting is located. */
858
+ zone?: string | undefined;
859
+ /** The SRN of the setting. */
860
+ srn?: string | undefined;
861
+ }
862
+ /** Settings that match filters. */
863
+ export type ListSettingsResponseSettingsList = Array<Setting>;
864
+ export interface ListSettingsResponse {
865
+ /** Total count of matching settings. */
866
+ total_count?: number | undefined;
867
+ /** Settings that match filters. */
868
+ settings: ListSettingsResponseSettingsList;
869
+ }
870
+ export type MigrateServerToMonthlyOfferRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1" | "nl-ams-2" | "pl-waw-2" | "pl-waw-3";
871
+ export interface MigrateServerToMonthlyOfferRequest {
872
+ /** The zone you want to target */
873
+ zone?: MigrateServerToMonthlyOfferRequestZone | (string & {}) | undefined;
874
+ /** ID of the server. */
875
+ server_id: string;
876
+ }
877
+ export type RebootServerRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1" | "nl-ams-2" | "pl-waw-2" | "pl-waw-3";
878
+ /** Additional SSH public key IDs to configure on rescue image. */
879
+ export type RebootServerRequestSshKeyIdsList = Array<string>;
880
+ export interface RebootServerRequest {
881
+ /** The zone you want to target */
882
+ zone?: RebootServerRequestZone | (string & {}) | undefined;
883
+ /** ID of the server to reboot. */
884
+ server_id: string;
885
+ /** The type of boot. */
886
+ boot_type?: ServerBootType | (string & {}) | undefined;
887
+ /** Additional SSH public key IDs to configure on rescue image. */
888
+ ssh_key_ids?: RebootServerRequestSshKeyIdsList | undefined;
889
+ }
890
+ export type StartBMCAccessRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1" | "nl-ams-2" | "pl-waw-2" | "pl-waw-3";
891
+ export interface StartBMCAccessRequest {
892
+ /** The zone you want to target */
893
+ zone?: StartBMCAccessRequestZone | (string & {}) | undefined;
894
+ /** ID of the server. */
895
+ server_id: string;
896
+ /** The IP authorized to connect to the server. (IPv4 address) */
897
+ ip: string;
898
+ }
899
+ export type StartServerRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1" | "nl-ams-2" | "pl-waw-2" | "pl-waw-3";
900
+ /** Additional SSH public key IDs to configure on rescue image. */
901
+ export type StartServerRequestSshKeyIdsList = Array<string>;
902
+ export interface StartServerRequest {
903
+ /** The zone you want to target */
904
+ zone?: StartServerRequestZone | (string & {}) | undefined;
905
+ /** ID of the server to start. */
906
+ server_id: string;
907
+ /** The type of boot. */
908
+ boot_type?: ServerBootType | (string & {}) | undefined;
909
+ /** Additional SSH public key IDs to configure on rescue image. */
910
+ ssh_key_ids?: StartServerRequestSshKeyIdsList | undefined;
911
+ }
912
+ export type StopBMCAccessRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1" | "nl-ams-2" | "pl-waw-2" | "pl-waw-3";
913
+ export interface StopBMCAccessRequest {
914
+ /** The zone you want to target */
915
+ zone?: StopBMCAccessRequestZone | (string & {}) | undefined;
916
+ /** ID of the server. */
917
+ server_id: string;
918
+ }
919
+ export interface StopBMCAccessResponse {
920
+ }
921
+ export type StopServerRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1" | "nl-ams-2" | "pl-waw-2" | "pl-waw-3";
922
+ export interface StopServerRequest {
923
+ /** The zone you want to target */
924
+ zone?: StopServerRequestZone | (string & {}) | undefined;
925
+ /** ID of the server to stop. */
926
+ server_id: string;
927
+ }
928
+ export type UpdateIPRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1" | "nl-ams-2" | "pl-waw-2" | "pl-waw-3";
929
+ export interface UpdateIPRequest {
930
+ /** The zone you want to target */
931
+ zone?: UpdateIPRequestZone | (string & {}) | undefined;
932
+ /** ID of the server. */
933
+ server_id: string;
934
+ /** ID of the IP to update. */
935
+ ip_id: string;
936
+ /** New reverse IP to update, not updated if null. */
937
+ reverse?: string | null | undefined;
938
+ }
939
+ export type UpdateServerRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1" | "nl-ams-2" | "pl-waw-2" | "pl-waw-3";
940
+ /** Tags associated with the server, not updated if null. */
941
+ export type UpdateServerRequestTagsList = Array<unknown>;
942
+ export interface UpdateServerRequest {
943
+ /** The zone you want to target */
944
+ zone?: UpdateServerRequestZone | (string & {}) | undefined;
945
+ /** ID of the server to update. */
946
+ server_id: string;
947
+ /** Name of the server (!=hostname), not updated if null. */
948
+ name?: string | null | undefined;
949
+ /** Description associated with the server, max 255 characters, not updated if null. */
950
+ description?: string | null | undefined;
951
+ /** Tags associated with the server, not updated if null. */
952
+ tags?: UpdateServerRequestTagsList | null | undefined;
953
+ /** If enabled, the server can not be deleted. */
954
+ protected?: boolean | null | undefined;
955
+ /** Configuration data to pass to cloud-init such as a YAML cloud config data or a user-data script. */
956
+ user_data?: string | null | undefined;
957
+ /** Set false to cancel the scheduled deletion of the server. */
958
+ scheduled_deletion?: boolean | null | undefined;
959
+ }
960
+ export type UpdateServerCommitmentRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1" | "nl-ams-2" | "pl-waw-2" | "pl-waw-3";
961
+ export interface UpdateServerCommitmentRequest {
962
+ /** The zone you want to target */
963
+ zone?: UpdateServerCommitmentRequestZone | (string & {}) | undefined;
964
+ server_id: string;
965
+ auto_renewal?: boolean | undefined;
966
+ }
967
+ export type UpdateSettingRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1" | "nl-ams-2" | "pl-waw-2" | "pl-waw-3";
968
+ export interface UpdateSettingRequest {
969
+ /** The zone you want to target */
970
+ zone?: UpdateSettingRequestZone | (string & {}) | undefined;
971
+ /** ID of the setting. */
972
+ setting_id: string;
973
+ /** Defines whether the setting is enabled. */
974
+ enabled?: boolean | null | undefined;
975
+ }
976
+ export type UpgradeServerCommitmentRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1" | "nl-ams-2" | "pl-waw-2" | "pl-waw-3";
977
+ export interface UpgradeServerCommitmentRequest {
978
+ /** The zone you want to target */
979
+ zone?: UpgradeServerCommitmentRequestZone | (string & {}) | undefined;
980
+ server_id: string;
981
+ period?: CommitmentPeriod | (string & {}) | undefined;
982
+ }
983
+ export type ValidatePartitioningSchemaRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1" | "nl-ams-2" | "pl-waw-2" | "pl-waw-3";
984
+ export interface ValidatePartitioningSchemaRequest {
985
+ /** The zone you want to target */
986
+ zone?: ValidatePartitioningSchemaRequestZone | (string & {}) | undefined;
987
+ /** Partitioning schema. */
988
+ partitioning_schema?: Schema | undefined;
989
+ /** Offer ID of the server. */
990
+ offer_id?: string | undefined;
991
+ /** OS ID. */
992
+ os_id?: string | undefined;
993
+ }
994
+ export interface ValidatePartitioningSchemaResponse {
995
+ }
996
+ export type AddOptionServerError = ScalewayOpError;
997
+ /** Add server option Add an option, such as Private Networks, to a specific server. */
998
+ export declare const addOptionServer: API.OperationMethod<AddOptionServerRequest, Server, AddOptionServerError, ScalewayOpContext>;
999
+ export type BatchCreateServersError = ScalewayOpError;
1000
+ /** Create multiple Elastic Metal servers Create multiple new Elastic Metal servers. Once the servers are created, proceed with the [installation of an OS](#post-3e949e). */
1001
+ export declare const batchCreateServers: API.OperationMethod<BatchCreateServersRequest, BatchCreateServersResponse, BatchCreateServersError, ScalewayOpContext>;
1002
+ export type CreateServerError = ScalewayOpError;
1003
+ /** Create an Elastic Metal server Create a new Elastic Metal server. Once the server is created, proceed with the [installation of an OS](#post-3e949e). */
1004
+ export declare const createServer: API.OperationMethod<CreateServerRequest2, Server, CreateServerError, ScalewayOpContext>;
1005
+ export type DeleteOptionServerError = ScalewayOpError;
1006
+ /** Delete server option Delete an option from a specific server. */
1007
+ export declare const deleteOptionServer: API.OperationMethod<DeleteOptionServerRequest, Server, DeleteOptionServerError, ScalewayOpContext>;
1008
+ export type DeleteServerError = ScalewayOpError;
1009
+ /** Delete an Elastic Metal server Delete the server associated with the ID. */
1010
+ export declare const deleteServer: API.OperationMethod<DeleteServerRequest, Server, DeleteServerError, ScalewayOpContext>;
1011
+ export type GetBMCAccessError = ScalewayOpError;
1012
+ /** Get BMC access Get the BMC (Baseboard Management Controller) access associated with the ID, including the URL and login information needed to connect. */
1013
+ export declare const getBMCAccess: API.OperationMethod<GetBMCAccessRequest, BMCAccess, GetBMCAccessError, ScalewayOpContext>;
1014
+ export type GetDefaultPartitioningSchemaError = ScalewayOpError;
1015
+ /** Get default partitioning schema Get the default partitioning schema for the given offer ID and OS ID. */
1016
+ export declare const getDefaultPartitioningSchema: API.OperationMethod<GetDefaultPartitioningSchemaRequest, Schema, GetDefaultPartitioningSchemaError, ScalewayOpContext>;
1017
+ export type GetOfferError = ScalewayOpError;
1018
+ /** Get offer Get details of an offer identified by its offer ID. */
1019
+ export declare const getOffer: API.OperationMethod<GetOfferRequest, Offer, GetOfferError, ScalewayOpContext>;
1020
+ export type GetOptionError = ScalewayOpError;
1021
+ /** Get option Return specific option for the ID. */
1022
+ export declare const getOption: API.OperationMethod<GetOptionRequest, Option, GetOptionError, ScalewayOpContext>;
1023
+ export type GetOSError = ScalewayOpError;
1024
+ /** Get OS with an ID Return the specific OS for the ID. */
1025
+ export declare const getOS: API.OperationMethod<GetOSRequest, OS, GetOSError, ScalewayOpContext>;
1026
+ export type GetServerError = ScalewayOpError;
1027
+ /** Get a specific Elastic Metal server Get full details of an existing Elastic Metal server associated with the ID. */
1028
+ export declare const getServer: API.OperationMethod<GetServerRequest, Server, GetServerError, ScalewayOpContext>;
1029
+ export type GetServerMetricsError = ScalewayOpError;
1030
+ /** Return server metrics Get the ping status of the server associated with the ID. */
1031
+ export declare const getServerMetrics: API.OperationMethod<GetServerMetricsRequest, GetServerMetricsResponse, GetServerMetricsError, ScalewayOpContext>;
1032
+ export type InstallServerError = ScalewayOpError;
1033
+ /** Install an Elastic Metal server Install an Operating System (OS) on the Elastic Metal server with a specific ID. */
1034
+ export declare const installServer: API.OperationMethod<InstallServerRequest, Server, InstallServerError, ScalewayOpContext>;
1035
+ export type ListOffersError = ScalewayOpError;
1036
+ /** List offers List all available Elastic Metal server configurations. */
1037
+ export declare const listOffers: API.PaginatedOperationMethod<ListOffersRequest, ListOffersResponse, ListOffersError, ScalewayOpContext, Offer>;
1038
+ export type ListOptionsError = ScalewayOpError;
1039
+ /** List options List all options matching with filters. */
1040
+ export declare const listOptions: API.PaginatedOperationMethod<ListOptionsRequest, ListOptionsResponse, ListOptionsError, ScalewayOpContext, Option>;
1041
+ export type ListOSError = ScalewayOpError;
1042
+ /** List available OSes List all OSes that are available for installation on Elastic Metal servers. */
1043
+ export declare const listOS: API.PaginatedOperationMethod<ListOSRequest, ListOSResponse, ListOSError, ScalewayOpContext, OS>;
1044
+ export type ListServerEventsError = ScalewayOpError;
1045
+ /** List server events List event (i.e. start/stop/reboot) associated to the server ID. */
1046
+ export declare const listServerEvents: API.PaginatedOperationMethod<ListServerEventsRequest, ListServerEventsResponse, ListServerEventsError, ScalewayOpContext, ServerEvent>;
1047
+ export type ListServersError = ScalewayOpError;
1048
+ /** List Elastic Metal servers for an Organization List Elastic Metal servers for a specific Organization. */
1049
+ export declare const listServers: API.PaginatedOperationMethod<ListServersRequest, ListServersResponse, ListServersError, ScalewayOpContext, Server>;
1050
+ export type ListSettingsError = ScalewayOpError;
1051
+ /** List all settings Return all settings for a Project ID. */
1052
+ export declare const listSettings: API.PaginatedOperationMethod<ListSettingsRequest, ListSettingsResponse, ListSettingsError, ScalewayOpContext, Setting>;
1053
+ export type MigrateServerToMonthlyOfferError = ScalewayOpError;
1054
+ /** Migrate server offer Migrate server with hourly offer to monthly offer. */
1055
+ export declare const migrateServerToMonthlyOffer: API.OperationMethod<MigrateServerToMonthlyOfferRequest, Server, MigrateServerToMonthlyOfferError, ScalewayOpContext>;
1056
+ export type RebootServerError = ScalewayOpError;
1057
+ /** Reboot an Elastic Metal server Reboot the Elastic Metal server associated with the ID, use the `boot_type` `rescue` to reboot the server in rescue mode. */
1058
+ export declare const rebootServer: API.OperationMethod<RebootServerRequest, Server, RebootServerError, ScalewayOpContext>;
1059
+ export type StartBMCAccessError = ScalewayOpError;
1060
+ /** Start BMC access Start BMC (Baseboard Management Controller) access associated with the ID. The BMC (Baseboard Management Controller) access is available one hour after the installation of the server. You need first to create an option Remote Access. You will find the ID and the price with a call to listOffers (https://developers.scaleway.com/en/products/baremetal/api/#get-78db92). Then add the option https://developers.scaleway.com/en/products/baremetal/api/#post-b14abd. After adding the BMC option, you need to Get Remote Access to get the login/password https://developers.scaleway.com/en/products/baremetal/api/#get-cefc0f. Do not forget to delete the Option after use. */
1061
+ export declare const startBMCAccess: API.OperationMethod<StartBMCAccessRequest, BMCAccess, StartBMCAccessError, ScalewayOpContext>;
1062
+ export type StartServerError = ScalewayOpError;
1063
+ /** Start an Elastic Metal server Start the server associated with the ID. */
1064
+ export declare const startServer: API.OperationMethod<StartServerRequest, Server, StartServerError, ScalewayOpContext>;
1065
+ export type StopBMCAccessError = ScalewayOpError;
1066
+ /** Stop BMC access Stop BMC (Baseboard Management Controller) access associated with the ID. */
1067
+ export declare const stopBMCAccess: API.OperationMethod<StopBMCAccessRequest, StopBMCAccessResponse, StopBMCAccessError, ScalewayOpContext>;
1068
+ export type StopServerError = ScalewayOpError;
1069
+ /** Stop an Elastic Metal server Stop the server associated with the ID. The server remains allocated to your account and all data remains on the local storage of the server. */
1070
+ export declare const stopServer: API.OperationMethod<StopServerRequest, Server, StopServerError, ScalewayOpContext>;
1071
+ export type UpdateIPError = ScalewayOpError;
1072
+ /** Update IP Configure the IP address associated with the server ID and IP ID. You can use this method to set a reverse DNS for an IP address. */
1073
+ export declare const updateIP: API.OperationMethod<UpdateIPRequest, IP, UpdateIPError, ScalewayOpContext>;
1074
+ export type UpdateServerError = ScalewayOpError;
1075
+ /** Update an Elastic Metal server Update the server associated with the ID. You can update parameters such as the server's name, tags, description and protection flag. Any parameters left null in the request body are not updated. */
1076
+ export declare const updateServer: API.OperationMethod<UpdateServerRequest, Server, UpdateServerError, ScalewayOpContext>;
1077
+ export type UpdateServerCommitmentError = ScalewayOpError;
1078
+ /** Update a commitment Update an existing commitment on a server to enable/disable auto-renewal. */
1079
+ export declare const updateServerCommitment: API.OperationMethod<UpdateServerCommitmentRequest, Server, UpdateServerCommitmentError, ScalewayOpContext>;
1080
+ export type UpdateSettingError = ScalewayOpError;
1081
+ /** Update setting Update a setting for a Project ID (enable or disable). */
1082
+ export declare const updateSetting: API.OperationMethod<UpdateSettingRequest, Setting, UpdateSettingError, ScalewayOpContext>;
1083
+ export type UpgradeServerCommitmentError = ScalewayOpError;
1084
+ /** Upgrade a commitment Start a commitment or upgrade an existing commitment on a server. */
1085
+ export declare const upgradeServerCommitment: API.OperationMethod<UpgradeServerCommitmentRequest, Server, UpgradeServerCommitmentError, ScalewayOpContext>;
1086
+ export type ValidatePartitioningSchemaError = ScalewayOpError;
1087
+ /** Validate client partitioning schema Validate the incoming partitioning schema from a user before installing the server. Return default ErrorCode if invalid. */
1088
+ export declare const validatePartitioningSchema: API.OperationMethod<ValidatePartitioningSchemaRequest, ValidatePartitioningSchemaResponse, ValidatePartitioningSchemaError, ScalewayOpContext>;
1089
+ //# sourceMappingURL=baremetal_v1.d.ts.map