Sha256: 52bc93adb550a0be61446bcb80881f77d4f82e238afeef3ffb3c264e8cf6c07c
Contents?: true
Size: 683 Bytes
Versions: 28
Compression:
Stored size: 683 Bytes
Contents
module Fog module Compute class Cloudstack class Real # Update password of a host/pool on management server. # # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/updateHostPassword.html] def update_host_password(*args) options = {} if args[0].is_a? Hash options = args[0] options.merge!('command' => 'updateHostPassword') else options.merge!('command' => 'updateHostPassword', 'username' => args[0], 'password' => args[1]) end request(options) end end end end end
Version data entries
28 entries across 26 versions & 4 rubygems