Sha256: cac19a4bb606aa1b6fec1e0187d5a7c55bc3536889f3964dcb38787bd0b310df
Contents?: true
Size: 593 Bytes
Versions: 28
Compression:
Stored size: 593 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.4/root_admin/rebootSystemVm.html] def reboot_system_vm(*args) options = {} if args[0].is_a? Hash options = args[0] options.merge!('command' => 'rebootSystemVm') else options.merge!('command' => 'rebootSystemVm', 'id' => args[0]) end request(options) end end end end end
Version data entries
28 entries across 26 versions & 4 rubygems