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