Sha256: 66ba68998db8e58a0170eba6a753988f1a5e87d93ea142c5c429ef3a420bcf68

Contents?: true

Size: 448 Bytes

Versions: 1

Compression:

Stored size: 448 Bytes

Contents

module Fog
  module Compute
    class Cloudstack

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