@scaleway/sdk 2.72.0 → 2.74.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 (209) hide show
  1. package/dist/api/account/v3/api.gen.cjs +13 -32
  2. package/dist/api/account/v3/api.gen.d.ts +17 -36
  3. package/dist/api/account/v3/api.gen.js +13 -32
  4. package/dist/api/account/v3/index.gen.d.ts +1 -1
  5. package/dist/api/account/v3/marshalling.gen.cjs +94 -65
  6. package/dist/api/account/v3/marshalling.gen.js +94 -65
  7. package/dist/api/account/v3/types.gen.d.ts +224 -104
  8. package/dist/api/applesilicon/v1alpha1/api.gen.cjs +19 -46
  9. package/dist/api/applesilicon/v1alpha1/api.gen.d.ts +24 -49
  10. package/dist/api/applesilicon/v1alpha1/api.gen.js +19 -46
  11. package/dist/api/applesilicon/v1alpha1/types.gen.d.ts +310 -135
  12. package/dist/api/audit_trail/v1alpha1/api.gen.cjs +2 -5
  13. package/dist/api/audit_trail/v1alpha1/api.gen.d.ts +4 -8
  14. package/dist/api/audit_trail/v1alpha1/api.gen.js +2 -5
  15. package/dist/api/audit_trail/v1alpha1/types.gen.d.ts +110 -82
  16. package/dist/api/baremetal/v1/api.gen.cjs +28 -61
  17. package/dist/api/baremetal/v1/api.gen.d.ts +29 -60
  18. package/dist/api/baremetal/v1/api.gen.js +28 -61
  19. package/dist/api/baremetal/v1/types.gen.d.ts +802 -315
  20. package/dist/api/baremetal/v3/api.gen.cjs +7 -14
  21. package/dist/api/baremetal/v3/api.gen.d.ts +10 -15
  22. package/dist/api/baremetal/v3/api.gen.js +7 -14
  23. package/dist/api/baremetal/v3/types.gen.d.ts +82 -32
  24. package/dist/api/billing/v2beta1/api.gen.cjs +11 -20
  25. package/dist/api/billing/v2beta1/api.gen.d.ts +9 -19
  26. package/dist/api/billing/v2beta1/api.gen.js +11 -20
  27. package/dist/api/billing/v2beta1/types.gen.d.ts +231 -102
  28. package/dist/api/block/v1/api.gen.cjs +37 -55
  29. package/dist/api/block/v1/api.gen.d.ts +19 -37
  30. package/dist/api/block/v1/api.gen.js +37 -55
  31. package/dist/api/block/v1/types.gen.d.ts +306 -125
  32. package/dist/api/block/v1alpha1/api.gen.cjs +45 -64
  33. package/dist/api/block/v1alpha1/api.gen.d.ts +22 -41
  34. package/dist/api/block/v1alpha1/api.gen.js +45 -64
  35. package/dist/api/block/v1alpha1/types.gen.d.ts +327 -132
  36. package/dist/api/cockpit/v1/api.gen.cjs +132 -156
  37. package/dist/api/cockpit/v1/api.gen.d.ts +66 -113
  38. package/dist/api/cockpit/v1/api.gen.js +133 -157
  39. package/dist/api/cockpit/v1/index.gen.d.ts +1 -1
  40. package/dist/api/cockpit/v1/marshalling.gen.cjs +23 -0
  41. package/dist/api/cockpit/v1/marshalling.gen.d.ts +3 -1
  42. package/dist/api/cockpit/v1/marshalling.gen.js +23 -0
  43. package/dist/api/cockpit/v1/types.gen.d.ts +628 -246
  44. package/dist/api/container/v1beta1/api.gen.cjs +7 -14
  45. package/dist/api/container/v1beta1/api.gen.d.ts +9 -16
  46. package/dist/api/container/v1beta1/api.gen.js +7 -14
  47. package/dist/api/container/v1beta1/types.gen.d.ts +648 -322
  48. package/dist/api/dedibox/v1/api.gen.cjs +45 -69
  49. package/dist/api/dedibox/v1/api.gen.d.ts +52 -62
  50. package/dist/api/dedibox/v1/api.gen.js +45 -69
  51. package/dist/api/dedibox/v1/types.gen.d.ts +1765 -645
  52. package/dist/api/domain/v2beta1/api.gen.cjs +119 -178
  53. package/dist/api/domain/v2beta1/api.gen.d.ts +71 -130
  54. package/dist/api/domain/v2beta1/api.gen.js +119 -178
  55. package/dist/api/domain/v2beta1/content.gen.d.ts +1 -4
  56. package/dist/api/domain/v2beta1/types.gen.d.ts +411 -199
  57. package/dist/api/edge_services/v1beta1/api.gen.cjs +41 -22
  58. package/dist/api/edge_services/v1beta1/api.gen.d.ts +3 -2
  59. package/dist/api/edge_services/v1beta1/api.gen.js +41 -22
  60. package/dist/api/edge_services/v1beta1/index.gen.d.ts +1 -1
  61. package/dist/api/edge_services/v1beta1/types.gen.d.ts +7 -0
  62. package/dist/api/file/index.gen.cjs +4 -0
  63. package/dist/api/file/index.gen.d.ts +5 -0
  64. package/dist/api/file/index.gen.js +4 -0
  65. package/dist/api/file/v1alpha1/api.gen.cjs +142 -0
  66. package/dist/api/file/v1alpha1/api.gen.d.ts +73 -0
  67. package/dist/api/file/v1alpha1/api.gen.js +142 -0
  68. package/dist/api/file/v1alpha1/content.gen.cjs +7 -0
  69. package/dist/api/file/v1alpha1/content.gen.d.ts +3 -0
  70. package/dist/api/file/v1alpha1/content.gen.js +7 -0
  71. package/dist/api/file/v1alpha1/index.gen.cjs +8 -0
  72. package/dist/api/file/v1alpha1/index.gen.d.ts +4 -0
  73. package/dist/api/file/v1alpha1/index.gen.js +8 -0
  74. package/dist/api/file/v1alpha1/marshalling.gen.cjs +77 -0
  75. package/dist/api/file/v1alpha1/marshalling.gen.d.ts +7 -0
  76. package/dist/api/file/v1alpha1/marshalling.gen.js +77 -0
  77. package/dist/api/file/v1alpha1/types.gen.d.ts +239 -0
  78. package/dist/api/file/v1alpha1/validation-rules.gen.cjs +40 -0
  79. package/dist/api/file/v1alpha1/validation-rules.gen.d.ts +34 -0
  80. package/dist/api/file/v1alpha1/validation-rules.gen.js +40 -0
  81. package/dist/api/flexibleip/v1alpha1/api.gen.cjs +10 -25
  82. package/dist/api/flexibleip/v1alpha1/api.gen.d.ts +12 -28
  83. package/dist/api/flexibleip/v1alpha1/api.gen.js +10 -25
  84. package/dist/api/flexibleip/v1alpha1/types.gen.d.ts +186 -78
  85. package/dist/api/function/v1beta1/types.gen.d.ts +6 -6
  86. package/dist/api/iam/v1alpha1/api.gen.cjs +4 -4
  87. package/dist/api/iam/v1alpha1/api.gen.d.ts +4 -4
  88. package/dist/api/iam/v1alpha1/api.gen.js +4 -4
  89. package/dist/api/iam/v1alpha1/types.gen.d.ts +1 -1
  90. package/dist/api/index.gen.d.ts +3 -1
  91. package/dist/api/inference/v1/api.gen.cjs +8 -11
  92. package/dist/api/inference/v1/api.gen.d.ts +6 -9
  93. package/dist/api/inference/v1/api.gen.js +8 -11
  94. package/dist/api/inference/v1/types.gen.d.ts +330 -150
  95. package/dist/api/inference/v1beta1/api.gen.cjs +9 -12
  96. package/dist/api/inference/v1beta1/api.gen.d.ts +7 -10
  97. package/dist/api/inference/v1beta1/api.gen.js +9 -12
  98. package/dist/api/inference/v1beta1/types.gen.d.ts +341 -154
  99. package/dist/api/instance/v1/api.gen.cjs +64 -113
  100. package/dist/api/instance/v1/api.gen.d.ts +54 -103
  101. package/dist/api/instance/v1/api.gen.js +64 -113
  102. package/dist/api/instance/v1/marshalling.gen.cjs +4 -1
  103. package/dist/api/instance/v1/marshalling.gen.js +4 -1
  104. package/dist/api/instance/v1/types.gen.d.ts +1368 -600
  105. package/dist/api/instance/v1/types.private.gen.d.ts +131 -59
  106. package/dist/api/interlink/v1beta1/api.gen.cjs +21 -67
  107. package/dist/api/interlink/v1beta1/api.gen.d.ts +23 -70
  108. package/dist/api/interlink/v1beta1/api.gen.js +21 -67
  109. package/dist/api/interlink/v1beta1/marshalling.gen.cjs +2 -0
  110. package/dist/api/interlink/v1beta1/marshalling.gen.js +2 -0
  111. package/dist/api/interlink/v1beta1/types.gen.d.ts +464 -216
  112. package/dist/api/interlink/v1beta1/validation-rules.gen.cjs +8 -0
  113. package/dist/api/interlink/v1beta1/validation-rules.gen.d.ts +8 -0
  114. package/dist/api/interlink/v1beta1/validation-rules.gen.js +8 -0
  115. package/dist/api/iot/v1/api.gen.cjs +37 -70
  116. package/dist/api/iot/v1/api.gen.d.ts +34 -67
  117. package/dist/api/iot/v1/api.gen.js +37 -70
  118. package/dist/api/iot/v1/types.gen.d.ts +566 -321
  119. package/dist/api/ipam/v1/api.gen.cjs +6 -26
  120. package/dist/api/ipam/v1/api.gen.d.ts +8 -29
  121. package/dist/api/ipam/v1/api.gen.js +6 -26
  122. package/dist/api/ipam/v1/types.gen.d.ts +146 -105
  123. package/dist/api/jobs/v1alpha1/api.gen.cjs +2 -4
  124. package/dist/api/jobs/v1alpha1/api.gen.d.ts +4 -6
  125. package/dist/api/jobs/v1alpha1/api.gen.js +2 -4
  126. package/dist/api/jobs/v1alpha1/types.gen.d.ts +165 -91
  127. package/dist/api/k8s/v1/api.gen.cjs +33 -78
  128. package/dist/api/k8s/v1/api.gen.d.ts +27 -72
  129. package/dist/api/k8s/v1/api.gen.js +33 -78
  130. package/dist/api/k8s/v1/types.gen.d.ts +743 -506
  131. package/dist/api/key_manager/v1alpha1/api.gen.cjs +21 -57
  132. package/dist/api/key_manager/v1alpha1/api.gen.d.ts +19 -56
  133. package/dist/api/key_manager/v1alpha1/api.gen.js +21 -57
  134. package/dist/api/key_manager/v1alpha1/types.gen.d.ts +196 -114
  135. package/dist/api/lb/v1/marshalling.gen.cjs +4 -2
  136. package/dist/api/lb/v1/marshalling.gen.js +4 -2
  137. package/dist/api/lb/v1/types.gen.d.ts +4 -0
  138. package/dist/api/marketplace/v2/api.gen.cjs +8 -21
  139. package/dist/api/marketplace/v2/api.gen.d.ts +10 -24
  140. package/dist/api/marketplace/v2/api.gen.js +8 -21
  141. package/dist/api/marketplace/v2/types.gen.d.ts +94 -41
  142. package/dist/api/mnq/v1beta1/api.gen.cjs +24 -76
  143. package/dist/api/mnq/v1beta1/api.gen.d.ts +30 -82
  144. package/dist/api/mnq/v1beta1/api.gen.js +24 -76
  145. package/dist/api/mnq/v1beta1/types.gen.d.ts +342 -169
  146. package/dist/api/mongodb/v1alpha1/api.gen.cjs +19 -62
  147. package/dist/api/mongodb/v1alpha1/api.gen.d.ts +21 -64
  148. package/dist/api/mongodb/v1alpha1/api.gen.js +19 -62
  149. package/dist/api/mongodb/v1alpha1/types.gen.d.ts +443 -189
  150. package/dist/api/product_catalog/index.gen.cjs +4 -0
  151. package/dist/api/product_catalog/index.gen.d.ts +5 -0
  152. package/dist/api/product_catalog/index.gen.js +4 -0
  153. package/dist/api/product_catalog/v2alpha1/api.gen.cjs +36 -0
  154. package/dist/api/product_catalog/v2alpha1/api.gen.d.ts +18 -0
  155. package/dist/api/product_catalog/v2alpha1/api.gen.js +36 -0
  156. package/dist/api/product_catalog/v2alpha1/index.gen.cjs +6 -0
  157. package/dist/api/product_catalog/v2alpha1/index.gen.d.ts +3 -0
  158. package/dist/api/product_catalog/v2alpha1/index.gen.js +6 -0
  159. package/dist/api/product_catalog/v2alpha1/marshalling.gen.cjs +230 -0
  160. package/dist/api/product_catalog/v2alpha1/marshalling.gen.d.ts +2 -0
  161. package/dist/api/product_catalog/v2alpha1/marshalling.gen.js +230 -0
  162. package/dist/api/product_catalog/v2alpha1/types.gen.d.ts +293 -0
  163. package/dist/api/product_catalog/v2alpha1/validation-rules.gen.cjs +11 -0
  164. package/dist/api/product_catalog/v2alpha1/validation-rules.gen.d.ts +8 -0
  165. package/dist/api/product_catalog/v2alpha1/validation-rules.gen.js +11 -0
  166. package/dist/api/qaas/v1alpha1/api.gen.cjs +17 -34
  167. package/dist/api/qaas/v1alpha1/api.gen.d.ts +19 -36
  168. package/dist/api/qaas/v1alpha1/api.gen.js +17 -34
  169. package/dist/api/qaas/v1alpha1/types.gen.d.ts +502 -174
  170. package/dist/api/rdb/v1/api.gen.cjs +62 -202
  171. package/dist/api/rdb/v1/api.gen.d.ts +60 -201
  172. package/dist/api/rdb/v1/api.gen.js +62 -202
  173. package/dist/api/rdb/v1/types.gen.d.ts +1005 -524
  174. package/dist/api/redis/v1/api.gen.cjs +23 -83
  175. package/dist/api/redis/v1/api.gen.d.ts +25 -85
  176. package/dist/api/redis/v1/api.gen.js +23 -83
  177. package/dist/api/redis/v1/types.gen.d.ts +447 -170
  178. package/dist/api/registry/v1/api.gen.cjs +12 -40
  179. package/dist/api/registry/v1/api.gen.d.ts +14 -42
  180. package/dist/api/registry/v1/api.gen.js +12 -40
  181. package/dist/api/registry/v1/types.gen.d.ts +200 -116
  182. package/dist/api/secret/v1beta1/api.gen.cjs +19 -47
  183. package/dist/api/secret/v1beta1/api.gen.d.ts +21 -51
  184. package/dist/api/secret/v1beta1/api.gen.js +19 -47
  185. package/dist/api/secret/v1beta1/types.gen.d.ts +359 -224
  186. package/dist/api/serverless_sqldb/v1alpha1/api.gen.cjs +9 -27
  187. package/dist/api/serverless_sqldb/v1alpha1/api.gen.d.ts +11 -29
  188. package/dist/api/serverless_sqldb/v1alpha1/api.gen.js +9 -27
  189. package/dist/api/serverless_sqldb/v1alpha1/types.gen.d.ts +168 -76
  190. package/dist/api/tem/v1alpha1/api.gen.cjs +22 -58
  191. package/dist/api/tem/v1alpha1/api.gen.d.ts +24 -60
  192. package/dist/api/tem/v1alpha1/api.gen.js +22 -58
  193. package/dist/api/tem/v1alpha1/types.gen.d.ts +761 -338
  194. package/dist/api/test/v1/api.gen.cjs +8 -11
  195. package/dist/api/test/v1/api.gen.d.ts +6 -9
  196. package/dist/api/test/v1/api.gen.js +8 -11
  197. package/dist/api/test/v1/types.gen.d.ts +21 -10
  198. package/dist/api/vpcgw/v1/api.gen.cjs +37 -0
  199. package/dist/api/vpcgw/v1/api.gen.d.ts +37 -0
  200. package/dist/api/vpcgw/v1/api.gen.js +37 -0
  201. package/dist/client/dist/package.json.cjs +1 -1
  202. package/dist/client/dist/package.json.js +1 -1
  203. package/dist/index.cjs +36 -32
  204. package/dist/index.js +36 -32
  205. package/node_modules/@scaleway/sdk-client/dist/package.json.cjs +1 -1
  206. package/node_modules/@scaleway/sdk-client/dist/package.json.js +1 -1
  207. package/node_modules/@scaleway/sdk-client/package.json +1 -2
  208. package/package.json +2 -2
  209. package/node_modules/@scaleway/sdk-client/LICENSE +0 -191
