Sha256: 3156591b8cc11534ce73eb06cdda5877f6542e638a1c0775cda67ea1d9f0bc0b

Contents?: true

Size: 655 Bytes

Versions: 1

Compression:

Stored size: 655 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.3/root_admin/scaleSystemVm.html]
        def scale_system_vm(id, serviceofferingid, options={})
          options.merge!(
            'command' => 'scaleSystemVm', 
            'id' => id, 
            'serviceofferingid' => serviceofferingid  
          )
          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/scale_system_vm.rb