@scaleway/sdk 2.26.0 → 2.28.0

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 (778) hide show
  1. package/dist/api/account/index.cjs +6 -0
  2. package/dist/api/account/index.d.ts +2 -0
  3. package/dist/api/account/index.js +6 -4
  4. package/dist/api/account/v2/api.gen.cjs +116 -0
  5. package/dist/api/account/v2/api.gen.d.ts +67 -0
  6. package/dist/api/account/v2/api.gen.js +61 -44
  7. package/dist/api/account/v2/index.gen.cjs +4 -0
  8. package/dist/api/account/v2/index.gen.d.ts +2 -0
  9. package/dist/api/account/v2/index.gen.js +4 -4
  10. package/dist/api/account/v2/marshalling.gen.cjs +44 -0
  11. package/dist/api/account/v2/marshalling.gen.d.ts +6 -0
  12. package/dist/api/account/v2/marshalling.gen.js +18 -13
  13. package/dist/api/account/v2/types.gen.d.ts +62 -0
  14. package/dist/api/account/v3/api.gen.cjs +106 -0
  15. package/dist/api/account/v3/api.gen.d.ts +57 -0
  16. package/dist/api/account/v3/api.gen.js +61 -44
  17. package/dist/api/account/v3/index.gen.cjs +6 -0
  18. package/dist/api/account/v3/index.gen.d.ts +3 -0
  19. package/dist/api/account/v3/index.gen.js +6 -6
  20. package/dist/api/account/v3/marshalling.gen.cjs +44 -0
  21. package/dist/api/account/v3/marshalling.gen.d.ts +6 -0
  22. package/dist/api/account/v3/marshalling.gen.js +18 -13
  23. package/dist/api/account/v3/types.gen.d.ts +62 -0
  24. package/dist/api/account/v3/validation-rules.gen.cjs +39 -0
  25. package/dist/api/account/v3/validation-rules.gen.d.ts +34 -0
  26. package/dist/api/account/v3/validation-rules.gen.js +5 -5
  27. package/dist/api/applesilicon/index.cjs +4 -0
  28. package/dist/api/applesilicon/index.d.ts +1 -0
  29. package/dist/api/applesilicon/index.js +4 -2
  30. package/dist/api/applesilicon/v1alpha1/api.gen.cjs +222 -0
  31. package/dist/api/applesilicon/v1alpha1/api.gen.d.ts +123 -0
  32. package/dist/api/applesilicon/v1alpha1/api.gen.js +125 -83
  33. package/dist/api/applesilicon/v1alpha1/content.gen.cjs +11 -0
  34. package/dist/api/applesilicon/v1alpha1/content.gen.d.ts +3 -0
  35. package/dist/api/applesilicon/v1alpha1/content.gen.js +11 -7
  36. package/dist/api/applesilicon/v1alpha1/index.gen.cjs +6 -0
  37. package/dist/api/applesilicon/v1alpha1/index.gen.d.ts +3 -0
  38. package/dist/api/applesilicon/v1alpha1/index.gen.js +6 -5
  39. package/dist/api/applesilicon/v1alpha1/marshalling.gen.cjs +147 -0
  40. package/dist/api/applesilicon/v1alpha1/marshalling.gen.d.ts +11 -0
  41. package/dist/api/applesilicon/v1alpha1/marshalling.gen.js +56 -32
  42. package/dist/api/applesilicon/v1alpha1/types.gen.d.ts +203 -0
  43. package/dist/api/baremetal/index.cjs +4 -0
  44. package/dist/api/baremetal/index.d.ts +1 -0
  45. package/dist/api/baremetal/index.js +4 -2
  46. package/dist/api/baremetal/v1/api.gen.cjs +575 -0
  47. package/dist/api/baremetal/v1/api.gen.d.ts +287 -0
  48. package/dist/api/baremetal/v1/api.gen.js +353 -205
  49. package/dist/api/baremetal/v1/api.utils.cjs +36 -0
  50. package/dist/api/baremetal/v1/api.utils.d.ts +13 -0
  51. package/dist/api/baremetal/v1/api.utils.js +27 -18
  52. package/dist/api/baremetal/v1/content.gen.cjs +18 -0
  53. package/dist/api/baremetal/v1/content.gen.d.ts +7 -0
  54. package/dist/api/baremetal/v1/content.gen.js +18 -13
  55. package/dist/api/baremetal/v1/index.cjs +12 -0
  56. package/dist/api/baremetal/v1/index.d.ts +5 -0
  57. package/dist/api/baremetal/v1/index.gen.d.ts +4 -0
  58. package/dist/api/baremetal/v1/index.js +12 -5
  59. package/dist/api/baremetal/v1/marshalling.gen.cjs +502 -0
  60. package/dist/api/baremetal/v1/marshalling.gen.d.ts +30 -0
  61. package/dist/api/baremetal/v1/marshalling.gen.js +186 -90
  62. package/dist/api/baremetal/v1/types.gen.d.ts +682 -0
  63. package/dist/api/baremetal/v1/validation-rules.gen.cjs +116 -0
  64. package/dist/api/baremetal/v1/validation-rules.gen.d.ts +104 -0
  65. package/dist/api/baremetal/v1/validation-rules.gen.js +12 -5
  66. package/dist/api/billing/index.cjs +6 -0
  67. package/dist/api/billing/index.d.ts +2 -0
  68. package/dist/api/billing/index.js +6 -4
  69. package/dist/api/billing/v2alpha1/api.gen.cjs +92 -0
  70. package/dist/api/billing/v2alpha1/api.gen.d.ts +51 -0
  71. package/dist/api/billing/v2alpha1/api.gen.js +60 -39
  72. package/dist/api/billing/v2alpha1/index.gen.cjs +4 -0
  73. package/dist/api/billing/v2alpha1/index.gen.d.ts +2 -0
  74. package/dist/api/billing/v2alpha1/index.gen.js +4 -4
  75. package/dist/api/billing/v2alpha1/marshalling.gen.cjs +117 -0
  76. package/dist/api/billing/v2alpha1/marshalling.gen.d.ts +4 -0
  77. package/dist/api/billing/v2alpha1/marshalling.gen.js +48 -29
  78. package/dist/api/billing/v2alpha1/types.gen.d.ts +136 -0
  79. package/dist/api/billing/v2beta1/api.gen.cjs +175 -0
  80. package/dist/api/billing/v2beta1/api.gen.d.ts +104 -0
  81. package/dist/api/billing/v2beta1/api.gen.js +122 -65
  82. package/dist/api/billing/v2beta1/index.gen.cjs +4 -0
  83. package/dist/api/billing/v2beta1/index.gen.d.ts +2 -0
  84. package/dist/api/billing/v2beta1/index.gen.js +4 -4
  85. package/dist/api/billing/v2beta1/marshalling.gen.cjs +158 -0
  86. package/dist/api/billing/v2beta1/marshalling.gen.d.ts +6 -0
  87. package/dist/api/billing/v2beta1/marshalling.gen.js +61 -36
  88. package/dist/api/billing/v2beta1/types.gen.d.ts +269 -0
  89. package/dist/api/block/index.cjs +4 -0
  90. package/dist/api/block/index.d.ts +1 -0
  91. package/dist/api/block/index.js +4 -2
  92. package/dist/api/block/v1alpha1/api.gen.cjs +272 -0
  93. package/dist/api/block/v1alpha1/api.gen.d.ts +144 -0
  94. package/dist/api/block/v1alpha1/api.gen.js +167 -90
  95. package/dist/api/block/v1alpha1/content.gen.cjs +20 -0
  96. package/dist/api/block/v1alpha1/content.gen.d.ts +7 -0
  97. package/dist/api/block/v1alpha1/content.gen.js +20 -13
  98. package/dist/api/block/v1alpha1/index.gen.cjs +10 -0
  99. package/dist/api/block/v1alpha1/index.gen.d.ts +4 -0
  100. package/dist/api/block/v1alpha1/index.gen.js +10 -7
  101. package/dist/api/block/v1alpha1/marshalling.gen.cjs +194 -0
  102. package/dist/api/block/v1alpha1/marshalling.gen.d.ts +13 -0
  103. package/dist/api/block/v1alpha1/marshalling.gen.js +78 -42
  104. package/dist/api/block/v1alpha1/types.gen.d.ts +315 -0
  105. package/dist/api/block/v1alpha1/validation-rules.gen.cjs +56 -0
  106. package/dist/api/block/v1alpha1/validation-rules.gen.d.ts +47 -0
  107. package/dist/api/block/v1alpha1/validation-rules.gen.js +14 -5
  108. package/dist/api/cockpit/index.cjs +6 -0
  109. package/dist/api/cockpit/index.d.ts +2 -0
  110. package/dist/api/cockpit/index.js +6 -4
  111. package/dist/api/cockpit/v1/api.gen.cjs +629 -0
  112. package/dist/api/cockpit/v1/api.gen.d.ts +310 -0
  113. package/dist/api/cockpit/v1/api.gen.js +374 -201
  114. package/dist/api/cockpit/v1/index.gen.cjs +7 -0
  115. package/dist/api/cockpit/v1/index.gen.d.ts +3 -0
  116. package/dist/api/cockpit/v1/index.gen.js +7 -6
  117. package/dist/api/cockpit/v1/marshalling.gen.cjs +325 -0
  118. package/dist/api/cockpit/v1/marshalling.gen.d.ts +30 -0
  119. package/dist/api/cockpit/v1/marshalling.gen.js +131 -59
  120. package/dist/api/cockpit/v1/types.gen.d.ts +525 -0
  121. package/dist/api/cockpit/v1/validation-rules.gen.cjs +48 -0
  122. package/dist/api/cockpit/v1/validation-rules.gen.d.ts +41 -0
  123. package/dist/api/cockpit/v1/validation-rules.gen.js +10 -8
  124. package/dist/api/cockpit/v1beta1/api.gen.cjs +484 -0
  125. package/dist/api/cockpit/v1beta1/api.gen.d.ts +223 -0
  126. package/dist/api/cockpit/v1beta1/api.gen.js +298 -167
  127. package/dist/api/cockpit/v1beta1/content.gen.cjs +8 -0
  128. package/dist/api/cockpit/v1beta1/content.gen.d.ts +3 -0
  129. package/dist/api/cockpit/v1beta1/content.gen.js +8 -7
  130. package/dist/api/cockpit/v1beta1/index.gen.cjs +6 -0
  131. package/dist/api/cockpit/v1beta1/index.gen.d.ts +3 -0
  132. package/dist/api/cockpit/v1beta1/index.gen.js +6 -5
  133. package/dist/api/cockpit/v1beta1/marshalling.gen.cjs +343 -0
  134. package/dist/api/cockpit/v1beta1/marshalling.gen.d.ts +29 -0
  135. package/dist/api/cockpit/v1beta1/marshalling.gen.js +131 -60
  136. package/dist/api/cockpit/v1beta1/types.gen.d.ts +385 -0
  137. package/dist/api/container/index.cjs +4 -0
  138. package/dist/api/container/index.d.ts +1 -0
  139. package/dist/api/container/index.js +4 -2
  140. package/dist/api/container/v1beta1/api.gen.cjs +621 -0
  141. package/dist/api/container/v1beta1/api.gen.d.ts +304 -0
  142. package/dist/api/container/v1beta1/api.gen.js +384 -228
  143. package/dist/api/container/v1beta1/content.gen.cjs +34 -0
  144. package/dist/api/container/v1beta1/content.gen.d.ts +13 -0
  145. package/dist/api/container/v1beta1/content.gen.js +34 -22
  146. package/dist/api/container/v1beta1/index.gen.cjs +13 -0
  147. package/dist/api/container/v1beta1/index.gen.d.ts +4 -0
  148. package/dist/api/container/v1beta1/index.gen.js +13 -7
  149. package/dist/api/container/v1beta1/marshalling.gen.cjs +408 -0
  150. package/dist/api/container/v1beta1/marshalling.gen.d.ts +24 -0
  151. package/dist/api/container/v1beta1/marshalling.gen.js +147 -71
  152. package/dist/api/container/v1beta1/types.gen.d.ts +785 -0
  153. package/dist/api/container/v1beta1/validation-rules.gen.cjs +45 -0
  154. package/dist/api/container/v1beta1/validation-rules.gen.d.ts +39 -0
  155. package/dist/api/container/v1beta1/validation-rules.gen.js +6 -5
  156. package/dist/api/dedibox/index.cjs +4 -0
  157. package/dist/api/dedibox/index.d.ts +1 -0
  158. package/dist/api/dedibox/index.js +4 -2
  159. package/dist/api/dedibox/v1/api.gen.cjs +1460 -0
  160. package/dist/api/dedibox/v1/api.gen.d.ts +560 -0
  161. package/dist/api/dedibox/v1/api.gen.js +1051 -565
  162. package/dist/api/dedibox/v1/content.gen.cjs +49 -0
  163. package/dist/api/dedibox/v1/content.gen.d.ts +19 -0
  164. package/dist/api/dedibox/v1/content.gen.js +49 -31
  165. package/dist/api/dedibox/v1/index.gen.cjs +22 -0
  166. package/dist/api/dedibox/v1/index.gen.d.ts +4 -0
  167. package/dist/api/dedibox/v1/index.gen.js +22 -7
  168. package/dist/api/dedibox/v1/marshalling.gen.cjs +1475 -0
  169. package/dist/api/dedibox/v1/marshalling.gen.d.ts +82 -0
  170. package/dist/api/dedibox/v1/marshalling.gen.js +514 -237
  171. package/dist/api/dedibox/v1/types.gen.d.ts +1900 -0
  172. package/dist/api/dedibox/v1/validation-rules.gen.cjs +626 -0
  173. package/dist/api/dedibox/v1/validation-rules.gen.d.ts +539 -0
  174. package/dist/api/dedibox/v1/validation-rules.gen.js +87 -5
  175. package/dist/api/document_db/index.cjs +4 -0
  176. package/dist/api/document_db/index.d.ts +1 -0
  177. package/dist/api/document_db/index.js +4 -2
  178. package/dist/api/document_db/v1beta1/api.gen.cjs +1018 -0
  179. package/dist/api/document_db/v1beta1/api.gen.d.ts +542 -0
  180. package/dist/api/document_db/v1beta1/api.gen.js +561 -339
  181. package/dist/api/document_db/v1beta1/content.gen.cjs +31 -0
  182. package/dist/api/document_db/v1beta1/content.gen.d.ts +11 -0
  183. package/dist/api/document_db/v1beta1/content.gen.js +31 -19
  184. package/dist/api/document_db/v1beta1/index.gen.cjs +12 -0
  185. package/dist/api/document_db/v1beta1/index.gen.d.ts +4 -0
  186. package/dist/api/document_db/v1beta1/index.gen.js +12 -7
  187. package/dist/api/document_db/v1beta1/marshalling.gen.cjs +829 -0
  188. package/dist/api/document_db/v1beta1/marshalling.gen.d.ts +50 -0
  189. package/dist/api/document_db/v1beta1/marshalling.gen.js +354 -181
  190. package/dist/api/document_db/v1beta1/types.gen.d.ts +1254 -0
  191. package/dist/api/document_db/v1beta1/validation-rules.gen.cjs +8 -0
  192. package/dist/api/document_db/v1beta1/validation-rules.gen.d.ts +5 -0
  193. package/dist/api/document_db/v1beta1/validation-rules.gen.js +3 -5
  194. package/dist/api/domain/index.cjs +4 -0
  195. package/dist/api/domain/index.d.ts +1 -0
  196. package/dist/api/domain/index.js +4 -2
  197. package/dist/api/domain/v2beta1/api.gen.cjs +1052 -0
  198. package/dist/api/domain/v2beta1/api.gen.d.ts +521 -0
  199. package/dist/api/domain/v2beta1/api.gen.js +638 -365
  200. package/dist/api/domain/v2beta1/content.gen.cjs +29 -0
  201. package/dist/api/domain/v2beta1/content.gen.d.ts +18 -0
  202. package/dist/api/domain/v2beta1/content.gen.js +29 -28
  203. package/dist/api/domain/v2beta1/index.gen.cjs +13 -0
  204. package/dist/api/domain/v2beta1/index.gen.d.ts +3 -0
  205. package/dist/api/domain/v2beta1/index.gen.js +13 -5
  206. package/dist/api/domain/v2beta1/marshalling.gen.cjs +1472 -0
  207. package/dist/api/domain/v2beta1/marshalling.gen.d.ts +59 -0
  208. package/dist/api/domain/v2beta1/marshalling.gen.js +676 -383
  209. package/dist/api/domain/v2beta1/types.gen.d.ts +1073 -0
  210. package/dist/api/flexibleip/index.cjs +4 -0
  211. package/dist/api/flexibleip/index.d.ts +1 -0
  212. package/dist/api/flexibleip/index.js +4 -2
  213. package/dist/api/flexibleip/v1alpha1/api.gen.cjs +227 -0
  214. package/dist/api/flexibleip/v1alpha1/api.gen.d.ts +115 -0
  215. package/dist/api/flexibleip/v1alpha1/api.gen.js +134 -86
  216. package/dist/api/flexibleip/v1alpha1/content.gen.cjs +12 -0
  217. package/dist/api/flexibleip/v1alpha1/content.gen.d.ts +5 -0
  218. package/dist/api/flexibleip/v1alpha1/content.gen.js +12 -10
  219. package/dist/api/flexibleip/v1alpha1/index.gen.cjs +9 -0
  220. package/dist/api/flexibleip/v1alpha1/index.gen.d.ts +4 -0
  221. package/dist/api/flexibleip/v1alpha1/index.gen.js +9 -7
  222. package/dist/api/flexibleip/v1alpha1/marshalling.gen.cjs +115 -0
  223. package/dist/api/flexibleip/v1alpha1/marshalling.gen.d.ts +13 -0
  224. package/dist/api/flexibleip/v1alpha1/marshalling.gen.js +36 -18
  225. package/dist/api/flexibleip/v1alpha1/types.gen.d.ts +196 -0
  226. package/dist/api/flexibleip/v1alpha1/validation-rules.gen.cjs +12 -0
  227. package/dist/api/flexibleip/v1alpha1/validation-rules.gen.d.ts +9 -0
  228. package/dist/api/flexibleip/v1alpha1/validation-rules.gen.js +3 -5
  229. package/dist/api/function/index.cjs +4 -0
  230. package/dist/api/function/index.d.ts +1 -0
  231. package/dist/api/function/index.js +4 -2
  232. package/dist/api/function/v1beta1/api.gen.cjs +666 -0
  233. package/dist/api/function/v1beta1/api.gen.d.ts +330 -0
  234. package/dist/api/function/v1beta1/api.gen.js +406 -244
  235. package/dist/api/function/v1beta1/content.gen.cjs +34 -0
  236. package/dist/api/function/v1beta1/content.gen.d.ts +13 -0
  237. package/dist/api/function/v1beta1/content.gen.js +34 -22
  238. package/dist/api/function/v1beta1/index.gen.cjs +13 -0
  239. package/dist/api/function/v1beta1/index.gen.d.ts +4 -0
  240. package/dist/api/function/v1beta1/index.gen.js +13 -7
  241. package/dist/api/function/v1beta1/marshalling.gen.cjs +457 -0
  242. package/dist/api/function/v1beta1/marshalling.gen.d.ts +27 -0
  243. package/dist/api/function/v1beta1/marshalling.gen.js +167 -80
  244. package/dist/api/function/v1beta1/types.gen.d.ts +819 -0
  245. package/dist/api/function/v1beta1/validation-rules.gen.cjs +45 -0
  246. package/dist/api/function/v1beta1/validation-rules.gen.d.ts +39 -0
  247. package/dist/api/function/v1beta1/validation-rules.gen.js +6 -5
  248. package/dist/api/iam/index.cjs +4 -0
  249. package/dist/api/iam/index.d.ts +1 -0
  250. package/dist/api/iam/index.js +4 -2
  251. package/dist/api/iam/v1alpha1/api.gen.cjs +951 -0
  252. package/dist/api/iam/v1alpha1/api.gen.d.ts +480 -0
  253. package/dist/api/iam/v1alpha1/api.gen.js +560 -302
  254. package/dist/api/iam/v1alpha1/index.gen.cjs +6 -0
  255. package/dist/api/iam/v1alpha1/index.gen.d.ts +3 -0
  256. package/dist/api/iam/v1alpha1/index.gen.js +6 -6
  257. package/dist/api/iam/v1alpha1/marshalling.gen.cjs +504 -0
  258. package/dist/api/iam/v1alpha1/marshalling.gen.d.ts +42 -0
  259. package/dist/api/iam/v1alpha1/marshalling.gen.js +184 -119
  260. package/dist/api/iam/v1alpha1/types.gen.d.ts +886 -0
  261. package/dist/api/iam/v1alpha1/validation-rules.gen.cjs +235 -0
  262. package/dist/api/iam/v1alpha1/validation-rules.gen.d.ts +211 -0
  263. package/dist/api/iam/v1alpha1/validation-rules.gen.js +29 -10
  264. package/dist/api/index.d.ts +34 -0
  265. package/dist/api/instance/index.cjs +4 -0
  266. package/dist/api/instance/index.d.ts +1 -0
  267. package/dist/api/instance/index.js +4 -2
  268. package/dist/api/instance/v1/api.gen.cjs +1178 -0
  269. package/dist/api/instance/v1/api.gen.d.ts +532 -0
  270. package/dist/api/instance/v1/api.gen.js +753 -436
  271. package/dist/api/instance/v1/api.utils.cjs +279 -0
  272. package/dist/api/instance/v1/api.utils.d.ts +95 -0
  273. package/dist/api/instance/v1/api.utils.js +145 -109
  274. package/dist/api/instance/v1/content.gen.cjs +44 -0
  275. package/dist/api/instance/v1/content.gen.d.ts +21 -0
  276. package/dist/api/instance/v1/content.gen.js +44 -34
  277. package/dist/api/instance/v1/index.cjs +15 -0
  278. package/dist/api/instance/v1/index.d.ts +4 -0
  279. package/dist/api/instance/v1/index.gen.d.ts +4 -0
  280. package/dist/api/instance/v1/index.js +15 -2
  281. package/dist/api/instance/v1/marshalling.gen.cjs +1813 -0
  282. package/dist/api/instance/v1/marshalling.gen.d.ts +95 -0
  283. package/dist/api/instance/v1/marshalling.gen.js +736 -412
  284. package/dist/api/instance/v1/marshalling.utils.d.ts +3 -0
  285. package/dist/api/instance/v1/types.gen.d.ts +1818 -0
  286. package/dist/api/instance/v1/types.private.gen.d.ts +167 -0
  287. package/dist/api/instance/v1/types.utils.d.ts +35 -0
  288. package/dist/api/instance/v1/validation-rules.gen.d.ts +10 -0
  289. package/dist/api/iot/index.cjs +4 -0
  290. package/dist/api/iot/index.d.ts +1 -0
  291. package/dist/api/iot/index.js +4 -2
  292. package/dist/api/iot/v1/api.gen.cjs +621 -0
  293. package/dist/api/iot/v1/api.gen.d.ts +325 -0
  294. package/dist/api/iot/v1/api.gen.js +350 -238
  295. package/dist/api/iot/v1/content.gen.cjs +4 -0
  296. package/dist/api/iot/v1/content.gen.d.ts +3 -0
  297. package/dist/api/iot/v1/content.gen.js +4 -7
  298. package/dist/api/iot/v1/index.gen.cjs +6 -0
  299. package/dist/api/iot/v1/index.gen.d.ts +3 -0
  300. package/dist/api/iot/v1/index.gen.js +6 -5
  301. package/dist/api/iot/v1/marshalling.gen.cjs +534 -0
  302. package/dist/api/iot/v1/marshalling.gen.d.ts +31 -0
  303. package/dist/api/iot/v1/marshalling.gen.js +209 -114
  304. package/dist/api/iot/v1/types.gen.d.ts +916 -0
  305. package/dist/api/ipam/index.cjs +4 -0
  306. package/dist/api/ipam/index.d.ts +1 -0
  307. package/dist/api/ipam/index.js +4 -2
  308. package/dist/api/ipam/v1/api.gen.cjs +117 -0
  309. package/dist/api/ipam/v1/api.gen.d.ts +57 -0
  310. package/dist/api/ipam/v1/api.gen.js +75 -55
  311. package/dist/api/ipam/v1/index.gen.cjs +6 -0
  312. package/dist/api/ipam/v1/index.gen.d.ts +3 -0
  313. package/dist/api/ipam/v1/index.gen.js +6 -6
  314. package/dist/api/ipam/v1/marshalling.gen.cjs +98 -0
  315. package/dist/api/ipam/v1/marshalling.gen.d.ts +6 -0
  316. package/dist/api/ipam/v1/marshalling.gen.js +35 -29
  317. package/dist/api/ipam/v1/types.gen.d.ts +209 -0
  318. package/dist/api/ipam/v1/validation-rules.gen.cjs +9 -0
  319. package/dist/api/ipam/v1/validation-rules.gen.d.ts +6 -0
  320. package/dist/api/ipam/v1/validation-rules.gen.js +3 -5
  321. package/dist/api/ipfs/index.cjs +4 -0
  322. package/dist/api/ipfs/index.d.ts +1 -0
  323. package/dist/api/ipfs/index.js +4 -2
  324. package/dist/api/ipfs/v1alpha1/api.gen.cjs +374 -0
  325. package/dist/api/ipfs/v1alpha1/api.gen.d.ts +198 -0
  326. package/dist/api/ipfs/v1alpha1/api.gen.js +210 -133
  327. package/dist/api/ipfs/v1alpha1/content.gen.cjs +6 -0
  328. package/dist/api/ipfs/v1alpha1/content.gen.d.ts +5 -0
  329. package/dist/api/ipfs/v1alpha1/content.gen.js +6 -10
  330. package/dist/api/ipfs/v1alpha1/index.gen.cjs +8 -0
  331. package/dist/api/ipfs/v1alpha1/index.gen.d.ts +3 -0
  332. package/dist/api/ipfs/v1alpha1/index.gen.js +8 -5
  333. package/dist/api/ipfs/v1alpha1/marshalling.gen.cjs +208 -0
  334. package/dist/api/ipfs/v1alpha1/marshalling.gen.d.ts +18 -0
  335. package/dist/api/ipfs/v1alpha1/marshalling.gen.js +68 -33
  336. package/dist/api/ipfs/v1alpha1/types.gen.d.ts +317 -0
  337. package/dist/api/jobs/index.cjs +4 -0
  338. package/dist/api/jobs/index.d.ts +1 -0
  339. package/dist/api/jobs/index.js +4 -2
  340. package/dist/api/jobs/v1alpha1/api.gen.cjs +170 -0
  341. package/dist/api/jobs/v1alpha1/api.gen.d.ts +84 -0
  342. package/dist/api/jobs/v1alpha1/api.gen.js +109 -69
  343. package/dist/api/jobs/v1alpha1/content.gen.cjs +8 -0
  344. package/dist/api/jobs/v1alpha1/content.gen.d.ts +3 -0
  345. package/dist/api/jobs/v1alpha1/content.gen.js +8 -7
  346. package/dist/api/jobs/v1alpha1/index.gen.cjs +8 -0
  347. package/dist/api/jobs/v1alpha1/index.gen.d.ts +4 -0
  348. package/dist/api/jobs/v1alpha1/index.gen.js +8 -7
  349. package/dist/api/jobs/v1alpha1/marshalling.gen.cjs +150 -0
  350. package/dist/api/jobs/v1alpha1/marshalling.gen.d.ts +10 -0
  351. package/dist/api/jobs/v1alpha1/marshalling.gen.js +50 -26
  352. package/dist/api/jobs/v1alpha1/types.gen.d.ts +210 -0
  353. package/dist/api/jobs/v1alpha1/validation-rules.gen.cjs +97 -0
  354. package/dist/api/jobs/v1alpha1/validation-rules.gen.d.ts +87 -0
  355. package/dist/api/jobs/v1alpha1/validation-rules.gen.js +12 -7
  356. package/dist/api/k8s/index.cjs +4 -0
  357. package/dist/api/k8s/index.d.ts +1 -0
  358. package/dist/api/k8s/index.js +4 -2
  359. package/dist/api/k8s/v1/api.gen.cjs +550 -0
  360. package/dist/api/k8s/v1/api.gen.d.ts +284 -0
  361. package/dist/api/k8s/v1/api.gen.js +317 -195
  362. package/dist/api/k8s/v1/api.utils.cjs +13 -0
  363. package/dist/api/k8s/v1/api.utils.d.ts +11 -0
  364. package/dist/api/k8s/v1/api.utils.js +5 -5
  365. package/dist/api/k8s/v1/content.gen.cjs +23 -0
  366. package/dist/api/k8s/v1/content.gen.d.ts +7 -0
  367. package/dist/api/k8s/v1/content.gen.js +23 -13
  368. package/dist/api/k8s/v1/index.cjs +10 -0
  369. package/dist/api/k8s/v1/index.d.ts +4 -0
  370. package/dist/api/k8s/v1/index.gen.d.ts +4 -0
  371. package/dist/api/k8s/v1/index.js +10 -4
  372. package/dist/api/k8s/v1/marshalling.gen.cjs +510 -0
  373. package/dist/api/k8s/v1/marshalling.gen.d.ts +22 -0
  374. package/dist/api/k8s/v1/marshalling.gen.js +158 -79
  375. package/dist/api/k8s/v1/types.gen.d.ts +1123 -0
  376. package/dist/api/k8s/v1/validation-rules.gen.cjs +110 -0
  377. package/dist/api/k8s/v1/validation-rules.gen.d.ts +96 -0
  378. package/dist/api/k8s/v1/validation-rules.gen.js +14 -5
  379. package/dist/api/lb/index.cjs +4 -0
  380. package/dist/api/lb/index.d.ts +1 -0
  381. package/dist/api/lb/index.js +4 -2
  382. package/dist/api/lb/v1/api.gen.cjs +1984 -0
  383. package/dist/api/lb/v1/api.gen.d.ts +990 -0
  384. package/dist/api/lb/v1/api.gen.js +1186 -695
  385. package/dist/api/lb/v1/api.utils.cjs +116 -0
  386. package/dist/api/lb/v1/api.utils.d.ts +41 -0
  387. package/dist/api/lb/v1/api.utils.js +83 -48
  388. package/dist/api/lb/v1/content.gen.cjs +22 -0
  389. package/dist/api/lb/v1/content.gen.d.ts +9 -0
  390. package/dist/api/lb/v1/content.gen.js +22 -16
  391. package/dist/api/lb/v1/index.cjs +10 -0
  392. package/dist/api/lb/v1/index.d.ts +4 -0
  393. package/dist/api/lb/v1/index.gen.d.ts +3 -0
  394. package/dist/api/lb/v1/index.js +10 -2
  395. package/dist/api/lb/v1/marshalling.gen.cjs +1289 -0
  396. package/dist/api/lb/v1/marshalling.gen.d.ts +73 -0
  397. package/dist/api/lb/v1/marshalling.gen.js +576 -334
  398. package/dist/api/lb/v1/types.gen.d.ts +2729 -0
  399. package/dist/api/lb/v1/types.utils.d.ts +13 -0
  400. package/dist/api/llm_inference/index.cjs +4 -0
  401. package/dist/api/llm_inference/index.d.ts +1 -0
  402. package/dist/api/llm_inference/index.js +4 -2
  403. package/dist/api/llm_inference/v1beta1/api.gen.cjs +305 -0
  404. package/dist/api/llm_inference/v1beta1/api.gen.d.ts +151 -0
  405. package/dist/api/llm_inference/v1beta1/api.gen.js +192 -120
  406. package/dist/api/llm_inference/v1beta1/content.gen.cjs +8 -0
  407. package/dist/api/llm_inference/v1beta1/content.gen.d.ts +3 -0
  408. package/dist/api/llm_inference/v1beta1/content.gen.js +8 -7
  409. package/dist/api/llm_inference/v1beta1/index.gen.cjs +8 -0
  410. package/dist/api/llm_inference/v1beta1/index.gen.d.ts +4 -0
  411. package/dist/api/llm_inference/v1beta1/index.gen.js +8 -7
  412. package/dist/api/llm_inference/v1beta1/marshalling.gen.cjs +271 -0
  413. package/dist/api/llm_inference/v1beta1/marshalling.gen.d.ts +18 -0
  414. package/dist/api/llm_inference/v1beta1/marshalling.gen.js +98 -52
  415. package/dist/api/llm_inference/v1beta1/types.gen.d.ts +433 -0
  416. package/dist/api/llm_inference/v1beta1/validation-rules.gen.cjs +56 -0
  417. package/dist/api/llm_inference/v1beta1/validation-rules.gen.d.ts +50 -0
  418. package/dist/api/llm_inference/v1beta1/validation-rules.gen.js +6 -5
  419. package/dist/api/marketplace/index.cjs +4 -0
  420. package/dist/api/marketplace/index.d.ts +1 -0
  421. package/dist/api/marketplace/index.js +4 -2
  422. package/dist/api/marketplace/v2/api.gen.cjs +174 -0
  423. package/dist/api/marketplace/v2/api.gen.d.ts +95 -0
  424. package/dist/api/marketplace/v2/api.gen.js +111 -67
  425. package/dist/api/marketplace/v2/index.gen.cjs +4 -0
  426. package/dist/api/marketplace/v2/index.gen.d.ts +2 -0
  427. package/dist/api/marketplace/v2/index.gen.js +4 -4
  428. package/dist/api/marketplace/v2/marshalling.gen.cjs +115 -0
  429. package/dist/api/marketplace/v2/marshalling.gen.d.ts +9 -0
  430. package/dist/api/marketplace/v2/marshalling.gen.js +44 -23
  431. package/dist/api/marketplace/v2/types.gen.d.ts +135 -0
  432. package/dist/api/mnq/index.cjs +4 -0
  433. package/dist/api/mnq/index.d.ts +1 -0
  434. package/dist/api/mnq/index.js +4 -2
  435. package/dist/api/mnq/v1beta1/api.gen.cjs +500 -0
  436. package/dist/api/mnq/v1beta1/api.gen.d.ts +267 -0
  437. package/dist/api/mnq/v1beta1/api.gen.js +291 -184
  438. package/dist/api/mnq/v1beta1/index.gen.cjs +8 -0
  439. package/dist/api/mnq/v1beta1/index.gen.d.ts +3 -0
  440. package/dist/api/mnq/v1beta1/index.gen.js +8 -6
  441. package/dist/api/mnq/v1beta1/marshalling.gen.cjs +268 -0
  442. package/dist/api/mnq/v1beta1/marshalling.gen.d.ts +23 -0
  443. package/dist/api/mnq/v1beta1/marshalling.gen.js +105 -49
  444. package/dist/api/mnq/v1beta1/types.gen.d.ts +449 -0
  445. package/dist/api/mnq/v1beta1/validation-rules.gen.cjs +85 -0
  446. package/dist/api/mnq/v1beta1/validation-rules.gen.d.ts +72 -0
  447. package/dist/api/mnq/v1beta1/validation-rules.gen.js +13 -5
  448. package/dist/api/rdb/index.cjs +4 -0
  449. package/dist/api/rdb/index.d.ts +1 -0
  450. package/dist/api/rdb/index.js +4 -2
  451. package/dist/api/rdb/v1/api.gen.cjs +1192 -0
  452. package/dist/api/rdb/v1/api.gen.d.ts +631 -0
  453. package/dist/api/rdb/v1/api.gen.js +660 -393
  454. package/dist/api/rdb/v1/content.gen.cjs +38 -0
  455. package/dist/api/rdb/v1/content.gen.d.ts +13 -0
  456. package/dist/api/rdb/v1/content.gen.js +38 -22
  457. package/dist/api/rdb/v1/index.gen.cjs +13 -0
  458. package/dist/api/rdb/v1/index.gen.d.ts +4 -0
  459. package/dist/api/rdb/v1/index.gen.js +13 -7
  460. package/dist/api/rdb/v1/marshalling.gen.cjs +908 -0
  461. package/dist/api/rdb/v1/marshalling.gen.d.ts +59 -0
  462. package/dist/api/rdb/v1/marshalling.gen.js +385 -191
  463. package/dist/api/rdb/v1/types.gen.d.ts +1404 -0
  464. package/dist/api/rdb/v1/validation-rules.gen.cjs +8 -0
  465. package/dist/api/rdb/v1/validation-rules.gen.d.ts +5 -0
  466. package/dist/api/rdb/v1/validation-rules.gen.js +3 -5
  467. package/dist/api/redis/index.cjs +4 -0
  468. package/dist/api/redis/index.d.ts +1 -0
  469. package/dist/api/redis/index.js +4 -2
  470. package/dist/api/redis/v1/api.gen.cjs +476 -0
  471. package/dist/api/redis/v1/api.gen.d.ts +253 -0
  472. package/dist/api/redis/v1/api.gen.js +265 -162
  473. package/dist/api/redis/v1/content.gen.cjs +10 -0
  474. package/dist/api/redis/v1/content.gen.d.ts +3 -0
  475. package/dist/api/redis/v1/content.gen.js +10 -7
  476. package/dist/api/redis/v1/index.gen.cjs +6 -0
  477. package/dist/api/redis/v1/index.gen.d.ts +3 -0
  478. package/dist/api/redis/v1/index.gen.js +6 -5
  479. package/dist/api/redis/v1/marshalling.gen.cjs +355 -0
  480. package/dist/api/redis/v1/marshalling.gen.d.ts +24 -0
  481. package/dist/api/redis/v1/marshalling.gen.js +156 -84
  482. package/dist/api/redis/v1/types.gen.d.ts +473 -0
  483. package/dist/api/registry/index.cjs +4 -0
  484. package/dist/api/registry/index.d.ts +1 -0
  485. package/dist/api/registry/index.js +4 -2
  486. package/dist/api/registry/v1/api.gen.cjs +287 -0
  487. package/dist/api/registry/v1/api.gen.d.ts +160 -0
  488. package/dist/api/registry/v1/api.gen.js +161 -94
  489. package/dist/api/registry/v1/content.gen.cjs +8 -0
  490. package/dist/api/registry/v1/content.gen.d.ts +7 -0
  491. package/dist/api/registry/v1/content.gen.js +8 -13
  492. package/dist/api/registry/v1/index.gen.cjs +8 -0
  493. package/dist/api/registry/v1/index.gen.d.ts +3 -0
  494. package/dist/api/registry/v1/index.gen.js +8 -5
  495. package/dist/api/registry/v1/marshalling.gen.cjs +129 -0
  496. package/dist/api/registry/v1/marshalling.gen.d.ts +11 -0
  497. package/dist/api/registry/v1/marshalling.gen.js +51 -30
  498. package/dist/api/registry/v1/types.gen.d.ts +300 -0
  499. package/dist/api/secret/index.cjs +6 -0
  500. package/dist/api/secret/index.d.ts +2 -0
  501. package/dist/api/secret/index.js +6 -4
  502. package/dist/api/secret/v1alpha1/api.gen.cjs +483 -0
  503. package/dist/api/secret/v1alpha1/api.gen.d.ts +262 -0
  504. package/dist/api/secret/v1alpha1/api.gen.js +271 -176
  505. package/dist/api/secret/v1alpha1/index.gen.cjs +4 -0
  506. package/dist/api/secret/v1alpha1/index.gen.d.ts +2 -0
  507. package/dist/api/secret/v1alpha1/index.gen.js +4 -4
  508. package/dist/api/secret/v1alpha1/marshalling.gen.cjs +221 -0
  509. package/dist/api/secret/v1alpha1/marshalling.gen.d.ts +19 -0
  510. package/dist/api/secret/v1alpha1/marshalling.gen.js +67 -33
  511. package/dist/api/secret/v1alpha1/types.gen.d.ts +619 -0
  512. package/dist/api/secret/v1beta1/api.gen.cjs +359 -0
  513. package/dist/api/secret/v1beta1/api.gen.d.ts +182 -0
  514. package/dist/api/secret/v1beta1/api.gen.js +213 -135
  515. package/dist/api/secret/v1beta1/index.gen.cjs +6 -0
  516. package/dist/api/secret/v1beta1/index.gen.d.ts +3 -0
  517. package/dist/api/secret/v1beta1/index.gen.js +6 -6
  518. package/dist/api/secret/v1beta1/marshalling.gen.cjs +219 -0
  519. package/dist/api/secret/v1beta1/marshalling.gen.d.ts +14 -0
  520. package/dist/api/secret/v1beta1/marshalling.gen.js +76 -40
  521. package/dist/api/secret/v1beta1/types.gen.d.ts +513 -0
  522. package/dist/api/secret/v1beta1/validation-rules.gen.cjs +8 -0
  523. package/dist/api/secret/v1beta1/validation-rules.gen.d.ts +5 -0
  524. package/dist/api/secret/v1beta1/validation-rules.gen.js +3 -5
  525. package/dist/api/serverless_sqldb/index.cjs +4 -0
  526. package/dist/api/serverless_sqldb/index.d.ts +1 -0
  527. package/dist/api/serverless_sqldb/index.js +4 -2
  528. package/dist/api/serverless_sqldb/v1alpha1/api.gen.cjs +202 -0
  529. package/dist/api/serverless_sqldb/v1alpha1/api.gen.d.ts +109 -0
  530. package/dist/api/serverless_sqldb/v1alpha1/api.gen.js +118 -78
  531. package/dist/api/serverless_sqldb/v1alpha1/content.gen.cjs +8 -0
  532. package/dist/api/serverless_sqldb/v1alpha1/content.gen.d.ts +3 -0
  533. package/dist/api/serverless_sqldb/v1alpha1/content.gen.js +8 -7
  534. package/dist/api/serverless_sqldb/v1alpha1/index.gen.cjs +8 -0
  535. package/dist/api/serverless_sqldb/v1alpha1/index.gen.d.ts +4 -0
  536. package/dist/api/serverless_sqldb/v1alpha1/index.gen.js +8 -7
  537. package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.cjs +89 -0
  538. package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.d.ts +9 -0
  539. package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.js +27 -15
  540. package/dist/api/serverless_sqldb/v1alpha1/types.gen.d.ts +193 -0
  541. package/dist/api/serverless_sqldb/v1alpha1/validation-rules.gen.cjs +62 -0
  542. package/dist/api/serverless_sqldb/v1alpha1/validation-rules.gen.d.ts +55 -0
  543. package/dist/api/serverless_sqldb/v1alpha1/validation-rules.gen.js +9 -7
  544. package/dist/api/std/index.gen.cjs +1 -0
  545. package/dist/api/std/index.gen.d.ts +1 -0
  546. package/dist/api/std/types.gen.d.ts +1 -0
  547. package/dist/api/tem/index.cjs +4 -0
  548. package/dist/api/tem/index.d.ts +1 -0
  549. package/dist/api/tem/index.js +4 -2
  550. package/dist/api/tem/v1alpha1/api.gen.cjs +260 -0
  551. package/dist/api/tem/v1alpha1/api.gen.d.ts +134 -0
  552. package/dist/api/tem/v1alpha1/api.gen.js +154 -89
  553. package/dist/api/tem/v1alpha1/content.gen.cjs +6 -0
  554. package/dist/api/tem/v1alpha1/content.gen.d.ts +5 -0
  555. package/dist/api/tem/v1alpha1/content.gen.js +6 -10
  556. package/dist/api/tem/v1alpha1/index.gen.cjs +7 -0
  557. package/dist/api/tem/v1alpha1/index.gen.d.ts +3 -0
  558. package/dist/api/tem/v1alpha1/index.gen.js +7 -5
  559. package/dist/api/tem/v1alpha1/marshalling.gen.cjs +255 -0
  560. package/dist/api/tem/v1alpha1/marshalling.gen.d.ts +11 -0
  561. package/dist/api/tem/v1alpha1/marshalling.gen.js +90 -50
  562. package/dist/api/tem/v1alpha1/types.gen.d.ts +401 -0
  563. package/dist/api/test/index.cjs +4 -0
  564. package/dist/api/test/index.d.ts +1 -0
  565. package/dist/api/test/index.js +4 -2
  566. package/dist/api/test/v1/api.gen.cjs +164 -0
  567. package/dist/api/test/v1/api.gen.d.ts +84 -0
  568. package/dist/api/test/v1/api.gen.js +99 -71
  569. package/dist/api/test/v1/content.gen.cjs +4 -0
  570. package/dist/api/test/v1/content.gen.d.ts +3 -0
  571. package/dist/api/test/v1/content.gen.js +4 -7
  572. package/dist/api/test/v1/index.gen.cjs +6 -0
  573. package/dist/api/test/v1/index.gen.d.ts +3 -0
  574. package/dist/api/test/v1/index.gen.js +6 -5
  575. package/dist/api/test/v1/marshalling.gen.cjs +93 -0
  576. package/dist/api/test/v1/marshalling.gen.d.ts +8 -0
  577. package/dist/api/test/v1/marshalling.gen.js +34 -22
  578. package/dist/api/test/v1/types.gen.d.ts +91 -0
  579. package/dist/api/vpc/index.cjs +6 -0
  580. package/dist/api/vpc/index.d.ts +2 -0
  581. package/dist/api/vpc/index.js +6 -4
  582. package/dist/api/vpc/v1/api.gen.cjs +119 -0
  583. package/dist/api/vpc/v1/api.gen.d.ts +59 -0
  584. package/dist/api/vpc/v1/api.gen.js +76 -43
  585. package/dist/api/vpc/v1/index.gen.cjs +4 -0
  586. package/dist/api/vpc/v1/index.gen.d.ts +2 -0
  587. package/dist/api/vpc/v1/index.gen.js +4 -4
  588. package/dist/api/vpc/v1/marshalling.gen.cjs +52 -0
  589. package/dist/api/vpc/v1/marshalling.gen.d.ts +6 -0
  590. package/dist/api/vpc/v1/marshalling.gen.js +22 -14
  591. package/dist/api/vpc/v1/types.gen.d.ts +99 -0
  592. package/dist/api/vpc/v2/api.gen.cjs +303 -0
  593. package/dist/api/vpc/v2/api.gen.d.ts +149 -0
  594. package/dist/api/vpc/v2/api.gen.js +181 -112
  595. package/dist/api/vpc/v2/index.gen.cjs +4 -0
  596. package/dist/api/vpc/v2/index.gen.d.ts +2 -0
  597. package/dist/api/vpc/v2/index.gen.js +4 -4
  598. package/dist/api/vpc/v2/marshalling.gen.cjs +173 -0
  599. package/dist/api/vpc/v2/marshalling.gen.d.ts +17 -0
  600. package/dist/api/vpc/v2/marshalling.gen.js +70 -36
  601. package/dist/api/vpc/v2/types.gen.d.ts +338 -0
  602. package/dist/api/vpcgw/index.cjs +4 -0
  603. package/dist/api/vpcgw/index.d.ts +1 -0
  604. package/dist/api/vpcgw/index.js +4 -2
  605. package/dist/api/vpcgw/v1/api.gen.cjs +740 -0
  606. package/dist/api/vpcgw/v1/api.gen.d.ts +393 -0
  607. package/dist/api/vpcgw/v1/api.gen.js +408 -239
  608. package/dist/api/vpcgw/v1/content.gen.cjs +15 -0
  609. package/dist/api/vpcgw/v1/content.gen.d.ts +5 -0
  610. package/dist/api/vpcgw/v1/content.gen.js +15 -10
  611. package/dist/api/vpcgw/v1/index.gen.cjs +7 -0
  612. package/dist/api/vpcgw/v1/index.gen.d.ts +3 -0
  613. package/dist/api/vpcgw/v1/index.gen.js +7 -5
  614. package/dist/api/vpcgw/v1/marshalling.gen.cjs +437 -0
  615. package/dist/api/vpcgw/v1/marshalling.gen.d.ts +31 -0
  616. package/dist/api/vpcgw/v1/marshalling.gen.js +145 -74
  617. package/dist/api/vpcgw/v1/types.gen.d.ts +901 -0
  618. package/dist/api/webhosting/index.cjs +4 -0
  619. package/dist/api/webhosting/index.d.ts +1 -0
  620. package/dist/api/webhosting/index.js +4 -2
  621. package/dist/api/webhosting/v1alpha1/api.gen.cjs +226 -0
  622. package/dist/api/webhosting/v1alpha1/api.gen.d.ts +115 -0
  623. package/dist/api/webhosting/v1alpha1/api.gen.js +138 -86
  624. package/dist/api/webhosting/v1alpha1/content.gen.cjs +8 -0
  625. package/dist/api/webhosting/v1alpha1/content.gen.d.ts +3 -0
  626. package/dist/api/webhosting/v1alpha1/content.gen.js +8 -7
  627. package/dist/api/webhosting/v1alpha1/index.gen.cjs +8 -0
  628. package/dist/api/webhosting/v1alpha1/index.gen.d.ts +4 -0
  629. package/dist/api/webhosting/v1alpha1/index.gen.js +8 -7
  630. package/dist/api/webhosting/v1alpha1/marshalling.gen.cjs +236 -0
  631. package/dist/api/webhosting/v1alpha1/marshalling.gen.d.ts +11 -0
  632. package/dist/api/webhosting/v1alpha1/marshalling.gen.js +80 -41
  633. package/dist/api/webhosting/v1alpha1/types.gen.d.ts +379 -0
  634. package/dist/api/webhosting/v1alpha1/validation-rules.gen.cjs +22 -0
  635. package/dist/api/webhosting/v1alpha1/validation-rules.gen.d.ts +18 -0
  636. package/dist/api/webhosting/v1alpha1/validation-rules.gen.js +4 -5
  637. package/dist/bridge.d.ts +11 -0
  638. package/dist/helpers/is-browser.cjs +7 -0
  639. package/dist/helpers/is-browser.d.ts +1 -0
  640. package/dist/helpers/is-browser.js +7 -5
  641. package/dist/helpers/is-response.cjs +4 -0
  642. package/dist/helpers/is-response.d.ts +8 -0
  643. package/dist/helpers/is-response.js +4 -10
  644. package/dist/helpers/json.cjs +7 -0
  645. package/dist/helpers/json.d.ts +13 -0
  646. package/dist/helpers/json.js +5 -9
  647. package/dist/helpers/marshalling.cjs +78 -0
  648. package/dist/helpers/marshalling.d.ts +63 -0
  649. package/dist/helpers/marshalling.js +40 -77
  650. package/dist/index.cjs +114 -32093
  651. package/dist/index.d.ts +15 -38464
  652. package/dist/index.js +115 -81
  653. package/dist/internal/async/interval-retrier.cjs +55 -0
  654. package/dist/internal/async/interval-retrier.d.ts +111 -0
  655. package/dist/internal/async/interval-retrier.js +30 -72
  656. package/dist/internal/async/sleep.cjs +6 -0
  657. package/dist/internal/async/sleep.d.ts +9 -0
  658. package/dist/internal/async/sleep.js +4 -11
  659. package/dist/internal/interceptors/composer.cjs +25 -0
  660. package/dist/internal/interceptors/composer.d.ts +25 -0
  661. package/dist/internal/interceptors/composer.js +15 -36
  662. package/dist/internal/interceptors/helpers.cjs +12 -0
  663. package/dist/internal/interceptors/helpers.d.ts +21 -0
  664. package/dist/internal/interceptors/helpers.js +7 -26
  665. package/dist/internal/interceptors/types.d.ts +89 -0
  666. package/dist/internal/logger/console-logger.cjs +24 -0
  667. package/dist/internal/logger/console-logger.d.ts +23 -0
  668. package/dist/internal/logger/console-logger.js +11 -19
  669. package/dist/internal/logger/index.cjs +12 -0
  670. package/dist/internal/logger/index.d.ts +25 -0
  671. package/dist/internal/logger/index.js +9 -30
  672. package/dist/internal/logger/level-resolver.cjs +13 -0
  673. package/dist/internal/logger/level-resolver.d.ts +9 -0
  674. package/dist/internal/logger/level-resolver.js +12 -12
  675. package/dist/internal/logger/logger.d.ts +13 -0
  676. package/dist/internal/validations/string-validation.cjs +30 -0
  677. package/dist/internal/validations/string-validation.d.ts +18 -0
  678. package/dist/internal/validations/string-validation.js +19 -27
  679. package/dist/internals.d.ts +10 -0
  680. package/dist/scw/api.cjs +8 -0
  681. package/dist/scw/api.d.ts +10 -0
  682. package/dist/scw/api.js +3 -7
  683. package/dist/scw/auth.cjs +28 -0
  684. package/dist/scw/auth.d.ts +57 -0
  685. package/dist/scw/auth.js +23 -62
  686. package/dist/scw/client-ini-factory.cjs +66 -0
  687. package/dist/scw/client-ini-factory.d.ts +111 -0
  688. package/dist/scw/client-ini-factory.js +33 -141
  689. package/dist/scw/client-ini-profile.cjs +23 -0
  690. package/dist/scw/client-ini-profile.d.ts +82 -0
  691. package/dist/scw/client-ini-profile.js +15 -46
  692. package/dist/scw/client-settings.cjs +51 -0
  693. package/dist/scw/client-settings.d.ts +59 -0
  694. package/dist/scw/client-settings.js +26 -53
  695. package/dist/scw/client.cjs +28 -0
  696. package/dist/scw/client.d.ts +72 -0
  697. package/dist/scw/client.js +14 -76
  698. package/dist/scw/constants.cjs +6 -0
  699. package/dist/scw/constants.d.ts +2 -0
  700. package/dist/scw/constants.js +5 -3
  701. package/dist/scw/custom-marshalling.cjs +92 -0
  702. package/dist/scw/custom-marshalling.d.ts +59 -0
  703. package/dist/scw/custom-marshalling.js +38 -77
  704. package/dist/scw/custom-types.d.ts +65 -0
  705. package/dist/scw/errors/error-parser.cjs +76 -0
  706. package/dist/scw/errors/error-parser.d.ts +12 -0
  707. package/dist/scw/errors/error-parser.js +33 -64
  708. package/dist/scw/errors/non-standard/invalid-request-mapper.cjs +36 -0
  709. package/dist/scw/errors/non-standard/invalid-request-mapper.d.ts +12 -0
  710. package/dist/scw/errors/non-standard/invalid-request-mapper.js +26 -23
  711. package/dist/scw/errors/non-standard/unknown-resource-mapper.cjs +23 -0
  712. package/dist/scw/errors/non-standard/unknown-resource-mapper.d.ts +11 -0
  713. package/dist/scw/errors/non-standard/unknown-resource-mapper.js +16 -20
  714. package/dist/scw/errors/scw-error-from-json.d.ts +10 -0
  715. package/dist/scw/errors/scw-error.cjs +43 -0
  716. package/dist/scw/errors/scw-error.d.ts +25 -0
  717. package/dist/scw/errors/scw-error.js +19 -35
  718. package/dist/scw/errors/standard/already-exists-error.cjs +31 -0
  719. package/dist/scw/errors/standard/already-exists-error.d.ts +16 -0
  720. package/dist/scw/errors/standard/already-exists-error.js +18 -13
  721. package/dist/scw/errors/standard/denied-authentication-error.cjs +37 -0
  722. package/dist/scw/errors/standard/denied-authentication-error.d.ts +15 -0
  723. package/dist/scw/errors/standard/denied-authentication-error.js +9 -24
  724. package/dist/scw/errors/standard/index.cjs +28 -0
  725. package/dist/scw/errors/standard/index.d.ts +17 -0
  726. package/dist/scw/errors/standard/index.js +28 -13
  727. package/dist/scw/errors/standard/invalid-arguments-error.cjs +55 -0
  728. package/dist/scw/errors/standard/invalid-arguments-error.d.ts +24 -0
  729. package/dist/scw/errors/standard/invalid-arguments-error.js +26 -38
  730. package/dist/scw/errors/standard/out-of-stock-error.cjs +18 -0
  731. package/dist/scw/errors/standard/out-of-stock-error.d.ts +14 -0
  732. package/dist/scw/errors/standard/out-of-stock-error.js +7 -11
  733. package/dist/scw/errors/standard/permissions-denied-error.cjs +30 -0
  734. package/dist/scw/errors/standard/permissions-denied-error.d.ts +23 -0
  735. package/dist/scw/errors/standard/permissions-denied-error.js +20 -35
  736. package/dist/scw/errors/standard/precondition-failed-error.cjs +32 -0
  737. package/dist/scw/errors/standard/precondition-failed-error.d.ts +15 -0
  738. package/dist/scw/errors/standard/precondition-failed-error.js +14 -24
  739. package/dist/scw/errors/standard/quotas-exceeded-error.cjs +44 -0
  740. package/dist/scw/errors/standard/quotas-exceeded-error.d.ts +34 -0
  741. package/dist/scw/errors/standard/quotas-exceeded-error.js +29 -53
  742. package/dist/scw/errors/standard/resource-expired-error.cjs +31 -0
  743. package/dist/scw/errors/standard/resource-expired-error.d.ts +16 -0
  744. package/dist/scw/errors/standard/resource-expired-error.js +18 -13
  745. package/dist/scw/errors/standard/resource-locked-error.cjs +20 -0
  746. package/dist/scw/errors/standard/resource-locked-error.d.ts +15 -0
  747. package/dist/scw/errors/standard/resource-locked-error.js +6 -11
  748. package/dist/scw/errors/standard/resource-not-found-error.cjs +24 -0
  749. package/dist/scw/errors/standard/resource-not-found-error.d.ts +15 -0
  750. package/dist/scw/errors/standard/resource-not-found-error.js +11 -12
  751. package/dist/scw/errors/standard/too-many-requests-error.cjs +59 -0
  752. package/dist/scw/errors/standard/too-many-requests-error.d.ts +32 -0
  753. package/dist/scw/errors/standard/too-many-requests-error.js +20 -31
  754. package/dist/scw/errors/standard/transient-state-error.cjs +31 -0
  755. package/dist/scw/errors/standard/transient-state-error.d.ts +16 -0
  756. package/dist/scw/errors/standard/transient-state-error.js +18 -13
  757. package/dist/scw/errors/types.cjs +15 -0
  758. package/dist/scw/errors/types.d.ts +9 -0
  759. package/dist/scw/errors/types.js +6 -14
  760. package/dist/scw/fetch/build-fetcher.cjs +60 -0
  761. package/dist/scw/fetch/build-fetcher.d.ts +23 -0
  762. package/dist/scw/fetch/build-fetcher.js +29 -38
  763. package/dist/scw/fetch/http-dumper.cjs +20 -0
  764. package/dist/scw/fetch/http-dumper.d.ts +18 -0
  765. package/dist/scw/fetch/http-dumper.js +19 -50
  766. package/dist/scw/fetch/http-interceptors.cjs +43 -0
  767. package/dist/scw/fetch/http-interceptors.d.ts +38 -0
  768. package/dist/scw/fetch/http-interceptors.js +23 -66
  769. package/dist/scw/fetch/resource-paginator.cjs +37 -0
  770. package/dist/scw/fetch/resource-paginator.d.ts +47 -0
  771. package/dist/scw/fetch/resource-paginator.js +12 -45
  772. package/dist/scw/fetch/response-parser.cjs +57 -0
  773. package/dist/scw/fetch/response-parser.d.ts +25 -0
  774. package/dist/scw/fetch/response-parser.js +31 -46
  775. package/dist/scw/fetch/types.d.ts +16 -0
  776. package/dist/scw/locality.d.ts +2 -0
  777. package/package.json +7 -3
  778. package/dist/node_modules/.pnpm/@scaleway_random-name@4.0.3/node_modules/@scaleway/random-name/dist/index.js +0 -11
