Sha256: eeaa0085110a0836007c6e13b583ee9733bbd1685dae182bb714cda6be64e4a6

Contents?: true

Size: 525 Bytes

Versions: 1

Compression:

Stored size: 525 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.3/root_admin/detachIso.html]
        def detach_iso(virtualmachineid, options={})
          options.merge!(
            'command' => 'detachIso', 
            'virtualmachineid' => virtualmachineid  
          )
          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/detach_iso.rb