Sha256: caaf4cd051c1f39ab964179c224f5a866824f99a389cdfe16bb989d40739d502
Contents?: true
Size: 637 Bytes
Versions: 28
Compression:
Stored size: 637 Bytes
Contents
module Fog module Compute class Cloudstack class Real # Detaches any ISO file (if any) currently attached to a virtual machine. # # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/detachIso.html] def detach_iso(*args) options = {} if args[0].is_a? Hash options = args[0] options.merge!('command' => 'detachIso') else options.merge!('command' => 'detachIso', 'virtualmachineid' => args[0]) end request(options) end end end end end
Version data entries
28 entries across 26 versions & 4 rubygems