Sha256: f21ab21706aea90259a0b2436455e2637d71a09fc06fee7d0f49089c4fec8d29

Contents?: true

Size: 605 Bytes

Versions: 1

Compression:

Stored size: 605 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.3/root_admin/registerIso.html]
        def register_iso(url, zoneid, displaytext, name, options={})
          options.merge!(
            'command' => 'registerIso', 
            'url' => url, 
            'zoneid' => zoneid, 
            'displaytext' => displaytext, 
            'name' => name  
          )
          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/register_iso.rb