@@ -0,0 +1,1404 @@
1
+ import type { Region, TimeSeries, Zone } from '../../../bridge';
2
+ export type ACLRuleAction = 'allow' | 'deny';
3
+ export type ACLRuleDirection = 'inbound' | 'outbound';
4
+ export type ACLRuleProtocol = 'tcp' | 'udp' | 'icmp';
5
+ export type DatabaseBackupStatus = 'unknown' | 'creating' | 'ready' | 'restoring' | 'deleting' | 'error' | 'exporting' | 'locked';
6
+ export type EndpointPrivateNetworkDetailsProvisioningMode = 'static' | 'ipam';
7
+ export type EngineSettingPropertyType = 'BOOLEAN' | 'INT' | 'STRING' | 'FLOAT';
8
+ export type InstanceLogStatus = 'unknown' | 'ready' | 'creating' | 'error';
9
+ export type InstanceStatus = 'unknown' | 'ready' | 'provisioning' | 'configuring' | 'deleting' | 'error' | 'autohealing' | 'locked' | 'initializing' | 'disk_full' | 'backuping' | 'snapshotting' | 'restarting';
10
+ export type ListDatabaseBackupsRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'name_asc' | 'name_desc' | 'status_asc' | 'status_desc';
11
+ export type ListDatabasesRequestOrderBy = 'name_asc' | 'name_desc' | 'size_asc' | 'size_desc';
12
+ export type ListInstanceLogsRequestOrderBy = 'created_at_asc' | 'created_at_desc';
13
+ export type ListInstancesRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'name_asc' | 'name_desc' | 'region' | 'status_asc' | 'status_desc';
14
+ export type ListPrivilegesRequestOrderBy = 'user_name_asc' | 'user_name_desc' | 'database_name_asc' | 'database_name_desc';
15
+ export type ListSnapshotsRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'name_asc' | 'name_desc' | 'expires_at_asc' | 'expires_at_desc';
16
+ export type ListUsersRequestOrderBy = 'name_asc' | 'name_desc' | 'is_admin_asc' | 'is_admin_desc';
17
+ export type MaintenanceStatus = 'unknown' | 'pending' | 'done' | 'canceled' | 'ongoing';
18
+ export type NodeTypeGeneration = 'unknown_generation' | 'generation_v1' | 'generation_v2';
19
+ export type NodeTypeStock = 'unknown' | 'low_stock' | 'out_of_stock' | 'available';
20
+ export type Permission = 'readonly' | 'readwrite' | 'all' | 'custom' | 'none';
21
+ export type ReadReplicaStatus = 'unknown' | 'provisioning' | 'initializing' | 'ready' | 'deleting' | 'error' | 'locked' | 'configuring' | 'promoting';
22
+ export type SnapshotStatus = 'unknown' | 'creating' | 'ready' | 'restoring' | 'deleting' | 'error' | 'locked';
23
+ export type StorageClass = 'unknown_storage_class' | 'lssd' | 'bssd' | 'sbs';
24
+ export type VolumeType = 'lssd' | 'bssd' | 'sbs_5k' | 'sbs_15k';
25
+ export interface EndpointDirectAccessDetails {
26
+ }
27
+ export interface EndpointLoadBalancerDetails {
28
+ }
29
+ export interface EndpointPrivateNetworkDetails {
30
+ /** UUID of the private network. */
31
+ privateNetworkId: string;
32
+ /** CIDR notation of the endpoint IPv4 address. */
33
+ serviceIp: string;
34
+ /** Private network zone. */
35
+ zone: Zone;
36
+ /** How endpoint ips are provisioned. */
37
+ provisioningMode: EndpointPrivateNetworkDetailsProvisioningMode;
38
+ }
39
+ export interface EndpointSpecPrivateNetworkIpamConfig {
40
+ }
41
+ export interface ReadReplicaEndpointSpecPrivateNetworkIpamConfig {
42
+ }
43
+ export interface EngineSetting {
44
+ /** Setting name from the database engine. */
45
+ name: string;
46
+ /** Value set when not specified. */
47
+ defaultValue: string;
48
+ /** Setting can be applied without restarting. */
49
+ hotConfigurable: boolean;
50
+ /** Setting description. */
51
+ description: string;
52
+ /** Setting type. */
53
+ propertyType: EngineSettingPropertyType;
54
+ /** Setting base unit. */
55
+ unit?: string;
56
+ /** Validation regex for string type settings. */
57
+ stringConstraint?: string;
58
+ /** Minimum value for int types. */
59
+ intMin?: number;
60
+ /** Maximum value for int types. */
61
+ intMax?: number;
62
+ /** Minimum value for float types. */
63
+ floatMin?: number;
64
+ /** Maximum value for float types. */
65
+ floatMax?: number;
66
+ }
67
+ export interface Endpoint {
68
+ /** UUID of the endpoint. */
69
+ id: string;
70
+ /**
71
+ * IPv4 address of the endpoint.
72
+ *
73
+ * One-of ('address'): at most one of 'ip', 'hostname' could be set.
74
+ */
75
+ ip?: string;
76
+ /** TCP port of the endpoint. */
77
+ port: number;
78
+ /** Name of the endpoint. */
79
+ name?: string;
80
+ /**
81
+ * Private Network details. One maximum per Database Instance or Read Replica
82
+ * (a Database Instance and its Read Replica can have different Private
83
+ * Networks). Cannot be updated (has to be deleted and recreated).
84
+ *
85
+ * One-of ('details'): at most one of 'privateNetwork', 'loadBalancer',
86
+ * 'directAccess' could be set.
87
+ */
88
+ privateNetwork?: EndpointPrivateNetworkDetails;
89
+ /**
90
+ * Load balancer details. Public endpoint for Database Instance which is
91
+ * systematically present. One per Database Instance.
92
+ *
93
+ * One-of ('details'): at most one of 'privateNetwork', 'loadBalancer',
94
+ * 'directAccess' could be set.
95
+ */
96
+ loadBalancer?: EndpointLoadBalancerDetails;
97
+ /**
98
+ * Direct access details. Public endpoint reserved for Read Replicas. One per
99
+ * Read Replica.
100
+ *
101
+ * One-of ('details'): at most one of 'privateNetwork', 'loadBalancer',
102
+ * 'directAccess' could be set.
103
+ */
104
+ directAccess?: EndpointDirectAccessDetails;
105
+ /**
106
+ * Hostname of the endpoint.
107
+ *
108
+ * One-of ('address'): at most one of 'ip', 'hostname' could be set.
109
+ */
110
+ hostname?: string;
111
+ }
112
+ export interface EndpointSpecLoadBalancer {
113
+ }
114
+ export interface EndpointSpecPrivateNetwork {
115
+ /** UUID of the Private Network to be connected to the Database Instance. */
116
+ privateNetworkId: string;
117
+ /**
118
+ * Endpoint IPv4 address with a CIDR notation. Refer to the official Scaleway
119
+ * documentation to learn more about IP and subnet limitations.
120
+ *
121
+ * One-of ('config'): at most one of 'serviceIp', 'ipamConfig' could be set.
122
+ */
123
+ serviceIp?: string;
124
+ /**
125
+ * Automated configuration of your Private Network endpoint with Scaleway IPAM
126
+ * service. One at the most per Database Instance or Read Replica (a Database
127
+ * Instance and its Read Replica can have different Private Networks). Cannot
128
+ * be updated (has to be deleted and recreated).
129
+ *
130
+ * One-of ('config'): at most one of 'serviceIp', 'ipamConfig' could be set.
131
+ */
132
+ ipamConfig?: EndpointSpecPrivateNetworkIpamConfig;
133
+ }
134
+ export interface ReadReplicaEndpointSpecDirectAccess {
135
+ }
136
+ export interface ReadReplicaEndpointSpecPrivateNetwork {
137
+ /** UUID of the Private Network to be connected to the Read Replica. */
138
+ privateNetworkId: string;
139
+ /**
140
+ * Endpoint IPv4 address with a CIDR notation. Refer to the official Scaleway
141
+ * documentation to learn more about IP and subnet limitations.
142
+ *
143
+ * One-of ('config'): at most one of 'serviceIp', 'ipamConfig' could be set.
144
+ */
145
+ serviceIp?: string;
146
+ /**
147
+ * Automated configuration of your Private Network endpoint with Scaleway IPAM
148
+ * service. One at the most per Database Instance or Read Replica (a Database
149
+ * Instance and its Read Replica can have different private networks). Cannot
150
+ * be updated (has to be deleted and recreated).
151
+ *
152
+ * One-of ('config'): at most one of 'serviceIp', 'ipamConfig' could be set.
153
+ */
154
+ ipamConfig?: ReadReplicaEndpointSpecPrivateNetworkIpamConfig;
155
+ }
156
+ export interface EngineVersion {
157
+ /** Database engine version. */
158
+ version: string;
159
+ /** Database engine name. */
160
+ name: string;
161
+ /** End of life date. */
162
+ endOfLife?: Date;
163
+ /** Engine settings available to be set. */
164
+ availableSettings: EngineSetting[];
165
+ /** Disabled versions cannot be created. */
166
+ disabled: boolean;
167
+ /** Beta status of engine version. */
168
+ beta: boolean;
169
+ /** Engine settings available to be set at database initialization. */
170
+ availableInitSettings: EngineSetting[];
171
+ }
172
+ export interface BackupSchedule {
173
+ /** Frequency of the backup schedule (in hours). */
174
+ frequency: number;
175
+ /** Default retention period of backups (in days). */
176
+ retention: number;
177
+ /** Defines whether the backup schedule feature is disabled. */
178
+ disabled: boolean;
179
+ /** Next run of the backup schedule (accurate to 10 minutes). */
180
+ nextRunAt?: Date;
181
+ }
182
+ export interface InstanceSetting {
183
+ name: string;
184
+ value: string;
185
+ }
186
+ export interface LogsPolicy {
187
+ /** Max age (in days) of remote logs to keep on the Database Instance. */
188
+ maxAgeRetention?: number;
189
+ /** Max disk size of remote logs to keep on the Database Instance. */
190
+ totalDiskRetention?: number;
191
+ }
192
+ export interface Maintenance {
193
+ /** Start date of the maintenance window. */
194
+ startsAt?: Date;
195
+ /** End date of the maintenance window. */
196
+ stopsAt?: Date;
197
+ /** Closed maintenance date. */
198
+ closedAt?: Date;
199
+ /** Maintenance information message. */
200
+ reason: string;
201
+ /** Status of the maintenance. */
202
+ status: MaintenanceStatus;
203
+ /** Time when Scaleway-side maintenance will be applied. */
204
+ forcedAt?: Date;
205
+ }
206
+ export interface ReadReplica {
207
+ /** UUID of the Read Replica. */
208
+ id: string;
209
+ /** Display Read Replica connection information. */
210
+ endpoints: Endpoint[];
211
+ /** Read replica status. */
212
+ status: ReadReplicaStatus;
213
+ /** Region the Read Replica is in. */
214
+ region: Region;
215
+ /**
216
+ * Whether the replica is in the same availability zone as the main instance
217
+ * nodes or not.
218
+ */
219
+ sameZone: boolean;
220
+ /** UUID of the Database Instance. */
221
+ instanceId: string;
222
+ }
223
+ export interface UpgradableVersion {
224
+ id: string;
225
+ name: string;
226
+ version: string;
227
+ minorVersion: string;
228
+ }
229
+ export interface Volume {
230
+ type: VolumeType;
231
+ size: number;
232
+ class: StorageClass;
233
+ }
234
+ export interface NodeTypeVolumeConstraintSizes {
235
+ /** [deprecated] Mimimum size required for the Volume. */
236
+ minSize: number;
237
+ /** [deprecated] Maximum size required for the Volume. */
238
+ maxSize: number;
239
+ }
240
+ export interface NodeTypeVolumeType {
241
+ /** Volume Type. */
242
+ type: VolumeType;
243
+ /** The description of the Volume. */
244
+ description: string;
245
+ /** Mimimum size required for the Volume. */
246
+ minSize: number;
247
+ /** Maximum size required for the Volume. */
248
+ maxSize: number;
249
+ /** Minimum increment level for a Block Storage volume size. */
250
+ chunkSize: number;
251
+ /** The storage class of the volume. */
252
+ class: StorageClass;
253
+ }
254
+ export interface SnapshotVolumeType {
255
+ type: VolumeType;
256
+ class: StorageClass;
257
+ }
258
+ export interface ACLRuleRequest {
259
+ ip: string;
260
+ description: string;
261
+ }
262
+ export interface ACLRule {
263
+ ip: string;
264
+ /** @deprecated */
265
+ port?: number;
266
+ protocol: ACLRuleProtocol;
267
+ direction: ACLRuleDirection;
268
+ action: ACLRuleAction;
269
+ description: string;
270
+ }
271
+ export interface EndpointSpec {
272
+ /**
273
+ * Load balancer endpoint specifications. Public endpoint for Database
274
+ * Instance which is systematically present. One per RDB instance.
275
+ *
276
+ * One-of ('spec'): at most one of 'loadBalancer', 'privateNetwork' could be
277
+ * set.
278
+ */
279
+ loadBalancer?: EndpointSpecLoadBalancer;
280
+ /**
281
+ * Private Network endpoint specifications. One maximum per Database Instance
282
+ * or Read Replica (a Database Instance and its Read Replica can have
283
+ * different Private Networks). Cannot be updated (has to be deleted and
284
+ * recreated).
285
+ *
286
+ * One-of ('spec'): at most one of 'loadBalancer', 'privateNetwork' could be
287
+ * set.
288
+ */
289
+ privateNetwork?: EndpointSpecPrivateNetwork;
290
+ }
291
+ export interface ReadReplicaEndpointSpec {
292
+ /**
293
+ * Direct access endpoint specifications. Public endpoint reserved for Read
294
+ * Replicas. One per Read Replica.
295
+ *
296
+ * One-of ('spec'): at most one of 'directAccess', 'privateNetwork' could be
297
+ * set.
298
+ */
299
+ directAccess?: ReadReplicaEndpointSpecDirectAccess;
300
+ /**
301
+ * Private Network endpoint specifications. One at the most per Read Replica.
302
+ * Cannot be updated (has to be deleted and recreated).
303
+ *
304
+ * One-of ('spec'): at most one of 'directAccess', 'privateNetwork' could be
305
+ * set.
306
+ */
307
+ privateNetwork?: ReadReplicaEndpointSpecPrivateNetwork;
308
+ }
309
+ export interface DatabaseBackup {
310
+ /** UUID of the database backup. */
311
+ id: string;
312
+ /** UUID of the Database Instance. */
313
+ instanceId: string;
314
+ /** Name of backed up database. */
315
+ databaseName: string;
316
+ /** Name of the backup. */
317
+ name: string;
318
+ /** Status of the backup. */
319
+ status: DatabaseBackupStatus;
320
+ /** Size of the database backup. */
321
+ size?: number;
322
+ /** Expiration date (must follow the ISO 8601 format). */
323
+ expiresAt?: Date;
324
+ /** Creation date (must follow the ISO 8601 format). */
325
+ createdAt?: Date;
326
+ /** Updated date (must follow the ISO 8601 format). */
327
+ updatedAt?: Date;
328
+ /** Name of the Database Instance of the backup. */
329
+ instanceName: string;
330
+ /** URL you can download the backup from. */
331
+ downloadUrl?: string;
332
+ /** Expiration date of the download link. */
333
+ downloadUrlExpiresAt?: Date;
334
+ /** Region of the database backup. */
335
+ region: Region;
336
+ /** Store logical backups in the same region as the source Database Instance. */
337
+ sameRegion: boolean;
338
+ }
339
+ export interface DatabaseEngine {
340
+ /** Engine name. */
341
+ name: string;
342
+ /** Engine logo URL. */
343
+ logoUrl: string;
344
+ /** Available versions. */
345
+ versions: EngineVersion[];
346
+ /** Region of this Database Instance. */
347
+ region: Region;
348
+ }
349
+ export interface Database {
350
+ /** Name of the database. */
351
+ name: string;
352
+ /** Name of the database owner. */
353
+ owner: string;
354
+ /** Defines whether the database is managed or not. */
355
+ managed: boolean;
356
+ /** Size of the database. */
357
+ size: number;
358
+ }
359
+ export interface ListInstanceLogsDetailsResponseInstanceLogDetail {
360
+ logName: string;
361
+ size: number;
362
+ }
363
+ export interface InstanceLog {
364
+ /** Presigned S3 URL to download your log file. */
365
+ downloadUrl?: string;
366
+ /** UUID of the Database Instance log. */
367
+ id: string;
368
+ /** Status of the logs in a Database Instance. */
369
+ status: InstanceLogStatus;
370
+ /** Name of the underlying node. */
371
+ nodeName: string;
372
+ /** Expiration date (must follow the ISO 8601 format). */
373
+ expiresAt?: Date;
374
+ /** Creation date (must follow the ISO 8601 format). */
375
+ createdAt?: Date;
376
+ /** Region the Database Instance is in. */
377
+ region: Region;
378
+ }
379
+ export interface Instance {
380
+ /** Creation date (must follow the ISO 8601 format). */
381
+ createdAt?: Date;
382
+ /** Volumes of the Database Instance. */
383
+ volume?: Volume;
384
+ /** Region the Database Instance is in. */
385
+ region: Region;
386
+ /** UUID of the Database Instance. */
387
+ id: string;
388
+ /** Name of the Database Instance. */
389
+ name: string;
390
+ /** Organization ID the Database Instance belongs to. */
391
+ organizationId: string;
392
+ /** Project ID the Database Instance belongs to. */
393
+ projectId: string;
394
+ /** Status of the Database Instance. */
395
+ status: InstanceStatus;
396
+ /** Database engine of the database (PostgreSQL, MySQL, ...). */
397
+ engine: string;
398
+ /** Available database engine versions for upgrade. */
399
+ upgradableVersion: UpgradableVersion[];
400
+ /** @deprecated Endpoint of the Database Instance. */
401
+ endpoint?: Endpoint;
402
+ /** List of tags applied to the Database Instance. */
403
+ tags: string[];
404
+ /** Advanced settings of the Database Instance. */
405
+ settings: InstanceSetting[];
406
+ /** Backup schedule of the Database Instance. */
407
+ backupSchedule?: BackupSchedule;
408
+ /** Defines whether or not High-Availability is enabled. */
409
+ isHaCluster: boolean;
410
+ /** Read Replicas of the Database Instance. */
411
+ readReplicas: ReadReplica[];
412
+ /** Node type of the Database Instance. */
413
+ nodeType: string;
414
+ /** List of engine settings to be set at database initialization. */
415
+ initSettings: InstanceSetting[];
416
+ /** List of Database Instance endpoints. */
417
+ endpoints: Endpoint[];
418
+ /** Logs policy of the Database Instance. */
419
+ logsPolicy?: LogsPolicy;
420
+ /** Store logical backups in the same region as the Database Instance. */
421
+ backupSameRegion: boolean;
422
+ /** List of Database Instance maintenance events. */
423
+ maintenances: Maintenance[];
424
+ }
425
+ export interface NodeType {
426
+ /** Node Type name identifier. */
427
+ name: string;
428
+ /** Current stock status for the Node Type. */
429
+ stockStatus: NodeTypeStock;
430
+ /** Current specs of the offer. */
431
+ description: string;
432
+ /** Number of virtual CPUs. */
433
+ vcpus: number;
434
+ /** Quantity of RAM. */
435
+ memory: number;
436
+ /** @deprecated {undefined} Deprecated Node Type volume constraints. */
437
+ volumeConstraint?: NodeTypeVolumeConstraintSizes;
438
+ /** @deprecated The Node Type is compliant with Block Storage. */
439
+ isBssdCompatible?: boolean;
440
+ /** The Node Type is currently disabled. */
441
+ disabled: boolean;
442
+ /** The Node Type is currently in beta. */
443
+ beta: boolean;
444
+ /** Available storage options for the Node Type. */
445
+ availableVolumeTypes: NodeTypeVolumeType[];
446
+ /** The Node Type can be used only with high availability option. */
447
+ isHaRequired: boolean;
448
+ /** Generation associated with the NodeType offer. */
449
+ generation: NodeTypeGeneration;
450
+ /** Instance range associated with the NodeType offer. */
451
+ instanceRange: string;
452
+ /** Region the Node Type is in. */
453
+ region: Region;
454
+ }
455
+ export interface Privilege {
456
+ /** Permission (Read, Read/Write, All, Custom). */
457
+ permission: Permission;
458
+ /** Name of the database. */
459
+ databaseName: string;
460
+ /** Name of the user. */
461
+ userName: string;
462
+ }
463
+ export interface Snapshot {
464
+ /** UUID of the snapshot. */
465
+ id: string;
466
+ /** UUID of the Database Instance. */
467
+ instanceId: string;
468
+ /** Name of the snapshot. */
469
+ name: string;
470
+ /** Status of the snapshot. */
471
+ status: SnapshotStatus;
472
+ /** Size of the snapshot. */
473
+ size?: number;
474
+ /** Expiration date (must follow the ISO 8601 format). */
475
+ expiresAt?: Date;
476
+ /** Creation date (must follow the ISO 8601 format). */
477
+ createdAt?: Date;
478
+ /** Updated date (must follow the ISO 8601 format). */
479
+ updatedAt?: Date;
480
+ /** Name of the Database Instance of the snapshot. */
481
+ instanceName: string;
482
+ /** Source node type. */
483
+ nodeType: string;
484
+ /** Type of volume where data is stored (lssd, bssd or sbs). */
485
+ volumeType?: SnapshotVolumeType;
486
+ /** Region of this snapshot. */
487
+ region: Region;
488
+ }
489
+ export interface User {
490
+ /**
491
+ * Name of the user (Length must be between 1 and 63 characters for PostgreSQL
492
+ * and between 1 and 32 characters for MySQL. First character must be an
493
+ * alphabet character (a-zA-Z). Your username cannot start with '_rdb' or in
494
+ * PostgreSQL, 'pg_'. Only a-zA-Z0-9_$- characters are accepted).
495
+ */
496
+ name: string;
497
+ /**
498
+ * Defines whether or not a user got administrative privileges on the Database
499
+ * Instance.
500
+ */
501
+ isAdmin: boolean;
502
+ }
503
+ export interface UpgradeInstanceRequestMajorUpgradeWorkflow {
504
+ /**
505
+ * This will create a new Database Instance with same specifications as the
506
+ * current one and perform a Database Engine upgrade.
507
+ */
508
+ upgradableVersionId: string;
509
+ /**
510
+ * At the end of the migration procedure this option let you migrate all your
511
+ * database endpoint to the upgraded instance.
512
+ */
513
+ withEndpoints: boolean;
514
+ }
515
+ export type AddInstanceACLRulesRequest = {
516
+ /**
517
+ * Region to target. If none is passed will use default region from the
518
+ * config.
519
+ */
520
+ region?: Region;
521
+ /** UUID of the Database Instance you want to add ACL rules to. */
522
+ instanceId: string;
523
+ /** ACL rules to add to the Database Instance. */
524
+ rules: ACLRuleRequest[];
525
+ };
526
+ export interface AddInstanceACLRulesResponse {
527
+ /** ACL Rules enabled for the Database Instance. */
528
+ rules: ACLRule[];
529
+ }
530
+ export type AddInstanceSettingsRequest = {
531
+ /**
532
+ * Region to target. If none is passed will use default region from the
533
+ * config.
534
+ */
535
+ region?: Region;
536
+ /** UUID of the Database Instance you want to add settings to. */
537
+ instanceId: string;
538
+ /** Settings to add to the Database Instance. */
539
+ settings: InstanceSetting[];
540
+ };
541
+ export interface AddInstanceSettingsResponse {
542
+ /** Settings available on the Database Instance. */
543
+ settings: InstanceSetting[];
544
+ }
545
+ export type ApplyInstanceMaintenanceRequest = {
546
+ /**
547
+ * Region to target. If none is passed will use default region from the
548
+ * config.
549
+ */
550
+ region?: Region;
551
+ /** UUID of the Database Instance you want to apply maintenance. */
552
+ instanceId: string;
553
+ };
554
+ export type CloneInstanceRequest = {
555
+ /**
556
+ * Region to target. If none is passed will use default region from the
557
+ * config.
558
+ */
559
+ region?: Region;
560
+ /** UUID of the Database Instance you want to clone. */
561
+ instanceId: string;
562
+ /** Name of the Database Instance clone. */
563
+ name: string;
564
+ /** Node type of the clone. */
565
+ nodeType?: string;
566
+ };
567
+ export type CreateDatabaseBackupRequest = {
568
+ /**
569
+ * Region to target. If none is passed will use default region from the
570
+ * config.
571
+ */
572
+ region?: Region;
573
+ /** UUID of the Database Instance. */
574
+ instanceId: string;
575
+ /** Name of the database you want to back up. */
576
+ databaseName: string;
577
+ /** Name of the backup. */
578
+ name?: string;
579
+ /** Expiration date (must follow the ISO 8601 format). */
580
+ expiresAt?: Date;
581
+ };
582
+ export type CreateDatabaseRequest = {
583
+ /**
584
+ * Region to target. If none is passed will use default region from the
585
+ * config.
586
+ */
587
+ region?: Region;
588
+ /** UUID of the Database Instance where to create the database. */
589
+ instanceId: string;
590
+ /** Name of the database. */
591
+ name: string;
592
+ };
593
+ export type CreateEndpointRequest = {
594
+ /**
595
+ * Region to target. If none is passed will use default region from the
596
+ * config.
597
+ */
598
+ region?: Region;
599
+ /** UUID of the Database Instance you to which you want to add an endpoint. */
600
+ instanceId: string;
601
+ /** Specification of the endpoint you want to create. */
602
+ endpointSpec?: EndpointSpec;
603
+ };
604
+ export type CreateInstanceFromSnapshotRequest = {
605
+ /**
606
+ * Region to target. If none is passed will use default region from the
607
+ * config.
608
+ */
609
+ region?: Region;
610
+ /** Block snapshot of the Database Instance. */
611
+ snapshotId: string;
612
+ /** Name of the Database Instance created with the snapshot. */
613
+ instanceName: string;
614
+ /**
615
+ * Defines whether or not High-Availability is enabled on the new Database
616
+ * Instance.
617
+ */
618
+ isHaCluster?: boolean;
619
+ /** The node type used to restore the snapshot. */
620
+ nodeType?: string;
621
+ };
622
+ export type CreateInstanceRequest = {
623
+ /**
624
+ * Region to target. If none is passed will use default region from the
625
+ * config.
626
+ */
627
+ region?: Region;
628
+ /**
629
+ * @deprecated Please use project_id instead.
630
+ *
631
+ * One-of ('projectIdentifier'): at most one of 'projectId', 'organizationId'
632
+ * could be set.
633
+ */
634
+ organizationId?: string;
635
+ /**
636
+ * The Project ID on which the Database Instance will be created.
637
+ *
638
+ * One-of ('projectIdentifier'): at most one of 'projectId', 'organizationId'
639
+ * could be set.
640
+ */
641
+ projectId?: string;
642
+ /** Name of the Database Instance. */
643
+ name?: string;
644
+ /** Database engine of the Database Instance (PostgreSQL, MySQL, ...). */
645
+ engine: string;
646
+ /** Username created when the Database Instance is created. */
647
+ userName: string;
648
+ /** Password of the user. */
649
+ password: string;
650
+ /** Type of node to use for the Database Instance. */
651
+ nodeType: string;
652
+ /** Defines whether or not High-Availability is enabled. */
653
+ isHaCluster: boolean;
654
+ /** Defines whether or not backups are disabled. */
655
+ disableBackup: boolean;
656
+ /** Tags to apply to the Database Instance. */
657
+ tags?: string[];
658
+ /** List of engine settings to be set upon Database Instance initialization. */
659
+ initSettings?: InstanceSetting[];
660
+ /** Type of volume where data is stored (lssd, bssd, ...). */
661
+ volumeType?: VolumeType;
662
+ /** Volume size when volume_type is not lssd. */
663
+ volumeSize: number;
664
+ /**
665
+ * One or multiple EndpointSpec used to expose your Database Instance. A
666
+ * load_balancer public endpoint is systematically created.
667
+ */
668
+ initEndpoints?: EndpointSpec[];
669
+ /**
670
+ * Defines whether to or not to store logical backups in the same region as
671
+ * the Database Instance.
672
+ */
673
+ backupSameRegion: boolean;
674
+ };
675
+ export type CreateReadReplicaEndpointRequest = {
676
+ /**
677
+ * Region to target. If none is passed will use default region from the
678
+ * config.
679
+ */
680
+ region?: Region;
681
+ /** UUID of the Read Replica. */
682
+ readReplicaId: string;
683
+ /** Specification of the endpoint you want to create. */
684
+ endpointSpec: ReadReplicaEndpointSpec[];
685
+ };
686
+ export type CreateReadReplicaRequest = {
687
+ /**
688
+ * Region to target. If none is passed will use default region from the
689
+ * config.
690
+ */
691
+ region?: Region;
692
+ /** UUID of the Database Instance you want to create a Read Replica from. */
693
+ instanceId: string;
694
+ /** Specification of the endpoint you want to create. */
695
+ endpointSpec?: ReadReplicaEndpointSpec[];
696
+ /**
697
+ * Defines whether to create the replica in the same availability zone as the
698
+ * main instance nodes or not.
699
+ */
700
+ sameZone?: boolean;
701
+ };
702
+ export type CreateSnapshotRequest = {
703
+ /**
704
+ * Region to target. If none is passed will use default region from the
705
+ * config.
706
+ */
707
+ region?: Region;
708
+ /** UUID of the Database Instance. */
709
+ instanceId: string;
710
+ /** Name of the snapshot. */
711
+ name?: string;
712
+ /** Expiration date (must follow the ISO 8601 format). */
713
+ expiresAt?: Date;
714
+ };
715
+ export type CreateUserRequest = {
716
+ /**
717
+ * Region to target. If none is passed will use default region from the
718
+ * config.
719
+ */
720
+ region?: Region;
721
+ /** UUID of the Database Instance in which you want to create a user. */
722
+ instanceId: string;
723
+ /** Name of the user you want to create. */
724
+ name: string;
725
+ /** Password of the user you want to create. */
726
+ password: string;
727
+ /** Defines whether the user will have administrative privileges. */
728
+ isAdmin: boolean;
729
+ };
730
+ export type DeleteDatabaseBackupRequest = {
731
+ /**
732
+ * Region to target. If none is passed will use default region from the
733
+ * config.
734
+ */
735
+ region?: Region;
736
+ /** UUID of the database backup to delete. */
737
+ databaseBackupId: string;
738
+ };
739
+ export type DeleteDatabaseRequest = {
740
+ /**
741
+ * Region to target. If none is passed will use default region from the
742
+ * config.
743
+ */
744
+ region?: Region;
745
+ /** UUID of the Database Instance where to delete the database. */
746
+ instanceId: string;
747
+ /** Name of the database to delete. */
748
+ name: string;
749
+ };
750
+ export type DeleteEndpointRequest = {
751
+ /**
752
+ * Region to target. If none is passed will use default region from the
753
+ * config.
754
+ */
755
+ region?: Region;
756
+ /** This endpoint can also be used to delete a Read Replica endpoint. */
757
+ endpointId: string;
758
+ };
759
+ export type DeleteInstanceACLRulesRequest = {
760
+ /**
761
+ * Region to target. If none is passed will use default region from the
762
+ * config.
763
+ */
764
+ region?: Region;
765
+ /** UUID of the Database Instance you want to delete an ACL rule from. */
766
+ instanceId: string;
767
+ /** IP addresses defined in the ACL rules of the Database Instance. */
768
+ aclRuleIps: string[];
769
+ };
770
+ export interface DeleteInstanceACLRulesResponse {
771
+ /** IP addresses defined in the ACL rules of the Database Instance. */
772
+ rules: ACLRule[];
773
+ }
774
+ export type DeleteInstanceRequest = {
775
+ /**
776
+ * Region to target. If none is passed will use default region from the
777
+ * config.
778
+ */
779
+ region?: Region;
780
+ /** UUID of the Database Instance to delete. */
781
+ instanceId: string;
782
+ };
783
+ export type DeleteInstanceSettingsRequest = {
784
+ /**
785
+ * Region to target. If none is passed will use default region from the
786
+ * config.
787
+ */
788
+ region?: Region;
789
+ /** UUID of the Database Instance to delete settings from. */
790
+ instanceId: string;
791
+ /** Settings names to delete. */
792
+ settingNames: string[];
793
+ };
794
+ export interface DeleteInstanceSettingsResponse {
795
+ /** Settings names to delete from the Database Instance. */
796
+ settings: InstanceSetting[];
797
+ }
798
+ export type DeleteReadReplicaRequest = {
799
+ /**
800
+ * Region to target. If none is passed will use default region from the
801
+ * config.
802
+ */
803
+ region?: Region;
804
+ /** UUID of the Read Replica. */
805
+ readReplicaId: string;
806
+ };
807
+ export type DeleteSnapshotRequest = {
808
+ /**
809
+ * Region to target. If none is passed will use default region from the
810
+ * config.
811
+ */
812
+ region?: Region;
813
+ /** UUID of the snapshot to delete. */
814
+ snapshotId: string;
815
+ };
816
+ export type DeleteUserRequest = {
817
+ /**
818
+ * Region to target. If none is passed will use default region from the
819
+ * config.
820
+ */
821
+ region?: Region;
822
+ /** UUID of the Database Instance to delete the user from. */
823
+ instanceId: string;
824
+ /** Name of the user. */
825
+ name: string;
826
+ };
827
+ export type ExportDatabaseBackupRequest = {
828
+ /**
829
+ * Region to target. If none is passed will use default region from the
830
+ * config.
831
+ */
832
+ region?: Region;
833
+ /** UUID of the database backup you want to export. */
834
+ databaseBackupId: string;
835
+ };
836
+ export type GetDatabaseBackupRequest = {
837
+ /**
838
+ * Region to target. If none is passed will use default region from the
839
+ * config.
840
+ */
841
+ region?: Region;
842
+ /** UUID of the database backup. */
843
+ databaseBackupId: string;
844
+ };
845
+ export type GetEndpointRequest = {
846
+ /**
847
+ * Region to target. If none is passed will use default region from the
848
+ * config.
849
+ */
850
+ region?: Region;
851
+ /** UUID of the endpoint you want to get. */
852
+ endpointId: string;
853
+ };
854
+ export type GetInstanceCertificateRequest = {
855
+ /**
856
+ * Region to target. If none is passed will use default region from the
857
+ * config.
858
+ */
859
+ region?: Region;
860
+ /** UUID of the Database Instance. */
861
+ instanceId: string;
862
+ };
863
+ export type GetInstanceLogRequest = {
864
+ /**
865
+ * Region to target. If none is passed will use default region from the
866
+ * config.
867
+ */
868
+ region?: Region;
869
+ /** UUID of the instance_log you want. */
870
+ instanceLogId: string;
871
+ };
872
+ export type GetInstanceMetricsRequest = {
873
+ /**
874
+ * Region to target. If none is passed will use default region from the
875
+ * config.
876
+ */
877
+ region?: Region;
878
+ /** UUID of the Database Instance. */
879
+ instanceId: string;
880
+ /** Start date to gather metrics from. */
881
+ startDate?: Date;
882
+ /** End date to gather metrics from. */
883
+ endDate?: Date;
884
+ /** Name of the metric to gather. */
885
+ metricName?: string;
886
+ };
887
+ export type GetInstanceRequest = {
888
+ /**
889
+ * Region to target. If none is passed will use default region from the
890
+ * config.
891
+ */
892
+ region?: Region;
893
+ /** UUID of the Database Instance. */
894
+ instanceId: string;
895
+ };
896
+ export type GetReadReplicaRequest = {
897
+ /**
898
+ * Region to target. If none is passed will use default region from the
899
+ * config.
900
+ */
901
+ region?: Region;
902
+ /** UUID of the Read Replica. */
903
+ readReplicaId: string;
904
+ };
905
+ export type GetSnapshotRequest = {
906
+ /**
907
+ * Region to target. If none is passed will use default region from the
908
+ * config.
909
+ */
910
+ region?: Region;
911
+ /** UUID of the snapshot. */
912
+ snapshotId: string;
913
+ };
914
+ export interface InstanceMetrics {
915
+ /** Time series of metrics of a Database Instance. */
916
+ timeseries: TimeSeries[];
917
+ }
918
+ export type ListDatabaseBackupsRequest = {
919
+ /**
920
+ * Region to target. If none is passed will use default region from the
921
+ * config.
922
+ */
923
+ region?: Region;
924
+ /** Name of the database backups. */
925
+ name?: string;
926
+ /** Criteria to use when ordering database backups listing. */
927
+ orderBy?: ListDatabaseBackupsRequestOrderBy;
928
+ /** UUID of the Database Instance. */
929
+ instanceId?: string;
930
+ /** Organization ID of the Organization the database backups belong to. */
931
+ organizationId?: string;
932
+ /** Project ID of the Project the database backups belong to. */
933
+ projectId?: string;
934
+ page?: number;
935
+ pageSize?: number;
936
+ };
937
+ export interface ListDatabaseBackupsResponse {
938
+ /** List of database backups. */
939
+ databaseBackups: DatabaseBackup[];
940
+ /** Total count of database backups available. */
941
+ totalCount: number;
942
+ }
943
+ export type ListDatabaseEnginesRequest = {
944
+ /**
945
+ * Region to target. If none is passed will use default region from the
946
+ * config.
947
+ */
948
+ region?: Region;
949
+ /** Name of the database engine. */
950
+ name?: string;
951
+ /** Version of the database engine. */
952
+ version?: string;
953
+ page?: number;
954
+ pageSize?: number;
955
+ };
956
+ export interface ListDatabaseEnginesResponse {
957
+ /** List of the available database engines. */
958
+ engines: DatabaseEngine[];
959
+ /** Total count of database engines available. */
960
+ totalCount: number;
961
+ }
962
+ export type ListDatabasesRequest = {
963
+ /**
964
+ * Region to target. If none is passed will use default region from the
965
+ * config.
966
+ */
967
+ region?: Region;
968
+ /** UUID of the Database Instance to list the databases of. */
969
+ instanceId: string;
970
+ /** Name of the database. */
971
+ name?: string;
972
+ /** Defines whether or not the database is managed. */
973
+ managed?: boolean;
974
+ /** User that owns this database. */
975
+ owner?: string;
976
+ /** Criteria to use when ordering database listing. */
977
+ orderBy?: ListDatabasesRequestOrderBy;
978
+ page?: number;
979
+ pageSize?: number;
980
+ };
981
+ export interface ListDatabasesResponse {
982
+ /** List of the databases. */
983
+ databases: Database[];
984
+ /** Total count of databases present on a Database Instance. */
985
+ totalCount: number;
986
+ }
987
+ export type ListInstanceACLRulesRequest = {
988
+ /**
989
+ * Region to target. If none is passed will use default region from the
990
+ * config.
991
+ */
992
+ region?: Region;
993
+ /** UUID of the Database Instance. */
994
+ instanceId: string;
995
+ page?: number;
996
+ pageSize?: number;
997
+ };
998
+ export interface ListInstanceACLRulesResponse {
999
+ /** List of ACL rules present on a Database Instance. */
1000
+ rules: ACLRule[];
1001
+ /** Total count of ACL rules present on a Database Instance. */
1002
+ totalCount: number;
1003
+ }
1004
+ export type ListInstanceLogsDetailsRequest = {
1005
+ /**
1006
+ * Region to target. If none is passed will use default region from the
1007
+ * config.
1008
+ */
1009
+ region?: Region;
1010
+ /** UUID of the Database Instance you want logs of. */
1011
+ instanceId: string;
1012
+ };
1013
+ export interface ListInstanceLogsDetailsResponse {
1014
+ /** Remote Database Instance logs details. */
1015
+ details: ListInstanceLogsDetailsResponseInstanceLogDetail[];
1016
+ }
1017
+ export type ListInstanceLogsRequest = {
1018
+ /**
1019
+ * Region to target. If none is passed will use default region from the
1020
+ * config.
1021
+ */
1022
+ region?: Region;
1023
+ /** UUID of the Database Instance you want logs of. */
1024
+ instanceId: string;
1025
+ /** Criteria to use when ordering Database Instance logs listing. */
1026
+ orderBy?: ListInstanceLogsRequestOrderBy;
1027
+ };
1028
+ export interface ListInstanceLogsResponse {
1029
+ /** Available logs in a Database Instance. */
1030
+ instanceLogs: InstanceLog[];
1031
+ }
1032
+ export type ListInstancesRequest = {
1033
+ /**
1034
+ * Region to target. If none is passed will use default region from the
1035
+ * config.
1036
+ */
1037
+ region?: Region;
1038
+ /** List Database Instances that have a given tag. */
1039
+ tags?: string[];
1040
+ /** Lists Database Instances that match a name pattern. */
1041
+ name?: string;
1042
+ /** Criteria to use when ordering Database Instance listings. */
1043
+ orderBy?: ListInstancesRequestOrderBy;
1044
+ /** Please use project_id instead. */
1045
+ organizationId?: string;
1046
+ /** Project ID to list the Database Instance of. */
1047
+ projectId?: string;
1048
+ page?: number;
1049
+ pageSize?: number;
1050
+ };
1051
+ export interface ListInstancesResponse {
1052
+ /** List of all Database Instances available in an Organization or Project. */
1053
+ instances: Instance[];
1054
+ /** Total count of Database Instances available in a Organization or Project. */
1055
+ totalCount: number;
1056
+ }
1057
+ export type ListNodeTypesRequest = {
1058
+ /**
1059
+ * Region to target. If none is passed will use default region from the
1060
+ * config.
1061
+ */
1062
+ region?: Region;
1063
+ /** Defines whether or not to include disabled types. */
1064
+ includeDisabledTypes: boolean;
1065
+ page?: number;
1066
+ pageSize?: number;
1067
+ };
1068
+ export interface ListNodeTypesResponse {
1069
+ /** Types of the node. */
1070
+ nodeTypes: NodeType[];
1071
+ /** Total count of node-types available. */
1072
+ totalCount: number;
1073
+ }
1074
+ export type ListPrivilegesRequest = {
1075
+ /**
1076
+ * Region to target. If none is passed will use default region from the
1077
+ * config.
1078
+ */
1079
+ region?: Region;
1080
+ /** UUID of the Database Instance. */
1081
+ instanceId: string;
1082
+ /** Criteria to use when ordering privileges listing. */
1083
+ orderBy?: ListPrivilegesRequestOrderBy;
1084
+ page?: number;
1085
+ pageSize?: number;
1086
+ /** Name of the database. */
1087
+ databaseName?: string;
1088
+ /** Name of the user. */
1089
+ userName?: string;
1090
+ };
1091
+ export interface ListPrivilegesResponse {
1092
+ /** Privileges of a user in a database in a Database Instance. */
1093
+ privileges: Privilege[];
1094
+ /** Total count of privileges present on a database. */
1095
+ totalCount: number;
1096
+ }
1097
+ export type ListSnapshotsRequest = {
1098
+ /**
1099
+ * Region to target. If none is passed will use default region from the
1100
+ * config.
1101
+ */
1102
+ region?: Region;
1103
+ /** Name of the snapshot. */
1104
+ name?: string;
1105
+ /** Criteria to use when ordering snapshot listing. */
1106
+ orderBy?: ListSnapshotsRequestOrderBy;
1107
+ /** UUID of the Database Instance. */
1108
+ instanceId?: string;
1109
+ /** Organization ID the snapshots belongs to. */
1110
+ organizationId?: string;
1111
+ /** Project ID the snapshots belongs to. */
1112
+ projectId?: string;
1113
+ page?: number;
1114
+ pageSize?: number;
1115
+ };
1116
+ export interface ListSnapshotsResponse {
1117
+ /** List of snapshots. */
1118
+ snapshots: Snapshot[];
1119
+ /** Total count of snapshots available. */
1120
+ totalCount: number;
1121
+ }
1122
+ export type ListUsersRequest = {
1123
+ /**
1124
+ * Region to target. If none is passed will use default region from the
1125
+ * config.
1126
+ */
1127
+ region?: Region;
1128
+ /** UUID of the Database Instance. */
1129
+ instanceId: string;
1130
+ /** Name of the user. */
1131
+ name?: string;
1132
+ /** Criteria to use when requesting user listing. */
1133
+ orderBy?: ListUsersRequestOrderBy;
1134
+ page?: number;
1135
+ pageSize?: number;
1136
+ };
1137
+ export interface ListUsersResponse {
1138
+ /** List of users in a Database Instance. */
1139
+ users: User[];
1140
+ /** Total count of users present on a Database Instance. */
1141
+ totalCount: number;
1142
+ }
1143
+ export type MigrateEndpointRequest = {
1144
+ /**
1145
+ * Region to target. If none is passed will use default region from the
1146
+ * config.
1147
+ */
1148
+ region?: Region;
1149
+ /** UUID of the endpoint you want to migrate. */
1150
+ endpointId: string;
1151
+ /** UUID of the instance you want to attach the endpoint to. */
1152
+ instanceId: string;
1153
+ };
1154
+ export type PrepareInstanceLogsRequest = {
1155
+ /**
1156
+ * Region to target. If none is passed will use default region from the
1157
+ * config.
1158
+ */
1159
+ region?: Region;
1160
+ /** UUID of the Database Instance you want logs of. */
1161
+ instanceId: string;
1162
+ /** Start datetime of your log. (RFC 3339 format). */
1163
+ startDate?: Date;
1164
+ /** End datetime of your log. (RFC 3339 format). */
1165
+ endDate?: Date;
1166
+ };
1167
+ export interface PrepareInstanceLogsResponse {
1168
+ /** Instance logs for a Database Instance between a start and an end date. */
1169
+ instanceLogs: InstanceLog[];
1170
+ }
1171
+ export type PromoteReadReplicaRequest = {
1172
+ /**
1173
+ * Region to target. If none is passed will use default region from the
1174
+ * config.
1175
+ */
1176
+ region?: Region;
1177
+ /** UUID of the Read Replica. */
1178
+ readReplicaId: string;
1179
+ };
1180
+ export type PurgeInstanceLogsRequest = {
1181
+ /**
1182
+ * Region to target. If none is passed will use default region from the
1183
+ * config.
1184
+ */
1185
+ region?: Region;
1186
+ /** UUID of the Database Instance you want logs of. */
1187
+ instanceId: string;
1188
+ /** Given log name to purge. */
1189
+ logName?: string;
1190
+ };
1191
+ export type RenewInstanceCertificateRequest = {
1192
+ /**
1193
+ * Region to target. If none is passed will use default region from the
1194
+ * config.
1195
+ */
1196
+ region?: Region;
1197
+ /** UUID of the Database Instance you want logs of. */
1198
+ instanceId: string;
1199
+ };
1200
+ export type ResetReadReplicaRequest = {
1201
+ /**
1202
+ * Region to target. If none is passed will use default region from the
1203
+ * config.
1204
+ */
1205
+ region?: Region;
1206
+ /** UUID of the Read Replica. */
1207
+ readReplicaId: string;
1208
+ };
1209
+ export type RestartInstanceRequest = {
1210
+ /**
1211
+ * Region to target. If none is passed will use default region from the
1212
+ * config.
1213
+ */
1214
+ region?: Region;
1215
+ /** UUID of the Database Instance you want to restart. */
1216
+ instanceId: string;
1217
+ };
1218
+ export type RestoreDatabaseBackupRequest = {
1219
+ /**
1220
+ * Region to target. If none is passed will use default region from the
1221
+ * config.
1222
+ */
1223
+ region?: Region;
1224
+ /** Backup of a logical database. */
1225
+ databaseBackupId: string;
1226
+ /**
1227
+ * Defines the destination database to restore into a specified database (the
1228
+ * default destination is set to the origin database of the backup).
1229
+ */
1230
+ databaseName?: string;
1231
+ /** Defines the Database Instance where the backup has to be restored. */
1232
+ instanceId: string;
1233
+ };
1234
+ export type SetInstanceACLRulesRequest = {
1235
+ /**
1236
+ * Region to target. If none is passed will use default region from the
1237
+ * config.
1238
+ */
1239
+ region?: Region;
1240
+ /** UUID of the Database Instance where the ACL rules must be set. */
1241
+ instanceId: string;
1242
+ /** ACL rules to define for the Database Instance. */
1243
+ rules: ACLRuleRequest[];
1244
+ };
1245
+ export interface SetInstanceACLRulesResponse {
1246
+ /** ACLs rules configured for a Database Instance. */
1247
+ rules: ACLRule[];
1248
+ }
1249
+ export type SetInstanceSettingsRequest = {
1250
+ /**
1251
+ * Region to target. If none is passed will use default region from the
1252
+ * config.
1253
+ */
1254
+ region?: Region;
1255
+ /** UUID of the Database Instance where the settings must be set. */
1256
+ instanceId: string;
1257
+ /** Settings to define for the Database Instance. */
1258
+ settings: InstanceSetting[];
1259
+ };
1260
+ export interface SetInstanceSettingsResponse {
1261
+ /** Settings configured for a Database Instance. */
1262
+ settings: InstanceSetting[];
1263
+ }
1264
+ export type SetPrivilegeRequest = {
1265
+ /**
1266
+ * Region to target. If none is passed will use default region from the
1267
+ * config.
1268
+ */
1269
+ region?: Region;
1270
+ /** UUID of the Database Instance. */
1271
+ instanceId: string;
1272
+ /** Name of the database. */
1273
+ databaseName: string;
1274
+ /** Name of the user. */
1275
+ userName: string;
1276
+ /** Permission to set (Read, Read/Write, All, Custom). */
1277
+ permission?: Permission;
1278
+ };
1279
+ export type UpdateDatabaseBackupRequest = {
1280
+ /**
1281
+ * Region to target. If none is passed will use default region from the
1282
+ * config.
1283
+ */
1284
+ region?: Region;
1285
+ /** UUID of the database backup to update. */
1286
+ databaseBackupId: string;
1287
+ /** Name of the Database Backup. */
1288
+ name?: string;
1289
+ /** Expiration date (must follow the ISO 8601 format). */
1290
+ expiresAt?: Date;
1291
+ };
1292
+ export type UpdateInstanceRequest = {
1293
+ /**
1294
+ * Region to target. If none is passed will use default region from the
1295
+ * config.
1296
+ */
1297
+ region?: Region;
1298
+ /** UUID of the Database Instance to update. */
1299
+ instanceId: string;
1300
+ /** In hours. */
1301
+ backupScheduleFrequency?: number;
1302
+ /** In days. */
1303
+ backupScheduleRetention?: number;
1304
+ /** Defines whether or not the backup schedule is disabled. */
1305
+ isBackupScheduleDisabled?: boolean;
1306
+ /** Name of the Database Instance. */
1307
+ name?: string;
1308
+ /** Tags of a Database Instance. */
1309
+ tags?: string[];
1310
+ /** Logs policy of the Database Instance. */
1311
+ logsPolicy?: LogsPolicy;
1312
+ /** Store logical backups in the same region as the Database Instance. */
1313
+ backupSameRegion?: boolean;
1314
+ /** Defines the start time of the autobackup. */
1315
+ backupScheduleStartHour?: number;
1316
+ };
1317
+ export type UpdateSnapshotRequest = {
1318
+ /**
1319
+ * Region to target. If none is passed will use default region from the
1320
+ * config.
1321
+ */
1322
+ region?: Region;
1323
+ /** UUID of the snapshot to update. */
1324
+ snapshotId: string;
1325
+ /** Name of the snapshot. */
1326
+ name?: string;
1327
+ /** Expiration date (must follow the ISO 8601 format). */
1328
+ expiresAt?: Date;
1329
+ };
1330
+ export type UpdateUserRequest = {
1331
+ /**
1332
+ * Region to target. If none is passed will use default region from the
1333
+ * config.
1334
+ */
1335
+ region?: Region;
1336
+ /** UUID of the Database Instance the user belongs to. */
1337
+ instanceId: string;
1338
+ /** Name of the database user. */
1339
+ name: string;
1340
+ /** Password of the database user. */
1341
+ password?: string;
1342
+ /** Defines whether or not this user got administrative privileges. */
1343
+ isAdmin?: boolean;
1344
+ };
1345
+ export type UpgradeInstanceRequest = {
1346
+ /**
1347
+ * Region to target. If none is passed will use default region from the
1348
+ * config.
1349
+ */
1350
+ region?: Region;
1351
+ /** UUID of the Database Instance you want to upgrade. */
1352
+ instanceId: string;
1353
+ /**
1354
+ * Node type of the Database Instance you want to upgrade to.
1355
+ *
1356
+ * One-of ('upgradeTarget'): at most one of 'nodeType', 'enableHa',
1357
+ * 'volumeSize', 'volumeType', 'upgradableVersionId', 'majorUpgradeWorkflow'
1358
+ * could be set.
1359
+ */
1360
+ nodeType?: string;
1361
+ /**
1362
+ * Defines whether or not high availability should be enabled on the Database
1363
+ * Instance.
1364
+ *
1365
+ * One-of ('upgradeTarget'): at most one of 'nodeType', 'enableHa',
1366
+ * 'volumeSize', 'volumeType', 'upgradableVersionId', 'majorUpgradeWorkflow'
1367
+ * could be set.
1368
+ */
1369
+ enableHa?: boolean;
1370
+ /**
1371
+ * Increase your block storage volume size.
1372
+ *
1373
+ * One-of ('upgradeTarget'): at most one of 'nodeType', 'enableHa',
1374
+ * 'volumeSize', 'volumeType', 'upgradableVersionId', 'majorUpgradeWorkflow'
1375
+ * could be set.
1376
+ */
1377
+ volumeSize?: number;
1378
+ /**
1379
+ * Change your Database Instance storage type.
1380
+ *
1381
+ * One-of ('upgradeTarget'): at most one of 'nodeType', 'enableHa',
1382
+ * 'volumeSize', 'volumeType', 'upgradableVersionId', 'majorUpgradeWorkflow'
1383
+ * could be set.
1384
+ */
1385
+ volumeType?: VolumeType;
1386
+ /**
1387
+ * This will create a new Database Instance with same specifications as the
1388
+ * current one and perform a Database Engine upgrade.
1389
+ *
1390
+ * One-of ('upgradeTarget'): at most one of 'nodeType', 'enableHa',
1391
+ * 'volumeSize', 'volumeType', 'upgradableVersionId', 'majorUpgradeWorkflow'
1392
+ * could be set.
1393
+ */
1394
+ upgradableVersionId?: string;
1395
+ /**
1396
+ * Upgrade your database engine to a new major version including instance
1397
+ * endpoints.
1398
+ *
1399
+ * One-of ('upgradeTarget'): at most one of 'nodeType', 'enableHa',
1400
+ * 'volumeSize', 'volumeType', 'upgradableVersionId', 'majorUpgradeWorkflow'
1401
+ * could be set.
1402
+ */
1403
+ majorUpgradeWorkflow?: UpgradeInstanceRequestMajorUpgradeWorkflow;
1404
+ };