@scaleway/sdk 2.25.0 → 2.27.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 (774) 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 +119 -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 +65 -31
  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 +50 -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 +79 -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 +224 -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 +300 -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 +538 -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 +117 -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 +326 -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 +475 -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 +528 -0
  270. package/dist/api/instance/v1/api.gen.js +763 -445
  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 +115 -0
  309. package/dist/api/ipam/v1/api.gen.d.ts +57 -0
  310. package/dist/api/ipam/v1/api.gen.js +73 -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 +198 -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 +80 -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 +280 -0
  361. package/dist/api/k8s/v1/api.gen.js +324 -188
  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 +147 -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 +90 -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 +265 -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 +626 -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 +249 -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 +156 -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 +261 -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 +181 -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 +130 -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 +54 -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 +144 -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 +389 -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 +111 -0
  623. package/dist/api/webhosting/v1alpha1/api.gen.js +145 -75
  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 +92 -37
  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 -32034
  651. package/dist/index.d.ts +15 -38373
  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/errors/error-parser.cjs +76 -0
  705. package/dist/scw/errors/error-parser.d.ts +12 -0
  706. package/dist/scw/errors/error-parser.js +33 -64
  707. package/dist/scw/errors/non-standard/invalid-request-mapper.cjs +36 -0
  708. package/dist/scw/errors/non-standard/invalid-request-mapper.d.ts +12 -0
  709. package/dist/scw/errors/non-standard/invalid-request-mapper.js +26 -23
  710. package/dist/scw/errors/non-standard/unknown-resource-mapper.cjs +23 -0
  711. package/dist/scw/errors/non-standard/unknown-resource-mapper.d.ts +11 -0
  712. package/dist/scw/errors/non-standard/unknown-resource-mapper.js +16 -20
  713. package/dist/scw/errors/scw-error.cjs +43 -0
  714. package/dist/scw/errors/scw-error.d.ts +25 -0
  715. package/dist/scw/errors/scw-error.js +19 -35
  716. package/dist/scw/errors/standard/already-exists-error.cjs +31 -0
  717. package/dist/scw/errors/standard/already-exists-error.d.ts +16 -0
  718. package/dist/scw/errors/standard/already-exists-error.js +18 -13
  719. package/dist/scw/errors/standard/denied-authentication-error.cjs +37 -0
  720. package/dist/scw/errors/standard/denied-authentication-error.d.ts +15 -0
  721. package/dist/scw/errors/standard/denied-authentication-error.js +9 -24
  722. package/dist/scw/errors/standard/index.cjs +28 -0
  723. package/dist/scw/errors/standard/index.d.ts +17 -0
  724. package/dist/scw/errors/standard/index.js +28 -13
  725. package/dist/scw/errors/standard/invalid-arguments-error.cjs +55 -0
  726. package/dist/scw/errors/standard/invalid-arguments-error.d.ts +24 -0
  727. package/dist/scw/errors/standard/invalid-arguments-error.js +26 -38
  728. package/dist/scw/errors/standard/out-of-stock-error.cjs +18 -0
  729. package/dist/scw/errors/standard/out-of-stock-error.d.ts +14 -0
  730. package/dist/scw/errors/standard/out-of-stock-error.js +7 -11
  731. package/dist/scw/errors/standard/permissions-denied-error.cjs +30 -0
  732. package/dist/scw/errors/standard/permissions-denied-error.d.ts +23 -0
  733. package/dist/scw/errors/standard/permissions-denied-error.js +20 -35
  734. package/dist/scw/errors/standard/precondition-failed-error.cjs +32 -0
  735. package/dist/scw/errors/standard/precondition-failed-error.d.ts +15 -0
  736. package/dist/scw/errors/standard/precondition-failed-error.js +14 -24
  737. package/dist/scw/errors/standard/quotas-exceeded-error.cjs +44 -0
  738. package/dist/scw/errors/standard/quotas-exceeded-error.d.ts +34 -0
  739. package/dist/scw/errors/standard/quotas-exceeded-error.js +29 -53
  740. package/dist/scw/errors/standard/resource-expired-error.cjs +31 -0
  741. package/dist/scw/errors/standard/resource-expired-error.d.ts +16 -0
  742. package/dist/scw/errors/standard/resource-expired-error.js +18 -13
  743. package/dist/scw/errors/standard/resource-locked-error.cjs +20 -0
  744. package/dist/scw/errors/standard/resource-locked-error.d.ts +15 -0
  745. package/dist/scw/errors/standard/resource-locked-error.js +6 -11
  746. package/dist/scw/errors/standard/resource-not-found-error.cjs +24 -0
  747. package/dist/scw/errors/standard/resource-not-found-error.d.ts +15 -0
  748. package/dist/scw/errors/standard/resource-not-found-error.js +11 -12
  749. package/dist/scw/errors/standard/too-many-requests-error.cjs +59 -0
  750. package/dist/scw/errors/standard/too-many-requests-error.d.ts +32 -0
  751. package/dist/scw/errors/standard/too-many-requests-error.js +20 -31
  752. package/dist/scw/errors/standard/transient-state-error.cjs +31 -0
  753. package/dist/scw/errors/standard/transient-state-error.d.ts +16 -0
  754. package/dist/scw/errors/standard/transient-state-error.js +18 -13
  755. package/dist/scw/errors/types.cjs +15 -0
  756. package/dist/scw/errors/types.d.ts +9 -0
  757. package/dist/scw/errors/types.js +6 -14
  758. package/dist/scw/fetch/build-fetcher.cjs +60 -0
  759. package/dist/scw/fetch/build-fetcher.d.ts +23 -0
  760. package/dist/scw/fetch/build-fetcher.js +29 -38
  761. package/dist/scw/fetch/http-dumper.cjs +20 -0
  762. package/dist/scw/fetch/http-dumper.d.ts +18 -0
  763. package/dist/scw/fetch/http-dumper.js +19 -50
  764. package/dist/scw/fetch/http-interceptors.cjs +43 -0
  765. package/dist/scw/fetch/http-interceptors.d.ts +38 -0
  766. package/dist/scw/fetch/http-interceptors.js +23 -66
  767. package/dist/scw/fetch/resource-paginator.cjs +37 -0
  768. package/dist/scw/fetch/resource-paginator.d.ts +47 -0
  769. package/dist/scw/fetch/resource-paginator.js +12 -45
  770. package/dist/scw/fetch/response-parser.cjs +57 -0
  771. package/dist/scw/fetch/response-parser.d.ts +25 -0
  772. package/dist/scw/fetch/response-parser.js +31 -46
  773. package/package.json +7 -3
  774. package/dist/node_modules/.pnpm/@scaleway_random-name@4.0.3/node_modules/@scaleway/random-name/dist/index.js +0 -11
