Sha256: 9c9bb384b811cf3717f613cb8ec77d40ec23afe702ec0f6ba7c73e6ff35c1504
Contents?: true
Size: 691 Bytes
Versions: 1
Compression:
Stored size: 691 Bytes
Contents
module Fog module Compute class Cloudstack class Real # Updates properties of a virtual machine. The VM has to be stopped and restarted for the new properties to take effect. UpdateVirtualMachine does not first check whether the VM is stopped. Therefore, stop the VM manually before issuing this call. # # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/updateVirtualMachine.html] def update_virtual_machine(id, options={}) options.merge!( 'command' => 'updateVirtualMachine', 'id' => id ) request(options) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fog-1.23.0 | lib/fog/cloudstack/requests/compute/update_virtual_machine.rb |