Sha256: eea70e7e98d6fd8a2e55675372287ec12d70874230e0ac2ffd8602aa82eee86b
Contents?: true
Size: 571 Bytes
Versions: 28
Compression:
Stored size: 571 Bytes
Contents
module Fog module Compute class Cloudstack class Real # Deletes a host. # # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/deleteHost.html] def delete_host(*args) options = {} if args[0].is_a? Hash options = args[0] options.merge!('command' => 'deleteHost') else options.merge!('command' => 'deleteHost', 'id' => args[0]) end request(options) end end end end end
Version data entries
28 entries across 26 versions & 4 rubygems