@@ -0,0 +1,1123 @@
1
+ import type { Region, Zone } from '../../../bridge';
2
+ export type AutoscalerEstimator = 'unknown_estimator' | 'binpacking';
3
+ export type AutoscalerExpander = 'unknown_expander' | 'random' | 'most_pods' | 'least_waste' | 'priority' | 'price';
4
+ export type CNI = 'unknown_cni' | 'cilium' | 'calico' | 'weave' | 'flannel' | 'kilo' | 'none';
5
+ export type ClusterStatus = 'unknown' | 'creating' | 'ready' | 'deleting' | 'deleted' | 'updating' | 'locked' | 'pool_required';
6
+ export type ClusterTypeAvailability = 'available' | 'scarce' | 'shortage';
7
+ export type ClusterTypeResiliency = 'unknown_resiliency' | 'standard' | 'high_availability';
8
+ export type ListClustersRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'updated_at_asc' | 'updated_at_desc' | 'name_asc' | 'name_desc' | 'status_asc' | 'status_desc' | 'version_asc' | 'version_desc';
9
+ export type ListNodesRequestOrderBy = 'created_at_asc' | 'created_at_desc';
10
+ export type ListPoolsRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'updated_at_asc' | 'updated_at_desc' | 'name_asc' | 'name_desc' | 'status_asc' | 'status_desc' | 'version_asc' | 'version_desc';
11
+ export type MaintenanceWindowDayOfTheWeek = 'any' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday' | 'sunday';
12
+ export type NodeStatus = 'unknown' | 'creating' | 'not_ready' | 'ready' | 'deleting' | 'deleted' | 'locked' | 'rebooting' | 'creation_error' | 'upgrading' | 'starting' | 'registering';
13
+ export type PoolStatus = 'unknown' | 'ready' | 'deleting' | 'deleted' | 'scaling' | 'warning' | 'locked' | 'upgrading';
14
+ export type PoolVolumeType = 'default_volume_type' | 'l_ssd' | 'b_ssd';
15
+ export type Runtime = 'unknown_runtime' | 'docker' | 'containerd' | 'crio';
16
+ export interface MaintenanceWindow {
17
+ /** Start time of the two-hour maintenance window. */
18
+ startHour: number;
19
+ /** Day of the week for the maintenance window. */
20
+ day: MaintenanceWindowDayOfTheWeek;
21
+ }
22
+ export interface PoolUpgradePolicy {
23
+ maxUnavailable: number;
24
+ maxSurge: number;
25
+ }
26
+ export interface CreateClusterRequestPoolConfigUpgradePolicy {
27
+ /** The maximum number of nodes that can be not ready at the same time. */
28
+ maxUnavailable?: number;
29
+ /** The maximum number of nodes to be created during the upgrade. */
30
+ maxSurge?: number;
31
+ }
32
+ export interface ClusterAutoUpgrade {
33
+ /** Defines whether auto upgrade is enabled for the cluster. */
34
+ enabled: boolean;
35
+ /** Maintenance window of the cluster auto upgrades. */
36
+ maintenanceWindow?: MaintenanceWindow;
37
+ }
38
+ export interface ClusterAutoscalerConfig {
39
+ /** Disable the cluster autoscaler. */
40
+ scaleDownDisabled: boolean;
41
+ /** How long after scale up that scale down evaluation resumes. */
42
+ scaleDownDelayAfterAdd: string;
43
+ /** Type of resource estimator to be used in scale up. */
44
+ estimator: AutoscalerEstimator;
45
+ /** Type of node group expander to be used in scale up. */
46
+ expander: AutoscalerExpander;
47
+ /**
48
+ * Ignore DaemonSet pods when calculating resource utilization for scaling
49
+ * down.
50
+ */
51
+ ignoreDaemonsetsUtilization: boolean;
52
+ /** Detect similar node groups and balance the number of nodes between them. */
53
+ balanceSimilarNodeGroups: boolean;
54
+ /**
55
+ * Pods with priority below cutoff will be expendable. They can be killed
56
+ * without any consideration during scale down and they won't cause scale up.
57
+ * Pods with null priority (PodPriority disabled) are non expendable.
58
+ */
59
+ expendablePodsPriorityCutoff: number;
60
+ /** How long a node should be unneeded before it is eligible to be scaled down. */
61
+ scaleDownUnneededTime: string;
62
+ /**
63
+ * Node utilization level, defined as a sum of requested resources divided by
64
+ * capacity, below which a node can be considered for scale down.
65
+ */
66
+ scaleDownUtilizationThreshold: number;
67
+ /**
68
+ * Maximum number of seconds the cluster autoscaler waits for pod termination
69
+ * when trying to scale down a node.
70
+ */
71
+ maxGracefulTerminationSec: number;
72
+ }
73
+ export interface ClusterOpenIDConnectConfig {
74
+ /**
75
+ * URL of the provider which allows the API server to discover public signing
76
+ * keys. Only URLs using the `https://` scheme are accepted. This is typically
77
+ * the provider's discovery URL without a path, for example
78
+ * "https://accounts.google.com" or "https://login.salesforce.com".
79
+ */
80
+ issuerUrl: string;
81
+ /** A client ID that all tokens must be issued for. */
82
+ clientId: string;
83
+ /**
84
+ * JWT claim to use as the user name. The default is `sub`, which is expected
85
+ * to be the end user's unique identifier. Admins can choose other claims,
86
+ * such as `email` or `name`, depending on their provider. However, claims
87
+ * other than `email` will be prefixed with the issuer URL to prevent name
88
+ * collision.
89
+ */
90
+ usernameClaim: string;
91
+ /**
92
+ * Prefix prepended to username claims to prevent name collision (such as
93
+ * `system:` users). For example, the value `oidc:` will create usernames like
94
+ * `oidc:jane.doe`. If this flag is not provided and `username_claim` is a
95
+ * value other than `email`, the prefix defaults to `( Issuer URL )#` where `(
96
+ * Issuer URL )` is the value of `issuer_url`. The value `-` can be used to
97
+ * disable all prefixing.
98
+ */
99
+ usernamePrefix: string;
100
+ /** JWT claim to use as the user's group. */
101
+ groupsClaim: string[];
102
+ /**
103
+ * Prefix prepended to group claims to prevent name collision (such as
104
+ * `system:` groups). For example, the value `oidc:` will create group names
105
+ * like `oidc:engineering` and `oidc:infra`.
106
+ */
107
+ groupsPrefix: string;
108
+ /**
109
+ * Multiple key=value pairs describing a required claim in the ID token. If
110
+ * set, the claims are verified to be present in the ID token with a matching
111
+ * value.
112
+ */
113
+ requiredClaim: string[];
114
+ }
115
+ export interface Pool {
116
+ /** Pool ID. */
117
+ id: string;
118
+ /** Cluster ID of the pool. */
119
+ clusterId: string;
120
+ /** Date on which the pool was created. */
121
+ createdAt?: Date;
122
+ /** Date on which the pool was last updated. */
123
+ updatedAt?: Date;
124
+ /** Pool name. */
125
+ name: string;
126
+ /** Pool status. */
127
+ status: PoolStatus;
128
+ /** Pool version. */
129
+ version: string;
130
+ /**
131
+ * Node type is the type of Scaleway Instance wanted for the pool. Nodes with
132
+ * insufficient memory are not eligible (DEV1-S, PLAY2-PICO, STARDUST).
133
+ * 'external' is a special node type used to provision instances from other
134
+ * cloud providers in a Kosmos Cluster.
135
+ */
136
+ nodeType: string;
137
+ /** Defines whether the autoscaling feature is enabled for the pool. */
138
+ autoscaling: boolean;
139
+ /** Size (number of nodes) of the pool. */
140
+ size: number;
141
+ /**
142
+ * Defines the minimum size of the pool. Note that this field is only used
143
+ * when autoscaling is enabled on the pool.
144
+ */
145
+ minSize: number;
146
+ /**
147
+ * Defines the maximum size of the pool. Note that this field is only used
148
+ * when autoscaling is enabled on the pool.
149
+ */
150
+ maxSize: number;
151
+ /**
152
+ * Customization of the container runtime is available for each pool. Note
153
+ * that `docker` has been deprecated since version 1.20 and will be removed by
154
+ * version 1.24.
155
+ */
156
+ containerRuntime: Runtime;
157
+ /** Defines whether the autohealing feature is enabled for the pool. */
158
+ autohealing: boolean;
159
+ /** Tags associated with the pool. */
160
+ tags: string[];
161
+ /** Placement group ID in which all the nodes of the pool will be created. */
162
+ placementGroupId?: string;
163
+ /**
164
+ * Kubelet arguments to be used by this pool. Note that this feature is
165
+ * experimental.
166
+ */
167
+ kubeletArgs: Record<string, string>;
168
+ /** Pool upgrade policy. */
169
+ upgradePolicy?: PoolUpgradePolicy;
170
+ /** Zone in which the pool's nodes will be spawned. */
171
+ zone: Zone;
172
+ /**
173
+ * Defines the system volume disk type. Two different types of volume
174
+ * (`volume_type`) are provided: `l_ssd` is a local block storage which means
175
+ * your system is stored locally on your node's hypervisor. `b_ssd` is a
176
+ * remote block storage which means your system is stored on a centralized and
177
+ * resilient cluster.
178
+ */
179
+ rootVolumeType: PoolVolumeType;
180
+ /** System volume disk size. */
181
+ rootVolumeSize?: number;
182
+ /**
183
+ * Defines if the public IP should be removed from Nodes. To use this feature,
184
+ * your Cluster must have an attached Private Network set up with a Public
185
+ * Gateway.
186
+ */
187
+ publicIpDisabled: boolean;
188
+ /** Cluster region of the pool. */
189
+ region: Region;
190
+ }
191
+ export interface CreateClusterRequestAutoUpgrade {
192
+ /** Defines whether auto upgrade is enabled for the cluster. */
193
+ enable: boolean;
194
+ /** Maintenance window of the cluster auto upgrades. */
195
+ maintenanceWindow?: MaintenanceWindow;
196
+ }
197
+ export interface CreateClusterRequestAutoscalerConfig {
198
+ /** Disable the cluster autoscaler. */
199
+ scaleDownDisabled?: boolean;
200
+ /** How long after scale up that scale down evaluation resumes. */
201
+ scaleDownDelayAfterAdd?: string;
202
+ /** Type of resource estimator to be used in scale up. */
203
+ estimator: AutoscalerEstimator;
204
+ /** Type of node group expander to be used in scale up. */
205
+ expander: AutoscalerExpander;
206
+ /**
207
+ * Ignore DaemonSet pods when calculating resource utilization for scaling
208
+ * down.
209
+ */
210
+ ignoreDaemonsetsUtilization?: boolean;
211
+ /** Detect similar node groups and balance the number of nodes between them. */
212
+ balanceSimilarNodeGroups?: boolean;
213
+ /**
214
+ * Pods with priority below cutoff will be expendable. They can be killed
215
+ * without any consideration during scale down and they won't cause scale up.
216
+ * Pods with null priority (PodPriority disabled) are non expendable.
217
+ */
218
+ expendablePodsPriorityCutoff?: number;
219
+ /** How long a node should be unneeded before it is eligible to be scaled down. */
220
+ scaleDownUnneededTime?: string;
221
+ /**
222
+ * Node utilization level, defined as a sum of requested resources divided by
223
+ * capacity, below which a node can be considered for scale down.
224
+ */
225
+ scaleDownUtilizationThreshold?: number;
226
+ /**
227
+ * Maximum number of seconds the cluster autoscaler waits for pod termination
228
+ * when trying to scale down a node.
229
+ */
230
+ maxGracefulTerminationSec?: number;
231
+ }
232
+ export interface CreateClusterRequestOpenIDConnectConfig {
233
+ /**
234
+ * URL of the provider which allows the API server to discover public signing
235
+ * keys. Only URLs using the `https://` scheme are accepted. This is typically
236
+ * the provider's discovery URL without a path, for example
237
+ * "https://accounts.google.com" or "https://login.salesforce.com".
238
+ */
239
+ issuerUrl: string;
240
+ /** A client ID that all tokens must be issued for. */
241
+ clientId: string;
242
+ /**
243
+ * JWT claim to use as the user name. The default is `sub`, which is expected
244
+ * to be the end user's unique identifier. Admins can choose other claims,
245
+ * such as `email` or `name`, depending on their provider. However, claims
246
+ * other than `email` will be prefixed with the issuer URL to prevent name
247
+ * collision.
248
+ */
249
+ usernameClaim?: string;
250
+ /**
251
+ * Prefix prepended to username claims to prevent name collision (such as
252
+ * `system:` users). For example, the value `oidc:` will create usernames like
253
+ * `oidc:jane.doe`. If this flag is not provided and `username_claim` is a
254
+ * value other than `email`, the prefix defaults to `( Issuer URL )#` where `(
255
+ * Issuer URL )` is the value of `issuer_url`. The value `-` can be used to
256
+ * disable all prefixing.
257
+ */
258
+ usernamePrefix?: string;
259
+ /** JWT claim to use as the user's group. */
260
+ groupsClaim?: string[];
261
+ /**
262
+ * Prefix prepended to group claims to prevent name collision (such as
263
+ * `system:` groups). For example, the value `oidc:` will create group names
264
+ * like `oidc:engineering` and `oidc:infra`.
265
+ */
266
+ groupsPrefix?: string;
267
+ /**
268
+ * Multiple key=value pairs describing a required claim in the ID token. If
269
+ * set, the claims are verified to be present in the ID token with a matching
270
+ * value.
271
+ */
272
+ requiredClaim?: string[];
273
+ }
274
+ export interface CreateClusterRequestPoolConfig {
275
+ /** Name of the pool. */
276
+ name: string;
277
+ /**
278
+ * Node type is the type of Scaleway Instance wanted for the pool. Nodes with
279
+ * insufficient memory are not eligible (DEV1-S, PLAY2-PICO, STARDUST).
280
+ * 'external' is a special node type used to provision instances from other
281
+ * cloud providers in a Kosmos Cluster.
282
+ */
283
+ nodeType: string;
284
+ /** Placement group ID in which all the nodes of the pool will be created. */
285
+ placementGroupId?: string;
286
+ /** Defines whether the autoscaling feature is enabled for the pool. */
287
+ autoscaling: boolean;
288
+ /** Size (number of nodes) of the pool. */
289
+ size: number;
290
+ /**
291
+ * Defines the minimum size of the pool. Note that this field is only used
292
+ * when autoscaling is enabled on the pool.
293
+ */
294
+ minSize?: number;
295
+ /**
296
+ * Defines the maximum size of the pool. Note that this field is only used
297
+ * when autoscaling is enabled on the pool.
298
+ */
299
+ maxSize?: number;
300
+ /**
301
+ * Customization of the container runtime is available for each pool. Note
302
+ * that `docker` has been deprecated since version 1.20 and will be removed by
303
+ * version 1.24.
304
+ */
305
+ containerRuntime: Runtime;
306
+ /** Defines whether the autohealing feature is enabled for the pool. */
307
+ autohealing: boolean;
308
+ /** Tags associated with the pool. */
309
+ tags: string[];
310
+ /**
311
+ * Kubelet arguments to be used by this pool. Note that this feature is
312
+ * experimental.
313
+ */
314
+ kubeletArgs: Record<string, string>;
315
+ /** Pool upgrade policy. */
316
+ upgradePolicy?: CreateClusterRequestPoolConfigUpgradePolicy;
317
+ /** Zone in which the pool's nodes will be spawned. */
318
+ zone: Zone;
319
+ /**
320
+ * Defines the system volume disk type. Two different types of volume
321
+ * (`volume_type`) are provided: `l_ssd` is a local block storage which means
322
+ * your system is stored locally on your node's hypervisor. `b_ssd` is a
323
+ * remote block storage which means your system is stored on a centralized and
324
+ * resilient cluster.
325
+ */
326
+ rootVolumeType: PoolVolumeType;
327
+ /** System volume disk size. */
328
+ rootVolumeSize?: number;
329
+ /**
330
+ * Defines if the public IP should be removed from Nodes. To use this feature,
331
+ * your Cluster must have an attached Private Network set up with a Public
332
+ * Gateway.
333
+ */
334
+ publicIpDisabled: boolean;
335
+ }
336
+ export interface CreatePoolRequestUpgradePolicy {
337
+ maxUnavailable?: number;
338
+ maxSurge?: number;
339
+ }
340
+ export interface ExternalNodeCoreV1Taint {
341
+ key: string;
342
+ value: string;
343
+ effect: string;
344
+ }
345
+ export interface ClusterType {
346
+ /** Cluster type name. */
347
+ name: string;
348
+ /** Cluster type availability. */
349
+ availability: ClusterTypeAvailability;
350
+ /** Maximum number of nodes supported by the offer. */
351
+ maxNodes: number;
352
+ /** Time period during which you can no longer switch to a lower offer. */
353
+ commitmentDelay?: string;
354
+ /** Value of the Service Level Agreement of the offer. */
355
+ sla: number;
356
+ /** Resiliency offered by the offer. */
357
+ resiliency: ClusterTypeResiliency;
358
+ /** Max RAM allowed for the control plane. */
359
+ memory: number;
360
+ /** Returns information if this offer uses dedicated resources. */
361
+ dedicated: boolean;
362
+ /**
363
+ * True if the offer allows activation of the audit log functionality. Please
364
+ * note that audit logs are sent to Cockpit.
365
+ */
366
+ auditLogsSupported: boolean;
367
+ }
368
+ export interface Version {
369
+ /** Name of the Kubernetes version. */
370
+ name: string;
371
+ /** Label of the Kubernetes version. */
372
+ label: string;
373
+ /** Region in which this version is available. */
374
+ region: Region;
375
+ /** Supported Container Network Interface (CNI) plugins for this version. */
376
+ availableCnis: CNI[];
377
+ /** Supported container runtimes for this version. */
378
+ availableContainerRuntimes: Runtime[];
379
+ /** Supported feature gates for this version. */
380
+ availableFeatureGates: string[];
381
+ /** Supported admission plugins for this version. */
382
+ availableAdmissionPlugins: string[];
383
+ /** Supported kubelet arguments for this version. */
384
+ availableKubeletArgs: Record<string, string>;
385
+ }
386
+ export interface Cluster {
387
+ /** Cluster ID. */
388
+ id: string;
389
+ /** Cluster type. */
390
+ type: string;
391
+ /** Cluster name. */
392
+ name: string;
393
+ /** Status of the cluster. */
394
+ status: ClusterStatus;
395
+ /** Kubernetes version of the cluster. */
396
+ version: string;
397
+ /** Region in which the cluster is deployed. */
398
+ region: Region;
399
+ /** ID of the Organization owning the cluster. */
400
+ organizationId: string;
401
+ /** ID of the Project owning the cluster. */
402
+ projectId: string;
403
+ /** Tags associated with the cluster. */
404
+ tags: string[];
405
+ /** Container Network Interface (CNI) plugin running in the cluster. */
406
+ cni: CNI;
407
+ /** Cluster description. */
408
+ description: string;
409
+ /** Kubernetes API server URL of the cluster. */
410
+ clusterUrl: string;
411
+ /** Wildcard DNS resolving all the ready cluster nodes. */
412
+ dnsWildcard: string;
413
+ /** Date on which the cluster was created. */
414
+ createdAt?: Date;
415
+ /** Date on which the cluster was last updated. */
416
+ updatedAt?: Date;
417
+ /** Autoscaler config for the cluster. */
418
+ autoscalerConfig?: ClusterAutoscalerConfig;
419
+ /** Auto upgrade configuration of the cluster. */
420
+ autoUpgrade?: ClusterAutoUpgrade;
421
+ /** Defines whether a new Kubernetes version is available. */
422
+ upgradeAvailable: boolean;
423
+ /** List of enabled feature gates. */
424
+ featureGates: string[];
425
+ /** List of enabled admission plugins. */
426
+ admissionPlugins: string[];
427
+ /**
428
+ * This configuration enables to update the OpenID Connect configuration of
429
+ * the Kubernetes API server.
430
+ */
431
+ openIdConnectConfig?: ClusterOpenIDConnectConfig;
432
+ /**
433
+ * Additional Subject Alternative Names for the Kubernetes API server
434
+ * certificate.
435
+ */
436
+ apiserverCertSans: string[];
437
+ /** Private network ID for internal cluster communication. */
438
+ privateNetworkId?: string;
439
+ /** Date on which it will be possible to switch to a smaller offer. */
440
+ commitmentEndsAt?: Date;
441
+ /**
442
+ * @deprecated Defines whether routed IPs are enabled for nodes of this
443
+ * cluster.
444
+ */
445
+ routedIpEnabled?: boolean;
446
+ }
447
+ export interface Node {
448
+ /** Node ID. */
449
+ id: string;
450
+ /** Pool ID of the node. */
451
+ poolId: string;
452
+ /** Cluster ID of the node. */
453
+ clusterId: string;
454
+ /**
455
+ * Underlying instance ID. It is prefixed by instance type and location
456
+ * information (see
457
+ * https://pkg.go.dev/k8s.io/api/core/v1#NodeSpec.ProviderID).
458
+ */
459
+ providerId: string;
460
+ /** Cluster region of the node. */
461
+ region: Region;
462
+ /** Name of the node. */
463
+ name: string;
464
+ /** @deprecated Public IPv4 address of the node. */
465
+ publicIpV4?: string;
466
+ /** @deprecated Public IPv6 address of the node. */
467
+ publicIpV6?: string;
468
+ /**
469
+ * @deprecated Conditions of the node. These conditions contain the Node
470
+ * Problem Detector conditions, as well as some in house conditions.
471
+ */
472
+ conditions?: Record<string, string>;
473
+ /** Status of the node. */
474
+ status: NodeStatus;
475
+ /** Details of the error, if any occurred when managing the node. */
476
+ errorMessage?: string;
477
+ /** Date on which the node was created. */
478
+ createdAt?: Date;
479
+ /** Date on which the node was last updated. */
480
+ updatedAt?: Date;
481
+ }
482
+ export interface UpdateClusterRequestAutoUpgrade {
483
+ /** Defines whether auto upgrade is enabled for the cluster. */
484
+ enable?: boolean;
485
+ /** Maintenance window of the cluster auto upgrades. */
486
+ maintenanceWindow?: MaintenanceWindow;
487
+ }
488
+ export interface UpdateClusterRequestAutoscalerConfig {
489
+ /** Disable the cluster autoscaler. */
490
+ scaleDownDisabled?: boolean;
491
+ /** How long after scale up that scale down evaluation resumes. */
492
+ scaleDownDelayAfterAdd?: string;
493
+ /** Type of resource estimator to be used in scale up. */
494
+ estimator: AutoscalerEstimator;
495
+ /** Type of node group expander to be used in scale up. */
496
+ expander: AutoscalerExpander;
497
+ /**
498
+ * Ignore DaemonSet pods when calculating resource utilization for scaling
499
+ * down.
500
+ */
501
+ ignoreDaemonsetsUtilization?: boolean;
502
+ /** Detect similar node groups and balance the number of nodes between them. */
503
+ balanceSimilarNodeGroups?: boolean;
504
+ /**
505
+ * Pods with priority below cutoff will be expendable. They can be killed
506
+ * without any consideration during scale down and they won't cause scale up.
507
+ * Pods with null priority (PodPriority disabled) are non expendable.
508
+ */
509
+ expendablePodsPriorityCutoff?: number;
510
+ /** How long a node should be unneeded before it is eligible to be scaled down. */
511
+ scaleDownUnneededTime?: string;
512
+ /**
513
+ * Node utilization level, defined as a sum of requested resources divided by
514
+ * capacity, below which a node can be considered for scale down.
515
+ */
516
+ scaleDownUtilizationThreshold?: number;
517
+ /**
518
+ * Maximum number of seconds the cluster autoscaler waits for pod termination
519
+ * when trying to scale down a node.
520
+ */
521
+ maxGracefulTerminationSec?: number;
522
+ }
523
+ export interface UpdateClusterRequestOpenIDConnectConfig {
524
+ /**
525
+ * URL of the provider which allows the API server to discover public signing
526
+ * keys. Only URLs using the `https://` scheme are accepted. This is typically
527
+ * the provider's discovery URL without a path, for example
528
+ * "https://accounts.google.com" or "https://login.salesforce.com".
529
+ */
530
+ issuerUrl?: string;
531
+ /** A client ID that all tokens must be issued for. */
532
+ clientId?: string;
533
+ /**
534
+ * JWT claim to use as the user name. The default is `sub`, which is expected
535
+ * to be the end user's unique identifier. Admins can choose other claims,
536
+ * such as `email` or `name`, depending on their provider. However, claims
537
+ * other than `email` will be prefixed with the issuer URL to prevent name
538
+ * collision.
539
+ */
540
+ usernameClaim?: string;
541
+ /**
542
+ * Prefix prepended to username claims to prevent name collision (such as
543
+ * `system:` users). For example, the value `oidc:` will create usernames like
544
+ * `oidc:jane.doe`. If this flag is not provided and `username_claim` is a
545
+ * value other than `email`, the prefix defaults to `( Issuer URL )#` where `(
546
+ * Issuer URL )` is the value of `issuer_url`. The value `-` can be used to
547
+ * disable all prefixing.
548
+ */
549
+ usernamePrefix?: string;
550
+ /** JWT claim to use as the user's group. */
551
+ groupsClaim?: string[];
552
+ /**
553
+ * Prefix prepended to group claims to prevent name collision (such as
554
+ * `system:` groups). For example, the value `oidc:` will create group names
555
+ * like `oidc:engineering` and `oidc:infra`.
556
+ */
557
+ groupsPrefix?: string;
558
+ /**
559
+ * Multiple key=value pairs describing a required claim in the ID token. If
560
+ * set, the claims are verified to be present in the ID token with a matching
561
+ * value.
562
+ */
563
+ requiredClaim?: string[];
564
+ }
565
+ export interface UpdatePoolRequestUpgradePolicy {
566
+ maxUnavailable?: number;
567
+ maxSurge?: number;
568
+ }
569
+ export type CreateClusterRequest = {
570
+ /**
571
+ * Region to target. If none is passed will use default region from the
572
+ * config.
573
+ */
574
+ region?: Region;
575
+ /**
576
+ * @deprecated Organization ID in which the cluster will be created.
577
+ *
578
+ * One-of ('projectIdentifier'): at most one of 'projectId', 'organizationId'
579
+ * could be set.
580
+ */
581
+ organizationId?: string;
582
+ /**
583
+ * Project ID in which the cluster will be created.
584
+ *
585
+ * One-of ('projectIdentifier'): at most one of 'projectId', 'organizationId'
586
+ * could be set.
587
+ */
588
+ projectId?: string;
589
+ /**
590
+ * Type of the cluster (possible values are kapsule, multicloud,
591
+ * kapsule-dedicated-8, kapsule-dedicated-16).
592
+ */
593
+ type: string;
594
+ /** Cluster name. */
595
+ name?: string;
596
+ /** Cluster description. */
597
+ description: string;
598
+ /** Tags associated with the cluster. */
599
+ tags?: string[];
600
+ /** Kubernetes version of the cluster. */
601
+ version: string;
602
+ /** Container Network Interface (CNI) plugin running in the cluster. */
603
+ cni: CNI;
604
+ /** Pools created along with the cluster. */
605
+ pools?: CreateClusterRequestPoolConfig[];
606
+ /**
607
+ * Autoscaler configuration for the cluster. It allows you to set (to an
608
+ * extent) your preferred autoscaler configuration, which is an implementation
609
+ * of the cluster-autoscaler
610
+ * (https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler/).
611
+ */
612
+ autoscalerConfig?: CreateClusterRequestAutoscalerConfig;
613
+ /**
614
+ * Auto upgrade configuration of the cluster. This configuration enables to
615
+ * set a specific 2-hour time window in which the cluster can be automatically
616
+ * updated to the latest patch version.
617
+ */
618
+ autoUpgrade?: CreateClusterRequestAutoUpgrade;
619
+ /** List of feature gates to enable. */
620
+ featureGates?: string[];
621
+ /** List of admission plugins to enable. */
622
+ admissionPlugins?: string[];
623
+ /**
624
+ * OpenID Connect configuration of the cluster. This configuration enables to
625
+ * update the OpenID Connect configuration of the Kubernetes API server.
626
+ */
627
+ openIdConnectConfig?: CreateClusterRequestOpenIDConnectConfig;
628
+ /**
629
+ * Additional Subject Alternative Names for the Kubernetes API server
630
+ * certificate.
631
+ */
632
+ apiserverCertSans?: string[];
633
+ /**
634
+ * Private network ID for internal cluster communication (cannot be changed
635
+ * later).
636
+ */
637
+ privateNetworkId?: string;
638
+ };
639
+ export type CreateExternalNodeRequest = {
640
+ /**
641
+ * Region to target. If none is passed will use default region from the
642
+ * config.
643
+ */
644
+ region?: Region;
645
+ poolId: string;
646
+ };
647
+ export type CreatePoolRequest = {
648
+ /**
649
+ * Region to target. If none is passed will use default region from the
650
+ * config.
651
+ */
652
+ region?: Region;
653
+ /** Cluster ID to which the pool will be attached. */
654
+ clusterId: string;
655
+ /** Pool name. */
656
+ name?: string;
657
+ /**
658
+ * Node type is the type of Scaleway Instance wanted for the pool. Nodes with
659
+ * insufficient memory are not eligible (DEV1-S, PLAY2-PICO, STARDUST).
660
+ * 'external' is a special node type used to provision instances from other
661
+ * cloud providers in a Kosmos Cluster.
662
+ */
663
+ nodeType: string;
664
+ /** Placement group ID in which all the nodes of the pool will be created. */
665
+ placementGroupId?: string;
666
+ /** Defines whether the autoscaling feature is enabled for the pool. */
667
+ autoscaling: boolean;
668
+ /** Size (number of nodes) of the pool. */
669
+ size: number;
670
+ /**
671
+ * Defines the minimum size of the pool. Note that this field is only used
672
+ * when autoscaling is enabled on the pool.
673
+ */
674
+ minSize?: number;
675
+ /**
676
+ * Defines the maximum size of the pool. Note that this field is only used
677
+ * when autoscaling is enabled on the pool.
678
+ */
679
+ maxSize?: number;
680
+ /**
681
+ * Customization of the container runtime is available for each pool. Note
682
+ * that `docker` has been deprecated since version 1.20 and will be removed by
683
+ * version 1.24.
684
+ */
685
+ containerRuntime?: Runtime;
686
+ /** Defines whether the autohealing feature is enabled for the pool. */
687
+ autohealing: boolean;
688
+ /** Tags associated with the pool. */
689
+ tags?: string[];
690
+ /**
691
+ * Kubelet arguments to be used by this pool. Note that this feature is
692
+ * experimental.
693
+ */
694
+ kubeletArgs?: Record<string, string>;
695
+ /** Pool upgrade policy. */
696
+ upgradePolicy?: CreatePoolRequestUpgradePolicy;
697
+ /** Zone in which the pool's nodes will be spawned. */
698
+ zone?: Zone;
699
+ /**
700
+ * Defines the system volume disk type. Two different types of volume
701
+ * (`volume_type`) are provided: `l_ssd` is a local block storage which means
702
+ * your system is stored locally on your node's hypervisor. `b_ssd` is a
703
+ * remote block storage which means your system is stored on a centralized and
704
+ * resilient cluster.
705
+ */
706
+ rootVolumeType?: PoolVolumeType;
707
+ /** System volume disk size. */
708
+ rootVolumeSize?: number;
709
+ /**
710
+ * Defines if the public IP should be removed from Nodes. To use this feature,
711
+ * your Cluster must have an attached Private Network set up with a Public
712
+ * Gateway.
713
+ */
714
+ publicIpDisabled: boolean;
715
+ };
716
+ export type DeleteClusterRequest = {
717
+ /**
718
+ * Region to target. If none is passed will use default region from the
719
+ * config.
720
+ */
721
+ region?: Region;
722
+ /** ID of the cluster to delete. */
723
+ clusterId: string;
724
+ /**
725
+ * Defines whether all volumes (including retain volume type), empty Private
726
+ * Networks and Load Balancers with a name starting with the cluster ID will
727
+ * also be deleted.
728
+ */
729
+ withAdditionalResources: boolean;
730
+ };
731
+ export type DeleteNodeRequest = {
732
+ /**
733
+ * Region to target. If none is passed will use default region from the
734
+ * config.
735
+ */
736
+ region?: Region;
737
+ /** ID of the node to replace. */
738
+ nodeId: string;
739
+ /**
740
+ * Skip draining node from its workload (Note: this parameter is currently
741
+ * inactive).
742
+ */
743
+ skipDrain: boolean;
744
+ /** Add a new node after the deletion of this node. */
745
+ replace: boolean;
746
+ };
747
+ export type DeletePoolRequest = {
748
+ /**
749
+ * Region to target. If none is passed will use default region from the
750
+ * config.
751
+ */
752
+ region?: Region;
753
+ /** ID of the pool to delete. */
754
+ poolId: string;
755
+ };
756
+ export interface ExternalNode {
757
+ id: string;
758
+ name: string;
759
+ clusterUrl: string;
760
+ poolVersion: string;
761
+ clusterCa: string;
762
+ kubeToken: string;
763
+ kubeletConfig: string;
764
+ externalIp: string;
765
+ containerdVersion: string;
766
+ runcVersion: string;
767
+ cniPluginsVersion: string;
768
+ nodeLabels: Record<string, string>;
769
+ nodeTaints: ExternalNodeCoreV1Taint[];
770
+ }
771
+ export type GetClusterKubeConfigRequest = {
772
+ /**
773
+ * Region to target. If none is passed will use default region from the
774
+ * config.
775
+ */
776
+ region?: Region;
777
+ /** Cluster ID for which to download the kubeconfig. */
778
+ clusterId: string;
779
+ /** Hide the legacy token from the kubeconfig. */
780
+ redacted?: boolean;
781
+ };
782
+ export type GetClusterRequest = {
783
+ /**
784
+ * Region to target. If none is passed will use default region from the
785
+ * config.
786
+ */
787
+ region?: Region;
788
+ /** ID of the requested cluster. */
789
+ clusterId: string;
790
+ };
791
+ export type GetNodeRequest = {
792
+ /**
793
+ * Region to target. If none is passed will use default region from the
794
+ * config.
795
+ */
796
+ region?: Region;
797
+ /** ID of the requested node. */
798
+ nodeId: string;
799
+ };
800
+ export type GetPoolRequest = {
801
+ /**
802
+ * Region to target. If none is passed will use default region from the
803
+ * config.
804
+ */
805
+ region?: Region;
806
+ /** ID of the requested pool. */
807
+ poolId: string;
808
+ };
809
+ export type GetVersionRequest = {
810
+ /**
811
+ * Region to target. If none is passed will use default region from the
812
+ * config.
813
+ */
814
+ region?: Region;
815
+ /** Requested version name. */
816
+ versionName: string;
817
+ };
818
+ export type ListClusterAvailableTypesRequest = {
819
+ /**
820
+ * Region to target. If none is passed will use default region from the
821
+ * config.
822
+ */
823
+ region?: Region;
824
+ /** Cluster ID for which the available Kubernetes types will be listed. */
825
+ clusterId: string;
826
+ };
827
+ export interface ListClusterAvailableTypesResponse {
828
+ /** Available cluster types for the cluster. */
829
+ clusterTypes: ClusterType[];
830
+ /** Total number of types. */
831
+ totalCount: number;
832
+ }
833
+ export type ListClusterAvailableVersionsRequest = {
834
+ /**
835
+ * Region to target. If none is passed will use default region from the
836
+ * config.
837
+ */
838
+ region?: Region;
839
+ /** Cluster ID for which the available Kubernetes versions will be listed. */
840
+ clusterId: string;
841
+ };
842
+ export interface ListClusterAvailableVersionsResponse {
843
+ /** Available Kubernetes versions for the cluster. */
844
+ versions: Version[];
845
+ }
846
+ export type ListClusterTypesRequest = {
847
+ /**
848
+ * Region to target. If none is passed will use default region from the
849
+ * config.
850
+ */
851
+ region?: Region;
852
+ /** Page number, from the paginated results, to return for cluster-types. */
853
+ page?: number;
854
+ /** Maximum number of clusters per page. */
855
+ pageSize?: number;
856
+ };
857
+ export interface ListClusterTypesResponse {
858
+ /** Total number of cluster-types. */
859
+ totalCount: number;
860
+ /** Paginated returned cluster-types. */
861
+ clusterTypes: ClusterType[];
862
+ }
863
+ export type ListClustersRequest = {
864
+ /**
865
+ * Region to target. If none is passed will use default region from the
866
+ * config.
867
+ */
868
+ region?: Region;
869
+ /** Organization ID on which to filter the returned clusters. */
870
+ organizationId?: string;
871
+ /** Project ID on which to filter the returned clusters. */
872
+ projectId?: string;
873
+ /** Sort order of returned clusters. */
874
+ orderBy?: ListClustersRequestOrderBy;
875
+ /** Page number to return for clusters, from the paginated results. */
876
+ page?: number;
877
+ /** Maximum number of clusters per page. */
878
+ pageSize?: number;
879
+ /**
880
+ * Name to filter on, only clusters containing this substring in their name
881
+ * will be returned.
882
+ */
883
+ name?: string;
884
+ /** Status to filter on, only clusters with this status will be returned. */
885
+ status?: ClusterStatus;
886
+ /** Type to filter on, only clusters with this type will be returned. */
887
+ type?: string;
888
+ /**
889
+ * Private Network ID to filter on, only clusters within this Private Network
890
+ * will be returned.
891
+ */
892
+ privateNetworkId?: string;
893
+ };
894
+ export interface ListClustersResponse {
895
+ /** Total number of clusters. */
896
+ totalCount: number;
897
+ /** Paginated returned clusters. */
898
+ clusters: Cluster[];
899
+ }
900
+ export type ListNodesRequest = {
901
+ /**
902
+ * Region to target. If none is passed will use default region from the
903
+ * config.
904
+ */
905
+ region?: Region;
906
+ /** Cluster ID from which the nodes will be listed from. */
907
+ clusterId: string;
908
+ /** Pool ID on which to filter the returned nodes. */
909
+ poolId?: string;
910
+ /** Sort order of the returned nodes. */
911
+ orderBy?: ListNodesRequestOrderBy;
912
+ /** Page number for the returned nodes. */
913
+ page?: number;
914
+ /** Maximum number of nodes per page. */
915
+ pageSize?: number;
916
+ /**
917
+ * Name to filter on, only nodes containing this substring in their name will
918
+ * be returned.
919
+ */
920
+ name?: string;
921
+ /** Status to filter on, only nodes with this status will be returned. */
922
+ status?: NodeStatus;
923
+ };
924
+ export interface ListNodesResponse {
925
+ /** Total number of nodes. */
926
+ totalCount: number;
927
+ /** Paginated returned nodes. */
928
+ nodes: Node[];
929
+ }
930
+ export type ListPoolsRequest = {
931
+ /**
932
+ * Region to target. If none is passed will use default region from the
933
+ * config.
934
+ */
935
+ region?: Region;
936
+ /** ID of the cluster whose pools will be listed. */
937
+ clusterId: string;
938
+ /** Sort order of returned pools. */
939
+ orderBy?: ListPoolsRequestOrderBy;
940
+ /** Page number for the returned pools. */
941
+ page?: number;
942
+ /** Maximum number of pools per page. */
943
+ pageSize?: number;
944
+ /**
945
+ * Name to filter on, only pools containing this substring in their name will
946
+ * be returned.
947
+ */
948
+ name?: string;
949
+ /** Status to filter on, only pools with this status will be returned. */
950
+ status?: PoolStatus;
951
+ };
952
+ export interface ListPoolsResponse {
953
+ /** Total number of pools that exists for the cluster. */
954
+ totalCount: number;
955
+ /** Paginated returned pools. */
956
+ pools: Pool[];
957
+ }
958
+ export type ListVersionsRequest = {
959
+ /**
960
+ * Region to target. If none is passed will use default region from the
961
+ * config.
962
+ */
963
+ region?: Region;
964
+ };
965
+ export interface ListVersionsResponse {
966
+ /** Available Kubernetes versions. */
967
+ versions: Version[];
968
+ }
969
+ export type MigrateClusterToRoutedIPsRequest = {
970
+ /**
971
+ * Region to target. If none is passed will use default region from the
972
+ * config.
973
+ */
974
+ region?: Region;
975
+ clusterId: string;
976
+ };
977
+ export type MigrateToPrivateNetworkClusterRequest = {
978
+ /**
979
+ * Region to target. If none is passed will use default region from the
980
+ * config.
981
+ */
982
+ region?: Region;
983
+ /** ID of the cluster to migrate. */
984
+ clusterId: string;
985
+ /** ID of the Private Network to link to the cluster. */
986
+ privateNetworkId: string;
987
+ };
988
+ export type RebootNodeRequest = {
989
+ /**
990
+ * Region to target. If none is passed will use default region from the
991
+ * config.
992
+ */
993
+ region?: Region;
994
+ /** ID of the node to reboot. */
995
+ nodeId: string;
996
+ };
997
+ export type ReplaceNodeRequest = {
998
+ /**
999
+ * Region to target. If none is passed will use default region from the
1000
+ * config.
1001
+ */
1002
+ region?: Region;
1003
+ /** ID of the node to replace. */
1004
+ nodeId: string;
1005
+ };
1006
+ export type ResetClusterAdminTokenRequest = {
1007
+ /**
1008
+ * Region to target. If none is passed will use default region from the
1009
+ * config.
1010
+ */
1011
+ region?: Region;
1012
+ /** Cluster ID on which the admin token will be renewed. */
1013
+ clusterId: string;
1014
+ };
1015
+ export type SetClusterTypeRequest = {
1016
+ /**
1017
+ * Region to target. If none is passed will use default region from the
1018
+ * config.
1019
+ */
1020
+ region?: Region;
1021
+ /** ID of the cluster to migrate from one type to another. */
1022
+ clusterId: string;
1023
+ /**
1024
+ * Type of the cluster. Note that some migrations are not possible (please
1025
+ * refer to product documentation).
1026
+ */
1027
+ type: string;
1028
+ };
1029
+ export type UpdateClusterRequest = {
1030
+ /**
1031
+ * Region to target. If none is passed will use default region from the
1032
+ * config.
1033
+ */
1034
+ region?: Region;
1035
+ /** ID of the cluster to update. */
1036
+ clusterId: string;
1037
+ /** New external name for the cluster. */
1038
+ name?: string;
1039
+ /** New description for the cluster. */
1040
+ description?: string;
1041
+ /** New tags associated with the cluster. */
1042
+ tags?: string[];
1043
+ /** New autoscaler config for the cluster. */
1044
+ autoscalerConfig?: UpdateClusterRequestAutoscalerConfig;
1045
+ /**
1046
+ * New auto upgrade configuration for the cluster. Note that all fields need
1047
+ * to be set.
1048
+ */
1049
+ autoUpgrade?: UpdateClusterRequestAutoUpgrade;
1050
+ /** List of feature gates to enable. */
1051
+ featureGates?: string[];
1052
+ /** List of admission plugins to enable. */
1053
+ admissionPlugins?: string[];
1054
+ /**
1055
+ * OpenID Connect configuration of the cluster. This configuration enables to
1056
+ * update the OpenID Connect configuration of the Kubernetes API server.
1057
+ */
1058
+ openIdConnectConfig?: UpdateClusterRequestOpenIDConnectConfig;
1059
+ /**
1060
+ * Additional Subject Alternative Names for the Kubernetes API server
1061
+ * certificate.
1062
+ */
1063
+ apiserverCertSans?: string[];
1064
+ };
1065
+ export type UpdatePoolRequest = {
1066
+ /**
1067
+ * Region to target. If none is passed will use default region from the
1068
+ * config.
1069
+ */
1070
+ region?: Region;
1071
+ /** ID of the pool to update. */
1072
+ poolId: string;
1073
+ /** New value for the pool autoscaling enablement. */
1074
+ autoscaling?: boolean;
1075
+ /** New desired pool size. */
1076
+ size?: number;
1077
+ /** New minimum size for the pool. */
1078
+ minSize?: number;
1079
+ /** New maximum size for the pool. */
1080
+ maxSize?: number;
1081
+ /** New value for the pool autohealing enablement. */
1082
+ autohealing?: boolean;
1083
+ /** New tags associated with the pool. */
1084
+ tags?: string[];
1085
+ /**
1086
+ * New Kubelet arguments to be used by this pool. Note that this feature is
1087
+ * experimental.
1088
+ */
1089
+ kubeletArgs?: Record<string, string>;
1090
+ /** New upgrade policy for the pool. */
1091
+ upgradePolicy?: UpdatePoolRequestUpgradePolicy;
1092
+ };
1093
+ export type UpgradeClusterRequest = {
1094
+ /**
1095
+ * Region to target. If none is passed will use default region from the
1096
+ * config.
1097
+ */
1098
+ region?: Region;
1099
+ /** ID of the cluster to upgrade. */
1100
+ clusterId: string;
1101
+ /**
1102
+ * New Kubernetes version of the cluster. Note that the version should either
1103
+ * be a higher patch version of the same minor version or the direct minor
1104
+ * version after the current one.
1105
+ */
1106
+ version: string;
1107
+ /**
1108
+ * Defines whether pools will also be upgraded once the control plane is
1109
+ * upgraded.
1110
+ */
1111
+ upgradePools: boolean;
1112
+ };
1113
+ export type UpgradePoolRequest = {
1114
+ /**
1115
+ * Region to target. If none is passed will use default region from the
1116
+ * config.
1117
+ */
1118
+ region?: Region;
1119
+ /** ID of the pool to upgrade. */
1120
+ poolId: string;
1121
+ /** New Kubernetes version for the pool. */
1122
+ version: string;
1123
+ };