Sha256: 10dfb24f182b7b0cfd9e8258e65fb2c8daf4bfba8a520302b4dcf634db4a444b

Contents?: true

Size: 557 Bytes

Versions: 1

Compression:

Stored size: 557 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.3/root_admin/updateHostPassword.html]
        def update_host_password(password, username, options={})
          options.merge!(
            'command' => 'updateHostPassword', 
            'password' => password, 
            'username' => username  
          )
          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/update_host_password.rb