Sha256: f5acb69303017c2b388e26b4b786870707380ad42d5b3415e8c96a495b286503
Contents?: true
Size: 718 Bytes
Versions: 28
Compression:
Stored size: 718 Bytes
Contents
module Fog module Compute class Cloudstack class Real # Registers an existing ISO into the CloudStack Cloud. # # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/registerIso.html] def register_iso(*args) options = {} if args[0].is_a? Hash options = args[0] options.merge!('command' => 'registerIso') else options.merge!('command' => 'registerIso', 'name' => args[0], 'displaytext' => args[1], 'url' => args[2], 'zoneid' => args[3]) end request(options) end end end end end
Version data entries
28 entries across 26 versions & 4 rubygems