Sha256: 1a643a74dbc2088fe4aa40e08079629c813b09ae94a26deac13d95e807921964

Contents?: true

Size: 440 Bytes

Versions: 1

Compression:

Stored size: 440 Bytes

Contents

module Fog
  module Compute
    class Cloudstack

      class Real
        # Stops a system VM.
        #
        # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/stopSystemVm.html]
        def stop_system_vm(id, options={})
          options.merge!(
            'command' => 'stopSystemVm', 
            '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/stop_system_vm.rb