Sha256: 9d32e7f31f3db3fdb67219b1bbf8746c92afd102e8e51a86ed6be9f287128577

Contents?: true

Size: 442 Bytes

Versions: 1

Compression:

Stored size: 442 Bytes

Contents

module Fog
  module Compute
    class Cloudstack

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