Apache CloudStack 4.21.0.0 Root Admin API Reference

findHostsForMigration

Find hosts suitable for migrating a virtual machine.

Request parameters

Parameter NameDescriptionRequired
virtualmachineidfind hosts to which this VM can be migrated and flag the hosts with enough CPU/RAM to host the VMtrue
keywordList by keywordfalse
pagefalse
pagesizefalse

Response Tags

Response NameDescription
requiresStorageMotiontrue if migrating a vm to this host requires storage motion, false otherwise