Sha256: dee1553c1e84c2837c0ec0c2682c2c124ef39730e37422e391fd0af7050b9282
Contents?: true
Size: 694 Bytes
Versions: 28
Compression:
Stored size: 694 Bytes
Contents
module Fog module Compute class Cloudstack class Real # Attempts Migration of a system virtual machine to the host specified. # # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/migrateSystemVm.html] def migrate_system_vm(*args) options = {} if args[0].is_a? Hash options = args[0] options.merge!('command' => 'migrateSystemVm') else options.merge!('command' => 'migrateSystemVm', 'virtualmachineid' => args[0], 'hostid' => args[1]) end request(options) end end end end end
Version data entries
28 entries across 26 versions & 4 rubygems