Sha256: 77c8732f50526b599bed86100b50da5ecb58285cb2fc4a82edf2738c52fd274d
Contents?: true
Size: 817 Bytes
Versions: 28
Compression:
Stored size: 817 Bytes
Contents
module Fog module Compute class Cloudstack class Real # Changes the service offering for a virtual machine. The virtual machine must be in a "Stopped" state for this command to take effect. # # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/changeServiceForVirtualMachine.html] def change_service_for_virtual_machine(*args) options = {} if args[0].is_a? Hash options = args[0] options.merge!('command' => 'changeServiceForVirtualMachine') else options.merge!('command' => 'changeServiceForVirtualMachine', 'serviceofferingid' => args[0], 'id' => args[1]) end request(options) end end end end end
Version data entries
28 entries across 26 versions & 4 rubygems