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