@scaleway/sdk 2.72.0 → 2.73.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 (146) 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/types.gen.d.ts +187 -85
  5. package/dist/api/applesilicon/v1alpha1/api.gen.cjs +19 -46
  6. package/dist/api/applesilicon/v1alpha1/api.gen.d.ts +24 -49
  7. package/dist/api/applesilicon/v1alpha1/api.gen.js +19 -46
  8. package/dist/api/applesilicon/v1alpha1/types.gen.d.ts +310 -135
  9. package/dist/api/audit_trail/v1alpha1/api.gen.cjs +2 -5
  10. package/dist/api/audit_trail/v1alpha1/api.gen.d.ts +4 -8
  11. package/dist/api/audit_trail/v1alpha1/api.gen.js +2 -5
  12. package/dist/api/audit_trail/v1alpha1/types.gen.d.ts +110 -82
  13. package/dist/api/baremetal/v1/api.gen.cjs +28 -61
  14. package/dist/api/baremetal/v1/api.gen.d.ts +29 -60
  15. package/dist/api/baremetal/v1/api.gen.js +28 -61
  16. package/dist/api/baremetal/v1/types.gen.d.ts +802 -315
  17. package/dist/api/baremetal/v3/api.gen.cjs +7 -14
  18. package/dist/api/baremetal/v3/api.gen.d.ts +10 -15
  19. package/dist/api/baremetal/v3/api.gen.js +7 -14
  20. package/dist/api/baremetal/v3/types.gen.d.ts +82 -32
  21. package/dist/api/billing/v2beta1/api.gen.cjs +11 -20
  22. package/dist/api/billing/v2beta1/api.gen.d.ts +9 -19
  23. package/dist/api/billing/v2beta1/api.gen.js +11 -20
  24. package/dist/api/billing/v2beta1/types.gen.d.ts +231 -102
  25. package/dist/api/block/v1/api.gen.cjs +37 -55
  26. package/dist/api/block/v1/api.gen.d.ts +19 -37
  27. package/dist/api/block/v1/api.gen.js +37 -55
  28. package/dist/api/block/v1/types.gen.d.ts +306 -125
  29. package/dist/api/block/v1alpha1/api.gen.cjs +45 -64
  30. package/dist/api/block/v1alpha1/api.gen.d.ts +22 -41
  31. package/dist/api/block/v1alpha1/api.gen.js +45 -64
  32. package/dist/api/block/v1alpha1/types.gen.d.ts +327 -132
  33. package/dist/api/cockpit/v1/api.gen.cjs +100 -156
  34. package/dist/api/cockpit/v1/api.gen.d.ts +53 -112
  35. package/dist/api/cockpit/v1/api.gen.js +100 -156
  36. package/dist/api/cockpit/v1/types.gen.d.ts +567 -246
  37. package/dist/api/container/v1beta1/api.gen.cjs +7 -14
  38. package/dist/api/container/v1beta1/api.gen.d.ts +9 -16
  39. package/dist/api/container/v1beta1/api.gen.js +7 -14
  40. package/dist/api/container/v1beta1/types.gen.d.ts +648 -322
  41. package/dist/api/dedibox/v1/api.gen.cjs +45 -69
  42. package/dist/api/dedibox/v1/api.gen.d.ts +52 -62
  43. package/dist/api/dedibox/v1/api.gen.js +45 -69
  44. package/dist/api/dedibox/v1/types.gen.d.ts +1765 -645
  45. package/dist/api/domain/v2beta1/api.gen.cjs +119 -178
  46. package/dist/api/domain/v2beta1/api.gen.d.ts +71 -130
  47. package/dist/api/domain/v2beta1/api.gen.js +119 -178
  48. package/dist/api/domain/v2beta1/content.gen.d.ts +1 -4
  49. package/dist/api/domain/v2beta1/types.gen.d.ts +411 -199
  50. package/dist/api/flexibleip/v1alpha1/api.gen.cjs +10 -25
  51. package/dist/api/flexibleip/v1alpha1/api.gen.d.ts +12 -28
  52. package/dist/api/flexibleip/v1alpha1/api.gen.js +10 -25
  53. package/dist/api/flexibleip/v1alpha1/types.gen.d.ts +186 -78
  54. package/dist/api/inference/v1/api.gen.cjs +8 -11
  55. package/dist/api/inference/v1/api.gen.d.ts +6 -9
  56. package/dist/api/inference/v1/api.gen.js +8 -11
  57. package/dist/api/inference/v1/types.gen.d.ts +330 -150
  58. package/dist/api/inference/v1beta1/api.gen.cjs +8 -11
  59. package/dist/api/inference/v1beta1/api.gen.d.ts +6 -9
  60. package/dist/api/inference/v1beta1/api.gen.js +8 -11
  61. package/dist/api/inference/v1beta1/types.gen.d.ts +341 -154
  62. package/dist/api/instance/v1/api.gen.cjs +64 -113
  63. package/dist/api/instance/v1/api.gen.d.ts +54 -103
  64. package/dist/api/instance/v1/api.gen.js +64 -113
  65. package/dist/api/instance/v1/types.gen.d.ts +1351 -598
  66. package/dist/api/instance/v1/types.private.gen.d.ts +131 -59
  67. package/dist/api/interlink/v1beta1/api.gen.cjs +21 -67
  68. package/dist/api/interlink/v1beta1/api.gen.d.ts +23 -70
  69. package/dist/api/interlink/v1beta1/api.gen.js +21 -67
  70. package/dist/api/interlink/v1beta1/marshalling.gen.cjs +2 -0
  71. package/dist/api/interlink/v1beta1/marshalling.gen.js +2 -0
  72. package/dist/api/interlink/v1beta1/types.gen.d.ts +464 -216
  73. package/dist/api/interlink/v1beta1/validation-rules.gen.cjs +8 -0
  74. package/dist/api/interlink/v1beta1/validation-rules.gen.d.ts +8 -0
  75. package/dist/api/interlink/v1beta1/validation-rules.gen.js +8 -0
  76. package/dist/api/iot/v1/api.gen.cjs +37 -70
  77. package/dist/api/iot/v1/api.gen.d.ts +34 -67
  78. package/dist/api/iot/v1/api.gen.js +37 -70
  79. package/dist/api/iot/v1/types.gen.d.ts +566 -321
  80. package/dist/api/ipam/v1/api.gen.cjs +6 -26
  81. package/dist/api/ipam/v1/api.gen.d.ts +8 -29
  82. package/dist/api/ipam/v1/api.gen.js +6 -26
  83. package/dist/api/ipam/v1/types.gen.d.ts +146 -105
  84. package/dist/api/jobs/v1alpha1/api.gen.cjs +2 -4
  85. package/dist/api/jobs/v1alpha1/api.gen.d.ts +4 -6
  86. package/dist/api/jobs/v1alpha1/api.gen.js +2 -4
  87. package/dist/api/jobs/v1alpha1/types.gen.d.ts +165 -91
  88. package/dist/api/k8s/v1/api.gen.cjs +33 -78
  89. package/dist/api/k8s/v1/api.gen.d.ts +27 -72
  90. package/dist/api/k8s/v1/api.gen.js +33 -78
  91. package/dist/api/k8s/v1/types.gen.d.ts +743 -506
  92. package/dist/api/key_manager/v1alpha1/api.gen.cjs +21 -57
  93. package/dist/api/key_manager/v1alpha1/api.gen.d.ts +19 -56
  94. package/dist/api/key_manager/v1alpha1/api.gen.js +21 -57
  95. package/dist/api/key_manager/v1alpha1/types.gen.d.ts +196 -114
  96. package/dist/api/marketplace/v2/api.gen.cjs +8 -21
  97. package/dist/api/marketplace/v2/api.gen.d.ts +10 -24
  98. package/dist/api/marketplace/v2/api.gen.js +8 -21
  99. package/dist/api/marketplace/v2/types.gen.d.ts +94 -41
  100. package/dist/api/mnq/v1beta1/api.gen.cjs +24 -76
  101. package/dist/api/mnq/v1beta1/api.gen.d.ts +30 -82
  102. package/dist/api/mnq/v1beta1/api.gen.js +24 -76
  103. package/dist/api/mnq/v1beta1/types.gen.d.ts +342 -169
  104. package/dist/api/mongodb/v1alpha1/api.gen.cjs +19 -62
  105. package/dist/api/mongodb/v1alpha1/api.gen.d.ts +21 -64
  106. package/dist/api/mongodb/v1alpha1/api.gen.js +19 -62
  107. package/dist/api/mongodb/v1alpha1/types.gen.d.ts +443 -189
  108. package/dist/api/qaas/v1alpha1/api.gen.cjs +17 -34
  109. package/dist/api/qaas/v1alpha1/api.gen.d.ts +19 -36
  110. package/dist/api/qaas/v1alpha1/api.gen.js +17 -34
  111. package/dist/api/qaas/v1alpha1/types.gen.d.ts +502 -174
  112. package/dist/api/rdb/v1/api.gen.cjs +62 -202
  113. package/dist/api/rdb/v1/api.gen.d.ts +60 -201
  114. package/dist/api/rdb/v1/api.gen.js +62 -202
  115. package/dist/api/rdb/v1/types.gen.d.ts +1005 -524
  116. package/dist/api/redis/v1/api.gen.cjs +23 -83
  117. package/dist/api/redis/v1/api.gen.d.ts +25 -85
  118. package/dist/api/redis/v1/api.gen.js +23 -83
  119. package/dist/api/redis/v1/types.gen.d.ts +447 -170
  120. package/dist/api/registry/v1/api.gen.cjs +12 -40
  121. package/dist/api/registry/v1/api.gen.d.ts +14 -42
  122. package/dist/api/registry/v1/api.gen.js +12 -40
  123. package/dist/api/registry/v1/types.gen.d.ts +200 -116
  124. package/dist/api/secret/v1beta1/api.gen.cjs +19 -47
  125. package/dist/api/secret/v1beta1/api.gen.d.ts +21 -51
  126. package/dist/api/secret/v1beta1/api.gen.js +19 -47
  127. package/dist/api/secret/v1beta1/types.gen.d.ts +359 -224
  128. package/dist/api/serverless_sqldb/v1alpha1/api.gen.cjs +9 -27
  129. package/dist/api/serverless_sqldb/v1alpha1/api.gen.d.ts +11 -29
  130. package/dist/api/serverless_sqldb/v1alpha1/api.gen.js +9 -27
  131. package/dist/api/serverless_sqldb/v1alpha1/types.gen.d.ts +168 -76
  132. package/dist/api/tem/v1alpha1/api.gen.cjs +22 -58
  133. package/dist/api/tem/v1alpha1/api.gen.d.ts +24 -60
  134. package/dist/api/tem/v1alpha1/api.gen.js +22 -58
  135. package/dist/api/tem/v1alpha1/types.gen.d.ts +761 -338
  136. package/dist/api/test/v1/api.gen.cjs +8 -11
  137. package/dist/api/test/v1/api.gen.d.ts +6 -9
  138. package/dist/api/test/v1/api.gen.js +8 -11
  139. package/dist/api/test/v1/types.gen.d.ts +21 -10
  140. package/dist/client/dist/package.json.cjs +1 -1
  141. package/dist/client/dist/package.json.js +1 -1
  142. package/node_modules/@scaleway/sdk-client/dist/package.json.cjs +1 -1
  143. package/node_modules/@scaleway/sdk-client/dist/package.json.js +1 -1
  144. package/node_modules/@scaleway/sdk-client/package.json +1 -2
  145. package/package.json +2 -2
  146. package/node_modules/@scaleway/sdk-client/LICENSE +0 -191
