Sha256: f4dead3e73a0becf375f8f627ea73bb60a3510d14707d95f8d205712940ce441

Contents?: true

Size: 430 Bytes

Versions: 1

Compression:

Stored size: 430 Bytes

Contents

module Fog
  module Compute
    class Cloudstack

      class Real
        # Deletes a host.
        #
        # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/deleteHost.html]
        def delete_host(id, options={})
          options.merge!(
            'command' => 'deleteHost', 
            'id' => id  
          )
          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/delete_host.rb