@@ -90,9 +90,7 @@ class API extends API$1 {
90
90
  options
91
91
  );
92
92
  /**
93
- * Update a Cluster. Update information on a specific Kubernetes cluster. You
94
- * can update details such as its name, description, tags and configuration.
95
- * To upgrade a cluster, you will need to use the dedicated endpoint.
93
+ * Update a Cluster. Update information on a specific Kubernetes cluster. You can update details such as its name, description, tags and configuration. To upgrade a cluster, you will need to use the dedicated endpoint.
96
94
  *
97
95
  * @param request - The request {@link UpdateClusterRequest}
98
96
  * @returns A Promise of Cluster
@@ -109,9 +107,7 @@ class API extends API$1 {
109
107
  unmarshalCluster
110
108
  );
111
109
  /**
112
- * Delete a Cluster. Delete a specific Kubernetes cluster and all its
113
- * associated pools and nodes, and possibly its associated Load Balancers or
114
- * Block Volumes.
110
+ * Delete a Cluster. Delete a specific Kubernetes cluster and all its associated pools and nodes, and possibly its associated Load Balancers or Block Volumes.
115
111
  *
116
112
  * @param request - The request {@link DeleteClusterRequest}
117
113
  * @returns A Promise of Cluster
@@ -128,8 +124,7 @@ class API extends API$1 {
128
124
  unmarshalCluster
129
125
  );
130
126
  /**
131
- * Upgrade a Cluster. Upgrade a specific Kubernetes cluster and possibly its
132
- * associated pools to a specific and supported Kubernetes version.
127
+ * Upgrade a Cluster. Upgrade a specific Kubernetes cluster and possibly its associated pools to a specific and supported Kubernetes version.
133
128
  *
134
129
  * @param request - The request {@link UpgradeClusterRequest}
135
130
  * @returns A Promise of Cluster
@@ -146,9 +141,7 @@ class API extends API$1 {
146
141
  unmarshalCluster
147
142
  );
148
143
  /**
149
- * Change the Cluster type. Change the type of a specific Kubernetes cluster.
150
- * To see the possible values you can enter for the `type` field, [list
151
- * available cluster types](#list-available-cluster-types-for-a-cluster).
144
+ * Change the Cluster type. Change the type of a specific Kubernetes cluster. To see the possible values you can enter for the `type` field, [list available cluster types](#list-available-cluster-types-for-a-cluster).
152
145
  *
153
146
  * @param request - The request {@link SetClusterTypeRequest}
154
147
  * @returns A Promise of Cluster
@@ -165,11 +158,7 @@ class API extends API$1 {
165
158
  unmarshalCluster
166
159
  );
167
160
  /**
168
- * List available versions for a Cluster. List the versions that a specific
169
- * Kubernetes cluster is allowed to upgrade to. Results will include every
170
- * patch version greater than the current patch, as well as one minor version
171
- * ahead of the current version. Any upgrade skipping a minor version will not
172
- * work.
161
+ * List available versions for a Cluster. List the versions that a specific Kubernetes cluster is allowed to upgrade to. Results will include every patch version greater than the current patch, as well as one minor version ahead of the current version. Any upgrade skipping a minor version will not work.
173
162
  *
174
163
  * @param request - The request {@link ListClusterAvailableVersionsRequest}
175
164
  * @returns A Promise of ListClusterAvailableVersionsResponse
@@ -182,8 +171,7 @@ class API extends API$1 {
182
171
  unmarshalListClusterAvailableVersionsResponse
183
172
  );
184
173
  /**
185
- * List available cluster types for a cluster. List the cluster types that a
186
- * specific Kubernetes cluster is allowed to switch to.
174
+ * List available cluster types for a cluster. List the cluster types that a specific Kubernetes cluster is allowed to switch to.
187
175
  *
188
176
  * @param request - The request {@link ListClusterAvailableTypesRequest}
189
177
  * @returns A Promise of ListClusterAvailableTypesResponse
@@ -202,10 +190,7 @@ class API extends API$1 {
202
190
  responseType: "blob"
203
191
  });
204
192
  /**
205
- * Reset the admin token of a Cluster. Reset the admin token for a specific
206
- * Kubernetes cluster. This will revoke the old admin token (which will not be
207
- * usable afterwards) and create a new one. Note that you will need to
208
- * download the kubeconfig again to keep interacting with the cluster.
193
+ * Reset the admin token of a Cluster. Reset the admin token for a specific Kubernetes cluster. This will revoke the old admin token (which will not be usable afterwards) and create a new one. Note that you will need to download the kubeconfig again to keep interacting with the cluster.
209
194
  *
210
195
  * @param request - The request {@link ResetClusterAdminTokenRequest}
211
196
  */
