Resource Center/Hardware/Backup Storage Operations
PUTBackup Storage OperationsSince 2.2SynchronousAuth Required
BackupStorageMigrateImage
BackupStorageMigrateImage
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Path Parameters
Request Inputs
Path Parameters
imageUuidStringRequiredThe image UUID.
Body Fields
backupstoragemigrateimageObjectRequiredbackupstoragemigrateimage request body object.
srcBackupStorageUuidStringRequiredThe UUID of the source backup storage.
dstBackupStorageUuidStringRequiredThe UUID of the destination backup storage.
systemTagsListOptional. The system tags.
userTagsListOptional. The user tags.
Responses
Endpoint
PUT/zstack/v1/backup-storage/images/{imageUuid}/actions
/zstack/v1/backup-storage/images/{imageUuid}/actions
Request Example
curl -X PUT 'http://{host}/zstack/v1/backup-storage/images/{imageUuid}/actions' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"backupstoragemigrateimage":{"srcBackupStorageUuid":"<srcBackupStorageUuid>","dstBackupStorageUuid":"<dstBackupStorageUuid>"},"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'
Response Example
200{ "inventory": { "uuid": "5030c88a703e41b986d140880ad79bcd", "name": "TinyLinux", "url": "http://192.168.1.20/share/images/tinylinux.qcow2", "mediaType": "RootVolumeTemplate", "platform": "Linux", "format": "qcow2", "backupStorageRefs": [ { "id": 0.0, "imageUuid": "5030c88a703e41b986d140880ad79bcd", "backupStorageUuid": "21df59afa9414a0aa405cb4c4fef2fee", "installPath": "ceph://zs-images/f0b149e053b34c7eb7fe694b182ebffd", "status": "Ready" } ] } }Change History
This API has no change history records yet.
