Apache CloudStack 4.15.0.0 Root Admin API Reference

migrateSecondaryStorageData

migrates data objects from one secondary storage to destination image store(s)

Request parameters

Parameter NameDescriptionRequired
destpoolsid(s) of the destination secondary storage pool(s) to which the templates are to be migratedtrue
srcpoolid of the image store from where the data is to be migratedtrue
migrationtypeBalance: if you want data to be distributed evenly among the destination stores, Complete: If you want to migrate the entire data from source image store to the destination store(s). Default: Completefalse

Response Tags

Response NameDescription
messageResponse message from migration of secondary storage data objects
migrationtypeType of migration requested for
successtrue if operation is executed successfully