@@ -216,14 +201,12 @@ class API extends API$1 {
216
201
  path: `/k8s/v1/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam("clusterId", request.clusterId)}/reset-admin-token`
217
202
  });
218
203
  /**
219
- * Migrate a cluster to SBS CSI. Enable the latest CSI compatible with
220
- * Scaleway Block Storage (SBS) and migrate all existing
221
- * PersistentVolumes/VolumeSnapshotContents to SBS. Make sure to have the
222
- * necessary Quota before running this command.
223
- *
224
- * @param request - The request {@link MigrateClusterToSBSCSIRequest}
225
- * @returns A Promise of Cluster
226
- */
204
+ * Migrate a cluster to SBS CSI. Enable the latest CSI compatible with Scaleway Block Storage (SBS) and migrate all existing PersistentVolumes/VolumeSnapshotContents to SBS.
205
+ Make sure to have the necessary Quota before running this command.
206
+ *
207
+ * @param request - The request {@link MigrateClusterToSBSCSIRequest}
208
+ * @returns A Promise of Cluster
209
+ */
227
210
  migrateClusterToSBSCSI = (request) => this.client.fetch(
228
211
  {
229
212
  body: "{}",
@@ -315,16 +298,14 @@ class API extends API$1 {
315
298
  unmarshalListPoolsResponse
316
299
  );
317
300
  /**
318
- * List Pools in a Cluster. List all the existing pools for a specific
319
- * Kubernetes cluster.
301
+ * List Pools in a Cluster. List all the existing pools for a specific Kubernetes cluster.
320
302
  *
321
303
  * @param request - The request {@link ListPoolsRequest}
322
304
  * @returns A Promise of ListPoolsResponse
323
305
  */
324
306
  listPools = (request) => enrichForPagination("pools", this.pageOfListPools, request);
325
307
  /**
326
- * Create a new Pool in a Cluster. Create a new pool in a specific Kubernetes
327
- * cluster.
308
+ * Create a new Pool in a Cluster. Create a new pool in a specific Kubernetes cluster.
328
309
  *
329
310
  * @param request - The request {@link CreatePoolRequest}
330
311
  * @returns A Promise of Pool
@@ -341,8 +322,7 @@ class API extends API$1 {
341
322
  unmarshalPool
342
323
  );
343
324
  /**
344
- * Get a Pool in a Cluster. Retrieve details about a specific pool in a
345
- * Kubernetes cluster.
325
+ * Get a Pool in a Cluster. Retrieve details about a specific pool in a Kubernetes cluster.
346
326
  *
347
327
  * @param request - The request {@link GetPoolRequest}
348
328
  * @returns A Promise of Pool
@@ -368,13 +348,12 @@ class API extends API$1 {
368
348
  options
369
349
  );
370
350
  /**
371
- * Upgrade a Pool in a Cluster. Upgrade the Kubernetes version of a specific
372
- * pool. Note that it only works if the targeted version matches the cluster's
373
- * version. This will drain and replace the nodes in that pool.
374
- *
375
- * @param request - The request {@link UpgradePoolRequest}
376
- * @returns A Promise of Pool
377
- */
351
+ * Upgrade a Pool in a Cluster. Upgrade the Kubernetes version of a specific pool. Note that it only works if the targeted version matches the cluster's version.
352
+ This will drain and replace the nodes in that pool.
353
+ *
354
+ * @param request - The request {@link UpgradePoolRequest}
355
+ * @returns A Promise of Pool
356
+ */
378
357
  upgradePool = (request) => this.client.fetch(
379
358
  {
380
359
  body: JSON.stringify(
@@ -387,9 +366,7 @@ class API extends API$1 {
387
366
  unmarshalPool
388
367
  );
389
368
  /**
390
- * Update a Pool in a Cluster. Update the attributes of a specific pool, such
391
- * as its desired size, autoscaling settings, and tags. To upgrade a pool, you
392
- * will need to use the dedicated endpoint.
369
+ * Update a Pool in a Cluster. Update the attributes of a specific pool, such as its desired size, autoscaling settings, and tags. To upgrade a pool, you will need to use the dedicated endpoint.
393
370
  *
394
371
  * @param request - The request {@link UpdatePoolRequest}
395
372
  * @returns A Promise of Pool
@@ -406,8 +383,7 @@ class API extends API$1 {
406
383
  unmarshalPool
407
384
  );
408
385
  /**
409
- * Delete a Pool in a Cluster. Delete a specific pool from a cluster. Note
410
- * that all the pool's nodes will also be deleted.
386
+ * Delete a Pool in a Cluster. Delete a specific pool from a cluster. Note that all the pool's nodes will also be deleted.
411
387
  *
412
388
  * @param request - The request {@link DeletePoolRequest}
413
389
  * @returns A Promise of Pool
@@ -420,9 +396,7 @@ class API extends API$1 {
420
396
  unmarshalPool
421
397
  );
422
398
  /**
423
- * Fetch node metadata. Rerieve metadata to instantiate a Kapsule/Kosmos node.
424
- * This method is not intended to be called by end users but rather
425
- * programmatically by the node-installer.
399
+ * Fetch node metadata. Rerieve metadata to instantiate a Kapsule/Kosmos node. This method is not intended to be called by end users but rather programmatically by the node-installer.
426
400
  *
427
401
  * @param request - The request {@link GetNodeMetadataRequest}
428
402
  * @returns A Promise of NodeMetadata
@@ -435,9 +409,7 @@ class API extends API$1 {
435
409
  unmarshalNodeMetadata
436
410
  );
437
411
  /**
438
- * Authenticate Kosmos external node. Creates a newer Kosmos node and returns
439
- * its token. This method is not intended to be called by end users but rather
440
- * programmatically by the node-installer.
412
+ * Authenticate Kosmos external node. Creates a newer Kosmos node and returns its token. This method is not intended to be called by end users but rather programmatically by the node-installer.
441
413
  *
442
414
  * @param request - The request {@link AuthExternalNodeRequest}
443
415
  * @returns A Promise of ExternalNodeAuth
@@ -452,9 +424,7 @@ class API extends API$1 {
452
424
  unmarshalExternalNodeAuth
453
425
  );
454
426
  /**
455
- * Create a Kosmos node. Retrieve metadata for a Kosmos node. This method is
456
- * not intended to be called by end users but rather programmatically by the
457
- * kapsule-node-agent.
427
+ * Create a Kosmos node. Retrieve metadata for a Kosmos node. This method is not intended to be called by end users but rather programmatically by the kapsule-node-agent.
458
428
  *
459
429
  * @param request - The request {@link CreateExternalNodeRequest}
460
430
  * @returns A Promise of ExternalNode
@@ -487,8 +457,7 @@ class API extends API$1 {
487
457
  unmarshalListNodesResponse
488
458
  );
489
459
  /**
490
- * List Nodes in a Cluster. List all the existing nodes for a specific
491
- * Kubernetes cluster.
460
+ * List Nodes in a Cluster. List all the existing nodes for a specific Kubernetes cluster.
492
461
  *
493
462
  * @param request - The request {@link ListNodesRequest}
494
463
  * @returns A Promise of ListNodesResponse
@@ -521,11 +490,7 @@ class API extends API$1 {
521
490
  options
522
491
  );
523
492
  /**
524
- * Replace a Node in a Cluster. Replace a specific Node. The node will first
525
- * be drained and pods will be rescheduled onto another node. Note that when
526
- * there is not enough space to reschedule all the pods (such as in a one-node
527
- * cluster, or with specific constraints), disruption of your applications may
528
- * occur.
493
+ * Replace a Node in a Cluster. Replace a specific Node. The node will first be drained and pods will be rescheduled onto another node. Note that when there is not enough space to reschedule all the pods (such as in a one-node cluster, or with specific constraints), disruption of your applications may occur.
529
494
  *
530
495
  * @deprecated
531
496
  * @param request - The request {@link ReplaceNodeRequest}
@@ -541,11 +506,7 @@ class API extends API$1 {
541
506
  unmarshalNode
542
507
  );
543
508
  /**
544
- * Reboot a Node in a Cluster. Reboot a specific Node. The node will first be
545
- * drained and pods will be rescheduled onto another node. Note that when
546
- * there is not enough space to reschedule all the pods (such as in a one-node
547
- * cluster, or with specific constraints), disruption of your applications may
548
- * occur.
509
+ * Reboot a Node in a Cluster. Reboot a specific Node. The node will first be drained and pods will be rescheduled onto another node. Note that when there is not enough space to reschedule all the pods (such as in a one-node cluster, or with specific constraints), disruption of your applications may occur.
549
510
  *
550
511
  * @param request - The request {@link RebootNodeRequest}
551
512
  * @returns A Promise of Node
@@ -560,11 +521,7 @@ class API extends API$1 {
560
521
  unmarshalNode
561
522
  );
562
523
  /**
563
- * Delete a Node in a Cluster. Delete a specific Node. The node will first be
564
- * drained and pods will be rescheduled onto another node. Note that when
565
- * there is not enough space to reschedule all the pods (such as in a one-node
566
- * cluster, or with specific constraints), disruption of your applications may
567
- * occur.
524
+ * Delete a Node in a Cluster. Delete a specific Node. The node will first be drained and pods will be rescheduled onto another node. Note that when there is not enough space to reschedule all the pods (such as in a one-node cluster, or with specific constraints), disruption of your applications may occur.
568
525
  *
569
526
  * @param request - The request {@link DeleteNodeRequest}
570
527
  * @returns A Promise of Node
@@ -581,8 +538,7 @@ class API extends API$1 {
581
538
  unmarshalNode
582
539
  );
583
540
  /**
584
- * List all available Versions. List all available versions for the creation
585
- * of a new Kubernetes cluster.
541
+ * List all available Versions. List all available versions for the creation of a new Kubernetes cluster.
586
542
  *
587
543
  * @param request - The request {@link ListVersionsRequest}
588
544
  * @returns A Promise of ListVersionsResponse
@@ -622,8 +578,7 @@ class API extends API$1 {
622
578
  unmarshalListClusterTypesResponse
623
579
  );
624
580
  /**
625
- * List cluster types. List available cluster types and their technical
626
- * details.
581
+ * List cluster types. List available cluster types and their technical details.
627
582
  *
628
583
  * @param request - The request {@link ListClusterTypesRequest}
629
584
  * @returns A Promise of ListClusterTypesResponse