You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Zone: zone to target. If none is passed will use default zone from the config.
5320
+
Zone scw.Zone`json:"-"`
5321
+
// VolumeID: the volume for which the migration plan will be generated.
5322
+
// Precisely one of SnapshotID, VolumeID must be set.
5323
+
VolumeID*string`json:"volume_id,omitempty"`
5324
+
// SnapshotID: the snapshot for which the migration plan will be generated.
5325
+
// Precisely one of SnapshotID, VolumeID must be set.
5326
+
SnapshotID*string`json:"snapshot_id,omitempty"`
5327
+
}
5328
+
5329
+
// PlanBlockMigration: get a volume or snapshot's migration plan.
5330
+
// Given a volume or snapshot, returns the migration plan for a call to the RPC ApplyBlockMigration. This plan will include zero or one volume, and zero or more snapshots, which will need to be migrated together. This RPC does not perform the actual migration itself, ApplyBlockMigration must be used. The validation_key value returned by this call must be provided to the ApplyBlockMigration call to confirm that all resources listed in the plan should be migrated.
// Zone: zone to target. If none is passed will use default zone from the config.
5365
+
Zone scw.Zone`json:"-"`
5366
+
// VolumeID: the volume to migrate, along with potentially other resources, according to the migration plan generated with a call to PlanBlockMigration.
5367
+
// Precisely one of SnapshotID, VolumeID must be set.
5368
+
VolumeID*string`json:"volume_id,omitempty"`
5369
+
// SnapshotID: the snapshot to migrate, along with potentially other resources, according to the migration plan generated with a call to PlanBlockMigration.
5370
+
// Precisely one of SnapshotID, VolumeID must be set.
5371
+
SnapshotID*string`json:"snapshot_id,omitempty"`
5372
+
// ValidationKey: a value to be retrieved from a call to PlanBlockMigration, to confirm that the volume and/or snapshots specified in said plan should be migrated.
// ApplyBlockMigration: migrate a volume and/or snapshots to SBS (Scaleway Block Storage).
5377
+
// To be used, this RPC must be preceded by a call to PlanBlockMigration. To migrate all resources mentioned in the MigrationPlan, the validation_key returned in the MigrationPlan must be provided.
0 commit comments