@@ -456,10 +456,17 @@ export class API extends ParentAPI {
456456 * for SBS volumes. `enable_routed_ip`: Migrate the Instance to the new
457457 * network stack.
458458 *
459- * Keep in mind that `terminate` an Instance will result in the deletion of
460- * `l_ssd`, `b_ssd` and `scratch` volumes types, `sbs_volume` volumes type
461- * will only be detached. If you want to preserve your volumes, you should
462- * detach them before the Instance deletion or `terminate` action.
459+ * The `terminate` action will result in the deletion of `l_ssd`, `b_ssd` and
460+ * `scratch` volumes types, `sbs_volume` volumes type will only be detached.
461+ * If you want to preserve your volumes, you should detach them before the
462+ * Instance deletion or `terminate` action.
463+ *
464+ * The `backup` action can be done with: No `volumes` key in the body: an
465+ * image is created with snapshots of all the server volumes, except for the
466+ * `scratch` volumes types. `volumes` key in the body with a dictionary as
467+ * value, in this dictionary volumes UUID as keys and empty dictionaries as
468+ * values : an image is created with the snapshots of the volumes in `volumes`
469+ * key. `scratch` volumes types can't be shapshotted.
463470 *
464471 * @param request - The request {@link ServerActionRequest}
465472 * @returns A Promise of ServerActionResponse
@@ -1529,13 +1536,22 @@ export class API extends ParentAPI {
15291536
15301537 /**
15311538 * Get a volume or snapshot's migration plan. Given a volume or snapshot,
1532- * returns the migration plan for a call to the "Apply a migration plan"
1533- * endpoint. This plan will include zero or one volume, and zero or more
1534- * snapshots, which will need to be migrated together. This endpoint does not
1535- * perform the actual migration itself, the "Apply a migration plan" endpoint
1536- * must be used. The validation_key value returned by this endpoint must be
1537- * provided to the call to the "Apply a migration plan" endpoint to confirm
1538- * that all resources listed in the plan should be migrated.
1539+ * returns the migration plan but does not perform the actual migration. To
1540+ * perform the migration, you have to call the [Migrate a volume and/or
1541+ * snapshots to
1542+ * SBS](#path-volumes-migrate-a-volume-andor-snapshots-to-sbs-scaleway-block-storage)
1543+ * endpoint afterward. The endpoint returns the resources that should be
1544+ * migrated together:
1545+ *
1546+ * - The volume and any snapshots created from the volume, if the call was made
1547+ * to plan a volume migration.
1548+ * - The base volume of the snapshot (if the volume is not deleted) and its
1549+ * related snapshots, if the call was made to plan a snapshot migration. The
1550+ * endpoint also returns the validation_key, which must be provided to the
1551+ * [Migrate a volume and/or snapshots to
1552+ * SBS](#path-volumes-migrate-a-volume-andor-snapshots-to-sbs-scaleway-block-storage)
1553+ * endpoint to confirm that all resources listed in the plan should be
1554+ * migrated.
15391555 *
15401556 * @param request - The request {@link PlanBlockMigrationRequest}
15411557 * @returns A Promise of MigrationPlan
@@ -1555,9 +1571,11 @@ export class API extends ParentAPI {
15551571
15561572 /**
15571573 * Migrate a volume and/or snapshots to SBS (Scaleway Block Storage). To be
1558- * used, the call to this endpoint must be preceded by a call to the "Plan a
1559- * migration" endpoint. To migrate all resources mentioned in the migration
1560- * plan, the validation_key returned in the plan must be provided.
1574+ * used, the call to this endpoint must be preceded by a call to the [Get a
1575+ * volume or snapshot's migration
1576+ * plan](#path-volumes-get-a-volume-or-snapshots-migration-plan) endpoint. To
1577+ * migrate all resources mentioned in the migration plan, the validation_key
1578+ * returned in the plan must be provided.
15611579 *
15621580 * @param request - The request {@link ApplyBlockMigrationRequest}
15631581 */
0 commit comments