Sha256: 3231992c0291f964f80cf62425f05ec26b81aada712a59b03330ff2455c88a76
Contents?: true
Size: 770 Bytes
Versions: 28
Compression:
Stored size: 770 Bytes
Contents
module Fog module Compute class Cloudstack class Real # Scale the service offering for a system vm (console proxy or secondary storage). The system vm 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/scaleSystemVm.html] def scale_system_vm(*args) options = {} if args[0].is_a? Hash options = args[0] options.merge!('command' => 'scaleSystemVm') else options.merge!('command' => 'scaleSystemVm', 'serviceofferingid' => args[0], 'id' => args[1]) end request(options) end end end end end
Version data entries
28 entries across 26 versions & 4 rubygems