@@ -40,8 +40,7 @@ class API extends api.API {
40
40
  marshalling_gen.unmarshalGetServerTypesAvailabilityResponse
41
41
  );
42
42
  /**
43
- * List Instance types. List available Instance types and their technical
44
- * details.
43
+ * List Instance types. List available Instance types and their technical details.
45
44
  *
46
45
  * @param request - The request {@link ListServersTypesRequest}
47
46
  * @returns A Promise of ListServersTypesResponse
@@ -109,8 +108,7 @@ class API extends api.API {
109
108
  marshalling_gen.unmarshalListServersResponse
110
109
  );
111
110
  /**
112
- * List all Instances. List all Instances in a specified Availability Zone,
113
- * e.g. `fr-par-1`.
111
+ * List all Instances. List all Instances in a specified Availability Zone, e.g. `fr-par-1`.
114
112
  *
115
113
  * @param request - The request {@link ListServersRequest}
116
114
  * @returns A Promise of ListServersResponse
@@ -172,8 +170,7 @@ class API extends api.API {
172
170
  marshalling_gen.unmarshalUpdateServerResponse
173
171
  );
174
172
  /**
175
- * List Instance actions. List all actions (e.g. power on, power off, reboot)
176
- * that can currently be performed on an Instance.
173
+ * List Instance actions. List all actions (e.g. power on, power off, reboot) that can currently be performed on an Instance.
177
174
  *
178
175
  * @param request - The request {@link ListServerActionsRequest}
179
176
  * @returns A Promise of ListServerActionsResponse
@@ -186,30 +183,26 @@ class API extends api.API {
186
183
  marshalling_gen.unmarshalListServerActionsResponse
187
184
  );
188
185
  /**
189
- * Perform action. Perform an action on an Instance. Available actions are:
190
- * `poweron`: Start a stopped Instance. `poweroff`: Fully stop the Instance
191
- * and release the hypervisor slot. `stop_in_place`: Stop the Instance, but
192
- * keep the slot on the hypervisor. `reboot`: Stop the instance and restart
193
- * it. `backup`: Create an image with all the volumes of an Instance.
194
- * `terminate`: Delete the Instance along with its attached volumes, except
195
- * for SBS volumes. `enable_routed_ip`: Migrate the Instance to the new
196
- * network stack.
197
- *
198
- * The `terminate` action will result in the deletion of `l_ssd`, `b_ssd` and
199
- * `scratch` volumes types, `sbs_volume` volumes type will only be detached.
200
- * If you want to preserve your volumes, you should detach them before the
201
- * Instance deletion or `terminate` action.
202
- *
203
- * The `backup` action can be done with: No `volumes` key in the body: an
204
- * image is created with snapshots of all the server volumes, except for the
205
- * `scratch` volumes types. `volumes` key in the body with a dictionary as
206
- * value, in this dictionary volumes UUID as keys and empty dictionaries as
207
- * values : an image is created with the snapshots of the volumes in `volumes`
208
- * key. `scratch` volumes types can't be shapshotted.
209
- *
210
- * @param request - The request {@link ServerActionRequest}
211
- * @returns A Promise of ServerActionResponse
212
- */
186
+ * Perform action. Perform an action on an Instance.
187
+ Available actions are:
188
+ * `poweron`: Start a stopped Instance.
189
+ * `poweroff`: Fully stop the Instance and release the hypervisor slot.
190
+ * `stop_in_place`: Stop the Instance, but keep the slot on the hypervisor.
191
+ * `reboot`: Stop the instance and restart it.
192
+ * `backup`: Create an image with all the volumes of an Instance.
193
+ * `terminate`: Delete the Instance along with its attached volumes, except for SBS volumes.
194
+ * `enable_routed_ip`: Migrate the Instance to the new network stack.
195
+
196
+ The `terminate` action will result in the deletion of `l_ssd`, `b_ssd` and `scratch` volumes types, `sbs_volume` volumes type will only be detached.
197
+ If you want to preserve your volumes, you should detach them before the Instance deletion or `terminate` action.
198
+
199
+ The `backup` action can be done with:
200
+ * No `volumes` key in the body: an image is created with snapshots of all the server volumes, except for the `scratch` volumes types.
201
+ * `volumes` key in the body with a dictionary as value, in this dictionary volumes UUID as keys and empty dictionaries as values : an image is created with the snapshots of the volumes in `volumes` key. `scratch` volumes types can't be shapshotted.
202
+ *
203
+ * @param request - The request {@link ServerActionRequest}
204
+ * @returns A Promise of ServerActionResponse
205
+ */
213
206
  serverAction = (request) => this.client.fetch(
214
207
  {
215
208
  body: JSON.stringify(
@@ -244,16 +237,16 @@ class API extends api.API {
244
237
  path: `/instance/v1/zones/${marshalling.validatePathParam("zone", request.zone ?? this.client.settings.defaultZone)}/servers/${marshalling.validatePathParam("serverId", request.serverId)}/user_data/${marshalling.validatePathParam("key", request.key)}`
245
238
  });
246
239
  /**
247
- * Get Instance compatible types. Get compatible commercial types that can be
248
- * used to update the Instance. The compatibility of an Instance offer is
249
- * based on: the CPU architecture the OS type the required l_ssd storage size
250
- * the required scratch storage size If the specified Instance offer is
251
- * flagged as end of service, the best compatible offer is the first
252
- * returned.
253
- *
254
- * @param request - The request {@link GetServerCompatibleTypesRequest}
255
- * @returns A Promise of ServerCompatibleTypes
256
- */
240
+ * Get Instance compatible types. Get compatible commercial types that can be used to update the Instance. The compatibility of an Instance offer is based on:
241
+ * the CPU architecture
242
+ * the OS type
243
+ * the required l_ssd storage size
244
+ * the required scratch storage size
245
+ If the specified Instance offer is flagged as end of service, the best compatible offer is the first returned.
246
+ *
247
+ * @param request - The request {@link GetServerCompatibleTypesRequest}
248
+ * @returns A Promise of ServerCompatibleTypes
249
+ */
257
250
  getServerCompatibleTypes = (request) => this.client.fetch(
258
251
  {
259
252
  method: "GET",
@@ -321,8 +314,7 @@ class API extends api.API {
321
314
  marshalling_gen.unmarshalGetImageResponse
322
315
  );
323
316
  /**
324
- * Create an Instance image. Create an Instance image from the specified
325
- * snapshot ID.
317
+ * Create an Instance image. Create an Instance image from the specified snapshot ID.
326
318
  *
327
319
  * @param request - The request {@link CreateImageRequest}
328
320
  * @returns A Promise of CreateImageResponse
@@ -392,17 +384,14 @@ class API extends api.API {
392
384
  marshalling_gen.unmarshalListSnapshotsResponse
393
385
  );
394
386
  /**
395
- * List snapshots. List all snapshots of an Organization in a specified
396
- * Availability Zone.
387
+ * List snapshots. List all snapshots of an Organization in a specified Availability Zone.
397
388
  *
398
389
  * @param request - The request {@link ListSnapshotsRequest}
399
390
  * @returns A Promise of ListSnapshotsResponse
400
391
  */
401
392
  listSnapshots = (request = {}) => resourcePaginator.enrichForPagination("snapshots", this.pageOfListSnapshots, request);
402
393
  /**
403
- * Create a snapshot from a specified volume or from a QCOW2 file. Create a
404
- * snapshot from a specified volume or from a QCOW2 file in a specified
405
- * Availability Zone.
394
+ * Create a snapshot from a specified volume or from a QCOW2 file. Create a snapshot from a specified volume or from a QCOW2 file in a specified Availability Zone.
406
395
  *
407
396
  * @param request - The request {@link CreateSnapshotRequest}
408
397
  * @returns A Promise of CreateSnapshotResponse
@@ -469,8 +458,7 @@ class API extends api.API {
469
458
  path: `/instance/v1/zones/${marshalling.validatePathParam("zone", request.zone ?? this.client.settings.defaultZone)}/snapshots/${marshalling.validatePathParam("snapshotId", request.snapshotId)}`
470
459
  });
471
460
  /**
472
- * Export a snapshot. Export a snapshot to a specified Object Storage bucket
473
- * in the same region.
461
+ * Export a snapshot. Export a snapshot to a specified Object Storage bucket in the same region.
474
462
  *
475
463
  * @param request - The request {@link ExportSnapshotRequest}
476
464
  * @returns A Promise of ExportSnapshotResponse
@@ -506,16 +494,14 @@ class API extends api.API {
506
494
  marshalling_gen.unmarshalListVolumesResponse
507
495
  );
508
496
  /**
509
- * List volumes. List volumes in the specified Availability Zone. You can
510
- * filter the output by volume type.
497
+ * List volumes. List volumes in the specified Availability Zone. You can filter the output by volume type.
511
498
  *
512
499
  * @param request - The request {@link ListVolumesRequest}
513
500
  * @returns A Promise of ListVolumesResponse
514
501
  */
515
502
  listVolumes = (request = {}) => resourcePaginator.enrichForPagination("volumes", this.pageOfListVolumes, request);
516
503
  /**
517
- * Create a volume. Create a volume of a specified type in an Availability
518
- * Zone.
504
+ * Create a volume. Create a volume of a specified type in an Availability Zone.
519
505
  *
520
506
  * @param request - The request {@link CreateVolumeRequest}
521
507
  * @returns A Promise of CreateVolumeResponse
@@ -545,9 +531,7 @@ class API extends api.API {
545
531
  marshalling_gen.unmarshalGetVolumeResponse
546
532
  );
547
533
  /**
548
- * Update a volume. Replace the name and/or size properties of a volume
549
- * specified by its ID, with the specified value(s). Any volume name can be
550
- * changed, however only `b_ssd` volumes can currently be increased in size.
534
+ * Update a volume. Replace the name and/or size properties of a volume specified by its ID, with the specified value(s). Any volume name can be changed, however only `b_ssd` volumes can currently be increased in size.
551
535
  *
552
536
  * @param request - The request {@link UpdateVolumeRequest}
553
537
  * @returns A Promise of UpdateVolumeResponse
@@ -603,8 +587,7 @@ class API extends api.API {
603
587
  request
604
588
  );
605
589
  /**
606
- * Create a security group. Create a security group with a specified name and
607
- * description.
590
+ * Create a security group. Create a security group with a specified name and description.
608
591
  *
609
592
  * @param request - The request {@link CreateSecurityGroupRequest}
610
593
  * @returns A Promise of CreateSecurityGroupResponse
@@ -621,8 +604,7 @@ class API extends api.API {
621
604
  marshalling_gen.unmarshalCreateSecurityGroupResponse
622
605
  );
623
606
  /**
624
- * Get a security group. Get the details of a security group with the
625
- * specified ID.
607
+ * Get a security group. Get the details of a security group with the specified ID.
626
608
  *
627
609
  * @param request - The request {@link GetSecurityGroupRequest}
628
610
  * @returns A Promise of GetSecurityGroupResponse
@@ -672,8 +654,7 @@ class API extends api.API {
672
654
  marshalling_gen.unmarshalUpdateSecurityGroupResponse
673
655
  );
674
656
  /**
675
- * Get default rules. Lists the default rules applied to all the security
676
- * groups.
657
+ * Get default rules. Lists the default rules applied to all the security groups.
677
658
  *
678
659
  * @param request - The request {@link ListDefaultSecurityGroupRulesRequest}
679
660
  * @returns A Promise of ListSecurityGroupRulesResponse
@@ -721,10 +702,7 @@ class API extends api.API {
721
702
  marshalling_gen.unmarshalCreateSecurityGroupRuleResponse
722
703
  );
723
704
  /**
724
- * Update all the rules of a security group. Replaces the existing rules of
725
- * the security group with the rules provided. This endpoint supports the
726
- * update of existing rules, creation of new rules and deletion of existing
727
- * rules when they are not passed in the request.
705
+ * Update all the rules of a security group. Replaces the existing rules of the security group with the rules provided. This endpoint supports the update of existing rules, creation of new rules and deletion of existing rules when they are not passed in the request.
728
706
  *
729
707
  * @param request - The request {@link SetSecurityGroupRulesRequest}
730
708
  * @returns A Promise of SetSecurityGroupRulesResponse
@@ -774,8 +752,7 @@ class API extends api.API {
774
752
  marshalling_gen.unmarshalSetSecurityGroupRuleResponse
775
753
  );
776
754
  /**
777
- * Update security group rule. Update the properties of a rule from a
778
- * specified security group.
755
+ * Update security group rule. Update the properties of a rule from a specified security group.
779
756
  *
780
757
  * @param request - The request {@link UpdateSecurityGroupRuleRequest}
781
758
  * @returns A Promise of UpdateSecurityGroupRuleResponse
@@ -810,8 +787,7 @@ class API extends api.API {
810
787
  marshalling_gen.unmarshalListPlacementGroupsResponse
811
788
  );
812
789
  /**
813
- * List placement groups. List all placement groups in a specified
814
- * Availability Zone.
790
+ * List placement groups. List all placement groups in a specified Availability Zone.
815
791
  *
816
792
  * @param request - The request {@link ListPlacementGroupsRequest}
817
793
  * @returns A Promise of ListPlacementGroupsResponse
@@ -822,8 +798,7 @@ class API extends api.API {
822
798
  request
823
799
  );
824
800
  /**
825
- * Create a placement group. Create a new placement group in a specified
826
- * Availability Zone.
801
+ * Create a placement group. Create a new placement group in a specified Availability Zone.
827
802
  *
828
803
  * @param request - The request {@link CreatePlacementGroupRequest}
829
804
  * @returns A Promise of CreatePlacementGroupResponse
@@ -870,8 +845,7 @@ class API extends api.API {
870
845
  marshalling_gen.unmarshalSetPlacementGroupResponse
871
846
  );
872
847
  /**
873
- * Update a placement group. Update one or more parameter of the specified
874
- * placement group.
848
+ * Update a placement group. Update one or more parameter of the specified placement group.
875
849
  *
876
850
  * @param request - The request {@link UpdatePlacementGroupRequest}
877
851
  * @returns A Promise of UpdatePlacementGroupResponse
@@ -897,8 +871,7 @@ class API extends api.API {
897
871
  path: `/instance/v1/zones/${marshalling.validatePathParam("zone", request.zone ?? this.client.settings.defaultZone)}/placement_groups/${marshalling.validatePathParam("placementGroupId", request.placementGroupId)}`
898
872
  });
899
873
  /**
900
- * Get placement group servers. Get all Instances belonging to the specified
901
- * placement group.
874
+ * Get placement group servers. Get all Instances belonging to the specified placement group.
902
875
  *
903
876
  * @param request - The request {@link GetPlacementGroupServersRequest}
904
877
  * @returns A Promise of GetPlacementGroupServersResponse
@@ -911,8 +884,7 @@ class API extends api.API {
911
884
  marshalling_gen.unmarshalGetPlacementGroupServersResponse
912
885
  );
913
886
  /**
914
- * Set placement group servers. Set all Instances belonging to the specified
915
- * placement group.
887
+ * Set placement group servers. Set all Instances belonging to the specified placement group.
916
888
  *
917
889
  * @param request - The request {@link SetPlacementGroupServersRequest}
918
890
  * @returns A Promise of SetPlacementGroupServersResponse
@@ -929,8 +901,7 @@ class API extends api.API {
929
901
  marshalling_gen.unmarshalSetPlacementGroupServersResponse
930
902
  );
931
903
  /**
932
- * Update placement group servers. Update all Instances belonging to the
933
- * specified placement group.
904
+ * Update placement group servers. Update all Instances belonging to the specified placement group.
934
905
  *
935
906
  * @param request - The request {@link UpdatePlacementGroupServersRequest}
936
907
  * @returns A Promise of UpdatePlacementGroupServersResponse
@@ -976,8 +947,7 @@ class API extends api.API {
976
947
  */
977
948
  listIps = (request = {}) => resourcePaginator.enrichForPagination("ips", this.pageOfListIps, request);
978
949
  /**
979
- * Reserve a flexible IP. Reserve a flexible IP and attach it to the specified
980
- * Instance.
950
+ * Reserve a flexible IP. Reserve a flexible IP and attach it to the specified Instance.
981
951
  *
982
952
  * @param request - The request {@link CreateIpRequest}
983
953
  * @returns A Promise of CreateIpResponse
@@ -1007,8 +977,7 @@ class API extends api.API {
1007
977
  marshalling_gen.unmarshalGetIpResponse
1008
978
  );
1009
979
  /**
1010
- * Update a flexible IP. Update a flexible IP in the specified zone with the
1011
- * specified ID.
980
+ * Update a flexible IP. Update a flexible IP in the specified zone with the specified ID.
1012
981
  *
1013
982
  * @param request - The request {@link UpdateIpRequest}
1014
983
  * @returns A Promise of UpdateIpResponse
@@ -1086,8 +1055,7 @@ class API extends api.API {
1086
1055
  marshalling_gen.unmarshalGetPrivateNICResponse
1087
1056
  );
1088
1057
  /**
1089
- * Update a private NIC. Update one or more parameter(s) of a specified
1090
- * private NIC.
1058
+ * Update a private NIC. Update one or more parameter(s) of a specified private NIC.
1091
1059
  *
1092
1060
  * @param request - The request {@link UpdatePrivateNICRequest}
1093
1061
  * @returns A Promise of PrivateNIC
@@ -1124,27 +1092,15 @@ class API extends api.API {
1124
1092
  marshalling_gen.unmarshalGetDashboardResponse
1125
1093
  );
1126
1094
  /**
1127
- * Get a volume or snapshot's migration plan. Given a volume or snapshot,
1128
- * returns the migration plan but does not perform the actual migration. To
1129
- * perform the migration, you have to call the [Migrate a volume and/or
1130
- * snapshots to
1131
- * SBS](#path-volumes-migrate-a-volume-andor-snapshots-to-sbs-scaleway-block-storage)
1132
- * endpoint afterward. The endpoint returns the resources that should be
1133
- * migrated together:
1134
- *
1135
- * - The volume and any snapshots created from the volume, if the call was made
1136
- * to plan a volume migration.
1137
- * - The base volume of the snapshot (if the volume is not deleted) and its
1138
- * related snapshots, if the call was made to plan a snapshot migration. The
1139
- * endpoint also returns the validation_key, which must be provided to the
1140
- * [Migrate a volume and/or snapshots to
1141
- * SBS](#path-volumes-migrate-a-volume-andor-snapshots-to-sbs-scaleway-block-storage)
1142
- * endpoint to confirm that all resources listed in the plan should be
1143
- * migrated.
1144
- *
1145
- * @param request - The request {@link PlanBlockMigrationRequest}
1146
- * @returns A Promise of MigrationPlan
1147
- */
1095
+ * Get a volume or snapshot's migration plan. Given a volume or snapshot, returns the migration plan but does not perform the actual migration. To perform the migration, you have to call the [Migrate a volume and/or snapshots to SBS](#path-volumes-migrate-a-volume-andor-snapshots-to-sbs-scaleway-block-storage) endpoint afterward.
1096
+ The endpoint returns the resources that should be migrated together:
1097
+ - the volume and any snapshots created from the volume, if the call was made to plan a volume migration.
1098
+ - the base volume of the snapshot (if the volume is not deleted) and its related snapshots, if the call was made to plan a snapshot migration.
1099
+ The endpoint also returns the validation_key, which must be provided to the [Migrate a volume and/or snapshots to SBS](#path-volumes-migrate-a-volume-andor-snapshots-to-sbs-scaleway-block-storage) endpoint to confirm that all resources listed in the plan should be migrated.
1100
+ *
1101
+ * @param request - The request {@link PlanBlockMigrationRequest}
1102
+ * @returns A Promise of MigrationPlan
1103
+ */
1148
1104
  planBlockMigration = (request = {}) => this.client.fetch(
1149
1105
  {
1150
1106
  body: JSON.stringify(
@@ -1157,12 +1113,7 @@ class API extends api.API {
1157
1113
  marshalling_gen.unmarshalMigrationPlan
1158
1114
  );
1159
1115
  /**
1160
- * Migrate a volume and/or snapshots to SBS (Scaleway Block Storage). To be
1161
- * used, the call to this endpoint must be preceded by a call to the [Get a
1162
- * volume or snapshot's migration
1163
- * plan](#path-volumes-get-a-volume-or-snapshots-migration-plan) endpoint. To
1164
- * migrate all resources mentioned in the migration plan, the validation_key
1165
- * returned in the plan must be provided.
1116
+ * Migrate a volume and/or snapshots to SBS (Scaleway Block Storage). To be used, the call to this endpoint must be preceded by a call to the [Get a volume or snapshot's migration plan](#path-volumes-get-a-volume-or-snapshots-migration-plan) endpoint. To migrate all resources mentioned in the migration plan, the validation_key returned in the plan must be provided.
1166
1117
  *
1167
1118
  * @param request - The request {@link ApplyBlockMigrationRequest}
1168
1119
  */