@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,1422 @@
1
+ import * as API from "@distilled.cloud/core/api";
2
+ import { BinaryStream } from "@distilled.cloud/core/protocol-rest";
3
+ import type * as Redacted from "effect/Redacted";
4
+ import { type ScalewayOpError, type ScalewayOpContext } from "../protocol.ts";
5
+ export type { ScalewayOpError, ScalewayOpContext };
6
+ export type AddInstanceACLRulesRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
7
+ export interface ACLRuleRequest {
8
+ /** (IP network) */
9
+ ip?: string | undefined;
10
+ description?: string | undefined;
11
+ }
12
+ /** ACL rules to add to the Database Instance. */
13
+ export type AddInstanceACLRulesRequestRulesList = Array<ACLRuleRequest>;
14
+ export interface AddInstanceACLRulesRequest {
15
+ /** The region you want to target */
16
+ region?: AddInstanceACLRulesRequestRegion | (string & {}) | undefined;
17
+ /** UUID of the Database Instance you want to add ACL rules to. */
18
+ instance_id: string;
19
+ /** ACL rules to add to the Database Instance. */
20
+ rules: AddInstanceACLRulesRequestRulesList;
21
+ }
22
+ export type ACLRuleProtocol = "tcp" | "udp" | "icmp";
23
+ export type ACLRuleDirection = "inbound" | "outbound";
24
+ export type ACLRuleAction = "allow" | "deny";
25
+ export interface ACLRule {
26
+ /** (IP network) */
27
+ ip?: string | undefined;
28
+ protocol?: ACLRuleProtocol | undefined;
29
+ direction?: ACLRuleDirection | undefined;
30
+ action?: ACLRuleAction | undefined;
31
+ description?: string | undefined;
32
+ port?: number | undefined;
33
+ }
34
+ /** ACL Rules enabled for the Database Instance. */
35
+ export type AddInstanceACLRulesResponseRulesList = Array<ACLRule>;
36
+ export interface AddInstanceACLRulesResponse {
37
+ /** ACL Rules enabled for the Database Instance. */
38
+ rules?: AddInstanceACLRulesResponseRulesList | undefined;
39
+ }
40
+ export type AddInstanceSettingsRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
41
+ export interface InstanceSetting {
42
+ name?: string | undefined;
43
+ value?: string | undefined;
44
+ }
45
+ /** Settings to add to the Database Instance. */
46
+ export type AddInstanceSettingsRequestSettingsList = Array<InstanceSetting>;
47
+ export interface AddInstanceSettingsRequest {
48
+ /** The region you want to target */
49
+ region?: AddInstanceSettingsRequestRegion | (string & {}) | undefined;
50
+ /** UUID of the Database Instance you want to add settings to. */
51
+ instance_id: string;
52
+ /** Settings to add to the Database Instance. */
53
+ settings: AddInstanceSettingsRequestSettingsList;
54
+ }
55
+ /** Settings available on the Database Instance. */
56
+ export type AddInstanceSettingsResponseSettingsList = Array<InstanceSetting>;
57
+ export interface AddInstanceSettingsResponse {
58
+ /** Settings available on the Database Instance. */
59
+ settings?: AddInstanceSettingsResponseSettingsList | undefined;
60
+ }
61
+ export type ApplyInstanceMaintenanceRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
62
+ export interface ApplyInstanceMaintenanceRequest {
63
+ /** The region you want to target */
64
+ region?: ApplyInstanceMaintenanceRequestRegion | (string & {}) | undefined;
65
+ /** UUID of the Database Instance you want to apply maintenance. */
66
+ instance_id: string;
67
+ }
68
+ export type MaintenanceStatus = "unknown" | "pending" | "done" | "canceled" | "ongoing";
69
+ export interface Maintenance {
70
+ /** Start date of the maintenance window. (RFC 3339 format) */
71
+ starts_at?: string | null | undefined;
72
+ /** End date of the maintenance window. (RFC 3339 format) */
73
+ stops_at?: string | null | undefined;
74
+ /** Closed maintenance date. (RFC 3339 format) */
75
+ closed_at?: string | null | undefined;
76
+ /** Maintenance information message. */
77
+ reason?: string | undefined;
78
+ /** Status of the maintenance. */
79
+ status?: MaintenanceStatus | undefined;
80
+ /** Time when Scaleway-side maintenance will be applied. (RFC 3339 format) */
81
+ forced_at?: string | null | undefined;
82
+ /** Indicate if the maintenance can be applied by the user. */
83
+ is_applicable?: boolean | undefined;
84
+ }
85
+ export type CloneInstanceRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
86
+ export interface CloneInstanceRequest {
87
+ /** The region you want to target */
88
+ region?: CloneInstanceRequestRegion | (string & {}) | undefined;
89
+ /** UUID of the Database Instance you want to clone. */
90
+ instance_id: string;
91
+ /** Name of the Database Instance clone. */
92
+ name?: string | undefined;
93
+ /** Node type of the clone. */
94
+ node_type?: string | null | undefined;
95
+ }
96
+ export type VolumeType = "lssd" | "bssd" | "sbs_5k" | "sbs_15k";
97
+ export type StorageClass = "unknown_storage_class" | "lssd" | "bssd" | "sbs";
98
+ export interface Volume {
99
+ type?: VolumeType | undefined;
100
+ /** (in bytes) */
101
+ size?: number | undefined;
102
+ class?: StorageClass | undefined;
103
+ }
104
+ export type InstanceStatus = "unknown" | "ready" | "provisioning" | "configuring" | "deleting" | "error" | "autohealing" | "locked" | "initializing" | "disk_full" | "backuping" | "snapshotting" | "restarting";
105
+ export interface UpgradableVersion {
106
+ /** (UUID format) */
107
+ id?: string | undefined;
108
+ name?: string | undefined;
109
+ version?: string | undefined;
110
+ minor_version?: string | undefined;
111
+ }
112
+ /** Available database engine versions for upgrade. */
113
+ export type InstanceUpgradableVersionList = Array<UpgradableVersion>;
114
+ export type EndpointPrivateNetworkDetailsProvisioningMode = "static" | "ipam";
115
+ export interface EndpointPrivateNetworkDetails {
116
+ /** UUID of the private network. (UUID format) */
117
+ private_network_id?: string | undefined;
118
+ /** CIDR notation of the endpoint IPv4 address. (IP network) */
119
+ service_ip?: string | undefined;
120
+ /** Private network zone. */
121
+ zone?: string | undefined;
122
+ /** How endpoint ips are provisioned. */
123
+ provisioning_mode?: EndpointPrivateNetworkDetailsProvisioningMode | undefined;
124
+ }
125
+ export interface Endpoint {
126
+ /** UUID of the endpoint. (UUID format) */
127
+ id?: string | undefined;
128
+ /** IPv4 address of the endpoint. (IP address) Precisely one of ip, hostname can be set. */
129
+ ip?: string | null | undefined;
130
+ /** TCP port of the endpoint. */
131
+ port?: number | undefined;
132
+ /** Name of the endpoint. */
133
+ name?: string | null | undefined;
134
+ /** Private Network details. One maximum per Database Instance or Read Replica (a Database Instance and its Read Replica can have different Private Networks). Cannot be updated (has to be deleted and recreated). Precisely one of private_network, load_balancer, direct_access can be set. */
135
+ private_network?: EndpointPrivateNetworkDetails | null | undefined;
136
+ /** Load balancer details. Public endpoint for Database Instance which is systematically present. One per Database Instance. Precisely one of private_network, load_balancer, direct_access can be set. */
137
+ load_balancer?: unknown | null | undefined;
138
+ /** Direct access details. Public endpoint reserved for Read Replicas. One per Read Replica. Precisely one of private_network, load_balancer, direct_access can be set. */
139
+ direct_access?: unknown | null | undefined;
140
+ /** Hostname of the endpoint. Precisely one of ip, hostname can be set. */
141
+ hostname?: string | null | undefined;
142
+ }
143
+ /** List of tags applied to the Database Instance. */
144
+ export type InstanceTagsList = Array<string>;
145
+ /** Advanced settings of the Database Instance. */
146
+ export type InstanceSettingsList = Array<InstanceSetting>;
147
+ export interface BackupSchedule {
148
+ /** Frequency of the backup schedule (in hours). */
149
+ frequency?: number | undefined;
150
+ /** Default retention period of backups (in days). */
151
+ retention?: number | undefined;
152
+ /** Defines whether the backup schedule feature is disabled. */
153
+ disabled?: boolean | undefined;
154
+ /** Next run of the backup schedule (accurate to 10 minutes). (RFC 3339 format) */
155
+ next_run_at?: string | null | undefined;
156
+ }
157
+ export type HighAvailabilityMode = "unknown_high_availability_mode" | "disabled" | "single_zone" | "multiple_zone";
158
+ /** Display Read Replica connection information. */
159
+ export type ReadReplicaEndpointsList = Array<Endpoint>;
160
+ export type ReadReplicaStatus = "unknown" | "provisioning" | "initializing" | "ready" | "deleting" | "error" | "locked" | "configuring" | "promoting";
161
+ export interface ReadReplica {
162
+ /** UUID of the Read Replica. (UUID format) */
163
+ id?: string | undefined;
164
+ /** Display Read Replica connection information. */
165
+ endpoints?: ReadReplicaEndpointsList | undefined;
166
+ /** Read replica status. */
167
+ status?: ReadReplicaStatus | undefined;
168
+ /** Region the Read Replica is in. */
169
+ region?: string | undefined;
170
+ /** Whether the replica is in the same availability zone as the main instance nodes or not. */
171
+ same_zone?: boolean | undefined;
172
+ /** UUID of the Database Instance. */
173
+ instance_id?: string | undefined;
174
+ }
175
+ /** Read Replicas of the Database Instance. */
176
+ export type InstanceReadReplicasList = Array<ReadReplica>;
177
+ /** List of engine settings to be set at database initialization. */
178
+ export type InstanceInitSettingsList = Array<InstanceSetting>;
179
+ /** List of Database Instance endpoints. */
180
+ export type InstanceEndpointsList = Array<Endpoint>;
181
+ export interface LogsPolicy {
182
+ /** Max age (in days) of remote logs to keep on the Database Instance. */
183
+ max_age_retention?: number | null | undefined;
184
+ /** Max disk size of remote logs to keep on the Database Instance. (in bytes) */
185
+ total_disk_retention?: number | null | undefined;
186
+ }
187
+ /** List of Database Instance maintenance events. */
188
+ export type InstanceMaintenancesList = Array<Maintenance>;
189
+ export interface EncryptionAtRest {
190
+ enabled?: boolean | undefined;
191
+ /** (UUID format) */
192
+ kms_key_id?: string | null | undefined;
193
+ }
194
+ export interface Instance {
195
+ /** Creation date (must follow the ISO 8601 format). (RFC 3339 format) */
196
+ created_at?: string | null | undefined;
197
+ /** Volumes of the Database Instance. */
198
+ volume?: Volume | undefined;
199
+ /** Region the Database Instance is in. */
200
+ region?: string | undefined;
201
+ /** UUID of the Database Instance. (UUID format) */
202
+ id?: string | undefined;
203
+ /** Name of the Database Instance. */
204
+ name?: string | undefined;
205
+ /** Organization ID the Database Instance belongs to. (UUID format) */
206
+ organization_id?: string | undefined;
207
+ /** Project ID the Database Instance belongs to. (UUID format) */
208
+ project_id?: string | undefined;
209
+ /** Status of the Database Instance. */
210
+ status?: InstanceStatus | undefined;
211
+ /** Database engine of the database (PostgreSQL, MySQL, ...). */
212
+ engine?: string | undefined;
213
+ /** Available database engine versions for upgrade. */
214
+ upgradable_version?: InstanceUpgradableVersionList | undefined;
215
+ /** Endpoint of the Database Instance. */
216
+ endpoint?: Endpoint | undefined;
217
+ /** List of tags applied to the Database Instance. */
218
+ tags?: InstanceTagsList | undefined;
219
+ /** Advanced settings of the Database Instance. */
220
+ settings?: InstanceSettingsList | undefined;
221
+ /** Backup schedule of the Database Instance. */
222
+ backup_schedule?: BackupSchedule | undefined;
223
+ /** Defines whether or not High-Availability is enabled. */
224
+ is_ha_cluster?: boolean | undefined;
225
+ /** Defines the High-Availability mode of the instance. */
226
+ high_availability_mode?: HighAvailabilityMode | undefined;
227
+ /** Read Replicas of the Database Instance. */
228
+ read_replicas?: InstanceReadReplicasList | undefined;
229
+ /** Node type of the Database Instance. */
230
+ node_type?: string | undefined;
231
+ /** List of engine settings to be set at database initialization. */
232
+ init_settings?: InstanceInitSettingsList | undefined;
233
+ /** List of Database Instance endpoints. */
234
+ endpoints?: InstanceEndpointsList | undefined;
235
+ /** Logs policy of the Database Instance. */
236
+ logs_policy?: LogsPolicy | undefined;
237
+ /** Store logical backups in the same region as the Database Instance. */
238
+ backup_same_region?: boolean | undefined;
239
+ /** List of Database Instance maintenance events. */
240
+ maintenances?: InstanceMaintenancesList | undefined;
241
+ /** Encryption at rest settings for your Database Instance. */
242
+ encryption?: EncryptionAtRest | undefined;
243
+ }
244
+ export type CreateDatabaseRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
245
+ export interface CreateDatabaseRequest {
246
+ /** The region you want to target */
247
+ region?: CreateDatabaseRequestRegion | (string & {}) | undefined;
248
+ /** UUID of the Database Instance where to create the database. */
249
+ instance_id: string;
250
+ /** Name of the database. */
251
+ name?: string | undefined;
252
+ }
253
+ export interface Database {
254
+ /** Name of the database. */
255
+ name?: string | undefined;
256
+ /** Name of the database owner. */
257
+ owner?: string | undefined;
258
+ /** Defines whether the database is managed or not. */
259
+ managed?: boolean | undefined;
260
+ /** Size of the database. Set to 0 if the size retrieval is too time-consuming or `skip_size_retrieval` is set to true. (in bytes) */
261
+ size?: number | undefined;
262
+ }
263
+ export type CreateDatabaseBackupRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
264
+ export interface CreateDatabaseBackupRequest {
265
+ /** The region you want to target */
266
+ region?: CreateDatabaseBackupRequestRegion | (string & {}) | undefined;
267
+ /** UUID of the Database Instance. */
268
+ instance_id: string;
269
+ /** Name of the database you want to back up. */
270
+ database_name: string;
271
+ /** Name of the backup. */
272
+ name?: string | undefined;
273
+ /** Expiration date (must follow the ISO 8601 format). (RFC 3339 format) */
274
+ expires_at?: string | null | undefined;
275
+ }
276
+ export type DatabaseBackupStatus = "unknown" | "creating" | "ready" | "restoring" | "deleting" | "error" | "exporting" | "locked";
277
+ export interface DatabaseBackup {
278
+ /** UUID of the database backup. */
279
+ id?: string | undefined;
280
+ /** UUID of the Database Instance. */
281
+ instance_id?: string | undefined;
282
+ /** Name of backed up database. */
283
+ database_name?: string | undefined;
284
+ /** Name of the backup. */
285
+ name?: string | undefined;
286
+ /** Status of the backup. */
287
+ status?: DatabaseBackupStatus | undefined;
288
+ /** Size of the database backup. (in bytes) */
289
+ size?: number | null | undefined;
290
+ /** Expiration date (must follow the ISO 8601 format). (RFC 3339 format) */
291
+ expires_at?: string | null | undefined;
292
+ /** Creation date (must follow the ISO 8601 format). (RFC 3339 format) */
293
+ created_at?: string | null | undefined;
294
+ /** Updated date (must follow the ISO 8601 format). (RFC 3339 format) */
295
+ updated_at?: string | null | undefined;
296
+ /** Name of the Database Instance of the backup. */
297
+ instance_name?: string | undefined;
298
+ /** URL you can download the backup from. */
299
+ download_url?: string | null | undefined;
300
+ /** Expiration date of the download link. (RFC 3339 format) */
301
+ download_url_expires_at?: string | null | undefined;
302
+ /** Region of the database backup. */
303
+ region?: string | undefined;
304
+ /** Store logical backups in the same region as the source Database Instance. */
305
+ same_region?: boolean | undefined;
306
+ }
307
+ export type CreateEndpointRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
308
+ export interface EndpointSpecPrivateNetwork {
309
+ /** UUID of the Private Network to be connected to the Database Instance. (UUID format) */
310
+ private_network_id?: string | undefined;
311
+ /** Endpoint IPv4 address with a CIDR notation. Refer to the official Scaleway documentation to learn more about IP and subnet limitations. (IP network) Precisely one of service_ip, ipam_config can be set. */
312
+ service_ip?: string | null | undefined;
313
+ /** Automated configuration of your Private Network endpoint with Scaleway IPAM service. One at the most per Database Instance or Read Replica (a Database Instance and its Read Replica can have different Private Networks). Cannot be updated (has to be deleted and recreated). Precisely one of service_ip, ipam_config can be set. */
314
+ ipam_config?: unknown | null | undefined;
315
+ }
316
+ export interface EndpointSpec {
317
+ /** Load balancer endpoint specifications. Public endpoint for Database Instance which is systematically present. One per RDB instance. Precisely one of load_balancer, private_network can be set. */
318
+ load_balancer?: unknown | null | undefined;
319
+ /** Private Network endpoint specifications. One maximum per Database Instance or Read Replica (a Database Instance and its Read Replica can have different Private Networks). Cannot be updated (has to be deleted and recreated). Precisely one of load_balancer, private_network can be set. */
320
+ private_network?: EndpointSpecPrivateNetwork | null | undefined;
321
+ }
322
+ export interface CreateEndpointRequest {
323
+ /** The region you want to target */
324
+ region?: CreateEndpointRequestRegion | (string & {}) | undefined;
325
+ /** UUID of the Database Instance you to which you want to add an endpoint. */
326
+ instance_id: string;
327
+ /** Specification of the endpoint you want to create. */
328
+ endpoint_spec?: EndpointSpec | undefined;
329
+ }
330
+ export type CreateInstanceRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
331
+ /** Tags to apply to the Database Instance. */
332
+ export type CreateInstanceRequestTagsList = Array<string>;
333
+ /** List of engine settings to be set upon Database Instance initialization. */
334
+ export type CreateInstanceRequestInitSettingsList = Array<InstanceSetting>;
335
+ /** One or multiple EndpointSpec used to expose your Database Instance. A load_balancer public endpoint is systematically created. */
336
+ export type CreateInstanceRequestInitEndpointsList = Array<EndpointSpec>;
337
+ export interface CreateInstanceRequest {
338
+ /** The region you want to target */
339
+ region?: CreateInstanceRequestRegion | (string & {}) | undefined;
340
+ /** Please use project_id instead. Precisely one of project_id, organization_id can be set. */
341
+ organization_id?: string | null | undefined;
342
+ /** The Project ID on which the Database Instance will be created. Precisely one of project_id, organization_id can be set. */
343
+ project_id?: string | null | undefined;
344
+ /** Name of the Database Instance. */
345
+ name?: string | undefined;
346
+ /** Database engine of the Database Instance (PostgreSQL, MySQL, ...). */
347
+ engine: string;
348
+ /** Username created when the Database Instance is created. */
349
+ user_name: string;
350
+ /** Password of the user. Password must be between 8 and 128 characters, contain at least one digit, one uppercase, one lowercase and one special character. */
351
+ password: string | Redacted.Redacted<string>;
352
+ /** Type of node to use for the Database Instance. */
353
+ node_type: string;
354
+ /** Defines whether or not High-Availability is enabled. */
355
+ is_ha_cluster?: boolean | undefined;
356
+ /** Defines the High-Availability mode of the instance. */
357
+ high_availability_mode?: HighAvailabilityMode | (string & {}) | undefined;
358
+ /** Defines whether or not backups are disabled. */
359
+ disable_backup?: boolean | undefined;
360
+ /** Tags to apply to the Database Instance. */
361
+ tags?: CreateInstanceRequestTagsList | undefined;
362
+ /** List of engine settings to be set upon Database Instance initialization. */
363
+ init_settings?: CreateInstanceRequestInitSettingsList | undefined;
364
+ /** Type of volume where data is stored (lssd, bssd, ...). */
365
+ volume_type?: VolumeType | (string & {}) | undefined;
366
+ /** Volume size when volume_type is not lssd. (in bytes) */
367
+ volume_size?: number | undefined;
368
+ /** One or multiple EndpointSpec used to expose your Database Instance. A load_balancer public endpoint is systematically created. */
369
+ init_endpoints?: CreateInstanceRequestInitEndpointsList | undefined;
370
+ /** Defines whether to or not to store logical backups in the same region as the Database Instance. */
371
+ backup_same_region?: boolean | undefined;
372
+ /** Encryption at rest settings for your Database Instance. */
373
+ encryption?: EncryptionAtRest | undefined;
374
+ }
375
+ export type CreateInstanceFromSnapshotRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
376
+ export interface CreateInstanceFromSnapshotRequest {
377
+ /** The region you want to target */
378
+ region?: CreateInstanceFromSnapshotRequestRegion | (string & {}) | undefined;
379
+ /** Block snapshot of the Database Instance. */
380
+ snapshot_id: string;
381
+ /** Name of the Database Instance created with the snapshot. */
382
+ instance_name?: string | undefined;
383
+ /** Defines whether or not High-Availability is enabled on the new Database Instance. */
384
+ is_ha_cluster?: boolean | null | undefined;
385
+ /** Defines the High-Availability mode of the instance. */
386
+ high_availability_mode?: HighAvailabilityMode | (string & {}) | undefined;
387
+ /** The node type used to restore the snapshot. */
388
+ node_type?: string | null | undefined;
389
+ }
390
+ export type CreateReadReplicaRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
391
+ export interface ReadReplicaEndpointSpecPrivateNetwork {
392
+ /** UUID of the Private Network to be connected to the Read Replica. (UUID format) */
393
+ private_network_id?: string | undefined;
394
+ /** Endpoint IPv4 address with a CIDR notation. Refer to the official Scaleway documentation to learn more about IP and subnet limitations. (IP network) Precisely one of service_ip, ipam_config can be set. */
395
+ service_ip?: string | null | undefined;
396
+ /** Automated configuration of your Private Network endpoint with Scaleway IPAM service. One at the most per Database Instance or Read Replica (a Database Instance and its Read Replica can have different private networks). Cannot be updated (has to be deleted and recreated). Precisely one of service_ip, ipam_config can be set. */
397
+ ipam_config?: unknown | null | undefined;
398
+ }
399
+ export interface ReadReplicaEndpointSpec {
400
+ /** Direct access endpoint specifications. Public endpoint reserved for Read Replicas. One per Read Replica. Precisely one of direct_access, private_network can be set. */
401
+ direct_access?: unknown | null | undefined;
402
+ /** Private Network endpoint specifications. One at the most per Read Replica. Cannot be updated (has to be deleted and recreated). Precisely one of direct_access, private_network can be set. */
403
+ private_network?: ReadReplicaEndpointSpecPrivateNetwork | null | undefined;
404
+ }
405
+ /** Specification of the endpoint you want to create. */
406
+ export type CreateReadReplicaRequestEndpointSpecList = Array<ReadReplicaEndpointSpec>;
407
+ export interface CreateReadReplicaRequest {
408
+ /** The region you want to target */
409
+ region?: CreateReadReplicaRequestRegion | (string & {}) | undefined;
410
+ /** UUID of the Database Instance you want to create a Read Replica from. (UUID format) */
411
+ instance_id: string;
412
+ /** Specification of the endpoint you want to create. */
413
+ endpoint_spec?: CreateReadReplicaRequestEndpointSpecList | undefined;
414
+ /** Defines whether to create the replica in the same availability zone as the main instance nodes or not. */
415
+ same_zone?: boolean | null | undefined;
416
+ }
417
+ export type CreateReadReplicaEndpointRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
418
+ /** Specification of the endpoint you want to create. */
419
+ export type CreateReadReplicaEndpointRequestEndpointSpecList = Array<ReadReplicaEndpointSpec>;
420
+ export interface CreateReadReplicaEndpointRequest {
421
+ /** The region you want to target */
422
+ region?: CreateReadReplicaEndpointRequestRegion | (string & {}) | undefined;
423
+ /** UUID of the Read Replica. (UUID format) */
424
+ read_replica_id: string;
425
+ /** Specification of the endpoint you want to create. */
426
+ endpoint_spec: CreateReadReplicaEndpointRequestEndpointSpecList;
427
+ }
428
+ export type CreateSnapshotRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
429
+ export interface CreateSnapshotRequest {
430
+ /** The region you want to target */
431
+ region?: CreateSnapshotRequestRegion | (string & {}) | undefined;
432
+ /** UUID of the Database Instance. */
433
+ instance_id: string;
434
+ /** Name of the snapshot. */
435
+ name: string;
436
+ /** Expiration date (must follow the ISO 8601 format). (RFC 3339 format) */
437
+ expires_at?: string | null | undefined;
438
+ }
439
+ export type SnapshotStatus = "unknown" | "creating" | "ready" | "restoring" | "deleting" | "error" | "locked";
440
+ export interface SnapshotVolumeType {
441
+ type?: VolumeType | undefined;
442
+ class?: StorageClass | undefined;
443
+ }
444
+ export interface Snapshot {
445
+ /** UUID of the snapshot. */
446
+ id?: string | undefined;
447
+ /** UUID of the Database Instance. */
448
+ instance_id?: string | undefined;
449
+ /** Name of the snapshot. */
450
+ name?: string | undefined;
451
+ /** Status of the snapshot. */
452
+ status?: SnapshotStatus | undefined;
453
+ /** Size of the snapshot. (in bytes) */
454
+ size?: number | null | undefined;
455
+ /** Expiration date (must follow the ISO 8601 format). (RFC 3339 format) */
456
+ expires_at?: string | null | undefined;
457
+ /** Creation date (must follow the ISO 8601 format). (RFC 3339 format) */
458
+ created_at?: string | null | undefined;
459
+ /** Updated date (must follow the ISO 8601 format). (RFC 3339 format) */
460
+ updated_at?: string | null | undefined;
461
+ /** Name of the Database Instance of the snapshot. */
462
+ instance_name?: string | undefined;
463
+ /** Source node type. */
464
+ node_type?: string | undefined;
465
+ /** Type of volume where data is stored (lssd, bssd or sbs). */
466
+ volume_type?: SnapshotVolumeType | undefined;
467
+ /** Region of this snapshot. */
468
+ region?: string | undefined;
469
+ }
470
+ export type CreateUserRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
471
+ export interface CreateUserRequest {
472
+ /** The region you want to target */
473
+ region?: CreateUserRequestRegion | (string & {}) | undefined;
474
+ /** UUID of the Database Instance in which you want to create a user. */
475
+ instance_id: string;
476
+ /** Name of the user you want to create. */
477
+ name?: string | undefined;
478
+ /** Password of the user you want to create. Password must be between 8 and 128 characters, contain at least one digit, one uppercase, one lowercase and one special character. */
479
+ password?: string | Redacted.Redacted<string> | undefined;
480
+ /** Defines whether the user will have administrative privileges. */
481
+ is_admin?: boolean | undefined;
482
+ }
483
+ export interface User {
484
+ /** Name of the user (Length must be between 1 and 63 characters for PostgreSQL and between 1 and 32 characters for MySQL. First character must be an alphabet character (a-zA-Z). Your username cannot start with '_rdb' or in PostgreSQL, 'pg_'. Only a-zA-Z0-9_$- characters are accepted). */
485
+ name?: string | undefined;
486
+ /** Defines whether or not a user got administrative privileges on the Database Instance. */
487
+ is_admin?: boolean | undefined;
488
+ }
489
+ export type DeleteDatabaseRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
490
+ export interface DeleteDatabaseRequest {
491
+ /** The region you want to target */
492
+ region?: DeleteDatabaseRequestRegion | (string & {}) | undefined;
493
+ /** UUID of the Database Instance where to delete the database. */
494
+ instance_id: string;
495
+ /** Name of the database to delete. */
496
+ name: string;
497
+ }
498
+ export interface DeleteDatabaseResponse {
499
+ }
500
+ export type DeleteDatabaseBackupRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
501
+ export interface DeleteDatabaseBackupRequest {
502
+ /** The region you want to target */
503
+ region?: DeleteDatabaseBackupRequestRegion | (string & {}) | undefined;
504
+ /** UUID of the database backup to delete. */
505
+ database_backup_id: string;
506
+ }
507
+ export type DeleteEndpointRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
508
+ export interface DeleteEndpointRequest {
509
+ /** The region you want to target */
510
+ region?: DeleteEndpointRequestRegion | (string & {}) | undefined;
511
+ /** UUID of the endpoint you want to delete. This endpoint can also be used to delete a Read Replica endpoint. */
512
+ endpoint_id: string;
513
+ }
514
+ export interface DeleteEndpointResponse {
515
+ }
516
+ export type DeleteInstanceRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
517
+ export interface DeleteInstanceRequest {
518
+ /** The region you want to target */
519
+ region?: DeleteInstanceRequestRegion | (string & {}) | undefined;
520
+ /** UUID of the Database Instance to delete. */
521
+ instance_id: string;
522
+ }
523
+ export type DeleteInstanceACLRulesRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
524
+ /** IP addresses defined in the ACL rules of the Database Instance. */
525
+ export type DeleteInstanceACLRulesRequestAclRuleIpsList = Array<string>;
526
+ export interface DeleteInstanceACLRulesRequest {
527
+ /** The region you want to target */
528
+ region?: DeleteInstanceACLRulesRequestRegion | (string & {}) | undefined;
529
+ /** UUID of the Database Instance you want to delete an ACL rule from. */
530
+ instance_id: string;
531
+ /** IP addresses defined in the ACL rules of the Database Instance. */
532
+ acl_rule_ips: DeleteInstanceACLRulesRequestAclRuleIpsList;
533
+ }
534
+ /** IP addresses defined in the ACL rules of the Database Instance. */
535
+ export type DeleteInstanceACLRulesResponseRulesList = Array<ACLRule>;
536
+ export interface DeleteInstanceACLRulesResponse {
537
+ /** IP addresses defined in the ACL rules of the Database Instance. */
538
+ rules?: DeleteInstanceACLRulesResponseRulesList | undefined;
539
+ }
540
+ export type DeleteInstanceSettingsRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
541
+ /** Settings names to delete. */
542
+ export type DeleteInstanceSettingsRequestSettingNamesList = Array<string>;
543
+ export interface DeleteInstanceSettingsRequest {
544
+ /** The region you want to target */
545
+ region?: DeleteInstanceSettingsRequestRegion | (string & {}) | undefined;
546
+ /** UUID of the Database Instance to delete settings from. */
547
+ instance_id: string;
548
+ /** Settings names to delete. */
549
+ setting_names: DeleteInstanceSettingsRequestSettingNamesList;
550
+ }
551
+ /** Settings names to delete from the Database Instance. */
552
+ export type DeleteInstanceSettingsResponseSettingsList = Array<InstanceSetting>;
553
+ export interface DeleteInstanceSettingsResponse {
554
+ /** Settings names to delete from the Database Instance. */
555
+ settings?: DeleteInstanceSettingsResponseSettingsList | undefined;
556
+ }
557
+ export type DeleteReadReplicaRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
558
+ export interface DeleteReadReplicaRequest {
559
+ /** The region you want to target */
560
+ region?: DeleteReadReplicaRequestRegion | (string & {}) | undefined;
561
+ /** UUID of the Read Replica. (UUID format) */
562
+ read_replica_id: string;
563
+ }
564
+ export type DeleteSnapshotRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
565
+ export interface DeleteSnapshotRequest {
566
+ /** The region you want to target */
567
+ region?: DeleteSnapshotRequestRegion | (string & {}) | undefined;
568
+ /** UUID of the snapshot to delete. */
569
+ snapshot_id: string;
570
+ }
571
+ export type DeleteUserRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
572
+ export interface DeleteUserRequest {
573
+ /** The region you want to target */
574
+ region?: DeleteUserRequestRegion | (string & {}) | undefined;
575
+ /** UUID of the Database Instance to delete the user from. */
576
+ instance_id: string;
577
+ /** Name of the user. */
578
+ name: string;
579
+ }
580
+ export interface DeleteUserResponse {
581
+ }
582
+ export type ExportDatabaseBackupRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
583
+ export interface ExportDatabaseBackupRequest {
584
+ /** The region you want to target */
585
+ region?: ExportDatabaseBackupRequestRegion | (string & {}) | undefined;
586
+ /** UUID of the database backup you want to export. */
587
+ database_backup_id: string;
588
+ }
589
+ export type GetDatabaseBackupRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
590
+ export interface GetDatabaseBackupRequest {
591
+ /** The region you want to target */
592
+ region?: GetDatabaseBackupRequestRegion | (string & {}) | undefined;
593
+ /** UUID of the database backup. */
594
+ database_backup_id: string;
595
+ }
596
+ export type GetEndpointRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
597
+ export interface GetEndpointRequest {
598
+ /** The region you want to target */
599
+ region?: GetEndpointRequestRegion | (string & {}) | undefined;
600
+ /** UUID of the endpoint you want to get. */
601
+ endpoint_id: string;
602
+ }
603
+ export type GetInstanceRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
604
+ export interface GetInstanceRequest {
605
+ /** The region you want to target */
606
+ region?: GetInstanceRequestRegion | (string & {}) | undefined;
607
+ /** UUID of the Database Instance. */
608
+ instance_id: string;
609
+ }
610
+ export type GetInstanceCertificateRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
611
+ export interface GetInstanceCertificateRequest {
612
+ /** The region you want to target */
613
+ region?: GetInstanceCertificateRequestRegion | (string & {}) | undefined;
614
+ /** UUID of the Database Instance. */
615
+ instance_id: string;
616
+ }
617
+ export interface ScalewayStdFile {
618
+ name?: string | undefined;
619
+ content_type?: string | undefined;
620
+ content?: string | undefined;
621
+ }
622
+ export interface GetInstanceCertificateRawRequest {
623
+ /** The region you want to target */
624
+ region?: GetInstanceCertificateRequestRegion | (string & {}) | undefined;
625
+ /** UUID of the Database Instance. */
626
+ instance_id: string;
627
+ }
628
+ export interface GetInstanceCertificateRawResponse {
629
+ body: BinaryStream;
630
+ /** Media type of the body, from the response's `Content-Type` header (e.g. `image/jpeg`). */
631
+ contentType?: string | undefined;
632
+ }
633
+ export type GetInstanceLogRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
634
+ export interface GetInstanceLogRequest {
635
+ /** The region you want to target */
636
+ region?: GetInstanceLogRequestRegion | (string & {}) | undefined;
637
+ /** UUID of the instance_log you want. */
638
+ instance_log_id: string;
639
+ }
640
+ export type InstanceLogStatus = "unknown" | "ready" | "creating" | "error";
641
+ export interface InstanceLog {
642
+ /** Presigned Object Storage URL to download your log file. */
643
+ download_url?: string | null | undefined;
644
+ /** UUID of the Database Instance log. */
645
+ id?: string | undefined;
646
+ /** Status of the logs in a Database Instance. */
647
+ status?: InstanceLogStatus | undefined;
648
+ /** Name of the underlying node. */
649
+ node_name?: string | undefined;
650
+ /** Expiration date (must follow the ISO 8601 format). (RFC 3339 format) */
651
+ expires_at?: string | null | undefined;
652
+ /** Creation date (must follow the ISO 8601 format). (RFC 3339 format) */
653
+ created_at?: string | null | undefined;
654
+ /** Region the Database Instance is in. */
655
+ region?: string | undefined;
656
+ }
657
+ export type GetReadReplicaRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
658
+ export interface GetReadReplicaRequest {
659
+ /** The region you want to target */
660
+ region?: GetReadReplicaRequestRegion | (string & {}) | undefined;
661
+ /** UUID of the Read Replica. (UUID format) */
662
+ read_replica_id: string;
663
+ }
664
+ export type GetSnapshotRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
665
+ export interface GetSnapshotRequest {
666
+ /** The region you want to target */
667
+ region?: GetSnapshotRequestRegion | (string & {}) | undefined;
668
+ /** UUID of the snapshot. */
669
+ snapshot_id: string;
670
+ }
671
+ export type ListDatabaseBackupsRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
672
+ export type ListDatabaseBackupsRequestOrderBy = "created_at_asc" | "created_at_desc" | "name_asc" | "name_desc" | "status_asc" | "status_desc";
673
+ export interface ListDatabaseBackupsRequest {
674
+ /** The region you want to target */
675
+ region?: ListDatabaseBackupsRequestRegion | (string & {}) | undefined;
676
+ /** Name of the database backups. */
677
+ name?: string | undefined;
678
+ /** Criteria to use when ordering database backups listing. */
679
+ order_by?: ListDatabaseBackupsRequestOrderBy | (string & {}) | undefined;
680
+ /** UUID of the Database Instance. */
681
+ instance_id?: string | undefined;
682
+ /** Organization ID of the Organization the database backups belong to. */
683
+ organization_id?: string | undefined;
684
+ /** Project ID of the Project the database backups belong to. */
685
+ project_id?: string | undefined;
686
+ page?: number | undefined;
687
+ page_size?: number | undefined;
688
+ }
689
+ /** List of database backups. */
690
+ export type ListDatabaseBackupsResponseDatabaseBackupsList = Array<DatabaseBackup>;
691
+ export interface ListDatabaseBackupsResponse {
692
+ /** List of database backups. */
693
+ database_backups: ListDatabaseBackupsResponseDatabaseBackupsList;
694
+ /** Total count of database backups available. */
695
+ total_count?: number | undefined;
696
+ }
697
+ export type ListDatabaseEnginesRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
698
+ export interface ListDatabaseEnginesRequest {
699
+ /** The region you want to target */
700
+ region?: ListDatabaseEnginesRequestRegion | (string & {}) | undefined;
701
+ /** Name of the database engine. */
702
+ name?: string | undefined;
703
+ /** Version of the database engine. */
704
+ version?: string | undefined;
705
+ page?: number | undefined;
706
+ page_size?: number | undefined;
707
+ }
708
+ export type EngineSettingPropertyType = "BOOLEAN" | "INT" | "STRING" | "FLOAT";
709
+ export interface EngineSetting {
710
+ /** Setting name from the database engine. */
711
+ name?: string | undefined;
712
+ /** Value set when not specified. */
713
+ default_value?: string | undefined;
714
+ /** Setting can be applied without restarting. */
715
+ hot_configurable?: boolean | undefined;
716
+ /** Setting description. */
717
+ description?: string | undefined;
718
+ /** Setting type. */
719
+ property_type?: EngineSettingPropertyType | undefined;
720
+ /** Setting base unit. */
721
+ unit?: string | null | undefined;
722
+ /** Validation regex for string type settings. */
723
+ string_constraint?: string | null | undefined;
724
+ /** Minimum value for int types. */
725
+ int_min?: number | null | undefined;
726
+ /** Maximum value for int types. */
727
+ int_max?: number | null | undefined;
728
+ /** Minimum value for float types. */
729
+ float_min?: number | null | undefined;
730
+ /** Maximum value for float types. */
731
+ float_max?: number | null | undefined;
732
+ }
733
+ /** Engine settings available to be set. */
734
+ export type EngineVersionAvailableSettingsList = Array<EngineSetting>;
735
+ /** Engine settings available to be set at database initialization. */
736
+ export type EngineVersionAvailableInitSettingsList = Array<EngineSetting>;
737
+ export interface EngineVersion {
738
+ /** Database engine version. */
739
+ version?: string | undefined;
740
+ /** Database engine name. */
741
+ name?: string | undefined;
742
+ /** End of life date. (RFC 3339 format) */
743
+ end_of_life?: string | null | undefined;
744
+ /** Engine settings available to be set. */
745
+ available_settings?: EngineVersionAvailableSettingsList | undefined;
746
+ /** Disabled versions cannot be created. */
747
+ disabled?: boolean | undefined;
748
+ /** Beta status of engine version. */
749
+ beta?: boolean | undefined;
750
+ /** Engine settings available to be set at database initialization. */
751
+ available_init_settings?: EngineVersionAvailableInitSettingsList | undefined;
752
+ /** Version release date. (RFC 3339 format) */
753
+ release_date?: string | null | undefined;
754
+ }
755
+ /** Available versions. */
756
+ export type DatabaseEngineVersionsList = Array<EngineVersion>;
757
+ export interface DatabaseEngine {
758
+ /** Engine name. */
759
+ name?: string | undefined;
760
+ /** Engine logo URL. */
761
+ logo_url?: string | undefined;
762
+ /** Available versions. */
763
+ versions?: DatabaseEngineVersionsList | undefined;
764
+ /** Region of this Database Instance. */
765
+ region?: string | undefined;
766
+ }
767
+ /** List of the available database engines. */
768
+ export type ListDatabaseEnginesResponseEnginesList = Array<DatabaseEngine>;
769
+ export interface ListDatabaseEnginesResponse {
770
+ /** List of the available database engines. */
771
+ engines: ListDatabaseEnginesResponseEnginesList;
772
+ /** Total count of database engines available. */
773
+ total_count?: number | undefined;
774
+ }
775
+ export type ListDatabasesRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
776
+ export type ListDatabasesRequestOrderBy = "name_asc" | "name_desc" | "size_asc" | "size_desc";
777
+ export interface ListDatabasesRequest {
778
+ /** The region you want to target */
779
+ region?: ListDatabasesRequestRegion | (string & {}) | undefined;
780
+ /** UUID of the Database Instance to list the databases of. */
781
+ instance_id: string;
782
+ /** Name of the database. */
783
+ name?: string | undefined;
784
+ /** Defines whether or not the database is managed. */
785
+ managed?: boolean | undefined;
786
+ /** User that owns this database. */
787
+ owner?: string | undefined;
788
+ /** Criteria to use when ordering database listing. */
789
+ order_by?: ListDatabasesRequestOrderBy | (string & {}) | undefined;
790
+ /** Whether to skip the retrieval of each database size. If true, the size of each returned database will be set to 0. */
791
+ skip_size_retrieval?: boolean | undefined;
792
+ page?: number | undefined;
793
+ page_size?: number | undefined;
794
+ }
795
+ /** List of the databases. */
796
+ export type ListDatabasesResponseDatabasesList = Array<Database>;
797
+ export interface ListDatabasesResponse {
798
+ /** List of the databases. */
799
+ databases: ListDatabasesResponseDatabasesList;
800
+ /** Total count of databases present on a Database Instance. */
801
+ total_count?: number | undefined;
802
+ }
803
+ export type ListInstanceACLRulesRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
804
+ export interface ListInstanceACLRulesRequest {
805
+ /** The region you want to target */
806
+ region?: ListInstanceACLRulesRequestRegion | (string & {}) | undefined;
807
+ /** UUID of the Database Instance. */
808
+ instance_id: string;
809
+ page?: number | undefined;
810
+ page_size?: number | undefined;
811
+ }
812
+ /** List of ACL rules present on a Database Instance. */
813
+ export type ListInstanceACLRulesResponseRulesList = Array<ACLRule>;
814
+ export interface ListInstanceACLRulesResponse {
815
+ /** List of ACL rules present on a Database Instance. */
816
+ rules: ListInstanceACLRulesResponseRulesList;
817
+ /** Total count of ACL rules present on a Database Instance. */
818
+ total_count?: number | undefined;
819
+ }
820
+ export type ListInstanceLogsRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
821
+ export type ListInstanceLogsRequestOrderBy = "created_at_asc" | "created_at_desc";
822
+ export interface ListInstanceLogsRequest {
823
+ /** The region you want to target */
824
+ region?: ListInstanceLogsRequestRegion | (string & {}) | undefined;
825
+ /** UUID of the Database Instance you want logs of. */
826
+ instance_id: string;
827
+ /** Criteria to use when ordering Database Instance logs listing. */
828
+ order_by?: ListInstanceLogsRequestOrderBy | (string & {}) | undefined;
829
+ }
830
+ /** Available logs in a Database Instance. */
831
+ export type ListInstanceLogsResponseInstanceLogsList = Array<InstanceLog>;
832
+ export interface ListInstanceLogsResponse {
833
+ /** Available logs in a Database Instance. */
834
+ instance_logs?: ListInstanceLogsResponseInstanceLogsList | undefined;
835
+ }
836
+ export type ListInstanceLogsDetailsRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
837
+ export interface ListInstanceLogsDetailsRequest {
838
+ /** The region you want to target */
839
+ region?: ListInstanceLogsDetailsRequestRegion | (string & {}) | undefined;
840
+ /** UUID of the Database Instance you want logs of. */
841
+ instance_id: string;
842
+ }
843
+ export interface ListInstanceLogsDetailsResponseInstanceLogDetail {
844
+ log_name?: string | undefined;
845
+ size?: number | undefined;
846
+ }
847
+ /** Remote Database Instance logs details. */
848
+ export type ListInstanceLogsDetailsResponseDetailsList = Array<ListInstanceLogsDetailsResponseInstanceLogDetail>;
849
+ export interface ListInstanceLogsDetailsResponse {
850
+ /** Remote Database Instance logs details. */
851
+ details?: ListInstanceLogsDetailsResponseDetailsList | undefined;
852
+ }
853
+ export type ListInstancesRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
854
+ export type ListInstancesRequestTagsList = Array<string>;
855
+ export type ListInstancesRequestOrderBy = "created_at_asc" | "created_at_desc" | "name_asc" | "name_desc" | "region" | "status_asc" | "status_desc";
856
+ export interface ListInstancesRequest {
857
+ /** The region you want to target */
858
+ region?: ListInstancesRequestRegion | (string & {}) | undefined;
859
+ /** List Database Instances that have a given tag. */
860
+ tags?: ListInstancesRequestTagsList | undefined;
861
+ /** Lists Database Instances that match a name pattern. */
862
+ name?: string | undefined;
863
+ /** Criteria to use when ordering Database Instance listings. */
864
+ order_by?: ListInstancesRequestOrderBy | (string & {}) | undefined;
865
+ /** Please use project_id instead. */
866
+ organization_id?: string | undefined;
867
+ /** Project ID to list the Database Instance of. */
868
+ project_id?: string | undefined;
869
+ /** Filter to only list instances with a scheduled maintenance. */
870
+ has_maintenances?: boolean | undefined;
871
+ page?: number | undefined;
872
+ page_size?: number | undefined;
873
+ }
874
+ /** List of all Database Instances available in an Organization or Project. */
875
+ export type ListInstancesResponseInstancesList = Array<Instance>;
876
+ export interface ListInstancesResponse {
877
+ /** List of all Database Instances available in an Organization or Project. */
878
+ instances: ListInstancesResponseInstancesList;
879
+ /** Total count of Database Instances available in a Organization or Project. */
880
+ total_count?: number | undefined;
881
+ }
882
+ export type ListNodeTypesRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
883
+ export interface ListNodeTypesRequest {
884
+ /** The region you want to target */
885
+ region?: ListNodeTypesRequestRegion | (string & {}) | undefined;
886
+ /** Defines whether or not to include disabled types. */
887
+ include_disabled_types: boolean;
888
+ page?: number | undefined;
889
+ page_size?: number | undefined;
890
+ }
891
+ export type NodeTypeStock = "unknown" | "low_stock" | "out_of_stock" | "available";
892
+ export interface NodeTypeVolumeConstraintSizes {
893
+ /** [deprecated] Minimum size required for the Volume. (in bytes) */
894
+ min_size?: number | undefined;
895
+ /** [deprecated] Maximum size required for the Volume. (in bytes) */
896
+ max_size?: number | undefined;
897
+ }
898
+ export interface NodeTypeVolumeType {
899
+ /** Volume Type. */
900
+ type?: VolumeType | undefined;
901
+ /** The description of the Volume. */
902
+ description?: string | undefined;
903
+ /** Minimum size required for the Volume. (in bytes) */
904
+ min_size?: number | undefined;
905
+ /** Maximum size required for the Volume. (in bytes) */
906
+ max_size?: number | undefined;
907
+ /** Minimum increment level for a Block Storage volume size. (in bytes) */
908
+ chunk_size?: number | undefined;
909
+ /** The storage class of the volume. */
910
+ class?: StorageClass | undefined;
911
+ }
912
+ /** Available storage options for the Node Type. */
913
+ export type NodeTypeAvailableVolumeTypesList = Array<NodeTypeVolumeType>;
914
+ export type NodeTypeGeneration = "unknown_generation" | "generation_v1" | "generation_v2" | "generation_v3";
915
+ export interface NodeType {
916
+ /** Node Type name identifier. */
917
+ name?: string | undefined;
918
+ /** Current stock status for the Node Type. */
919
+ stock_status?: NodeTypeStock | undefined;
920
+ /** Current specs of the offer. */
921
+ description?: string | undefined;
922
+ /** Number of virtual CPUs. */
923
+ vcpus?: number | undefined;
924
+ /** Quantity of RAM. (in bytes) */
925
+ memory?: number | undefined;
926
+ /** [deprecated] Node Type volume constraints. */
927
+ volume_constraint?: NodeTypeVolumeConstraintSizes | undefined;
928
+ /** The Node Type is compliant with Block Storage. */
929
+ is_bssd_compatible?: boolean | undefined;
930
+ /** The Node Type is currently disabled. */
931
+ disabled?: boolean | undefined;
932
+ /** The Node Type is currently in beta. */
933
+ beta?: boolean | undefined;
934
+ /** Available storage options for the Node Type. */
935
+ available_volume_types?: NodeTypeAvailableVolumeTypesList | undefined;
936
+ /** The Node Type can be used only with high availability option. */
937
+ is_ha_required?: boolean | undefined;
938
+ /** Generation associated with the NodeType offer. */
939
+ generation?: NodeTypeGeneration | undefined;
940
+ /** Instance range associated with the NodeType offer. */
941
+ instance_range?: string | undefined;
942
+ /** Region the Node Type is in. */
943
+ region?: string | undefined;
944
+ }
945
+ /** Types of the node. */
946
+ export type ListNodeTypesResponseNodeTypesList = Array<NodeType>;
947
+ export interface ListNodeTypesResponse {
948
+ /** Types of the node. */
949
+ node_types: ListNodeTypesResponseNodeTypesList;
950
+ /** Total count of node-types available. */
951
+ total_count?: number | undefined;
952
+ }
953
+ export type ListPrivilegesRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
954
+ export type ListPrivilegesRequestOrderBy = "user_name_asc" | "user_name_desc" | "database_name_asc" | "database_name_desc";
955
+ export interface ListPrivilegesRequest {
956
+ /** The region you want to target */
957
+ region?: ListPrivilegesRequestRegion | (string & {}) | undefined;
958
+ /** UUID of the Database Instance. */
959
+ instance_id: string;
960
+ /** Criteria to use when ordering privileges listing. */
961
+ order_by?: ListPrivilegesRequestOrderBy | (string & {}) | undefined;
962
+ page?: number | undefined;
963
+ page_size?: number | undefined;
964
+ /** Name of the database. */
965
+ database_name?: string | undefined;
966
+ /** Name of the user. */
967
+ user_name?: string | undefined;
968
+ }
969
+ export type Permission = "readonly" | "readwrite" | "all" | "custom" | "none";
970
+ export interface Privilege {
971
+ /** Permission (Read, Read/Write, All, Custom). */
972
+ permission?: Permission | undefined;
973
+ /** Name of the database. */
974
+ database_name?: string | undefined;
975
+ /** Name of the user. */
976
+ user_name?: string | undefined;
977
+ }
978
+ /** Privileges of a user in a database in a Database Instance. */
979
+ export type ListPrivilegesResponsePrivilegesList = Array<Privilege>;
980
+ export interface ListPrivilegesResponse {
981
+ /** Privileges of a user in a database in a Database Instance. */
982
+ privileges: ListPrivilegesResponsePrivilegesList;
983
+ /** Total count of privileges present on a database. */
984
+ total_count?: number | undefined;
985
+ }
986
+ export type ListSnapshotsRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
987
+ export type ListSnapshotsRequestOrderBy = "created_at_asc" | "created_at_desc" | "name_asc" | "name_desc" | "expires_at_asc" | "expires_at_desc";
988
+ export interface ListSnapshotsRequest {
989
+ /** The region you want to target */
990
+ region?: ListSnapshotsRequestRegion | (string & {}) | undefined;
991
+ /** Name of the snapshot. */
992
+ name?: string | undefined;
993
+ /** Criteria to use when ordering snapshot listing. */
994
+ order_by?: ListSnapshotsRequestOrderBy | (string & {}) | undefined;
995
+ /** UUID of the Database Instance. */
996
+ instance_id?: string | undefined;
997
+ /** Organization ID the snapshots belongs to. */
998
+ organization_id?: string | undefined;
999
+ /** Project ID the snapshots belongs to. */
1000
+ project_id?: string | undefined;
1001
+ page?: number | undefined;
1002
+ page_size?: number | undefined;
1003
+ }
1004
+ /** List of snapshots. */
1005
+ export type ListSnapshotsResponseSnapshotsList = Array<Snapshot>;
1006
+ export interface ListSnapshotsResponse {
1007
+ /** List of snapshots. */
1008
+ snapshots: ListSnapshotsResponseSnapshotsList;
1009
+ /** Total count of snapshots available. */
1010
+ total_count?: number | undefined;
1011
+ }
1012
+ export type ListUsersRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
1013
+ export type ListUsersRequestOrderBy = "name_asc" | "name_desc" | "is_admin_asc" | "is_admin_desc";
1014
+ export interface ListUsersRequest {
1015
+ /** The region you want to target */
1016
+ region?: ListUsersRequestRegion | (string & {}) | undefined;
1017
+ /** UUID of the Database Instance. */
1018
+ instance_id: string;
1019
+ /** Name of the user. */
1020
+ name?: string | undefined;
1021
+ /** Criteria to use when requesting user listing. */
1022
+ order_by?: ListUsersRequestOrderBy | (string & {}) | undefined;
1023
+ page?: number | undefined;
1024
+ page_size?: number | undefined;
1025
+ }
1026
+ /** List of users in a Database Instance. */
1027
+ export type ListUsersResponseUsersList = Array<User>;
1028
+ export interface ListUsersResponse {
1029
+ /** List of users in a Database Instance. */
1030
+ users: ListUsersResponseUsersList;
1031
+ /** Total count of users present on a Database Instance. */
1032
+ total_count?: number | undefined;
1033
+ }
1034
+ export type MigrateEndpointRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
1035
+ export interface MigrateEndpointRequest {
1036
+ /** The region you want to target */
1037
+ region?: MigrateEndpointRequestRegion | (string & {}) | undefined;
1038
+ /** UUID of the endpoint you want to migrate. */
1039
+ endpoint_id: string;
1040
+ /** UUID of the instance you want to attach the endpoint to. */
1041
+ instance_id: string;
1042
+ }
1043
+ export type PrepareInstanceLogsRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
1044
+ export interface PrepareInstanceLogsRequest {
1045
+ /** The region you want to target */
1046
+ region?: PrepareInstanceLogsRequestRegion | (string & {}) | undefined;
1047
+ /** UUID of the Database Instance you want logs of. */
1048
+ instance_id: string;
1049
+ /** Start datetime of your log. (RFC 3339 format). (RFC 3339 format) */
1050
+ start_date?: string | null | undefined;
1051
+ /** End datetime of your log. (RFC 3339 format). (RFC 3339 format) */
1052
+ end_date?: string | null | undefined;
1053
+ }
1054
+ /** Instance logs for a Database Instance between a start and an end date. */
1055
+ export type PrepareInstanceLogsResponseInstanceLogsList = Array<InstanceLog>;
1056
+ export interface PrepareInstanceLogsResponse {
1057
+ /** Instance logs for a Database Instance between a start and an end date. */
1058
+ instance_logs?: PrepareInstanceLogsResponseInstanceLogsList | undefined;
1059
+ }
1060
+ export type PromoteReadReplicaRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
1061
+ export interface PromoteReadReplicaRequest {
1062
+ /** The region you want to target */
1063
+ region?: PromoteReadReplicaRequestRegion | (string & {}) | undefined;
1064
+ /** UUID of the Read Replica. (UUID format) */
1065
+ read_replica_id: string;
1066
+ }
1067
+ export type PurgeInstanceLogsRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
1068
+ export interface PurgeInstanceLogsRequest {
1069
+ /** The region you want to target */
1070
+ region?: PurgeInstanceLogsRequestRegion | (string & {}) | undefined;
1071
+ /** UUID of the Database Instance you want logs of. */
1072
+ instance_id: string;
1073
+ /** Given log name to purge. */
1074
+ log_name?: string | null | undefined;
1075
+ }
1076
+ export interface PurgeInstanceLogsResponse {
1077
+ }
1078
+ export type RenewInstanceCertificateRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
1079
+ export interface RenewInstanceCertificateRequest {
1080
+ /** The region you want to target */
1081
+ region?: RenewInstanceCertificateRequestRegion | (string & {}) | undefined;
1082
+ /** UUID of the Database Instance you want logs of. */
1083
+ instance_id: string;
1084
+ }
1085
+ export interface RenewInstanceCertificateResponse {
1086
+ }
1087
+ export type ResetReadReplicaRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
1088
+ export interface ResetReadReplicaRequest {
1089
+ /** The region you want to target */
1090
+ region?: ResetReadReplicaRequestRegion | (string & {}) | undefined;
1091
+ /** UUID of the Read Replica. (UUID format) */
1092
+ read_replica_id: string;
1093
+ }
1094
+ export type RestartInstanceRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
1095
+ export interface RestartInstanceRequest {
1096
+ /** The region you want to target */
1097
+ region?: RestartInstanceRequestRegion | (string & {}) | undefined;
1098
+ /** UUID of the Database Instance you want to restart. */
1099
+ instance_id: string;
1100
+ }
1101
+ export type RestoreDatabaseBackupRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
1102
+ export interface RestoreDatabaseBackupRequest {
1103
+ /** The region you want to target */
1104
+ region?: RestoreDatabaseBackupRequestRegion | (string & {}) | undefined;
1105
+ /** Backup of a logical database. */
1106
+ database_backup_id: string;
1107
+ /** Defines the destination database to restore into a specified database (the default destination is set to the origin database of the backup). */
1108
+ database_name?: string | null | undefined;
1109
+ /** Defines the Database Instance where the backup has to be restored. */
1110
+ instance_id: string;
1111
+ }
1112
+ export type SetInstanceACLRulesRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
1113
+ /** ACL rules to define for the Database Instance. */
1114
+ export type SetInstanceACLRulesRequestRulesList = Array<ACLRuleRequest>;
1115
+ export interface SetInstanceACLRulesRequest {
1116
+ /** The region you want to target */
1117
+ region?: SetInstanceACLRulesRequestRegion | (string & {}) | undefined;
1118
+ /** UUID of the Database Instance where the ACL rules must be set. */
1119
+ instance_id: string;
1120
+ /** ACL rules to define for the Database Instance. */
1121
+ rules: SetInstanceACLRulesRequestRulesList;
1122
+ }
1123
+ /** ACLs rules configured for a Database Instance. */
1124
+ export type SetInstanceACLRulesResponseRulesList = Array<ACLRule>;
1125
+ export interface SetInstanceACLRulesResponse {
1126
+ /** ACLs rules configured for a Database Instance. */
1127
+ rules?: SetInstanceACLRulesResponseRulesList | undefined;
1128
+ }
1129
+ export type SetInstanceSettingsRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
1130
+ /** Settings to define for the Database Instance. */
1131
+ export type SetInstanceSettingsRequestSettingsList = Array<InstanceSetting>;
1132
+ export interface SetInstanceSettingsRequest {
1133
+ /** The region you want to target */
1134
+ region?: SetInstanceSettingsRequestRegion | (string & {}) | undefined;
1135
+ /** UUID of the Database Instance where the settings must be set. */
1136
+ instance_id: string;
1137
+ /** Settings to define for the Database Instance. */
1138
+ settings: SetInstanceSettingsRequestSettingsList;
1139
+ }
1140
+ /** Settings configured for a Database Instance. */
1141
+ export type SetInstanceSettingsResponseSettingsList = Array<InstanceSetting>;
1142
+ export interface SetInstanceSettingsResponse {
1143
+ /** Settings configured for a Database Instance. */
1144
+ settings?: SetInstanceSettingsResponseSettingsList | undefined;
1145
+ }
1146
+ export type SetPrivilegeRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
1147
+ export interface SetPrivilegeRequest {
1148
+ /** The region you want to target */
1149
+ region?: SetPrivilegeRequestRegion | (string & {}) | undefined;
1150
+ /** UUID of the Database Instance. */
1151
+ instance_id: string;
1152
+ /** Name of the database. */
1153
+ database_name?: string | undefined;
1154
+ /** Name of the user. */
1155
+ user_name?: string | undefined;
1156
+ /** Permission to set (Read, Read/Write, All, Custom). */
1157
+ permission?: Permission | (string & {}) | undefined;
1158
+ }
1159
+ export type UpdateDatabaseBackupRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
1160
+ export interface UpdateDatabaseBackupRequest {
1161
+ /** The region you want to target */
1162
+ region?: UpdateDatabaseBackupRequestRegion | (string & {}) | undefined;
1163
+ /** UUID of the database backup to update. */
1164
+ database_backup_id: string;
1165
+ /** Name of the Database Backup. */
1166
+ name?: string | null | undefined;
1167
+ /** Expiration date (must follow the ISO 8601 format). (RFC 3339 format) */
1168
+ expires_at?: string | null | undefined;
1169
+ }
1170
+ export type UpdateInstanceRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
1171
+ /** Tags of a Database Instance. */
1172
+ export type UpdateInstanceRequestTagsList = Array<unknown>;
1173
+ export interface UpdateInstanceRequest {
1174
+ /** The region you want to target */
1175
+ region?: UpdateInstanceRequestRegion | (string & {}) | undefined;
1176
+ /** UUID of the Database Instance to update. */
1177
+ instance_id: string;
1178
+ /** In hours. */
1179
+ backup_schedule_frequency?: number | null | undefined;
1180
+ /** In days. */
1181
+ backup_schedule_retention?: number | null | undefined;
1182
+ /** Defines whether or not the backup schedule is disabled. */
1183
+ is_backup_schedule_disabled?: boolean | null | undefined;
1184
+ /** Name of the Database Instance. */
1185
+ name?: string | null | undefined;
1186
+ /** Tags of a Database Instance. */
1187
+ tags?: UpdateInstanceRequestTagsList | null | undefined;
1188
+ /** Logs policy of the Database Instance. */
1189
+ logs_policy?: LogsPolicy | undefined;
1190
+ /** Store logical backups in the same region as the Database Instance. */
1191
+ backup_same_region?: boolean | null | undefined;
1192
+ /** Defines the start time of the autobackup. */
1193
+ backup_schedule_start_hour?: number | null | undefined;
1194
+ }
1195
+ export type UpdateSnapshotRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
1196
+ export interface UpdateSnapshotRequest {
1197
+ /** The region you want to target */
1198
+ region?: UpdateSnapshotRequestRegion | (string & {}) | undefined;
1199
+ /** UUID of the snapshot to update. */
1200
+ snapshot_id: string;
1201
+ /** Name of the snapshot. */
1202
+ name?: string | null | undefined;
1203
+ /** Expiration date (must follow the ISO 8601 format). (RFC 3339 format) */
1204
+ expires_at?: string | null | undefined;
1205
+ }
1206
+ export type UpdateUserRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
1207
+ export interface UpdateUserRequest {
1208
+ /** The region you want to target */
1209
+ region?: UpdateUserRequestRegion | (string & {}) | undefined;
1210
+ /** UUID of the Database Instance the user belongs to. */
1211
+ instance_id: string;
1212
+ /** Name of the database user. */
1213
+ name: string;
1214
+ /** Password of the database user. Password must be between 8 and 128 characters, contain at least one digit, one uppercase, one lowercase and one special character. */
1215
+ password?: string | Redacted.Redacted<string> | null | undefined;
1216
+ /** Defines whether or not this user got administrative privileges. */
1217
+ is_admin?: boolean | null | undefined;
1218
+ }
1219
+ export type UpgradeInstanceRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
1220
+ export interface UpgradeInstanceRequestMajorUpgradeWorkflow {
1221
+ /** Update your database engine to a newer version. This will create a new Database Instance with same specifications as the current one and perform a Database Engine upgrade. (UUID format) */
1222
+ upgradable_version_id?: string | undefined;
1223
+ /** Include endpoint during the migration. At the end of the migration procedure this option let you migrate all your database endpoint to the upgraded instance. */
1224
+ with_endpoints?: boolean | undefined;
1225
+ }
1226
+ export interface UpgradeInstanceRequest {
1227
+ /** The region you want to target */
1228
+ region?: UpgradeInstanceRequestRegion | (string & {}) | undefined;
1229
+ /** UUID of the Database Instance you want to upgrade. */
1230
+ instance_id: string;
1231
+ /** Node type of the Database Instance you want to upgrade to. Precisely one of node_type, enable_ha, high_availability_mode, volume_size, volume_type, upgradable_version_id, major_upgrade_workflow, enable_encryption can be set. */
1232
+ node_type?: string | null | undefined;
1233
+ /** Defines whether or not high availability should be enabled on the Database Instance. Precisely one of node_type, enable_ha, high_availability_mode, volume_size, volume_type, upgradable_version_id, major_upgrade_workflow, enable_encryption can be set. */
1234
+ enable_ha?: boolean | null | undefined;
1235
+ /** Defines the High-Availability mode of the instance. Precisely one of node_type, enable_ha, high_availability_mode, volume_size, volume_type, upgradable_version_id, major_upgrade_workflow, enable_encryption can be set. */
1236
+ high_availability_mode?: HighAvailabilityMode | (string & {}) | null | undefined;
1237
+ /** Increase your block storage volume size. Precisely one of node_type, enable_ha, high_availability_mode, volume_size, volume_type, upgradable_version_id, major_upgrade_workflow, enable_encryption can be set. */
1238
+ volume_size?: number | null | undefined;
1239
+ /** Change your Database Instance storage type. Precisely one of node_type, enable_ha, high_availability_mode, volume_size, volume_type, upgradable_version_id, major_upgrade_workflow, enable_encryption can be set. */
1240
+ volume_type?: VolumeType | (string & {}) | null | undefined;
1241
+ /** Update your database engine to a newer version. This will create a new Database Instance with same specifications as the current one and perform a Database Engine upgrade. (UUID format) Precisely one of node_type, enable_ha, high_availability_mode, volume_size, volume_type, upgradable_version_id, major_upgrade_workflow, enable_encryption can be set. */
1242
+ upgradable_version_id?: string | null | undefined;
1243
+ /** Upgrade your database engine to a new major version including instance endpoints. Precisely one of node_type, enable_ha, high_availability_mode, volume_size, volume_type, upgradable_version_id, major_upgrade_workflow, enable_encryption can be set. */
1244
+ major_upgrade_workflow?: UpgradeInstanceRequestMajorUpgradeWorkflow | null | undefined;
1245
+ /** Defines whether or not encryption should be enabled on the Database Instance. Precisely one of node_type, enable_ha, high_availability_mode, volume_size, volume_type, upgradable_version_id, major_upgrade_workflow, enable_encryption can be set. */
1246
+ enable_encryption?: boolean | null | undefined;
1247
+ }
1248
+ export type AddInstanceACLRulesError = ScalewayOpError;
1249
+ /** Add an ACL rule to a Database Instance Add an additional ACL rule to a Database Instance. */
1250
+ export declare const addInstanceACLRules: API.OperationMethod<AddInstanceACLRulesRequest, AddInstanceACLRulesResponse, AddInstanceACLRulesError, ScalewayOpContext>;
1251
+ export type AddInstanceSettingsError = ScalewayOpError;
1252
+ /** Add Database Instance advanced settings Add an advanced setting to a Database Instance. You must set the `name` and the `value` of each setting. */
1253
+ export declare const addInstanceSettings: API.OperationMethod<AddInstanceSettingsRequest, AddInstanceSettingsResponse, AddInstanceSettingsError, ScalewayOpContext>;
1254
+ export type ApplyInstanceMaintenanceError = ScalewayOpError;
1255
+ /** Apply Database Instance maintenance Apply maintenance tasks to your Database Instance. This will trigger pending maintenance tasks to start in your Database Instance and can generate service interruption. Maintenance tasks can be applied between `starts_at` and `stops_at` times, and are run directly by Scaleway at `forced_at` timestamp. */
1256
+ export declare const applyInstanceMaintenance: API.OperationMethod<ApplyInstanceMaintenanceRequest, Maintenance, ApplyInstanceMaintenanceError, ScalewayOpContext>;
1257
+ export type CloneInstanceError = ScalewayOpError;
1258
+ /** Clone a Database Instance Clone a given Database Instance, specified by the `region` and `instance_id` parameters. The clone feature allows you to create a new Database Instance from an existing one. The clone includes all existing databases, users and permissions. You can create a clone on a Database Instance bigger than your current one. */
1259
+ export declare const cloneInstance: API.OperationMethod<CloneInstanceRequest, Instance, CloneInstanceError, ScalewayOpContext>;
1260
+ export type CreateDatabaseError = ScalewayOpError;
1261
+ /** Create a database in a Database Instance Create a new database. You must define the `name` parameter in the request. */
1262
+ export declare const createDatabase: API.OperationMethod<CreateDatabaseRequest, Database, CreateDatabaseError, ScalewayOpContext>;
1263
+ export type CreateDatabaseBackupError = ScalewayOpError;
1264
+ /** Create a database backup Create a new backup. You must set the `instance_id`, `database_name`, `name` and `expires_at` parameters. */
1265
+ export declare const createDatabaseBackup: API.OperationMethod<CreateDatabaseBackupRequest, DatabaseBackup, CreateDatabaseBackupError, ScalewayOpContext>;
1266
+ export type CreateEndpointError = ScalewayOpError;
1267
+ /** Create a new Database Instance endpoint Create a new endpoint for a Database Instance. You can add `load_balancer` and `private_network` specifications to the body of the request. */
1268
+ export declare const createEndpoint: API.OperationMethod<CreateEndpointRequest, Endpoint, CreateEndpointError, ScalewayOpContext>;
1269
+ export type CreateInstanceError = ScalewayOpError;
1270
+ /** Create a Database Instance Create a new Database Instance. You must set the `engine`, `user_name`, `password` and `node_type` parameters. Optionally, you can specify the volume type and size. */
1271
+ export declare const createInstance: API.OperationMethod<CreateInstanceRequest, Instance, CreateInstanceError, ScalewayOpContext>;
1272
+ export type CreateInstanceFromSnapshotError = ScalewayOpError;
1273
+ /** Create a new Database Instance from a snapshot Restore a snapshot. When you restore a snapshot, a new Instance is created and billed to your account. Note that is possible to select a larger node type for your new Database Instance. However, the Block volume size will be the same as the size of the restored snapshot. All Instance settings will be restored if you chose a node type with the same or more memory size than the initial Instance. Settings will be reset to the default if your node type has less memory. */
1274
+ export declare const createInstanceFromSnapshot: API.OperationMethod<CreateInstanceFromSnapshotRequest, Instance, CreateInstanceFromSnapshotError, ScalewayOpContext>;
1275
+ export type CreateReadReplicaError = ScalewayOpError;
1276
+ /** Create a Read Replica Create a new Read Replica of a Database Instance. You must specify the `region` and the `instance_id`. You can only create a maximum of 3 Read Replicas per Database Instance. */
1277
+ export declare const createReadReplica: API.OperationMethod<CreateReadReplicaRequest, ReadReplica, CreateReadReplicaError, ScalewayOpContext>;
1278
+ export type CreateReadReplicaEndpointError = ScalewayOpError;
1279
+ /** Create an endpoint for a Read Replica Create a new endpoint for a Read Replica. Read Replicas can have at most one direct access and one Private Network endpoint. */
1280
+ export declare const createReadReplicaEndpoint: API.OperationMethod<CreateReadReplicaEndpointRequest, ReadReplica, CreateReadReplicaEndpointError, ScalewayOpContext>;
1281
+ export type CreateSnapshotError = ScalewayOpError;
1282
+ /** Create a Database Instance snapshot Create a new snapshot of a Database Instance. You must define the `name` parameter in the request. */
1283
+ export declare const createSnapshot: API.OperationMethod<CreateSnapshotRequest, Snapshot, CreateSnapshotError, ScalewayOpContext>;
1284
+ export type CreateUserError = ScalewayOpError;
1285
+ /** Create a user for a Database Instance Create a new user for a Database Instance. You must define the `name`, `password` and `is_admin` parameters. */
1286
+ export declare const createUser: API.OperationMethod<CreateUserRequest, User, CreateUserError, ScalewayOpContext>;
1287
+ export type DeleteDatabaseError = ScalewayOpError;
1288
+ /** Delete a database in a Database Instance Delete a given database on a Database Instance. You must specify, in the endpoint, the `region`, `instance_id` and `name` parameters of the database you want to delete. */
1289
+ export declare const deleteDatabase: API.OperationMethod<DeleteDatabaseRequest, DeleteDatabaseResponse, DeleteDatabaseError, ScalewayOpContext>;
1290
+ export type DeleteDatabaseBackupError = ScalewayOpError;
1291
+ /** Delete a database backup Delete a backup, specified by its database backup ID and region. Deleting a backup is permanent, and cannot be undone. */
1292
+ export declare const deleteDatabaseBackup: API.OperationMethod<DeleteDatabaseBackupRequest, DatabaseBackup, DeleteDatabaseBackupError, ScalewayOpContext>;
1293
+ export type DeleteEndpointError = ScalewayOpError;
1294
+ /** Delete a Database Instance endpoint Delete the endpoint of a Database Instance. You must specify the `region` and `endpoint_id` parameters of the endpoint you want to delete. Note that might need to update any environment configurations that point to the deleted endpoint. */
1295
+ export declare const deleteEndpoint: API.OperationMethod<DeleteEndpointRequest, DeleteEndpointResponse, DeleteEndpointError, ScalewayOpContext>;
1296
+ export type DeleteInstanceError = ScalewayOpError;
1297
+ /** Delete a Database Instance Delete a given Database Instance, specified by the `region` and `instance_id` parameters. Deleting a Database Instance is permanent, and cannot be undone. Note that upon deletion all your data will be lost. */
1298
+ export declare const deleteInstance: API.OperationMethod<DeleteInstanceRequest, Instance, DeleteInstanceError, ScalewayOpContext>;
1299
+ export type DeleteInstanceACLRulesError = ScalewayOpError;
1300
+ /** Delete ACL rules of a Database Instance Delete one or more ACL rules of a Database Instance. */
1301
+ export declare const deleteInstanceACLRules: API.OperationMethod<DeleteInstanceACLRulesRequest, DeleteInstanceACLRulesResponse, DeleteInstanceACLRulesError, ScalewayOpContext>;
1302
+ export type DeleteInstanceSettingsError = ScalewayOpError;
1303
+ /** Delete Database Instance advanced settings Delete an advanced setting in a Database Instance. You must specify the names of the settings you want to delete in the request. */
1304
+ export declare const deleteInstanceSettings: API.OperationMethod<DeleteInstanceSettingsRequest, DeleteInstanceSettingsResponse, DeleteInstanceSettingsError, ScalewayOpContext>;
1305
+ export type DeleteReadReplicaError = ScalewayOpError;
1306
+ /** Delete a Read Replica Delete a Read Replica of a Database Instance. You must specify the `region` and `read_replica_id` parameters of the Read Replica you want to delete. */
1307
+ export declare const deleteReadReplica: API.OperationMethod<DeleteReadReplicaRequest, ReadReplica, DeleteReadReplicaError, ScalewayOpContext>;
1308
+ export type DeleteSnapshotError = ScalewayOpError;
1309
+ /** Delete a Database Instance snapshot Delete a given snapshot of a Database Instance. You must specify, in the endpoint, the `region` and `snapshot_id` parameters of the snapshot you want to delete. */
1310
+ export declare const deleteSnapshot: API.OperationMethod<DeleteSnapshotRequest, Snapshot, DeleteSnapshotError, ScalewayOpContext>;
1311
+ export type DeleteUserError = ScalewayOpError;
1312
+ /** Delete a user on a Database Instance Delete a given user on a Database Instance. You must specify, in the endpoint, the `region`, `instance_id` and `name` parameters of the user you want to delete. */
1313
+ export declare const deleteUser: API.OperationMethod<DeleteUserRequest, DeleteUserResponse, DeleteUserError, ScalewayOpContext>;
1314
+ export type ExportDatabaseBackupError = ScalewayOpError;
1315
+ /** Export a database backup Export a backup, specified by the `database_backup_id` and the `region` parameters. The download URL is returned in the response. */
1316
+ export declare const exportDatabaseBackup: API.OperationMethod<ExportDatabaseBackupRequest, DatabaseBackup, ExportDatabaseBackupError, ScalewayOpContext>;
1317
+ export type GetDatabaseBackupError = ScalewayOpError;
1318
+ /** Get a database backup Retrieve information about a given backup, specified by its database backup ID and region. Full details about the backup, like size, URL and expiration date, are returned in the response. */
1319
+ export declare const getDatabaseBackup: API.OperationMethod<GetDatabaseBackupRequest, DatabaseBackup, GetDatabaseBackupError, ScalewayOpContext>;
1320
+ export type GetEndpointError = ScalewayOpError;
1321
+ /** Get a Database Instance endpoint Retrieve information about a Database Instance endpoint. Full details about the endpoint, like `ip`, `port`, `private_network` and `load_balancer` specifications are returned in the response. */
1322
+ export declare const getEndpoint: API.OperationMethod<GetEndpointRequest, Endpoint, GetEndpointError, ScalewayOpContext>;
1323
+ export type GetInstanceError = ScalewayOpError;
1324
+ /** Get a Database Instance Retrieve information about a given Database Instance, specified by the `region` and `instance_id` parameters. Its full details, including name, status, IP address and port, are returned in the response object. */
1325
+ export declare const getInstance: API.OperationMethod<GetInstanceRequest, Instance, GetInstanceError, ScalewayOpContext>;
1326
+ export type GetInstanceCertificateError = ScalewayOpError;
1327
+ /** Get the TLS certificate of a Database Instance Retrieve information about the TLS certificate of a given Database Instance. Details like name and content are returned in the response. */
1328
+ export declare const getInstanceCertificate: API.OperationMethod<GetInstanceCertificateRequest, ScalewayStdFile, GetInstanceCertificateError, ScalewayOpContext>;
1329
+ export type GetInstanceCertificateRawError = ScalewayOpError;
1330
+ /** The file `getInstanceCertificate` returns, as bytes (`?dl=1`), rather than the JSON file object. */
1331
+ export declare const getInstanceCertificateRaw: API.OperationMethod<GetInstanceCertificateRawRequest, GetInstanceCertificateRawResponse, GetInstanceCertificateRawError, ScalewayOpContext>;
1332
+ export type GetInstanceLogError = ScalewayOpError;
1333
+ /** Get given logs of a Database Instance Retrieve information about the logs of a Database Instance. Specify the `instance_log_id` and `region` in your request to get information such as `download_url`, `status`, `expires_at` and `created_at` about your logs in the response. */
1334
+ export declare const getInstanceLog: API.OperationMethod<GetInstanceLogRequest, InstanceLog, GetInstanceLogError, ScalewayOpContext>;
1335
+ export type GetReadReplicaError = ScalewayOpError;
1336
+ /** Get a Read Replica Retrieve information about a Database Instance Read Replica. Full details about the Read Replica, like `endpoints`, `status` and `region` are returned in the response. */
1337
+ export declare const getReadReplica: API.OperationMethod<GetReadReplicaRequest, ReadReplica, GetReadReplicaError, ScalewayOpContext>;
1338
+ export type GetSnapshotError = ScalewayOpError;
1339
+ /** Get a Database Instance snapshot Retrieve information about a given snapshot, specified by its `snapshot_id` and `region`. Full details about the snapshot, like size and expiration date, are returned in the response. */
1340
+ export declare const getSnapshot: API.OperationMethod<GetSnapshotRequest, Snapshot, GetSnapshotError, ScalewayOpContext>;
1341
+ export type ListDatabaseBackupsError = ScalewayOpError;
1342
+ /** List database backups List all backups in a specified region, for a given Scaleway Organization or Scaleway Project. By default, the backups listed are ordered by creation date in ascending order. This can be modified via the `order_by` field. */
1343
+ export declare const listDatabaseBackups: API.PaginatedOperationMethod<ListDatabaseBackupsRequest, ListDatabaseBackupsResponse, ListDatabaseBackupsError, ScalewayOpContext, DatabaseBackup>;
1344
+ export type ListDatabaseEnginesError = ScalewayOpError;
1345
+ /** List available database engines List the PostgreSQL and MySQL database engines available at Scaleway. */
1346
+ export declare const listDatabaseEngines: API.PaginatedOperationMethod<ListDatabaseEnginesRequest, ListDatabaseEnginesResponse, ListDatabaseEnginesError, ScalewayOpContext, DatabaseEngine>;
1347
+ export type ListDatabasesError = ScalewayOpError;
1348
+ /** List databases in a Database Instance List all databases of a given Database Instance. By default, the databases returned in the list are ordered by creation date in ascending order, though this can be modified via the order_by field. You can define additional parameters for your query, such as `name`, `managed` and `owner`. */
1349
+ export declare const listDatabases: API.PaginatedOperationMethod<ListDatabasesRequest, ListDatabasesResponse, ListDatabasesError, ScalewayOpContext, Database>;
1350
+ export type ListInstanceACLRulesError = ScalewayOpError;
1351
+ /** List ACL rules of a Database Instance List the ACL rules for a given Database Instance. The response is an array of ACL objects, each one representing an ACL that denies, allows or redirects traffic based on certain conditions. */
1352
+ export declare const listInstanceACLRules: API.PaginatedOperationMethod<ListInstanceACLRulesRequest, ListInstanceACLRulesResponse, ListInstanceACLRulesError, ScalewayOpContext, ACLRule>;
1353
+ export type ListInstanceLogsError = ScalewayOpError;
1354
+ /** List available logs of a Database Instance List the available logs of a Database Instance. By default, the logs returned in the list are ordered by creation date in ascending order, though this can be modified via the order_by field. */
1355
+ export declare const listInstanceLogs: API.OperationMethod<ListInstanceLogsRequest, ListInstanceLogsResponse, ListInstanceLogsError, ScalewayOpContext>;
1356
+ export type ListInstanceLogsDetailsError = ScalewayOpError;
1357
+ /** List remote Database Instance logs details List remote log details. By default, the details returned in the list are ordered by creation date in ascending order, though this can be modified via the order_by field. */
1358
+ export declare const listInstanceLogsDetails: API.OperationMethod<ListInstanceLogsDetailsRequest, ListInstanceLogsDetailsResponse, ListInstanceLogsDetailsError, ScalewayOpContext>;
1359
+ export type ListInstancesError = ScalewayOpError;
1360
+ /** List Database Instances List all Database Instances in the specified region, for a given Scaleway Organization or Scaleway Project. By default, the Database Instances returned in the list are ordered by creation date in ascending order, though this can be modified via the order_by field. You can define additional parameters for your query, such as `tags` and `name`. For the `name` parameter, the value you include will be checked against the whole name string to see if it includes the string you put in the parameter. */
1361
+ export declare const listInstances: API.PaginatedOperationMethod<ListInstancesRequest, ListInstancesResponse, ListInstancesError, ScalewayOpContext, Instance>;
1362
+ export type ListNodeTypesError = ScalewayOpError;
1363
+ /** List available node types List all available node types. By default, the node types returned in the list are ordered by creation date in ascending order, though this can be modified via the `order_by` field. */
1364
+ export declare const listNodeTypes: API.PaginatedOperationMethod<ListNodeTypesRequest, ListNodeTypesResponse, ListNodeTypesError, ScalewayOpContext, NodeType>;
1365
+ export type ListPrivilegesError = ScalewayOpError;
1366
+ /** List user privileges for a database List privileges of a user on a database. By default, the details returned in the list are ordered by creation date in ascending order, though this can be modified via the order_by field. You can define additional parameters for your query, such as `database_name` and `user_name`. */
1367
+ export declare const listPrivileges: API.PaginatedOperationMethod<ListPrivilegesRequest, ListPrivilegesResponse, ListPrivilegesError, ScalewayOpContext, Privilege>;
1368
+ export type ListSnapshotsError = ScalewayOpError;
1369
+ /** List snapshots List snapshots. You can include the `instance_id` or `project_id` in your query to get the list of snapshots for specific Database Instances and/or Projects. By default, the details returned in the list are ordered by creation date in ascending order, though this can be modified via the `order_by` field. */
1370
+ export declare const listSnapshots: API.PaginatedOperationMethod<ListSnapshotsRequest, ListSnapshotsResponse, ListSnapshotsError, ScalewayOpContext, Snapshot>;
1371
+ export type ListUsersError = ScalewayOpError;
1372
+ /** List users of a Database Instance List all users of a given Database Instance. By default, the users returned in the list are ordered by creation date in ascending order, though this can be modified via the order_by field. */
1373
+ export declare const listUsers: API.PaginatedOperationMethod<ListUsersRequest, ListUsersResponse, ListUsersError, ScalewayOpContext, User>;
1374
+ export type MigrateEndpointError = ScalewayOpError;
1375
+ /** Migrate an existing instance endpoint to another instance */
1376
+ export declare const migrateEndpoint: API.OperationMethod<MigrateEndpointRequest, Endpoint, MigrateEndpointError, ScalewayOpContext>;
1377
+ export type PrepareInstanceLogsError = ScalewayOpError;
1378
+ /** Prepare logs of a Database Instance Prepare your Database Instance logs. You can define the `start_date` and `end_date` parameters for your query. The download URL is returned in the response. Logs are recorded from 00h00 to 23h59 and then aggregated in a `.log` file once a day. Therefore, even if you specify a timeframe from which you want to get the logs, you will receive logs from the full 24 hours. */
1379
+ export declare const prepareInstanceLogs: API.OperationMethod<PrepareInstanceLogsRequest, PrepareInstanceLogsResponse, PrepareInstanceLogsError, ScalewayOpContext>;
1380
+ export type PromoteReadReplicaError = ScalewayOpError;
1381
+ /** Promote a Read Replica Promote a Read Replica to Database Instance automatically. */
1382
+ export declare const promoteReadReplica: API.OperationMethod<PromoteReadReplicaRequest, Instance, PromoteReadReplicaError, ScalewayOpContext>;
1383
+ export type PurgeInstanceLogsError = ScalewayOpError;
1384
+ /** Purge remote Database Instance logs Purge a given remote log from a Database Instance. You can specify the `log_name` of the log you wish to clean from your Database Instance. */
1385
+ export declare const purgeInstanceLogs: API.OperationMethod<PurgeInstanceLogsRequest, PurgeInstanceLogsResponse, PurgeInstanceLogsError, ScalewayOpContext>;
1386
+ export type RenewInstanceCertificateError = ScalewayOpError;
1387
+ /** Renew the TLS certificate of a Database Instance Renew a TLS for a Database Instance. Renewing a certificate means that you will not be able to connect to your Database Instance using the previous certificate. You will also need to download and update the new certificate for all database clients. */
1388
+ export declare const renewInstanceCertificate: API.OperationMethod<RenewInstanceCertificateRequest, RenewInstanceCertificateResponse, RenewInstanceCertificateError, ScalewayOpContext>;
1389
+ export type ResetReadReplicaError = ScalewayOpError;
1390
+ /** Resync a Read Replica When you resync a Read Replica, first it is reset, then its data is resynchronized from the primary node. Your Read Replica remains unavailable during the resync process. The duration of this process is proportional to the size of your Database Instance. The configured endpoints do not change. */
1391
+ export declare const resetReadReplica: API.OperationMethod<ResetReadReplicaRequest, ReadReplica, ResetReadReplicaError, ScalewayOpContext>;
1392
+ export type RestartInstanceError = ScalewayOpError;
1393
+ /** Restart Database Instance Restart a given Database Instance, specified by the `region` and `instance_id` parameters. The status of the Database Instance returned in the response. */
1394
+ export declare const restartInstance: API.OperationMethod<RestartInstanceRequest, Instance, RestartInstanceError, ScalewayOpContext>;
1395
+ export type RestoreDatabaseBackupError = ScalewayOpError;
1396
+ /** Restore a database backup Launch the process of restoring database backup. You must specify the `instance_id` of the Database Instance of destination, where the backup will be restored. Note that large database backups can take up to several hours to restore. */
1397
+ export declare const restoreDatabaseBackup: API.OperationMethod<RestoreDatabaseBackupRequest, DatabaseBackup, RestoreDatabaseBackupError, ScalewayOpContext>;
1398
+ export type SetInstanceACLRulesError = ScalewayOpError;
1399
+ /** Set ACL rules for a Database Instance Replace all the ACL rules of a Database Instance. */
1400
+ export declare const setInstanceACLRules: API.OperationMethod<SetInstanceACLRulesRequest, SetInstanceACLRulesResponse, SetInstanceACLRulesError, ScalewayOpContext>;
1401
+ export type SetInstanceSettingsError = ScalewayOpError;
1402
+ /** Set Database Instance advanced settings Update an advanced setting for a Database Instance. Settings added upon database engine initialization can only be defined once, and cannot, therefore, be updated. */
1403
+ export declare const setInstanceSettings: API.OperationMethod<SetInstanceSettingsRequest, SetInstanceSettingsResponse, SetInstanceSettingsError, ScalewayOpContext>;
1404
+ export type SetPrivilegeError = ScalewayOpError;
1405
+ /** Set user privileges for a database Set the privileges of a user on a database. You must define `database_name`, `user_name` and `permission` in the request body. */
1406
+ export declare const setPrivilege: API.OperationMethod<SetPrivilegeRequest, Privilege, SetPrivilegeError, ScalewayOpContext>;
1407
+ export type UpdateDatabaseBackupError = ScalewayOpError;
1408
+ /** Update a database backup Update the parameters of a backup, including name and expiration date. */
1409
+ export declare const updateDatabaseBackup: API.OperationMethod<UpdateDatabaseBackupRequest, DatabaseBackup, UpdateDatabaseBackupError, ScalewayOpContext>;
1410
+ export type UpdateInstanceError = ScalewayOpError;
1411
+ /** Update a Database Instance Update the parameters of a Database Instance, including name, tags and backup schedule details. */
1412
+ export declare const updateInstance: API.OperationMethod<UpdateInstanceRequest, Instance, UpdateInstanceError, ScalewayOpContext>;
1413
+ export type UpdateSnapshotError = ScalewayOpError;
1414
+ /** Update a Database Instance snapshot Update the parameters of a snapshot of a Database Instance. You can update the `name` and `expires_at` parameters. */
1415
+ export declare const updateSnapshot: API.OperationMethod<UpdateSnapshotRequest, Snapshot, UpdateSnapshotError, ScalewayOpContext>;
1416
+ export type UpdateUserError = ScalewayOpError;
1417
+ /** Update a user on a Database Instance Update the parameters of a user on a Database Instance. You can update the `password` and `is_admin` parameters, but you cannot change the name of the user. */
1418
+ export declare const updateUser: API.OperationMethod<UpdateUserRequest, User, UpdateUserError, ScalewayOpContext>;
1419
+ export type UpgradeInstanceError = ScalewayOpError;
1420
+ /** Upgrade a Database Instance Upgrade your current Database Instance specifications like node type, high availability, volume, or the database engine version. Note that upon upgrade the `enable_ha` parameter can only be set to `true`. */
1421
+ export declare const upgradeInstance: API.OperationMethod<UpgradeInstanceRequest, Instance, UpgradeInstanceError, ScalewayOpContext>;
1422
+ //# sourceMappingURL=rdb_v1.d.ts.map