Sha256: 28d203130f28589143099d0eb504226f2682a5b1b3ee2515d521b4abb6f16882

Contents?: true

Size: 692 Bytes

Versions: 1

Compression:

Stored size: 692 Bytes

Contents

module Fog
  module Compute
    class Cloudstack

      class Real
        # Changes 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/changeServiceForSystemVm.html]
        def change_service_for_system_vm(id, serviceofferingid, options={})
          options.merge!(
            'command' => 'changeServiceForSystemVm', 
            '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/change_service_for_system_vm.rb