@distilled.cloud/scaleway 0.0.0 → 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 +171 -4
  3. package/lib/.lazy.json +1 -0
  4. package/lib/_bundle/lazy.js +4 -0
  5. package/lib/_bundle/sdk.js +2 -0
  6. package/lib/_bundle/sdk.js.map +1 -0
  7. package/lib/credentials.d.ts +44 -0
  8. package/lib/credentials.d.ts.map +1 -0
  9. package/lib/credentials.js +1 -0
  10. package/lib/errors.d.ts +285 -0
  11. package/lib/errors.d.ts.map +1 -0
  12. package/lib/errors.js +1 -0
  13. package/lib/index.d.ts +48 -0
  14. package/lib/index.d.ts.map +1 -0
  15. package/lib/index.js +6 -0
  16. package/lib/pagination.d.ts +10 -0
  17. package/lib/pagination.d.ts.map +1 -0
  18. package/lib/pagination.js +1 -0
  19. package/lib/protocol.d.ts +48 -0
  20. package/lib/protocol.d.ts.map +1 -0
  21. package/lib/protocol.js +1 -0
  22. package/lib/retry.d.ts +31 -0
  23. package/lib/retry.d.ts.map +1 -0
  24. package/lib/retry.js +1 -0
  25. package/lib/services/account_contract_v3.d.ts +124 -0
  26. package/lib/services/account_contract_v3.d.ts.map +1 -0
  27. package/lib/services/account_contract_v3.js +2 -0
  28. package/lib/services/account_contract_v3.js.map +1 -0
  29. package/lib/services/account_iso_code_v3.d.ts +44 -0
  30. package/lib/services/account_iso_code_v3.d.ts.map +1 -0
  31. package/lib/services/account_iso_code_v3.js +2 -0
  32. package/lib/services/account_iso_code_v3.js.map +1 -0
  33. package/lib/services/account_organization_v3.d.ts +290 -0
  34. package/lib/services/account_organization_v3.d.ts.map +1 -0
  35. package/lib/services/account_organization_v3.js +2 -0
  36. package/lib/services/account_organization_v3.js.map +1 -0
  37. package/lib/services/account_project_v3.d.ts +173 -0
  38. package/lib/services/account_project_v3.d.ts.map +1 -0
  39. package/lib/services/account_project_v3.js +2 -0
  40. package/lib/services/account_project_v3.js.map +1 -0
  41. package/lib/services/account_unauthenticated_user_v3.d.ts +479 -0
  42. package/lib/services/account_unauthenticated_user_v3.d.ts.map +1 -0
  43. package/lib/services/account_unauthenticated_user_v3.js +35 -0
  44. package/lib/services/account_unauthenticated_user_v3.js.map +1 -0
  45. package/lib/services/account_unauthenticated_v3.d.ts +18 -0
  46. package/lib/services/account_unauthenticated_v3.d.ts.map +1 -0
  47. package/lib/services/account_unauthenticated_v3.js +2 -0
  48. package/lib/services/account_unauthenticated_v3.js.map +1 -0
  49. package/lib/services/account_user_v3.d.ts +522 -0
  50. package/lib/services/account_user_v3.d.ts.map +1 -0
  51. package/lib/services/account_user_v3.js +39 -0
  52. package/lib/services/account_user_v3.js.map +1 -0
  53. package/lib/services/annotations_v1.d.ts +260 -0
  54. package/lib/services/annotations_v1.d.ts.map +1 -0
  55. package/lib/services/annotations_v1.js +2 -0
  56. package/lib/services/annotations_v1.js.map +1 -0
  57. package/lib/services/baremetal_private_network_v1.d.ts +95 -0
  58. package/lib/services/baremetal_private_network_v1.d.ts.map +1 -0
  59. package/lib/services/baremetal_private_network_v1.js +2 -0
  60. package/lib/services/baremetal_private_network_v1.js.map +1 -0
  61. package/lib/services/baremetal_private_network_v3.d.ts +110 -0
  62. package/lib/services/baremetal_private_network_v3.d.ts.map +1 -0
  63. package/lib/services/baremetal_private_network_v3.js +2 -0
  64. package/lib/services/baremetal_private_network_v3.js.map +1 -0
  65. package/lib/services/baremetal_v1.d.ts +1089 -0
  66. package/lib/services/baremetal_v1.d.ts.map +1 -0
  67. package/lib/services/baremetal_v1.js +52 -0
  68. package/lib/services/baremetal_v1.js.map +1 -0
  69. package/lib/services/billing_electronic_billing_v2.d.ts +86 -0
  70. package/lib/services/billing_electronic_billing_v2.d.ts.map +1 -0
  71. package/lib/services/billing_electronic_billing_v2.js +2 -0
  72. package/lib/services/billing_electronic_billing_v2.js.map +1 -0
  73. package/lib/services/billing_v2.d.ts +187 -0
  74. package/lib/services/billing_v2.d.ts.map +1 -0
  75. package/lib/services/billing_v2.js +2 -0
  76. package/lib/services/billing_v2.js.map +1 -0
  77. package/lib/services/block_v1.d.ts +401 -0
  78. package/lib/services/block_v1.d.ts.map +1 -0
  79. package/lib/services/block_v1.js +27 -0
  80. package/lib/services/block_v1.js.map +1 -0
  81. package/lib/services/cockpit_global_v1.d.ts +75 -0
  82. package/lib/services/cockpit_global_v1.d.ts.map +1 -0
  83. package/lib/services/cockpit_global_v1.js +2 -0
  84. package/lib/services/cockpit_global_v1.js.map +1 -0
  85. package/lib/services/cockpit_regional_v1.d.ts +739 -0
  86. package/lib/services/cockpit_regional_v1.d.ts.map +1 -0
  87. package/lib/services/cockpit_regional_v1.js +47 -0
  88. package/lib/services/cockpit_regional_v1.js.map +1 -0
  89. package/lib/services/containers_v1.d.ts +822 -0
  90. package/lib/services/containers_v1.d.ts.map +1 -0
  91. package/lib/services/containers_v1.js +39 -0
  92. package/lib/services/containers_v1.js.map +1 -0
  93. package/lib/services/dedibox_billing_v1.d.ts +151 -0
  94. package/lib/services/dedibox_billing_v1.d.ts.map +1 -0
  95. package/lib/services/dedibox_billing_v1.js +2 -0
  96. package/lib/services/dedibox_billing_v1.js.map +1 -0
  97. package/lib/services/dedibox_ipv6_block_v1.d.ts +119 -0
  98. package/lib/services/dedibox_ipv6_block_v1.d.ts.map +1 -0
  99. package/lib/services/dedibox_ipv6_block_v1.js +2 -0
  100. package/lib/services/dedibox_ipv6_block_v1.js.map +1 -0
  101. package/lib/services/dedibox_rpn_san_v1.d.ts +486 -0
  102. package/lib/services/dedibox_rpn_san_v1.d.ts.map +1 -0
  103. package/lib/services/dedibox_rpn_san_v1.js +2 -0
  104. package/lib/services/dedibox_rpn_san_v1.js.map +1 -0
  105. package/lib/services/dedibox_rpn_v1.d.ts +68 -0
  106. package/lib/services/dedibox_rpn_v1.d.ts.map +1 -0
  107. package/lib/services/dedibox_rpn_v1.js +2 -0
  108. package/lib/services/dedibox_rpn_v1.js.map +1 -0
  109. package/lib/services/dedibox_rpn_v1_v1.d.ts +687 -0
  110. package/lib/services/dedibox_rpn_v1_v1.d.ts.map +1 -0
  111. package/lib/services/dedibox_rpn_v1_v1.js +30 -0
  112. package/lib/services/dedibox_rpn_v1_v1.js.map +1 -0
  113. package/lib/services/dedibox_rpn_v2_v1.d.ts +646 -0
  114. package/lib/services/dedibox_rpn_v2_v1.d.ts.map +1 -0
  115. package/lib/services/dedibox_rpn_v2_v1.js +27 -0
  116. package/lib/services/dedibox_rpn_v2_v1.js.map +1 -0
  117. package/lib/services/dedibox_v1.d.ts +1351 -0
  118. package/lib/services/dedibox_v1.d.ts.map +1 -0
  119. package/lib/services/dedibox_v1.js +70 -0
  120. package/lib/services/dedibox_v1.js.map +1 -0
  121. package/lib/services/generative_apis_openai_v1.d.ts +772 -0
  122. package/lib/services/generative_apis_openai_v1.d.ts.map +1 -0
  123. package/lib/services/generative_apis_openai_v1.js +24 -0
  124. package/lib/services/generative_apis_openai_v1.js.map +1 -0
  125. package/lib/services/generative_apis_v1.d.ts +82 -0
  126. package/lib/services/generative_apis_v1.d.ts.map +1 -0
  127. package/lib/services/generative_apis_v1.js +2 -0
  128. package/lib/services/generative_apis_v1.js.map +1 -0
  129. package/lib/services/index.d.ts +57 -0
  130. package/lib/services/index.d.ts.map +1 -0
  131. package/lib/services/index.js +56 -0
  132. package/lib/services/inference_v1.d.ts +460 -0
  133. package/lib/services/inference_v1.d.ts.map +1 -0
  134. package/lib/services/inference_v1.js +33 -0
  135. package/lib/services/inference_v1.js.map +1 -0
  136. package/lib/services/instance_v1.d.ts +2183 -0
  137. package/lib/services/instance_v1.d.ts.map +1 -0
  138. package/lib/services/instance_v1.js +112 -0
  139. package/lib/services/instance_v1.js.map +1 -0
  140. package/lib/services/iot_v1.d.ts +837 -0
  141. package/lib/services/iot_v1.d.ts.map +1 -0
  142. package/lib/services/iot_v1.js +50 -0
  143. package/lib/services/iot_v1.js.map +1 -0
  144. package/lib/services/ipam_v1.d.ts +244 -0
  145. package/lib/services/ipam_v1.d.ts.map +1 -0
  146. package/lib/services/ipam_v1.js +2 -0
  147. package/lib/services/ipam_v1.js.map +1 -0
  148. package/lib/services/k8s_v1.d.ts +1223 -0
  149. package/lib/services/k8s_v1.d.ts.map +1 -0
  150. package/lib/services/k8s_v1.js +61 -0
  151. package/lib/services/k8s_v1.js.map +1 -0
  152. package/lib/services/lb_zoned_v1.d.ts +1517 -0
  153. package/lib/services/lb_zoned_v1.d.ts.map +1 -0
  154. package/lib/services/lb_zoned_v1.js +75 -0
  155. package/lib/services/lb_zoned_v1.js.map +1 -0
  156. package/lib/services/marketplace_console_v2.d.ts +72 -0
  157. package/lib/services/marketplace_console_v2.d.ts.map +1 -0
  158. package/lib/services/marketplace_console_v2.js +2 -0
  159. package/lib/services/marketplace_console_v2.js.map +1 -0
  160. package/lib/services/marketplace_v2.d.ts +169 -0
  161. package/lib/services/marketplace_v2.d.ts.map +1 -0
  162. package/lib/services/marketplace_v2.js +2 -0
  163. package/lib/services/marketplace_v2.js.map +1 -0
  164. package/lib/services/mongodb_v1.d.ts +698 -0
  165. package/lib/services/mongodb_v1.d.ts.map +1 -0
  166. package/lib/services/mongodb_v1.js +43 -0
  167. package/lib/services/mongodb_v1.js.map +1 -0
  168. package/lib/services/partner_v1.d.ts +142 -0
  169. package/lib/services/partner_v1.d.ts.map +1 -0
  170. package/lib/services/partner_v1.js +2 -0
  171. package/lib/services/partner_v1.js.map +1 -0
  172. package/lib/services/rdb_encryption_v1.d.ts +17 -0
  173. package/lib/services/rdb_encryption_v1.d.ts.map +1 -0
  174. package/lib/services/rdb_encryption_v1.js +2 -0
  175. package/lib/services/rdb_encryption_v1.js.map +1 -0
  176. package/lib/services/rdb_v1.d.ts +1422 -0
  177. package/lib/services/rdb_v1.d.ts.map +1 -0
  178. package/lib/services/rdb_v1.js +87 -0
  179. package/lib/services/rdb_v1.js.map +1 -0
  180. package/lib/services/redis_v1.d.ts +602 -0
  181. package/lib/services/redis_v1.d.ts.map +1 -0
  182. package/lib/services/redis_v1.js +42 -0
  183. package/lib/services/redis_v1.js.map +1 -0
  184. package/lib/services/registry_v1.d.ts +281 -0
  185. package/lib/services/registry_v1.d.ts.map +1 -0
  186. package/lib/services/registry_v1.js +2 -0
  187. package/lib/services/registry_v1.js.map +1 -0
  188. package/lib/services/reseller_v1.d.ts +81 -0
  189. package/lib/services/reseller_v1.d.ts.map +1 -0
  190. package/lib/services/reseller_v1.js +2 -0
  191. package/lib/services/reseller_v1.js.map +1 -0
  192. package/lib/services/vpc_gw_v2.d.ts +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 +89 -2
  532. package/src/credentials.ts +104 -0
  533. package/src/errors.ts +307 -0
  534. package/src/index.ts +52 -0
  535. package/src/pagination.ts +65 -0
  536. package/src/protocol.ts +496 -0
  537. package/src/retry.ts +47 -0
  538. package/src/services/account_contract_v3.ts +441 -0
  539. package/src/services/account_iso_code_v3.ts +165 -0
  540. package/src/services/account_organization_v3.ts +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,1745 @@
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 AddSecurityGroupRulesRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
6
+ export type SecurityGroupRuleProtocol = "unknown_protocol" | "tcp" | "udp" | "icmp" | "any";
7
+ export type SecurityGroupRuleDirection = "unknown_direction" | "inbound" | "outbound" | "both";
8
+ export type SecurityGroupRuleAction = "unknown_action" | "accept" | "drop";
9
+ export interface SecurityGroupRulePortRange {
10
+ /** Start of the port range. */
11
+ start?: number | undefined;
12
+ /** End of the port range. */
13
+ end?: number | undefined;
14
+ }
15
+ export interface SecurityGroupRuleConfig {
16
+ /** Protocol for the rule. */
17
+ protocol?: SecurityGroupRuleProtocol | (string & {}) | undefined;
18
+ /** Direction of traffic for the rule. */
19
+ direction?: SecurityGroupRuleDirection | (string & {}) | undefined;
20
+ /** Action to take when the rule matches. */
21
+ action?: SecurityGroupRuleAction | (string & {}) | undefined;
22
+ /** Source IP range for the rule. (IP network) */
23
+ source_ip_range?: string | undefined;
24
+ /** Destination IP range for the rule. (IP network) */
25
+ destination_ip_range?: string | undefined;
26
+ /** Source port range for the rule. */
27
+ source_ports?: SecurityGroupRulePortRange | undefined;
28
+ /** Destination port range for the rule. */
29
+ destination_ports?: SecurityGroupRulePortRange | undefined;
30
+ /** Position of this rule in the rule list, starting at 1. */
31
+ position?: number | undefined;
32
+ }
33
+ /** List of rules to add. */
34
+ export type AddSecurityGroupRulesRequestSecurityGroupRulesList = Array<SecurityGroupRuleConfig>;
35
+ export interface AddSecurityGroupRulesRequest {
36
+ /** The zone you want to target */
37
+ zone?: AddSecurityGroupRulesRequestZone | (string & {}) | undefined;
38
+ /** ID of the security group to add rules to. */
39
+ security_group_id?: string | undefined;
40
+ /** List of rules to add. */
41
+ security_group_rules?: AddSecurityGroupRulesRequestSecurityGroupRulesList | undefined;
42
+ }
43
+ /** Tags associated with the security group. */
44
+ export type SecurityGroupTagsList = Array<string>;
45
+ export type SecurityGroupAction = "unknown_action" | "accept" | "drop";
46
+ export interface SecurityGroupRule {
47
+ /** Unique ID of the rule. */
48
+ id?: string | undefined;
49
+ /** Protocol this rule applies to. */
50
+ protocol?: SecurityGroupRuleProtocol | undefined;
51
+ /** Direction of traffic this rule applies to. */
52
+ direction?: SecurityGroupRuleDirection | undefined;
53
+ /** Action to take when the rule matches. */
54
+ action?: SecurityGroupRuleAction | undefined;
55
+ /** Source IP range for the rule. (IP network) */
56
+ source_ip_range?: string | undefined;
57
+ /** Destination IP range for the rule. (IP network) */
58
+ destination_ip_range?: string | undefined;
59
+ /** Source port range for the rule. */
60
+ source_ports?: SecurityGroupRulePortRange | undefined;
61
+ /** Destination port range for the rule. */
62
+ destination_ports?: SecurityGroupRulePortRange | undefined;
63
+ /** Position of the rule in the list. */
64
+ position?: number | undefined;
65
+ }
66
+ /** List of default rules applied to the security group. */
67
+ export type SecurityGroupDefaultRulesList = Array<SecurityGroupRule>;
68
+ /** List of custom rules applied to the security group. */
69
+ export type SecurityGroupRulesList = Array<SecurityGroupRule>;
70
+ export interface SecurityGroup {
71
+ /** Unique ID of the security group. */
72
+ id?: string | undefined;
73
+ /** The SRN of the security group. */
74
+ srn?: string | undefined;
75
+ /** Name of the security group. */
76
+ name?: string | undefined;
77
+ /** Description of the security group. */
78
+ description?: string | undefined;
79
+ /** Project ID the security group belongs to. */
80
+ project_id?: string | undefined;
81
+ /** Tags associated with the security group. */
82
+ tags?: SecurityGroupTagsList | undefined;
83
+ /** True if default rules are disabled. */
84
+ disable_default_rules?: boolean | undefined;
85
+ /** True if this is the default security group for the project. */
86
+ project_default?: boolean | undefined;
87
+ /** Default action for inbound rules. */
88
+ inbound_default_action?: SecurityGroupAction | undefined;
89
+ /** Default action for outbound rules. */
90
+ outbound_default_action?: SecurityGroupAction | undefined;
91
+ /** True if the security group is stateless. */
92
+ stateless?: boolean | undefined;
93
+ /** Creation timestamp of the security group. (RFC 3339 format) */
94
+ created_at?: string | null | undefined;
95
+ /** Last update timestamp of the security group. (RFC 3339 format) */
96
+ updated_at?: string | null | undefined;
97
+ /** List of default rules applied to the security group. */
98
+ default_rules?: SecurityGroupDefaultRulesList | undefined;
99
+ /** List of custom rules applied to the security group. */
100
+ rules?: SecurityGroupRulesList | undefined;
101
+ /** Zone in which the security group is located. */
102
+ zone?: string | undefined;
103
+ }
104
+ /** List of rules that were added. */
105
+ export type AddSecurityGroupRulesResponseAddedRulesList = Array<SecurityGroupRule>;
106
+ export interface AddSecurityGroupRulesResponse {
107
+ /** Updated security group. */
108
+ security_group?: SecurityGroup | undefined;
109
+ /** List of rules that were added. */
110
+ added_rules?: AddSecurityGroupRulesResponseAddedRulesList | undefined;
111
+ }
112
+ export type AttachServerFileSystemRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
113
+ export interface AttachServerFileSystemRequest {
114
+ /** The zone you want to target */
115
+ zone?: AttachServerFileSystemRequestZone | (string & {}) | undefined;
116
+ /** ID of the server to attach the filesystem to. */
117
+ server_id: string;
118
+ /** ID of the filesystem to attach. */
119
+ filesystem_id?: string | undefined;
120
+ }
121
+ /** Tags associated with the server. */
122
+ export type ServerTagsList = Array<string>;
123
+ export type ServerStatus = "unknown_status" | "started" | "stopped" | "paused" | "starting" | "stopping" | "pausing" | "locked" | "rebooting";
124
+ export type ServerVolumeVolumeType = "unknown_volume_type" | "l_ssd" | "sbs" | "scratch";
125
+ export interface ServerVolume {
126
+ id?: string | undefined;
127
+ volume_type?: ServerVolumeVolumeType | undefined;
128
+ }
129
+ /** List of volumes attached to the server. */
130
+ export type ServerVolumesList = Array<ServerVolume>;
131
+ export type ServerFilesystemStatus = "unknown_status" | "attaching" | "available" | "detaching";
132
+ export interface ServerFilesystem {
133
+ /** (UUID format) */
134
+ id?: string | undefined;
135
+ status?: ServerFilesystemStatus | undefined;
136
+ }
137
+ /** List of filesystems attached to the server. */
138
+ export type ServerFilesystemsList = Array<ServerFilesystem>;
139
+ export type ServerArchitecture = "unknown_architecture" | "x86_64" | "aarch64";
140
+ export type ServerPrivateNetworkInterfaceStatus = "unknown_status" | "available" | "attaching" | "detaching" | "syncing" | "deleting" | "detach_error" | "delete_error";
141
+ export type ServerPrivateNetworkInterfaceIpIdsList = Array<string>;
142
+ export interface ServerPrivateNetworkInterface {
143
+ id?: string | undefined;
144
+ private_network_id?: string | undefined;
145
+ mac_address?: string | undefined;
146
+ status?: ServerPrivateNetworkInterfaceStatus | undefined;
147
+ ip_ids?: ServerPrivateNetworkInterfaceIpIdsList | undefined;
148
+ security_group_id?: string | undefined;
149
+ }
150
+ /** List of private network interfaces attached to the server. */
151
+ export type ServerPrivateNetworkInterfacesList = Array<ServerPrivateNetworkInterface>;
152
+ export interface ServerRDPPassword {
153
+ encrypted_password?: string | Redacted.Redacted<string> | undefined;
154
+ rdp_ssh_key_id?: string | undefined;
155
+ }
156
+ export type ServerPublicNetworkInterfaceStatus = "unknown_status" | "available" | "syncing";
157
+ export type ServerIPStatus = "unknown_status" | "detached" | "attached" | "pending" | "error";
158
+ export interface ServerIP {
159
+ id?: string | undefined;
160
+ dynamic?: boolean | undefined;
161
+ status?: ServerIPStatus | undefined;
162
+ default?: boolean | undefined;
163
+ /** (IP network) */
164
+ provisioned_address?: string | undefined;
165
+ }
166
+ export type ServerPublicNetworkInterfaceIpsList = Array<ServerIP>;
167
+ export interface ServerPublicNetworkInterface {
168
+ status?: ServerPublicNetworkInterfaceStatus | undefined;
169
+ mac_address?: string | undefined;
170
+ security_group_id?: string | undefined;
171
+ ips?: ServerPublicNetworkInterfaceIpsList | undefined;
172
+ dns?: string | undefined;
173
+ }
174
+ export interface ServerRuntimeInfo {
175
+ /** True if the Instance is running as Spot. */
176
+ spot?: boolean | undefined;
177
+ /** The unique identifier of the physical server hosting this Instance. */
178
+ physical_host_id?: string | undefined;
179
+ }
180
+ export interface Server {
181
+ /** Unique ID of the server. */
182
+ id?: string | undefined;
183
+ /** The SRN of the server. */
184
+ srn?: string | undefined;
185
+ /** Name of the server. */
186
+ name?: string | undefined;
187
+ /** Project ID to which the server belongs. */
188
+ project_id?: string | undefined;
189
+ /** Tags associated with the server. */
190
+ tags?: ServerTagsList | undefined;
191
+ /** Type of the server. */
192
+ server_type?: string | undefined;
193
+ /** ID of the placement group the server belongs to. */
194
+ placement_group_id?: string | null | undefined;
195
+ /** Current status of the server. */
196
+ status?: ServerStatus | undefined;
197
+ /** List of volumes attached to the server. */
198
+ volumes?: ServerVolumesList | undefined;
199
+ /** List of filesystems attached to the server. */
200
+ filesystems?: ServerFilesystemsList | undefined;
201
+ /** Architecture of the server. */
202
+ architecture?: ServerArchitecture | undefined;
203
+ /** Creation timestamp of the server. (RFC 3339 format) */
204
+ created_at?: string | null | undefined;
205
+ /** Last update timestamp of the server. (RFC 3339 format) */
206
+ updated_at?: string | null | undefined;
207
+ /** List of private network interfaces attached to the server. */
208
+ private_network_interfaces?: ServerPrivateNetworkInterfacesList | undefined;
209
+ /** Whether the server is in rescue mode. */
210
+ rescue_mode?: boolean | undefined;
211
+ /** ID of the boot volume. */
212
+ boot_volume_id?: string | null | undefined;
213
+ /** Detailed status information of the server. */
214
+ status_detail?: string | undefined;
215
+ /** Encrypted RDP password for Windows servers. The encryption scheme is RSA-PKCS1-v1_5, using the public part of the SSH key supplied in `windows_rdp_ssh_key_id`. */
216
+ windows_rdp_password?: ServerRDPPassword | undefined;
217
+ /** Public network interface of the server. */
218
+ public_network_interface?: ServerPublicNetworkInterface | undefined;
219
+ /** Zone in which the server is located. */
220
+ zone?: string | undefined;
221
+ /** Runtime information of this server, only available only when it is running. */
222
+ runtime_info?: ServerRuntimeInfo | undefined;
223
+ }
224
+ export type AttachServerIPRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
225
+ export interface AttachServerIPRequest {
226
+ /** The zone you want to target */
227
+ zone?: AttachServerIPRequestZone | (string & {}) | undefined;
228
+ /** ID of the server to attach the IP to. */
229
+ server_id: string;
230
+ /** ID of the IP to attach. */
231
+ ip_id?: string | undefined;
232
+ /** Whether the IP should be the default IP. */
233
+ default?: boolean | undefined;
234
+ /** When enabled, allows attaching the IP even if it is already attached to another server. */
235
+ move_allowed?: boolean | undefined;
236
+ }
237
+ export type AttachServerPrivateNetworkInterfaceRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
238
+ export interface AttachServerPrivateNetworkInterfaceRequest {
239
+ /** The zone you want to target */
240
+ zone?: AttachServerPrivateNetworkInterfaceRequestZone | (string & {}) | undefined;
241
+ /** ID of the server to attach the private network interface to. */
242
+ server_id: string;
243
+ /** ID of the private network interface to attach. */
244
+ private_network_interface_id?: string | undefined;
245
+ }
246
+ export type AttachServerVolumeRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
247
+ export interface AttachServerVolumeRequest {
248
+ /** The zone you want to target */
249
+ zone?: AttachServerVolumeRequestZone | (string & {}) | undefined;
250
+ /** ID of the server to attach the volume to. */
251
+ server_id: string;
252
+ /** ID of the volume to attach. */
253
+ volume_id?: string | undefined;
254
+ /** Type of the volume. */
255
+ volume_type?: ServerVolumeVolumeType | (string & {}) | undefined;
256
+ /** Whether the volume should be used as the boot volume. */
257
+ boot_volume?: boolean | undefined;
258
+ }
259
+ export type CheckTemplateRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
260
+ export interface CheckTemplateRequest {
261
+ /** The zone you want to target */
262
+ zone?: CheckTemplateRequestZone | (string & {}) | undefined;
263
+ /** Unique ID of the template to check. */
264
+ template_id: string;
265
+ }
266
+ export interface CheckTemplateResponse {
267
+ }
268
+ export type CreatePlacementGroupRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
269
+ export type PlacementGroupPolicyType = "unknown_policy_type" | "low_latency" | "max_availability" | "max_availability_enforced";
270
+ /** Tags of the placement group. */
271
+ export type CreatePlacementGroupRequestTagsList = Array<string>;
272
+ export interface CreatePlacementGroupRequest {
273
+ /** The zone you want to target */
274
+ zone?: CreatePlacementGroupRequestZone | (string & {}) | undefined;
275
+ /** Project ID of the placement group. */
276
+ project_id?: string | undefined;
277
+ /** Name of the placement group. */
278
+ name?: string | undefined;
279
+ /** Policy type of the placement group. */
280
+ policy_type?: PlacementGroupPolicyType | (string & {}) | undefined;
281
+ /** Tags of the placement group. */
282
+ tags?: CreatePlacementGroupRequestTagsList | undefined;
283
+ }
284
+ /** Placement group tags. */
285
+ export type PlacementGroupTagsList = Array<string>;
286
+ export interface PlacementGroup {
287
+ /** Placement group unique ID. */
288
+ id?: string | undefined;
289
+ /** The SRN of the placement group. */
290
+ srn?: string | undefined;
291
+ /** Placement group Project ID. */
292
+ project_id?: string | undefined;
293
+ /** Placement group name. */
294
+ name?: string | undefined;
295
+ /** Type of the placement group. The type determines how servers within the Placement Group (members) will be allocated, by constraining their location. With `low_latency`, the members are allocated as close to each other as possible. With `max_availability` or `max_availability_enforced`, the members are spread across different physical hosts to maximize availability. The difference between `max_availability` and `max_availability_enforced` is the behavior when the policy cannot be satisfied: - with `max_availability`, the member is allowed to start on a physical node that already holds another member; - with `max_availability_enforced`, the member will fail to start after a short amount of time. */
296
+ policy_type?: PlacementGroupPolicyType | undefined;
297
+ /** Placement group tags. */
298
+ tags?: PlacementGroupTagsList | undefined;
299
+ /** Placement group creation date. (RFC 3339 format) */
300
+ created_at?: string | null | undefined;
301
+ /** Placement group modification date. (RFC 3339 format) */
302
+ updated_at?: string | null | undefined;
303
+ /** Zone in which the placement group is located. */
304
+ zone?: string | undefined;
305
+ }
306
+ export type CreatePrivateNetworkInterfaceRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
307
+ /** List of IP IDs to attach to the interface. */
308
+ export type CreatePrivateNetworkInterfaceRequestIpIdsList = Array<string>;
309
+ /** Tags to assign to the private network interface. */
310
+ export type CreatePrivateNetworkInterfaceRequestTagsList = Array<string>;
311
+ export interface CreatePrivateNetworkInterfaceRequest {
312
+ /** The zone you want to target */
313
+ zone?: CreatePrivateNetworkInterfaceRequestZone | (string & {}) | undefined;
314
+ /** ID of the Private Network to attach to. */
315
+ private_network_id?: string | undefined;
316
+ /** Project ID for the private network interface. */
317
+ project_id?: string | undefined;
318
+ /** ID of the Instance to attach the interface to. */
319
+ server_id?: string | null | undefined;
320
+ /** ID of the security group to associate with the interface. */
321
+ security_group_id?: string | null | undefined;
322
+ /** List of IP IDs to attach to the interface. */
323
+ ip_ids?: CreatePrivateNetworkInterfaceRequestIpIdsList | undefined;
324
+ /** Tags to assign to the private network interface. */
325
+ tags?: CreatePrivateNetworkInterfaceRequestTagsList | undefined;
326
+ }
327
+ export type PrivateNetworkInterfaceStatus = "unknown_status" | "available" | "attaching" | "detaching" | "syncing" | "deleting" | "detach_error" | "delete_error";
328
+ /** List of IP IDs attached to this interface. */
329
+ export type PrivateNetworkInterfaceIpIdsList = Array<string>;
330
+ /** Tags associated with the private network interface. */
331
+ export type PrivateNetworkInterfaceTagsList = Array<string>;
332
+ export interface PrivateNetworkInterface {
333
+ /** Unique ID of the private network interface. */
334
+ id?: string | undefined;
335
+ /** The SRN of the private network interface. */
336
+ srn?: string | undefined;
337
+ /** ID of the Private Network this interface is attached to. */
338
+ private_network_id?: string | undefined;
339
+ /** Project ID the private network interface belongs to. */
340
+ project_id?: string | undefined;
341
+ /** ID of the Instance this interface is attached to. */
342
+ server_id?: string | undefined;
343
+ /** ID of the security group associated with this interface. */
344
+ security_group_id?: string | undefined;
345
+ /** MAC address of the private network interface. */
346
+ mac_address?: string | undefined;
347
+ /** Current status of the private network interface. */
348
+ status?: PrivateNetworkInterfaceStatus | undefined;
349
+ /** List of IP IDs attached to this interface. */
350
+ ip_ids?: PrivateNetworkInterfaceIpIdsList | undefined;
351
+ /** Tags associated with the private network interface. */
352
+ tags?: PrivateNetworkInterfaceTagsList | undefined;
353
+ /** Creation timestamp of the private network interface. (RFC 3339 format) */
354
+ created_at?: string | null | undefined;
355
+ /** Last update timestamp of the private network interface. (RFC 3339 format) */
356
+ updated_at?: string | null | undefined;
357
+ /** Zone in which the network interface is located. */
358
+ zone?: string | undefined;
359
+ }
360
+ export type CreateSecurityGroupRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
361
+ /** Tags for the security group. */
362
+ export type CreateSecurityGroupRequestTagsList = Array<string>;
363
+ export interface CreateSecurityGroupRequest {
364
+ /** The zone you want to target */
365
+ zone?: CreateSecurityGroupRequestZone | (string & {}) | undefined;
366
+ /** Name of the security group. */
367
+ name?: string | undefined;
368
+ /** Description of the security group. */
369
+ description?: string | undefined;
370
+ /** Whether to disable default rules. */
371
+ disable_default_rules?: boolean | undefined;
372
+ /** Project ID the security group belongs to. */
373
+ project_id?: string | undefined;
374
+ /** Tags for the security group. */
375
+ tags?: CreateSecurityGroupRequestTagsList | undefined;
376
+ /** Whether this should be the default security group for the project. */
377
+ project_default?: boolean | undefined;
378
+ /** Default action for inbound rules. */
379
+ inbound_default_action?: SecurityGroupAction | (string & {}) | undefined;
380
+ /** Default action for outbound rules. */
381
+ outbound_default_action?: SecurityGroupAction | (string & {}) | undefined;
382
+ /** Whether the security group should be stateless. */
383
+ stateless?: boolean | undefined;
384
+ }
385
+ export type CreateServerRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
386
+ /** Tags to associate with the server. */
387
+ export type CreateServerRequestTagsList = Array<string>;
388
+ export type CreateServerRequestServerVolumeVolumeType = "unknown_volume_type" | "l_ssd" | "sbs" | "scratch";
389
+ /** Tags to associate with the volume. */
390
+ export type CreateServerRequestCreateVolumeTagsList = Array<string>;
391
+ export interface CreateServerRequestCreateVolume {
392
+ /** Name of the volume. */
393
+ name?: string | undefined;
394
+ /** Tags to associate with the volume. */
395
+ tags?: CreateServerRequestCreateVolumeTagsList | undefined;
396
+ /** Size of the volume. (in bytes) */
397
+ size?: number | null | undefined;
398
+ /** ID of the base snapshot for the volume. Precisely one of base_snapshot_id, image_label can be set. */
399
+ base_snapshot_id?: string | null | undefined;
400
+ /** Label of the image to use for the volume. Precisely one of base_snapshot_id, image_label can be set. */
401
+ image_label?: string | null | undefined;
402
+ /** Performance IOPS for the volume. */
403
+ perf_iops?: number | null | undefined;
404
+ }
405
+ export interface CreateServerRequestServerVolume {
406
+ /** Type of the volume. */
407
+ volume_type?: CreateServerRequestServerVolumeVolumeType | (string & {}) | undefined;
408
+ /** ID of the volume to attach. Precisely one of volume_id, new_volume can be set. */
409
+ volume_id?: string | null | undefined;
410
+ /** Configuration for a new volume to create. Precisely one of volume_id, new_volume can be set. */
411
+ new_volume?: CreateServerRequestCreateVolume | null | undefined;
412
+ }
413
+ /** Volumes to attach to the server. */
414
+ export type CreateServerRequestVolumesList = Array<CreateServerRequestServerVolume>;
415
+ export type CreateServerRequestBookIPIPType = "unknown_ip_type" | "zonal_ipv4" | "zonal_ipv6";
416
+ /** Tags to associate with the IP. */
417
+ export type CreateServerRequestBookIPTagsList = Array<string>;
418
+ export interface CreateServerRequestBookIP {
419
+ /** Type of IP to book. */
420
+ type?: CreateServerRequestBookIPIPType | (string & {}) | undefined;
421
+ /** Tags to associate with the IP. */
422
+ tags?: CreateServerRequestBookIPTagsList | undefined;
423
+ }
424
+ export interface CreateServerRequestServerIP {
425
+ /** ID of the IPAM IP to attach. Precisely one of ipam_ip_id, new_ip can be set. */
426
+ ipam_ip_id?: string | null | undefined;
427
+ /** Configuration for a new IP to book. Precisely one of ipam_ip_id, new_ip can be set. */
428
+ new_ip?: CreateServerRequestBookIP | null | undefined;
429
+ }
430
+ /** List of IPs to attach to the interface. */
431
+ export type CreateServerRequestPublicNetworkInterfaceIpsList = Array<CreateServerRequestServerIP>;
432
+ export interface CreateServerRequestPublicNetworkInterface {
433
+ /** ID of the security group for the interface. */
434
+ security_group_id?: string | null | undefined;
435
+ /** List of IPs to attach to the interface. */
436
+ ips?: CreateServerRequestPublicNetworkInterfaceIpsList | undefined;
437
+ }
438
+ export interface CreateServerRequest {
439
+ /** The zone you want to target */
440
+ zone?: CreateServerRequestZone | (string & {}) | undefined;
441
+ /** Project ID for the server. */
442
+ project_id?: string | undefined;
443
+ /** Name of the server. */
444
+ name?: string | undefined;
445
+ /** Tags to associate with the server. */
446
+ tags?: CreateServerRequestTagsList | undefined;
447
+ /** Type of the server. */
448
+ server_type?: string | undefined;
449
+ /** ID of the placement group the server belongs to. */
450
+ placement_group_id?: string | null | undefined;
451
+ /** Volumes to attach to the server. */
452
+ volumes?: CreateServerRequestVolumesList | undefined;
453
+ /** IAM ID of the SSH key used to encrypt the Windows `Administrator` password for RDP use. */
454
+ windows_rdp_ssh_key_id?: string | null | undefined;
455
+ /** Public network interface configuration. */
456
+ public_network_interface?: CreateServerRequestPublicNetworkInterface | undefined;
457
+ }
458
+ export type CreateServerFromTemplateRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
459
+ export interface CreateServerFromTemplateRequest {
460
+ /** The zone you want to target */
461
+ zone?: CreateServerFromTemplateRequestZone | (string & {}) | undefined;
462
+ /** Unique ID of the template to use. */
463
+ template_id: string;
464
+ /** Name of the new server. */
465
+ name?: string | undefined;
466
+ }
467
+ export type CreateTemplateRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
468
+ /** Tags to associate with the template. */
469
+ export type CreateTemplateRequestTagsList = Array<string>;
470
+ /** Tags to associate with servers created from the template. */
471
+ export type CreateTemplateRequestServerTagsList = Array<string>;
472
+ /** Tags associated with the volume. */
473
+ export type CreateTemplateRequestVolumeTemplateTagsList = Array<string>;
474
+ export interface CreateTemplateRequestVolumeTemplate {
475
+ /** Type of the volume. */
476
+ volume_type?: CreateServerRequestServerVolumeVolumeType | (string & {}) | undefined;
477
+ /** Name of the volume. */
478
+ name?: string | undefined;
479
+ /** Tags associated with the volume. */
480
+ tags?: CreateTemplateRequestVolumeTemplateTagsList | undefined;
481
+ /** Size of the volume in bytes. (in bytes) */
482
+ size?: number | null | undefined;
483
+ /** ID of the base snapshot for the volume. Precisely one of base_snapshot_id, image_label can be set. */
484
+ base_snapshot_id?: string | null | undefined;
485
+ /** Label of the image used as base for the volume. Precisely one of base_snapshot_id, image_label can be set. */
486
+ image_label?: string | null | undefined;
487
+ /** Performance IOPS for the volume. */
488
+ perf_iops?: number | null | undefined;
489
+ }
490
+ /** List of volume templates to define volumes for servers. */
491
+ export type CreateTemplateRequestVolumesList = Array<CreateTemplateRequestVolumeTemplate>;
492
+ export interface CreateTemplateRequestPrivateNetworkTemplate {
493
+ /** ID of the private network. */
494
+ private_network_id?: string | undefined;
495
+ /** ID of the security group for the private network. */
496
+ security_group_id?: string | null | undefined;
497
+ }
498
+ /** List of private networks to associate with the template. */
499
+ export type CreateTemplateRequestPrivateNetworksList = Array<CreateTemplateRequestPrivateNetworkTemplate>;
500
+ /** List of filesystem IDs to associate with the template. */
501
+ export type CreateTemplateRequestFilesystemIdsList = Array<string>;
502
+ export interface CreateTemplateRequest {
503
+ /** The zone you want to target */
504
+ zone?: CreateTemplateRequestZone | (string & {}) | undefined;
505
+ /** Project ID for the template. */
506
+ project_id?: string | undefined;
507
+ /** Name of the template. */
508
+ name?: string | undefined;
509
+ /** Tags to associate with the template. */
510
+ tags?: CreateTemplateRequestTagsList | undefined;
511
+ /** Tags to associate with servers created from the template. */
512
+ server_tags?: CreateTemplateRequestServerTagsList | undefined;
513
+ /** Commercial type of the server defined by the template. */
514
+ server_type?: string | undefined;
515
+ /** Security group ID for the template. */
516
+ security_group_id?: string | null | undefined;
517
+ /** Placement group ID for the template. */
518
+ placement_group_id?: string | null | undefined;
519
+ /** List of volume templates to define volumes for servers. */
520
+ volumes?: CreateTemplateRequestVolumesList | undefined;
521
+ /** List of private networks to associate with the template. */
522
+ private_networks?: CreateTemplateRequestPrivateNetworksList | undefined;
523
+ /** List of filesystem IDs to associate with the template. */
524
+ filesystem_ids?: CreateTemplateRequestFilesystemIdsList | undefined;
525
+ /** Number of IPv4 public IPs to attach to servers created from this template. */
526
+ public_ip_v4_count?: number | undefined;
527
+ /** Number of IPv6 public IPs to attach to servers created from this template. */
528
+ public_ip_v6_count?: number | undefined;
529
+ /** IAM ID of the SSH key used to encrypt the Windows `Administrator` password for RDP use. */
530
+ windows_rdp_ssh_key_id?: string | null | undefined;
531
+ }
532
+ /** Tags associated with the template. */
533
+ export type TemplateTagsList = Array<string>;
534
+ /** Tags associated with servers created from this template. */
535
+ export type TemplateServerTagsList = Array<string>;
536
+ /** List of volume templates used to create volumes for servers. */
537
+ export type TemplateVolumesList = Array<CreateTemplateRequestVolumeTemplate>;
538
+ /** List of private network associated with the template. */
539
+ export type TemplatePrivateNetworksList = Array<CreateTemplateRequestPrivateNetworkTemplate>;
540
+ /** List of filesystem IDs associated with the template. */
541
+ export type TemplateFilesystemIdsList = Array<string>;
542
+ export interface Template {
543
+ /** Project ID associated with the template. */
544
+ project_id?: string | undefined;
545
+ /** Unique ID of the template. */
546
+ id?: string | undefined;
547
+ /** The SRN of the template. */
548
+ srn?: string | undefined;
549
+ /** Name of the template. */
550
+ name?: string | undefined;
551
+ /** Tags associated with the template. */
552
+ tags?: TemplateTagsList | undefined;
553
+ /** Tags associated with servers created from this template. */
554
+ server_tags?: TemplateServerTagsList | undefined;
555
+ /** Commercial type of the server defined by the template. */
556
+ server_type?: string | undefined;
557
+ /** Security group ID associated with the template. */
558
+ security_group_id?: string | null | undefined;
559
+ /** Placement group ID associated with the template. */
560
+ placement_group_id?: string | null | undefined;
561
+ /** Number of IPv4 public IPs to attach to servers created from this template. */
562
+ public_ip_v4_count?: number | undefined;
563
+ /** Number of IPv6 public IPs to attach to servers created from this template. */
564
+ public_ip_v6_count?: number | undefined;
565
+ /** List of volume templates used to create volumes for servers. */
566
+ volumes?: TemplateVolumesList | undefined;
567
+ /** List of private network associated with the template. */
568
+ private_networks?: TemplatePrivateNetworksList | undefined;
569
+ /** List of filesystem IDs associated with the template. */
570
+ filesystem_ids?: TemplateFilesystemIdsList | undefined;
571
+ /** Creation timestamp of the template. (RFC 3339 format) */
572
+ created_at?: string | null | undefined;
573
+ /** Last update timestamp of the template. (RFC 3339 format) */
574
+ updated_at?: string | null | undefined;
575
+ /** IAM ID of the SSH key used to encrypt the Windows `Administrator` password for RDP use. */
576
+ windows_rdp_ssh_key_id?: string | null | undefined;
577
+ /** Zone in which the template is located. */
578
+ zone?: string | undefined;
579
+ }
580
+ export type DeletePlacementGroupRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
581
+ export interface DeletePlacementGroupRequest {
582
+ /** The zone you want to target */
583
+ zone?: DeletePlacementGroupRequestZone | (string & {}) | undefined;
584
+ /** UUID of the placement group you want to delete. */
585
+ placement_group_id: string;
586
+ }
587
+ export interface DeletePlacementGroupResponse {
588
+ }
589
+ export type DeletePrivateNetworkInterfaceRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
590
+ export interface DeletePrivateNetworkInterfaceRequest {
591
+ /** The zone you want to target */
592
+ zone?: DeletePrivateNetworkInterfaceRequestZone | (string & {}) | undefined;
593
+ /** ID of the private network interface to delete. */
594
+ private_network_interface_id: string;
595
+ }
596
+ export interface DeletePrivateNetworkInterfaceResponse {
597
+ }
598
+ export type DeleteSecurityGroupRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
599
+ export interface DeleteSecurityGroupRequest {
600
+ /** The zone you want to target */
601
+ zone?: DeleteSecurityGroupRequestZone | (string & {}) | undefined;
602
+ /** ID of the security group to delete. */
603
+ security_group_id: string;
604
+ }
605
+ export interface DeleteSecurityGroupResponse {
606
+ }
607
+ export type DeleteSecurityGroupRulesRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
608
+ /** List of rule IDs to delete. */
609
+ export type DeleteSecurityGroupRulesRequestSecurityGroupRuleIdsList = Array<string>;
610
+ export interface DeleteSecurityGroupRulesRequest {
611
+ /** The zone you want to target */
612
+ zone?: DeleteSecurityGroupRulesRequestZone | (string & {}) | undefined;
613
+ /** List of rule IDs to delete. */
614
+ security_group_rule_ids?: DeleteSecurityGroupRulesRequestSecurityGroupRuleIdsList | undefined;
615
+ }
616
+ export interface DeleteSecurityGroupRulesResponse {
617
+ }
618
+ export type DeleteServerRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
619
+ export type DeleteServerRequestDeleteIpIdsList = Array<string>;
620
+ export type DeleteServerRequestDeleteVolumeIdsList = Array<string>;
621
+ export type DeleteServerRequestDeletePrivateNicIdsList = Array<string>;
622
+ export interface DeleteServerRequest {
623
+ /** The zone you want to target */
624
+ zone?: DeleteServerRequestZone | (string & {}) | undefined;
625
+ /** ID of the server to delete. */
626
+ server_id: string;
627
+ /** Delete every IP attached to the server. One-of `ips`: at most one of `delete_all_ips`, `delete_ip_ids`. */
628
+ delete_all_ips?: boolean | undefined;
629
+ /** IDs of the attached IPs to delete with the server. One-of `ips`: at most one of `delete_all_ips`, `delete_ip_ids`. */
630
+ delete_ip_ids?: DeleteServerRequestDeleteIpIdsList | undefined;
631
+ /** Delete every volume attached to the server. One-of `volumes`: at most one of `delete_all_volumes`, `delete_volume_ids`. */
632
+ delete_all_volumes?: boolean | undefined;
633
+ /** IDs of the attached volumes to delete with the server. One-of `volumes`: at most one of `delete_all_volumes`, `delete_volume_ids`. */
634
+ delete_volume_ids?: DeleteServerRequestDeleteVolumeIdsList | undefined;
635
+ /** Keep every private NIC attached to the server. One-of `private_nics`: at most one of `keep_all_private_nics`, `delete_private_nic_ids`. */
636
+ keep_all_private_nics?: boolean | undefined;
637
+ /** IDs of the private NICs to delete with the server. One-of `private_nics`: at most one of `keep_all_private_nics`, `delete_private_nic_ids`. */
638
+ delete_private_nic_ids?: DeleteServerRequestDeletePrivateNicIdsList | undefined;
639
+ }
640
+ export interface DeleteServerResponse {
641
+ }
642
+ export type DeleteTemplateRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
643
+ export interface DeleteTemplateRequest {
644
+ /** The zone you want to target */
645
+ zone?: DeleteTemplateRequestZone | (string & {}) | undefined;
646
+ /** Unique ID of the template to delete. */
647
+ template_id: string;
648
+ }
649
+ export interface DeleteTemplateResponse {
650
+ }
651
+ export type DeleteTemplateUserDataRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
652
+ export interface DeleteTemplateUserDataRequest {
653
+ /** The zone you want to target */
654
+ zone?: DeleteTemplateUserDataRequestZone | (string & {}) | undefined;
655
+ /** Unique ID of the template. */
656
+ template_id: string;
657
+ /** Key of the user data to delete. */
658
+ key: string;
659
+ }
660
+ export interface DeleteTemplateUserDataResponse {
661
+ }
662
+ export type DeleteUserDataRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
663
+ export interface DeleteUserDataRequest {
664
+ /** The zone you want to target */
665
+ zone?: DeleteUserDataRequestZone | (string & {}) | undefined;
666
+ /** The ID of the server. */
667
+ server_id: string;
668
+ /** The key of the user data to delete. */
669
+ key: string;
670
+ }
671
+ export interface DeleteUserDataResponse {
672
+ }
673
+ export type DetachAndDeletePrivateNetworkInterfaceRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
674
+ export interface DetachAndDeletePrivateNetworkInterfaceRequest {
675
+ /** The zone you want to target */
676
+ zone?: DetachAndDeletePrivateNetworkInterfaceRequestZone | (string & {}) | undefined;
677
+ /** ID of the private network interface to detach and delete. */
678
+ private_network_interface_id: string;
679
+ }
680
+ export type DetachServerFileSystemRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
681
+ export interface DetachServerFileSystemRequest {
682
+ /** The zone you want to target */
683
+ zone?: DetachServerFileSystemRequestZone | (string & {}) | undefined;
684
+ /** ID of the server to detach the filesystem from. */
685
+ server_id: string;
686
+ /** ID of the filesystem to detach. */
687
+ filesystem_id?: string | undefined;
688
+ }
689
+ export type DetachServerIPRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
690
+ export interface DetachServerIPRequest {
691
+ /** The zone you want to target */
692
+ zone?: DetachServerIPRequestZone | (string & {}) | undefined;
693
+ /** ID of the server to detach the IP from. */
694
+ server_id: string;
695
+ /** ID of the IP to detach. */
696
+ ip_id?: string | undefined;
697
+ }
698
+ export type DetachServerPrivateNetworkInterfaceRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
699
+ export interface DetachServerPrivateNetworkInterfaceRequest {
700
+ /** The zone you want to target */
701
+ zone?: DetachServerPrivateNetworkInterfaceRequestZone | (string & {}) | undefined;
702
+ /** ID of the server to detach the private network interface from. */
703
+ server_id: string;
704
+ /** ID of the private network interface to detach. */
705
+ private_network_interface_id?: string | undefined;
706
+ }
707
+ export type DetachServerVolumeRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
708
+ export interface DetachServerVolumeRequest {
709
+ /** The zone you want to target */
710
+ zone?: DetachServerVolumeRequestZone | (string & {}) | undefined;
711
+ /** ID of the server to detach the volume from. */
712
+ server_id: string;
713
+ /** ID of the volume to detach. */
714
+ volume_id?: string | undefined;
715
+ }
716
+ export type GetPlacementGroupRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
717
+ export interface GetPlacementGroupRequest {
718
+ /** The zone you want to target */
719
+ zone?: GetPlacementGroupRequestZone | (string & {}) | undefined;
720
+ /** UUID of the placement group you want to get. */
721
+ placement_group_id: string;
722
+ }
723
+ export type GetPrivateNetworkInterfaceRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
724
+ export interface GetPrivateNetworkInterfaceRequest {
725
+ /** The zone you want to target */
726
+ zone?: GetPrivateNetworkInterfaceRequestZone | (string & {}) | undefined;
727
+ /** ID of the private network interface to retrieve. */
728
+ private_network_interface_id: string;
729
+ }
730
+ export type GetResourceCountsRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
731
+ export interface GetResourceCountsRequest {
732
+ /** The zone you want to target */
733
+ zone?: GetResourceCountsRequestZone | (string & {}) | undefined;
734
+ /** Organization ID to count resources for. One-of `scope`: at most one of `organization_id`, `project_id`. */
735
+ organization_id?: string | undefined;
736
+ /** Project ID to count resources for. One-of `scope`: at most one of `organization_id`, `project_id`. */
737
+ project_id?: string | undefined;
738
+ }
739
+ /** Map of server types with their counts. */
740
+ export type ResourceCountsServersByTypeMap = {
741
+ [key: string]: number | undefined;
742
+ };
743
+ export interface ResourceCounts {
744
+ /** Number of servers. */
745
+ servers?: number | undefined;
746
+ /** Number of GPU servers. */
747
+ gpu_servers?: number | undefined;
748
+ /** Map of server types with their counts. */
749
+ servers_by_type?: ResourceCountsServersByTypeMap | undefined;
750
+ /** Number of security groups. */
751
+ security_groups?: number | undefined;
752
+ /** Number of placement groups. */
753
+ placement_groups?: number | undefined;
754
+ /** Number of snapshots. */
755
+ snapshots?: number | undefined;
756
+ /** Number of volumes. */
757
+ volumes?: number | undefined;
758
+ /** Number of local SSD volumes. */
759
+ volumes_l_ssd?: number | undefined;
760
+ /** Total size of local SSD volumes in bytes. */
761
+ volumes_l_ssd_total_size?: number | undefined;
762
+ /** Number of scratch volumes. */
763
+ volumes_scratch?: number | undefined;
764
+ /** Number of private network interfaces. */
765
+ private_network_interfaces?: number | undefined;
766
+ /** Number of templates. */
767
+ templates?: number | undefined;
768
+ /** Number of images. */
769
+ images?: number | undefined;
770
+ }
771
+ export type GetSecurityGroupRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
772
+ export interface GetSecurityGroupRequest {
773
+ /** The zone you want to target */
774
+ zone?: GetSecurityGroupRequestZone | (string & {}) | undefined;
775
+ /** ID of the security group to retrieve. */
776
+ security_group_id: string;
777
+ }
778
+ export type GetServerRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
779
+ export interface GetServerRequest {
780
+ /** The zone you want to target */
781
+ zone?: GetServerRequestZone | (string & {}) | undefined;
782
+ /** ID of the server to retrieve. */
783
+ server_id: string;
784
+ }
785
+ export type GetServerCloudInitRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
786
+ export interface GetServerCloudInitRequest {
787
+ /** The zone you want to target */
788
+ zone?: GetServerCloudInitRequestZone | (string & {}) | undefined;
789
+ /** The ID of the server. */
790
+ server_id: string;
791
+ }
792
+ export interface UserData {
793
+ /** The key of the user data. */
794
+ key?: string | undefined;
795
+ /** The content of the user data. */
796
+ content?: string | undefined;
797
+ }
798
+ export type GetTemplateRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
799
+ export interface GetTemplateRequest {
800
+ /** The zone you want to target */
801
+ zone?: GetTemplateRequestZone | (string & {}) | undefined;
802
+ /** Unique ID of the template to retrieve. */
803
+ template_id: string;
804
+ }
805
+ export type GetTemplateCloudInitRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
806
+ export interface GetTemplateCloudInitRequest {
807
+ /** The zone you want to target */
808
+ zone?: GetTemplateCloudInitRequestZone | (string & {}) | undefined;
809
+ /** Unique ID of the template. */
810
+ template_id: string;
811
+ }
812
+ export type GetTemplateUserDataRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
813
+ export interface GetTemplateUserDataRequest {
814
+ /** The zone you want to target */
815
+ zone?: GetTemplateUserDataRequestZone | (string & {}) | undefined;
816
+ /** Unique ID of the template. */
817
+ template_id: string;
818
+ /** Key of the user data to retrieve. */
819
+ key: string;
820
+ }
821
+ export type GetUserDataRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
822
+ export interface GetUserDataRequest {
823
+ /** The zone you want to target */
824
+ zone?: GetUserDataRequestZone | (string & {}) | undefined;
825
+ /** The ID of the server. */
826
+ server_id: string;
827
+ /** The key of the user data to retrieve. */
828
+ key: string;
829
+ }
830
+ export type ListPlacementGroupsRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
831
+ export type ListPlacementGroupsRequestOrderBy = "created_at_desc" | "created_at_asc" | "updated_at_desc" | "updated_at_asc";
832
+ export type ListPlacementGroupsRequestPlacementGroupIdsList = Array<string>;
833
+ export type ListPlacementGroupsRequestTagsList = Array<string>;
834
+ export interface ListPlacementGroupsRequest {
835
+ /** The zone you want to target */
836
+ zone?: ListPlacementGroupsRequestZone | (string & {}) | undefined;
837
+ /** The initial pagination token to start from. */
838
+ page_token?: string | undefined;
839
+ /** The maximum number of placement groups to return. */
840
+ page_size?: number | undefined;
841
+ /** The field by which to order the result list. */
842
+ order_by?: ListPlacementGroupsRequestOrderBy | (string & {}) | undefined;
843
+ /** List only placement groups of this Project ID. */
844
+ project_id: string;
845
+ /** List only placement groups with these IDs. */
846
+ placement_group_ids?: ListPlacementGroupsRequestPlacementGroupIdsList | undefined;
847
+ /** Filter placement groups by name. */
848
+ name?: string | undefined;
849
+ /** List placement groups with these exact tags. */
850
+ tags?: ListPlacementGroupsRequestTagsList | undefined;
851
+ }
852
+ /** List of placement groups. */
853
+ export type ListPlacementGroupsResponsePlacementGroupsList = Array<PlacementGroup>;
854
+ export interface ListPlacementGroupsResponse {
855
+ /** List of placement groups. */
856
+ placement_groups: ListPlacementGroupsResponsePlacementGroupsList;
857
+ /** The pagination token, use it to get the next page of results. */
858
+ next_page_token?: string | null | undefined;
859
+ /** Total number of placement groups. */
860
+ total_count?: number | undefined;
861
+ }
862
+ export type ListPrivateNetworkInterfacesRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
863
+ export type ListPrivateNetworkInterfacesRequestOrderBy = "created_at_desc" | "created_at_asc" | "updated_at_desc" | "updated_at_asc";
864
+ export type ListPrivateNetworkInterfacesRequestServerIdsList = Array<string>;
865
+ export type ListPrivateNetworkInterfacesRequestSecurityGroupIdsList = Array<string>;
866
+ export type ListPrivateNetworkInterfacesRequestPrivateNetworkIdsList = Array<string>;
867
+ export type ListPrivateNetworkInterfacesRequestTagsList = Array<string>;
868
+ export interface ListPrivateNetworkInterfacesRequest {
869
+ /** The zone you want to target */
870
+ zone?: ListPrivateNetworkInterfacesRequestZone | (string & {}) | undefined;
871
+ /** Token for pagination. */
872
+ page_token?: string | undefined;
873
+ /** Number of items to return per page. */
874
+ page_size?: number | undefined;
875
+ /** Field to order results by. */
876
+ order_by?: ListPrivateNetworkInterfacesRequestOrderBy | (string & {}) | undefined;
877
+ /** Filter by Project ID. */
878
+ project_id: string;
879
+ /** Filter by server IDs. */
880
+ server_ids?: ListPrivateNetworkInterfacesRequestServerIdsList | undefined;
881
+ /** Filter by security group IDs. */
882
+ security_group_ids?: ListPrivateNetworkInterfacesRequestSecurityGroupIdsList | undefined;
883
+ /** Filter by Private Network IDs. */
884
+ private_network_ids?: ListPrivateNetworkInterfacesRequestPrivateNetworkIdsList | undefined;
885
+ /** Filter by tags. */
886
+ tags?: ListPrivateNetworkInterfacesRequestTagsList | undefined;
887
+ }
888
+ /** List of IP IDs attached to this interface. */
889
+ export type PrivateNetworkInterfaceSummaryIpIdsList = Array<string>;
890
+ /** Tags associated with the private network interface. */
891
+ export type PrivateNetworkInterfaceSummaryTagsList = Array<string>;
892
+ export interface PrivateNetworkInterfaceSummary {
893
+ /** Unique ID of the private network interface. */
894
+ id?: string | undefined;
895
+ /** The SRN of the private network interface. */
896
+ srn?: string | undefined;
897
+ /** ID of the Private Network this interface is attached to. */
898
+ private_network_id?: string | undefined;
899
+ /** Project ID the private network interface belongs to. */
900
+ project_id?: string | undefined;
901
+ /** ID of the Instance this interface is attached to. */
902
+ server_id?: string | undefined;
903
+ /** ID of the security group associated with this interface. */
904
+ security_group_id?: string | undefined;
905
+ /** MAC address of the private network interface. */
906
+ mac_address?: string | undefined;
907
+ /** Current status of the private network interface. */
908
+ status?: PrivateNetworkInterfaceStatus | undefined;
909
+ /** List of IP IDs attached to this interface. */
910
+ ip_ids?: PrivateNetworkInterfaceSummaryIpIdsList | undefined;
911
+ /** Tags associated with the private network interface. */
912
+ tags?: PrivateNetworkInterfaceSummaryTagsList | undefined;
913
+ /** Creation timestamp of the private network interface. (RFC 3339 format) */
914
+ created_at?: string | null | undefined;
915
+ /** Last update timestamp of the private network interface. (RFC 3339 format) */
916
+ updated_at?: string | null | undefined;
917
+ /** Zone in which the network interface is located. */
918
+ zone?: string | undefined;
919
+ }
920
+ /** List of private network interfaces. */
921
+ export type ListPrivateNetworkInterfacesResponsePrivateNetworkInterfacesList = Array<PrivateNetworkInterfaceSummary>;
922
+ export interface ListPrivateNetworkInterfacesResponse {
923
+ /** List of private network interfaces. */
924
+ private_network_interfaces: ListPrivateNetworkInterfacesResponsePrivateNetworkInterfacesList;
925
+ /** Token for the next page. */
926
+ next_page_token?: string | null | undefined;
927
+ /** Total number of items. */
928
+ total_count?: number | undefined;
929
+ }
930
+ export type ListSecurityGroupsRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
931
+ export type ListSecurityGroupsRequestOrderBy = "created_at_desc" | "created_at_asc" | "updated_at_desc" | "updated_at_asc";
932
+ export type ListSecurityGroupsRequestTagsList = Array<string>;
933
+ export type ListSecurityGroupsRequestSecurityGroupIdsList = Array<string>;
934
+ export interface ListSecurityGroupsRequest {
935
+ /** The zone you want to target */
936
+ zone?: ListSecurityGroupsRequestZone | (string & {}) | undefined;
937
+ /** Token for pagination. */
938
+ page_token?: string | undefined;
939
+ /** Number of items to return per page. */
940
+ page_size?: number | undefined;
941
+ /** Field and direction to sort by. */
942
+ order_by?: ListSecurityGroupsRequestOrderBy | (string & {}) | undefined;
943
+ /** Filter by Project ID. */
944
+ project_id: string;
945
+ /** Filter by name. */
946
+ name?: string | undefined;
947
+ /** Filter by tags. */
948
+ tags?: ListSecurityGroupsRequestTagsList | undefined;
949
+ /** Filter by specific security group IDs. */
950
+ security_group_ids?: ListSecurityGroupsRequestSecurityGroupIdsList | undefined;
951
+ }
952
+ /** Tags associated with the security group. */
953
+ export type SecurityGroupSummaryTagsList = Array<string>;
954
+ export interface SecurityGroupSummary {
955
+ /** Unique ID of the security group. */
956
+ id?: string | undefined;
957
+ /** The SRN of the security group. */
958
+ srn?: string | undefined;
959
+ /** Name of the security group. */
960
+ name?: string | undefined;
961
+ /** Description of the security group. */
962
+ description?: string | undefined;
963
+ /** Project ID the security group belongs to. */
964
+ project_id?: string | undefined;
965
+ /** Tags associated with the security group. */
966
+ tags?: SecurityGroupSummaryTagsList | undefined;
967
+ /** True if default rules are disabled. */
968
+ disable_default_rules?: boolean | undefined;
969
+ /** True if this is the default security group for the project. */
970
+ project_default?: boolean | undefined;
971
+ /** Default action for inbound rules. */
972
+ inbound_default_action?: SecurityGroupAction | undefined;
973
+ /** Default action for outbound rules. */
974
+ outbound_default_action?: SecurityGroupAction | undefined;
975
+ /** True if the security group is stateless. */
976
+ stateless?: boolean | undefined;
977
+ /** Creation timestamp of the security group. (RFC 3339 format) */
978
+ created_at?: string | null | undefined;
979
+ /** Last update timestamp of the security group. (RFC 3339 format) */
980
+ updated_at?: string | null | undefined;
981
+ /** Zone in which the security group is located. */
982
+ zone?: string | undefined;
983
+ }
984
+ /** List of security groups. */
985
+ export type ListSecurityGroupsResponseSecurityGroupsList = Array<SecurityGroupSummary>;
986
+ export interface ListSecurityGroupsResponse {
987
+ /** List of security groups. */
988
+ security_groups: ListSecurityGroupsResponseSecurityGroupsList;
989
+ /** Token for the next page. */
990
+ next_page_token?: string | null | undefined;
991
+ /** Total number of items. */
992
+ total_count?: number | undefined;
993
+ }
994
+ export type ListServerCompatibleTypesRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
995
+ export interface ListServerCompatibleTypesRequest {
996
+ /** The zone you want to target */
997
+ zone?: ListServerCompatibleTypesRequestZone | (string & {}) | undefined;
998
+ server_id: string;
999
+ page_token?: string | undefined;
1000
+ page_size?: number | undefined;
1001
+ }
1002
+ export type ServerTypeArchitecture = "unknown_architecture" | "x86_64" | "aarch64";
1003
+ export type ServerTypeAvailability = "unknown_availability" | "available" | "low_stock" | "out_of_stock" | "unavailable";
1004
+ export interface ServerTypeLimits {
1005
+ /** Maximum number of Private Networks. */
1006
+ private_network_count?: number | undefined;
1007
+ /** Maximum number of filesystems. */
1008
+ file_system_count?: number | undefined;
1009
+ /** Maximum Private Network bandwidth. */
1010
+ private_network_bandwidth?: number | undefined;
1011
+ /** Maximum block storage bandwidth. */
1012
+ block_bandwidth?: number | undefined;
1013
+ /** Maximum internet bandwidth. */
1014
+ internet_bandwidth?: number | undefined;
1015
+ /** Maximum size of local SSD. (in bytes) */
1016
+ l_ssd_size?: number | undefined;
1017
+ /** Maximum size of scratch storage. (in bytes) */
1018
+ scratch_size?: number | undefined;
1019
+ /** Maximum number of scratch volumes. */
1020
+ scratch_volumes_count?: number | undefined;
1021
+ /** Maximum number of IPs. */
1022
+ ip_count?: number | undefined;
1023
+ /** Maximum number of volumes. */
1024
+ volume_count?: number | undefined;
1025
+ }
1026
+ export interface ServerTypeGpuInfo {
1027
+ /** Manufacturer of the GPU. */
1028
+ manufacturer?: string | undefined;
1029
+ /** Name of the GPU. */
1030
+ name?: string | undefined;
1031
+ /** Memory of the GPU. (in bytes) */
1032
+ memory?: number | undefined;
1033
+ }
1034
+ export interface ServerTypeSpotInfo {
1035
+ availability?: ServerTypeAvailability | undefined;
1036
+ }
1037
+ export interface ServerType {
1038
+ /** Name of the server type. */
1039
+ name?: string | undefined;
1040
+ /** Number of vCPUs. */
1041
+ vcpu_count?: number | undefined;
1042
+ /** Number of GPUs. */
1043
+ gpu_count?: number | undefined;
1044
+ /** Amount of memory. (in bytes) */
1045
+ memory?: number | undefined;
1046
+ /** Architecture of the server type. */
1047
+ architecture?: ServerTypeArchitecture | undefined;
1048
+ /** Availability status of the server type. */
1049
+ availability?: ServerTypeAvailability | undefined;
1050
+ /** Limits for the server type. */
1051
+ limits?: ServerTypeLimits | undefined;
1052
+ /** GPU information for the server type. */
1053
+ gpu_info?: ServerTypeGpuInfo | undefined;
1054
+ /** Whether the server type has reached end of service. */
1055
+ end_of_service?: boolean | undefined;
1056
+ /** Availability status of the server type as a spot instance. */
1057
+ spot_info?: ServerTypeSpotInfo | undefined;
1058
+ /** The billing SKU for this server type. */
1059
+ sku?: string | undefined;
1060
+ }
1061
+ export type ListServerCompatibleTypesResponseServerTypesList = Array<ServerType>;
1062
+ export interface ListServerCompatibleTypesResponse {
1063
+ server_types: ListServerCompatibleTypesResponseServerTypesList;
1064
+ next_page_token?: string | null | undefined;
1065
+ total_count?: number | undefined;
1066
+ }
1067
+ export type ListServersRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
1068
+ export type ListServersRequestOrderBy = "created_at_desc" | "created_at_asc" | "updated_at_desc" | "updated_at_asc";
1069
+ export type ListServersRequestServerIdsList = Array<string>;
1070
+ export type ListServersRequestTagsList = Array<string>;
1071
+ export type ListServersRequestSecurityGroupIdsList = Array<string>;
1072
+ export type ListServersRequestPlacementGroupIdsList = Array<string>;
1073
+ export type ListServersRequestPrivateNetworkIdsList = Array<string>;
1074
+ export type ListServersRequestMacAddressesList = Array<string>;
1075
+ export type ListServersRequestDedicatedPoolIdsList = Array<string>;
1076
+ export interface ListServersRequest {
1077
+ /** The zone you want to target */
1078
+ zone?: ListServersRequestZone | (string & {}) | undefined;
1079
+ /** Token for pagination. */
1080
+ page_token?: string | undefined;
1081
+ /** Number of servers to return per page. */
1082
+ page_size?: number | undefined;
1083
+ /** Order of the returned servers. */
1084
+ order_by?: ListServersRequestOrderBy | (string & {}) | undefined;
1085
+ /** Project ID to filter servers. */
1086
+ project_id: string;
1087
+ /** List of server IDs to filter. */
1088
+ server_ids?: ListServersRequestServerIdsList | undefined;
1089
+ /** Name to filter servers. */
1090
+ name?: string | undefined;
1091
+ /** Server type to filter. */
1092
+ server_type?: string | undefined;
1093
+ /** Tags to filter servers. */
1094
+ tags?: ListServersRequestTagsList | undefined;
1095
+ /** Security group IDs to filter servers. */
1096
+ security_group_ids?: ListServersRequestSecurityGroupIdsList | undefined;
1097
+ /** Placement group IDs to filter servers. */
1098
+ placement_group_ids?: ListServersRequestPlacementGroupIdsList | undefined;
1099
+ /** Private Network IDs to filter servers. */
1100
+ private_network_ids?: ListServersRequestPrivateNetworkIdsList | undefined;
1101
+ /** MAC addresses to filter servers. */
1102
+ mac_addresses?: ListServersRequestMacAddressesList | undefined;
1103
+ /** Filter servers by dedicated pool IDs. */
1104
+ dedicated_pool_ids?: ListServersRequestDedicatedPoolIdsList | undefined;
1105
+ }
1106
+ /** Tags associated with the server. */
1107
+ export type ServerSummaryTagsList = Array<string>;
1108
+ export interface ServerSummary {
1109
+ /** Unique ID of the server. */
1110
+ id?: string | undefined;
1111
+ /** The SRN of the server. */
1112
+ srn?: string | undefined;
1113
+ /** Name of the server. */
1114
+ name?: string | undefined;
1115
+ /** Project ID to which the server belongs. */
1116
+ project_id?: string | undefined;
1117
+ /** Tags associated with the server. */
1118
+ tags?: ServerSummaryTagsList | undefined;
1119
+ /** Type of the server. */
1120
+ server_type?: string | undefined;
1121
+ /** ID of the placement group the server belongs to. */
1122
+ placement_group_id?: string | null | undefined;
1123
+ /** Current status of the server. */
1124
+ status?: ServerStatus | undefined;
1125
+ /** Architecture of the server. */
1126
+ architecture?: ServerArchitecture | undefined;
1127
+ /** Creation timestamp of the server. (RFC 3339 format) */
1128
+ created_at?: string | null | undefined;
1129
+ /** Last update timestamp of the server. (RFC 3339 format) */
1130
+ updated_at?: string | null | undefined;
1131
+ /** Whether the server is in rescue mode. */
1132
+ rescue_mode?: boolean | undefined;
1133
+ /** Zone in which the server is located. */
1134
+ zone?: string | undefined;
1135
+ }
1136
+ /** List of servers. */
1137
+ export type ListServersResponseServersList = Array<ServerSummary>;
1138
+ export interface ListServersResponse {
1139
+ /** List of servers. */
1140
+ servers: ListServersResponseServersList;
1141
+ /** Token for the next page. */
1142
+ next_page_token?: string | null | undefined;
1143
+ /** Total number of servers. */
1144
+ total_count?: number | undefined;
1145
+ }
1146
+ export type ListServerTypesRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
1147
+ export interface ListServerTypesRequest {
1148
+ /** The zone you want to target */
1149
+ zone?: ListServerTypesRequestZone | (string & {}) | undefined;
1150
+ /** Token for pagination. */
1151
+ page_token?: string | undefined;
1152
+ /** Number of server types to return per page. */
1153
+ page_size?: number | undefined;
1154
+ }
1155
+ /** List of server types. */
1156
+ export type ListServerTypesResponseServerTypesList = Array<ServerType>;
1157
+ export interface ListServerTypesResponse {
1158
+ /** List of server types. */
1159
+ server_types: ListServerTypesResponseServerTypesList;
1160
+ /** Token for the next page. */
1161
+ next_page_token?: string | null | undefined;
1162
+ /** Total number of server types. */
1163
+ total_count?: number | undefined;
1164
+ }
1165
+ export type ListTemplatesRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
1166
+ export type ListTemplatesRequestOrderBy = "created_at_desc" | "created_at_asc" | "updated_at_desc" | "updated_at_asc";
1167
+ export type ListTemplatesRequestTemplateIdsList = Array<string>;
1168
+ export type ListTemplatesRequestTagsList = Array<string>;
1169
+ export type ListTemplatesRequestServerTagsList = Array<string>;
1170
+ export type ListTemplatesRequestSecurityGroupIdsList = Array<string>;
1171
+ export type ListTemplatesRequestPlacementGroupIdsList = Array<string>;
1172
+ export interface ListTemplatesRequest {
1173
+ /** The zone you want to target */
1174
+ zone?: ListTemplatesRequestZone | (string & {}) | undefined;
1175
+ /** Token for pagination. */
1176
+ page_token?: string | undefined;
1177
+ /** Number of items to return per page. */
1178
+ page_size?: number | undefined;
1179
+ /** Field to sort results by. */
1180
+ order_by?: ListTemplatesRequestOrderBy | (string & {}) | undefined;
1181
+ /** Filter by Project ID. */
1182
+ project_id: string;
1183
+ /** Filter by specific template IDs. */
1184
+ template_ids?: ListTemplatesRequestTemplateIdsList | undefined;
1185
+ /** Filter by template name. */
1186
+ name?: string | undefined;
1187
+ /** Filter by tags. */
1188
+ tags?: ListTemplatesRequestTagsList | undefined;
1189
+ /** Filter by server tags. */
1190
+ server_tags?: ListTemplatesRequestServerTagsList | undefined;
1191
+ /** Filter by security group IDs. */
1192
+ security_group_ids?: ListTemplatesRequestSecurityGroupIdsList | undefined;
1193
+ /** Filter by placement group IDs. */
1194
+ placement_group_ids?: ListTemplatesRequestPlacementGroupIdsList | undefined;
1195
+ }
1196
+ /** Tags associated with the template. */
1197
+ export type TemplateSummaryTagsList = Array<string>;
1198
+ /** Tags associated with servers created from this template. */
1199
+ export type TemplateSummaryServerTagsList = Array<string>;
1200
+ /** List of Filesystem IDs associated with the template. */
1201
+ export type TemplateSummaryFilesystemIdsList = Array<string>;
1202
+ export interface TemplateSummary {
1203
+ /** Project ID associated with the template. */
1204
+ project_id?: string | undefined;
1205
+ /** Unique ID of the template. */
1206
+ id?: string | undefined;
1207
+ /** The SRN of the template. */
1208
+ srn?: string | undefined;
1209
+ /** Name of the template. */
1210
+ name?: string | undefined;
1211
+ /** Tags associated with the template. */
1212
+ tags?: TemplateSummaryTagsList | undefined;
1213
+ /** Tags associated with servers created from this template. */
1214
+ server_tags?: TemplateSummaryServerTagsList | undefined;
1215
+ /** Commercial type of the server defined by the template. */
1216
+ server_type?: string | undefined;
1217
+ /** Security group ID associated with the template. */
1218
+ security_group_id?: string | null | undefined;
1219
+ /** Placement group ID associated with the template. */
1220
+ placement_group_id?: string | null | undefined;
1221
+ /** Number of IPv4 public IPs to attach to servers created from this template. */
1222
+ public_ip_v4_count?: number | undefined;
1223
+ /** Number of IPv6 public IPs to attach to servers created from this template. */
1224
+ public_ip_v6_count?: number | undefined;
1225
+ /** List of Filesystem IDs associated with the template. */
1226
+ filesystem_ids?: TemplateSummaryFilesystemIdsList | undefined;
1227
+ /** Creation timestamp of the template. (RFC 3339 format) */
1228
+ created_at?: string | null | undefined;
1229
+ /** Last update timestamp of the template. (RFC 3339 format) */
1230
+ updated_at?: string | null | undefined;
1231
+ /** Zone in which the template is located. */
1232
+ zone?: string | undefined;
1233
+ }
1234
+ /** List of template summaries. */
1235
+ export type ListTemplatesResponseTemplatesList = Array<TemplateSummary>;
1236
+ export interface ListTemplatesResponse {
1237
+ /** List of template summaries. */
1238
+ templates: ListTemplatesResponseTemplatesList;
1239
+ /** Token for the next page. */
1240
+ next_page_token?: string | null | undefined;
1241
+ /** Total number of items. */
1242
+ total_count?: number | undefined;
1243
+ }
1244
+ export type ListTemplateUserDataKeysRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
1245
+ export interface ListTemplateUserDataKeysRequest {
1246
+ /** The zone you want to target */
1247
+ zone?: ListTemplateUserDataKeysRequestZone | (string & {}) | undefined;
1248
+ /** Unique ID of the template. */
1249
+ template_id: string;
1250
+ /** Token for pagination. */
1251
+ page_token?: string | undefined;
1252
+ /** Number of items to return per page. */
1253
+ page_size?: number | undefined;
1254
+ }
1255
+ /** List of user data keys associated with the template. */
1256
+ export type ListTemplateUserDataKeysResponseKeysList = Array<string>;
1257
+ export interface ListTemplateUserDataKeysResponse {
1258
+ /** List of user data keys associated with the template. */
1259
+ keys: ListTemplateUserDataKeysResponseKeysList;
1260
+ /** Token for the next page. */
1261
+ next_page_token?: string | null | undefined;
1262
+ /** Total number of items. */
1263
+ total_count?: number | undefined;
1264
+ }
1265
+ export type ListUserDataKeysRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
1266
+ export interface ListUserDataKeysRequest {
1267
+ /** The zone you want to target */
1268
+ zone?: ListUserDataKeysRequestZone | (string & {}) | undefined;
1269
+ /** The ID of the server. */
1270
+ server_id: string;
1271
+ /** Page token for pagination. */
1272
+ page_token?: string | undefined;
1273
+ /** Number of items to return per page. */
1274
+ page_size?: number | undefined;
1275
+ }
1276
+ /** List of user data keys. */
1277
+ export type ListUserDataKeysResponseKeysList = Array<string>;
1278
+ export interface ListUserDataKeysResponse {
1279
+ /** List of user data keys. */
1280
+ keys: ListUserDataKeysResponseKeysList;
1281
+ /** Token for the next page. */
1282
+ next_page_token?: string | null | undefined;
1283
+ /** Total number of items. */
1284
+ total_count?: number | undefined;
1285
+ }
1286
+ export type PauseServerRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
1287
+ export interface PauseServerRequest {
1288
+ /** The zone you want to target */
1289
+ zone?: PauseServerRequestZone | (string & {}) | undefined;
1290
+ /** ID of the server to pause. */
1291
+ server_id: string;
1292
+ }
1293
+ export type RebootServerRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
1294
+ export interface RebootServerRequest {
1295
+ /** The zone you want to target */
1296
+ zone?: RebootServerRequestZone | (string & {}) | undefined;
1297
+ /** ID of the server to reboot. */
1298
+ server_id: string;
1299
+ }
1300
+ export type SetSecurityGroupRulesRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
1301
+ /** List of rules to set. */
1302
+ export type SetSecurityGroupRulesRequestSecurityGroupRulesList = Array<SecurityGroupRuleConfig>;
1303
+ export interface SetSecurityGroupRulesRequest {
1304
+ /** The zone you want to target */
1305
+ zone?: SetSecurityGroupRulesRequestZone | (string & {}) | undefined;
1306
+ /** ID of the security group to set rules for. */
1307
+ security_group_id?: string | undefined;
1308
+ /** List of rules to set. */
1309
+ security_group_rules?: SetSecurityGroupRulesRequestSecurityGroupRulesList | undefined;
1310
+ }
1311
+ export type SetServerCloudInitRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
1312
+ export interface SetServerCloudInitRequest {
1313
+ /** The zone you want to target */
1314
+ zone?: SetServerCloudInitRequestZone | (string & {}) | undefined;
1315
+ /** The ID of the server. */
1316
+ server_id: string;
1317
+ /** The cloud-init configuration content. */
1318
+ content?: string | undefined;
1319
+ }
1320
+ export interface SetServerCloudInitResponse {
1321
+ }
1322
+ export type SetServerDefaultIPRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
1323
+ export interface SetServerDefaultIPRequest {
1324
+ /** The zone you want to target */
1325
+ zone?: SetServerDefaultIPRequestZone | (string & {}) | undefined;
1326
+ /** ID of the server to set the default IP for. */
1327
+ server_id: string;
1328
+ /** ID of the IP to set as default. */
1329
+ ip_id?: string | undefined;
1330
+ }
1331
+ export type SetTemplateCloudInitRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
1332
+ export interface SetTemplateCloudInitRequest {
1333
+ /** The zone you want to target */
1334
+ zone?: SetTemplateCloudInitRequestZone | (string & {}) | undefined;
1335
+ /** Unique ID of the template. */
1336
+ template_id: string;
1337
+ /** Cloud-init configuration content. */
1338
+ content?: string | undefined;
1339
+ }
1340
+ export interface SetTemplateCloudInitResponse {
1341
+ }
1342
+ export type SetTemplateUserDataRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
1343
+ export interface SetTemplateUserDataRequest {
1344
+ /** The zone you want to target */
1345
+ zone?: SetTemplateUserDataRequestZone | (string & {}) | undefined;
1346
+ /** Unique ID of the template. */
1347
+ template_id: string;
1348
+ /** Key of the user data to set. */
1349
+ key: string;
1350
+ /** Content of the user data. */
1351
+ content?: string | undefined;
1352
+ }
1353
+ export interface SetTemplateUserDataResponse {
1354
+ }
1355
+ export type SetUserDataRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
1356
+ export interface SetUserDataRequest {
1357
+ /** The zone you want to target */
1358
+ zone?: SetUserDataRequestZone | (string & {}) | undefined;
1359
+ /** The ID of the server. */
1360
+ server_id: string;
1361
+ /** The key of the user data to set. */
1362
+ key: string;
1363
+ /** The content to set for the user data. */
1364
+ content?: string | undefined;
1365
+ }
1366
+ export interface SetUserDataResponse {
1367
+ }
1368
+ export type StartServerRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
1369
+ export interface StartServerRequest {
1370
+ /** The zone you want to target */
1371
+ zone?: StartServerRequestZone | (string & {}) | undefined;
1372
+ /** ID of the server to start. */
1373
+ server_id: string;
1374
+ }
1375
+ export type StopAndDeleteServerRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
1376
+ /** List of IP IDs to delete. Precisely one of delete_all_ips, delete_ip_ids can be set. */
1377
+ export type StopAndDeleteServerRequestDeleteIpIdsList = Array<unknown>;
1378
+ /** List of volume IDs to delete. Precisely one of delete_all_volumes, delete_volume_ids can be set. */
1379
+ export type StopAndDeleteServerRequestDeleteVolumeIdsList = Array<unknown>;
1380
+ /** List of private network interface IDs to delete. Precisely one of keep_all_private_nics, delete_private_nic_ids can be set. */
1381
+ export type StopAndDeleteServerRequestDeletePrivateNicIdsList = Array<unknown>;
1382
+ export interface StopAndDeleteServerRequest {
1383
+ /** The zone you want to target */
1384
+ zone?: StopAndDeleteServerRequestZone | (string & {}) | undefined;
1385
+ /** ID of the server to stop and delete. */
1386
+ server_id: string;
1387
+ /** Whether to delete all IPs attached to the server. Precisely one of delete_all_ips, delete_ip_ids can be set. */
1388
+ delete_all_ips?: boolean | null | undefined;
1389
+ /** List of IP IDs to delete. Precisely one of delete_all_ips, delete_ip_ids can be set. */
1390
+ delete_ip_ids?: StopAndDeleteServerRequestDeleteIpIdsList | null | undefined;
1391
+ /** Whether to delete all volumes attached to the server. Precisely one of delete_all_volumes, delete_volume_ids can be set. */
1392
+ delete_all_volumes?: boolean | null | undefined;
1393
+ /** List of volume IDs to delete. Precisely one of delete_all_volumes, delete_volume_ids can be set. */
1394
+ delete_volume_ids?: StopAndDeleteServerRequestDeleteVolumeIdsList | null | undefined;
1395
+ /** Whether to keep all private network interfaces. Precisely one of keep_all_private_nics, delete_private_nic_ids can be set. */
1396
+ keep_all_private_nics?: boolean | null | undefined;
1397
+ /** List of private network interface IDs to delete. Precisely one of keep_all_private_nics, delete_private_nic_ids can be set. */
1398
+ delete_private_nic_ids?: StopAndDeleteServerRequestDeletePrivateNicIdsList | null | undefined;
1399
+ }
1400
+ export type StopServerRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
1401
+ export interface StopServerRequest {
1402
+ /** The zone you want to target */
1403
+ zone?: StopServerRequestZone | (string & {}) | undefined;
1404
+ /** ID of the server to stop. */
1405
+ server_id: string;
1406
+ }
1407
+ export type UpdatePlacementGroupRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
1408
+ /** Tags of the placement group. */
1409
+ export type UpdatePlacementGroupRequestTagsList = Array<unknown>;
1410
+ export interface UpdatePlacementGroupRequest {
1411
+ /** The zone you want to target */
1412
+ zone?: UpdatePlacementGroupRequestZone | (string & {}) | undefined;
1413
+ /** UUID of the placement group. */
1414
+ placement_group_id: string;
1415
+ /** Name of the placement group. */
1416
+ name?: string | null | undefined;
1417
+ /** Policy type of the placement group. */
1418
+ policy_type?: PlacementGroupPolicyType | (string & {}) | undefined;
1419
+ /** Tags of the placement group. */
1420
+ tags?: UpdatePlacementGroupRequestTagsList | null | undefined;
1421
+ }
1422
+ export type UpdatePrivateNetworkInterfaceRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
1423
+ /** New tags to assign to the private network interface. */
1424
+ export type UpdatePrivateNetworkInterfaceRequestTagsList = Array<unknown>;
1425
+ export interface UpdatePrivateNetworkInterfaceRequest {
1426
+ /** The zone you want to target */
1427
+ zone?: UpdatePrivateNetworkInterfaceRequestZone | (string & {}) | undefined;
1428
+ /** ID of the private network interface to update. */
1429
+ private_network_interface_id: string;
1430
+ /** New security group ID to associate with the interface. */
1431
+ security_group_id?: string | null | undefined;
1432
+ /** New tags to assign to the private network interface. */
1433
+ tags?: UpdatePrivateNetworkInterfaceRequestTagsList | null | undefined;
1434
+ }
1435
+ export type UpdateSecurityGroupRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
1436
+ /** New tags for the security group. */
1437
+ export type UpdateSecurityGroupRequestTagsList = Array<unknown>;
1438
+ export interface UpdateSecurityGroupRequest {
1439
+ /** The zone you want to target */
1440
+ zone?: UpdateSecurityGroupRequestZone | (string & {}) | undefined;
1441
+ /** ID of the security group to update. */
1442
+ security_group_id: string;
1443
+ /** New name for the security group. */
1444
+ name?: string | null | undefined;
1445
+ /** New description for the security group. */
1446
+ description?: string | null | undefined;
1447
+ /** Whether to disable default rules. */
1448
+ disable_default_rules?: boolean | null | undefined;
1449
+ /** New tags for the security group. */
1450
+ tags?: UpdateSecurityGroupRequestTagsList | null | undefined;
1451
+ /** Whether this should be the default security group for the project. */
1452
+ project_default?: boolean | null | undefined;
1453
+ /** New default action for inbound rules. */
1454
+ inbound_default_action?: SecurityGroupAction | (string & {}) | undefined;
1455
+ /** New default action for outbound rules. */
1456
+ outbound_default_action?: SecurityGroupAction | (string & {}) | undefined;
1457
+ /** Whether the security group should be stateless. */
1458
+ stateless?: boolean | null | undefined;
1459
+ }
1460
+ export type UpdateSecurityGroupRuleRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
1461
+ export interface UpdateSecurityGroupRuleRequest {
1462
+ /** The zone you want to target */
1463
+ zone?: UpdateSecurityGroupRuleRequestZone | (string & {}) | undefined;
1464
+ /** ID of the rule to update. */
1465
+ security_group_rule_id: string;
1466
+ /** New protocol for the rule. */
1467
+ protocol?: SecurityGroupRuleProtocol | (string & {}) | undefined;
1468
+ /** New direction for the rule. */
1469
+ direction?: SecurityGroupRuleDirection | (string & {}) | undefined;
1470
+ /** New action for the rule. */
1471
+ action?: SecurityGroupRuleAction | (string & {}) | undefined;
1472
+ /** New source IP range for the rule. (IP network) */
1473
+ source_ip_range?: string | null | undefined;
1474
+ /** New destination IP range for the rule. (IP network) */
1475
+ destination_ip_range?: string | null | undefined;
1476
+ /** New source port range for the rule. */
1477
+ source_ports?: SecurityGroupRulePortRange | undefined;
1478
+ /** New destination port range for the rule. */
1479
+ destination_ports?: SecurityGroupRulePortRange | undefined;
1480
+ /** New position for the rule. */
1481
+ position?: number | null | undefined;
1482
+ }
1483
+ export type UpdateServerRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
1484
+ /** New tags for the server. */
1485
+ export type UpdateServerRequestTagsList = Array<unknown>;
1486
+ export interface UpdateServerRequestPublicNetworkInterface {
1487
+ /** ID of the security group for the interface. */
1488
+ security_group_id?: string | null | undefined;
1489
+ }
1490
+ export interface UpdateServerRequest {
1491
+ /** The zone you want to target */
1492
+ zone?: UpdateServerRequestZone | (string & {}) | undefined;
1493
+ /** ID of the server to update. */
1494
+ server_id: string;
1495
+ /** New name for the server. */
1496
+ name?: string | null | undefined;
1497
+ /** New tags for the server. */
1498
+ tags?: UpdateServerRequestTagsList | null | undefined;
1499
+ /** New server type. */
1500
+ server_type?: string | null | undefined;
1501
+ /** New placement group ID. */
1502
+ placement_group_id?: string | null | undefined;
1503
+ /** New rescue mode setting. */
1504
+ rescue_mode?: boolean | null | undefined;
1505
+ /** New boot volume ID. */
1506
+ boot_volume_id?: string | null | undefined;
1507
+ /** New IAM ID of the SSH key used to encrypt the Windows `Administrator` password for RDP use. */
1508
+ windows_rdp_ssh_key_id?: string | null | undefined;
1509
+ /** Protection status of the server. */
1510
+ protected?: boolean | null | undefined;
1511
+ /** New public network interface configuration. */
1512
+ public_network_interface?: UpdateServerRequestPublicNetworkInterface | undefined;
1513
+ }
1514
+ export type UpdateTemplateRequestZone = "fr-par-1" | "fr-par-2" | "fr-par-3" | "nl-ams-1" | "nl-ams-2" | "nl-ams-3" | "pl-waw-1" | "pl-waw-2" | "pl-waw-3" | "it-mil-1" | "it-mil-2" | "it-mil-3";
1515
+ /** New tags for the template. */
1516
+ export type UpdateTemplateRequestTagsList = Array<unknown>;
1517
+ /** New server tags for the template. */
1518
+ export type UpdateTemplateRequestServerTagsList = Array<unknown>;
1519
+ /** List of updated volume templates. */
1520
+ export type UpdateTemplateRequestUpdateVolumesVolumesList = Array<CreateTemplateRequestVolumeTemplate>;
1521
+ export interface UpdateTemplateRequestUpdateVolumes {
1522
+ /** List of updated volume templates. */
1523
+ volumes?: UpdateTemplateRequestUpdateVolumesVolumesList | undefined;
1524
+ }
1525
+ /** List of updated private networks. */
1526
+ export type UpdateTemplateRequestUpdatePrivateNetworksPrivateNetworksList = Array<CreateTemplateRequestPrivateNetworkTemplate>;
1527
+ export interface UpdateTemplateRequestUpdatePrivateNetworks {
1528
+ /** List of updated private networks. */
1529
+ private_networks?: UpdateTemplateRequestUpdatePrivateNetworksPrivateNetworksList | undefined;
1530
+ }
1531
+ /** New list of filesystem IDs for the template. */
1532
+ export type UpdateTemplateRequestFilesystemIdsList = Array<unknown>;
1533
+ export interface UpdateTemplateRequest {
1534
+ /** The zone you want to target */
1535
+ zone?: UpdateTemplateRequestZone | (string & {}) | undefined;
1536
+ /** Unique ID of the template to update. */
1537
+ template_id: string;
1538
+ /** New name for the template. */
1539
+ name?: string | null | undefined;
1540
+ /** New tags for the template. */
1541
+ tags?: UpdateTemplateRequestTagsList | null | undefined;
1542
+ /** New server tags for the template. */
1543
+ server_tags?: UpdateTemplateRequestServerTagsList | null | undefined;
1544
+ /** New server type for the template. */
1545
+ server_type?: string | null | undefined;
1546
+ /** New security group ID for the template. */
1547
+ security_group_id?: string | null | undefined;
1548
+ /** New placement group ID for the template. */
1549
+ placement_group_id?: string | null | undefined;
1550
+ /** Updated volume templates for the template. */
1551
+ update_volumes?: UpdateTemplateRequestUpdateVolumes | undefined;
1552
+ /** Updated private networks list for the template. */
1553
+ update_private_networks?: UpdateTemplateRequestUpdatePrivateNetworks | undefined;
1554
+ /** New list of filesystem IDs for the template. */
1555
+ filesystem_ids?: UpdateTemplateRequestFilesystemIdsList | null | undefined;
1556
+ /** New number of IPv4 public IPs to attach to servers. */
1557
+ public_ip_v4_count?: number | null | undefined;
1558
+ /** New number of IPv6 public IPs to attach to servers. */
1559
+ public_ip_v6_count?: number | null | undefined;
1560
+ /** New IAM ID of the SSH key used to encrypt the Windows `Administrator` password for RDP use. */
1561
+ windows_rdp_ssh_key_id?: string | null | undefined;
1562
+ }
1563
+ export type AddSecurityGroupRulesError = ScalewayOpError;
1564
+ /** Add rules to a security group Add one or more rules to a security group. */
1565
+ export declare const addSecurityGroupRules: API.OperationMethod<AddSecurityGroupRulesRequest, AddSecurityGroupRulesResponse, AddSecurityGroupRulesError, ScalewayOpContext>;
1566
+ export type AttachServerFileSystemError = ScalewayOpError;
1567
+ /** Attach a filesystem volume to an Instance */
1568
+ export declare const attachServerFileSystem: API.OperationMethod<AttachServerFileSystemRequest, Server, AttachServerFileSystemError, ScalewayOpContext>;
1569
+ export type AttachServerIPError = ScalewayOpError;
1570
+ /** Attach an IP to an Instance */
1571
+ export declare const attachServerIP: API.OperationMethod<AttachServerIPRequest, Server, AttachServerIPError, ScalewayOpContext>;
1572
+ export type AttachServerPrivateNetworkInterfaceError = ScalewayOpError;
1573
+ /** Attach a private network interface to an Instance */
1574
+ export declare const attachServerPrivateNetworkInterface: API.OperationMethod<AttachServerPrivateNetworkInterfaceRequest, Server, AttachServerPrivateNetworkInterfaceError, ScalewayOpContext>;
1575
+ export type AttachServerVolumeError = ScalewayOpError;
1576
+ /** Attach a volume to an Instance Attach a l_ssd or SBS volume to an Instance. */
1577
+ export declare const attachServerVolume: API.OperationMethod<AttachServerVolumeRequest, Server, AttachServerVolumeError, ScalewayOpContext>;
1578
+ export type CheckTemplateError = ScalewayOpError;
1579
+ /** Check a template Validate that a template is usable. */
1580
+ export declare const checkTemplate: API.OperationMethod<CheckTemplateRequest, CheckTemplateResponse, CheckTemplateError, ScalewayOpContext>;
1581
+ export type CreatePlacementGroupError = ScalewayOpError;
1582
+ /** Create a placement group Create a new placement group. */
1583
+ export declare const createPlacementGroup: API.OperationMethod<CreatePlacementGroupRequest, PlacementGroup, CreatePlacementGroupError, ScalewayOpContext>;
1584
+ export type CreatePrivateNetworkInterfaceError = ScalewayOpError;
1585
+ /** Create a private network interface Create a private network interface linked to a Private Network. It can be attached to an Instance. */
1586
+ export declare const createPrivateNetworkInterface: API.OperationMethod<CreatePrivateNetworkInterfaceRequest, PrivateNetworkInterface, CreatePrivateNetworkInterfaceError, ScalewayOpContext>;
1587
+ export type CreateSecurityGroupError = ScalewayOpError;
1588
+ /** Create a security group Create a security group with a specified name and description. */
1589
+ export declare const createSecurityGroup: API.OperationMethod<CreateSecurityGroupRequest, SecurityGroup, CreateSecurityGroupError, ScalewayOpContext>;
1590
+ export type CreateServerError = ScalewayOpError;
1591
+ /** Create an Instance Create a new Instance of a specified server_type. */
1592
+ export declare const createServer: API.OperationMethod<CreateServerRequest, Server, CreateServerError, ScalewayOpContext>;
1593
+ export type CreateServerFromTemplateError = ScalewayOpError;
1594
+ /** Create a server from a template Create a new Instance using a specified template. */
1595
+ export declare const createServerFromTemplate: API.OperationMethod<CreateServerFromTemplateRequest, Server, CreateServerFromTemplateError, ScalewayOpContext>;
1596
+ export type CreateTemplateError = ScalewayOpError;
1597
+ /** Create a template Create a new template from an Instance. */
1598
+ export declare const createTemplate: API.OperationMethod<CreateTemplateRequest, Template, CreateTemplateError, ScalewayOpContext>;
1599
+ export type DeletePlacementGroupError = ScalewayOpError;
1600
+ /** Delete a placement group Delete a specified placement group. */
1601
+ export declare const deletePlacementGroup: API.OperationMethod<DeletePlacementGroupRequest, DeletePlacementGroupResponse, DeletePlacementGroupError, ScalewayOpContext>;
1602
+ export type DeletePrivateNetworkInterfaceError = ScalewayOpError;
1603
+ /** Delete a private network interface Delete a specified private network interface. */
1604
+ export declare const deletePrivateNetworkInterface: API.OperationMethod<DeletePrivateNetworkInterfaceRequest, DeletePrivateNetworkInterfaceResponse, DeletePrivateNetworkInterfaceError, ScalewayOpContext>;
1605
+ export type DeleteSecurityGroupError = ScalewayOpError;
1606
+ /** Delete a security group Delete a specified security group. */
1607
+ export declare const deleteSecurityGroup: API.OperationMethod<DeleteSecurityGroupRequest, DeleteSecurityGroupResponse, DeleteSecurityGroupError, ScalewayOpContext>;
1608
+ export type DeleteSecurityGroupRulesError = ScalewayOpError;
1609
+ /** Delete rules from a security group Delete specified security groups. */
1610
+ export declare const deleteSecurityGroupRules: API.OperationMethod<DeleteSecurityGroupRulesRequest, DeleteSecurityGroupRulesResponse, DeleteSecurityGroupRulesError, ScalewayOpContext>;
1611
+ export type DeleteServerError = ScalewayOpError;
1612
+ /** Delete an Instance Delete a specified Instance. */
1613
+ export declare const deleteServer: API.OperationMethod<DeleteServerRequest, DeleteServerResponse, DeleteServerError, ScalewayOpContext>;
1614
+ export type DeleteTemplateError = ScalewayOpError;
1615
+ /** Delete a template Delete a specified template. */
1616
+ export declare const deleteTemplate: API.OperationMethod<DeleteTemplateRequest, DeleteTemplateResponse, DeleteTemplateError, ScalewayOpContext>;
1617
+ export type DeleteTemplateUserDataError = ScalewayOpError;
1618
+ /** Delete template user data Delete a specific user data key of a template. */
1619
+ export declare const deleteTemplateUserData: API.OperationMethod<DeleteTemplateUserDataRequest, DeleteTemplateUserDataResponse, DeleteTemplateUserDataError, ScalewayOpContext>;
1620
+ export type DeleteUserDataError = ScalewayOpError;
1621
+ /** Delete user data Delete a specified key from an Instance's user data. */
1622
+ export declare const deleteUserData: API.OperationMethod<DeleteUserDataRequest, DeleteUserDataResponse, DeleteUserDataError, ScalewayOpContext>;
1623
+ export type DetachAndDeletePrivateNetworkInterfaceError = ScalewayOpError;
1624
+ export declare const detachAndDeletePrivateNetworkInterface: API.OperationMethod<DetachAndDeletePrivateNetworkInterfaceRequest, PrivateNetworkInterface, DetachAndDeletePrivateNetworkInterfaceError, ScalewayOpContext>;
1625
+ export type DetachServerFileSystemError = ScalewayOpError;
1626
+ /** Detach a filesystem volume from an Instance */
1627
+ export declare const detachServerFileSystem: API.OperationMethod<DetachServerFileSystemRequest, Server, DetachServerFileSystemError, ScalewayOpContext>;
1628
+ export type DetachServerIPError = ScalewayOpError;
1629
+ /** Detach an IP from an Instance */
1630
+ export declare const detachServerIP: API.OperationMethod<DetachServerIPRequest, Server, DetachServerIPError, ScalewayOpContext>;
1631
+ export type DetachServerPrivateNetworkInterfaceError = ScalewayOpError;
1632
+ /** Detach a private network interface from an Instance */
1633
+ export declare const detachServerPrivateNetworkInterface: API.OperationMethod<DetachServerPrivateNetworkInterfaceRequest, Server, DetachServerPrivateNetworkInterfaceError, ScalewayOpContext>;
1634
+ export type DetachServerVolumeError = ScalewayOpError;
1635
+ /** Detach a volume from an Instance */
1636
+ export declare const detachServerVolume: API.OperationMethod<DetachServerVolumeRequest, Server, DetachServerVolumeError, ScalewayOpContext>;
1637
+ export type GetPlacementGroupError = ScalewayOpError;
1638
+ /** Get a placement group Get a specified placement group. */
1639
+ export declare const getPlacementGroup: API.OperationMethod<GetPlacementGroupRequest, PlacementGroup, GetPlacementGroupError, ScalewayOpContext>;
1640
+ export type GetPrivateNetworkInterfaceError = ScalewayOpError;
1641
+ /** Get a private network interface Get details of a specified private network interface. */
1642
+ export declare const getPrivateNetworkInterface: API.OperationMethod<GetPrivateNetworkInterfaceRequest, PrivateNetworkInterface, GetPrivateNetworkInterfaceError, ScalewayOpContext>;
1643
+ export type GetResourceCountsError = ScalewayOpError;
1644
+ /** Get resource counts Get counts of various resources (e.g. servers, volumes). */
1645
+ export declare const getResourceCounts: API.OperationMethod<GetResourceCountsRequest, ResourceCounts, GetResourceCountsError, ScalewayOpContext>;
1646
+ export type GetSecurityGroupError = ScalewayOpError;
1647
+ /** Get a security group Get the details of a specified security group. */
1648
+ export declare const getSecurityGroup: API.OperationMethod<GetSecurityGroupRequest, SecurityGroup, GetSecurityGroupError, ScalewayOpContext>;
1649
+ export type GetServerError = ScalewayOpError;
1650
+ /** Get an Instance Get the details of a specified Instance. */
1651
+ export declare const getServer: API.OperationMethod<GetServerRequest, Server, GetServerError, ScalewayOpContext>;
1652
+ export type GetServerCloudInitError = ScalewayOpError;
1653
+ /** Get cloud-init user data Get the cloud-init configuration of a specified Instance. */
1654
+ export declare const getServerCloudInit: API.OperationMethod<GetServerCloudInitRequest, UserData, GetServerCloudInitError, ScalewayOpContext>;
1655
+ export type GetTemplateError = ScalewayOpError;
1656
+ /** Get a template Get details of a specified template. */
1657
+ export declare const getTemplate: API.OperationMethod<GetTemplateRequest, Template, GetTemplateError, ScalewayOpContext>;
1658
+ export type GetTemplateCloudInitError = ScalewayOpError;
1659
+ /** Get template cloud-init Get the cloud-init configuration of a template. */
1660
+ export declare const getTemplateCloudInit: API.OperationMethod<GetTemplateCloudInitRequest, UserData, GetTemplateCloudInitError, ScalewayOpContext>;
1661
+ export type GetTemplateUserDataError = ScalewayOpError;
1662
+ /** Get template user data Get a specific user data key of a template. */
1663
+ export declare const getTemplateUserData: API.OperationMethod<GetTemplateUserDataRequest, UserData, GetTemplateUserDataError, ScalewayOpContext>;
1664
+ export type GetUserDataError = ScalewayOpError;
1665
+ /** Get user data Get the content of a user data with a specified key on an Instance. */
1666
+ export declare const getUserData: API.OperationMethod<GetUserDataRequest, UserData, GetUserDataError, ScalewayOpContext>;
1667
+ export type ListPlacementGroupsError = ScalewayOpError;
1668
+ /** List placement groups List all placement groups. */
1669
+ export declare const listPlacementGroups: API.PaginatedOperationMethod<ListPlacementGroupsRequest, ListPlacementGroupsResponse, ListPlacementGroupsError, ScalewayOpContext, PlacementGroup>;
1670
+ export type ListPrivateNetworkInterfacesError = ScalewayOpError;
1671
+ /** List private network interfaces List all private network interfaces. */
1672
+ export declare const listPrivateNetworkInterfaces: API.PaginatedOperationMethod<ListPrivateNetworkInterfacesRequest, ListPrivateNetworkInterfacesResponse, ListPrivateNetworkInterfacesError, ScalewayOpContext, PrivateNetworkInterfaceSummary>;
1673
+ export type ListSecurityGroupsError = ScalewayOpError;
1674
+ /** List security groups List all security groups. */
1675
+ export declare const listSecurityGroups: API.PaginatedOperationMethod<ListSecurityGroupsRequest, ListSecurityGroupsResponse, ListSecurityGroupsError, ScalewayOpContext, SecurityGroupSummary>;
1676
+ export type ListServerCompatibleTypesError = ScalewayOpError;
1677
+ /** List compatible Instance types List the Instance types that a given instance could be converted to. */
1678
+ export declare const listServerCompatibleTypes: API.PaginatedOperationMethod<ListServerCompatibleTypesRequest, ListServerCompatibleTypesResponse, ListServerCompatibleTypesError, ScalewayOpContext, ServerType>;
1679
+ export type ListServersError = ScalewayOpError;
1680
+ /** List all Instances */
1681
+ export declare const listServers: API.PaginatedOperationMethod<ListServersRequest, ListServersResponse, ListServersError, ScalewayOpContext, ServerSummary>;
1682
+ export type ListServerTypesError = ScalewayOpError;
1683
+ /** List Instance types List available Instance types and their technical details. */
1684
+ export declare const listServerTypes: API.PaginatedOperationMethod<ListServerTypesRequest, ListServerTypesResponse, ListServerTypesError, ScalewayOpContext, ServerType>;
1685
+ export type ListTemplatesError = ScalewayOpError;
1686
+ /** List templates List all available templates. */
1687
+ export declare const listTemplates: API.PaginatedOperationMethod<ListTemplatesRequest, ListTemplatesResponse, ListTemplatesError, ScalewayOpContext, TemplateSummary>;
1688
+ export type ListTemplateUserDataKeysError = ScalewayOpError;
1689
+ /** List template user data keys List all user data keys of a template. */
1690
+ export declare const listTemplateUserDataKeys: API.PaginatedOperationMethod<ListTemplateUserDataKeysRequest, ListTemplateUserDataKeysResponse, ListTemplateUserDataKeysError, ScalewayOpContext, string>;
1691
+ export type ListUserDataKeysError = ScalewayOpError;
1692
+ /** List user data keys List all user data keys registered on a specified Instance. */
1693
+ export declare const listUserDataKeys: API.PaginatedOperationMethod<ListUserDataKeysRequest, ListUserDataKeysResponse, ListUserDataKeysError, ScalewayOpContext, string>;
1694
+ export type PauseServerError = ScalewayOpError;
1695
+ /** Pause an Instance Pause a running Instance. */
1696
+ export declare const pauseServer: API.OperationMethod<PauseServerRequest, Server, PauseServerError, ScalewayOpContext>;
1697
+ export type RebootServerError = ScalewayOpError;
1698
+ /** Reboot an Instance Reboot a running or paused Instance. */
1699
+ export declare const rebootServer: API.OperationMethod<RebootServerRequest, Server, RebootServerError, ScalewayOpContext>;
1700
+ export type SetSecurityGroupRulesError = ScalewayOpError;
1701
+ /** Set all rules of a security group Replace all rules of a specified security group with the provided rules. */
1702
+ export declare const setSecurityGroupRules: API.OperationMethod<SetSecurityGroupRulesRequest, SecurityGroup, SetSecurityGroupRulesError, ScalewayOpContext>;
1703
+ export type SetServerCloudInitError = ScalewayOpError;
1704
+ /** Set cloud-init user data Set the cloud-init configuration for a specified Instance. */
1705
+ export declare const setServerCloudInit: API.OperationMethod<SetServerCloudInitRequest, SetServerCloudInitResponse, SetServerCloudInitError, ScalewayOpContext>;
1706
+ export type SetServerDefaultIPError = ScalewayOpError;
1707
+ /** Set default IP for an Instance Set the default IP for an Instance. */
1708
+ export declare const setServerDefaultIP: API.OperationMethod<SetServerDefaultIPRequest, Server, SetServerDefaultIPError, ScalewayOpContext>;
1709
+ export type SetTemplateCloudInitError = ScalewayOpError;
1710
+ /** Set template cloud-init Set the cloud-init configuration of a template. */
1711
+ export declare const setTemplateCloudInit: API.OperationMethod<SetTemplateCloudInitRequest, SetTemplateCloudInitResponse, SetTemplateCloudInitError, ScalewayOpContext>;
1712
+ export type SetTemplateUserDataError = ScalewayOpError;
1713
+ /** Set template user data Set a user data key of a template. */
1714
+ export declare const setTemplateUserData: API.OperationMethod<SetTemplateUserDataRequest, SetTemplateUserDataResponse, SetTemplateUserDataError, ScalewayOpContext>;
1715
+ export type SetUserDataError = ScalewayOpError;
1716
+ /** Add/set user data Add or update a user data with a specified key on an Instance. */
1717
+ export declare const setUserData: API.OperationMethod<SetUserDataRequest, SetUserDataResponse, SetUserDataError, ScalewayOpContext>;
1718
+ export type StartServerError = ScalewayOpError;
1719
+ /** Start an Instance Start a stopped or paused Instance. */
1720
+ export declare const startServer: API.OperationMethod<StartServerRequest, Server, StartServerError, ScalewayOpContext>;
1721
+ export type StopAndDeleteServerError = ScalewayOpError;
1722
+ /** Stop and delete an Instance Stop and delete a running or paused Instance. */
1723
+ export declare const stopAndDeleteServer: API.OperationMethod<StopAndDeleteServerRequest, Server, StopAndDeleteServerError, ScalewayOpContext>;
1724
+ export type StopServerError = ScalewayOpError;
1725
+ /** Stop an Instance Stop a running or paused Instance. */
1726
+ export declare const stopServer: API.OperationMethod<StopServerRequest, Server, StopServerError, ScalewayOpContext>;
1727
+ export type UpdatePlacementGroupError = ScalewayOpError;
1728
+ /** Update a placement group Update the properties of a specified placement group. */
1729
+ export declare const updatePlacementGroup: API.OperationMethod<UpdatePlacementGroupRequest, PlacementGroup, UpdatePlacementGroupError, ScalewayOpContext>;
1730
+ export type UpdatePrivateNetworkInterfaceError = ScalewayOpError;
1731
+ /** Update a private network interface Update the properties of a specified private network interface. */
1732
+ export declare const updatePrivateNetworkInterface: API.OperationMethod<UpdatePrivateNetworkInterfaceRequest, PrivateNetworkInterface, UpdatePrivateNetworkInterfaceError, ScalewayOpContext>;
1733
+ export type UpdateSecurityGroupError = ScalewayOpError;
1734
+ /** Update a security group Update the properties of a security group. */
1735
+ export declare const updateSecurityGroup: API.OperationMethod<UpdateSecurityGroupRequest, SecurityGroup, UpdateSecurityGroupError, ScalewayOpContext>;
1736
+ export type UpdateSecurityGroupRuleError = ScalewayOpError;
1737
+ /** Update a security group rule Update the properties of a rule from a specified security group. */
1738
+ export declare const updateSecurityGroupRule: API.OperationMethod<UpdateSecurityGroupRuleRequest, SecurityGroup, UpdateSecurityGroupRuleError, ScalewayOpContext>;
1739
+ export type UpdateServerError = ScalewayOpError;
1740
+ /** Update an Instance Update the properties of a specified Instance information, such as name, rescue_mode, or tags. */
1741
+ export declare const updateServer: API.OperationMethod<UpdateServerRequest, Server, UpdateServerError, ScalewayOpContext>;
1742
+ export type UpdateTemplateError = ScalewayOpError;
1743
+ /** Update a template Update the properties of a template. */
1744
+ export declare const updateTemplate: API.OperationMethod<UpdateTemplateRequest, Template, UpdateTemplateError, ScalewayOpContext>;
1745
+ //# sourceMappingURL=instance_v2alpha1.d.ts.map