Sha256: 289b637db6c89b30b1441cb6e9db9e18aeba56c1b53e3834d1b21ab4650d6791
Contents?: true
Size: 932 Bytes
Versions: 3
Compression:
Stored size: 932 Bytes
Contents
module Fog module Compute class Brightbox class Real # This requests the admin password for the database server is reset. The new `admin_password` is only returned in the JSON response to this request. # # @param [String] identifier Unique reference to identify the resource # @param [Hash] options # @option options [Boolean] :nested passed through with the API request. When true nested resources are expanded. # # @return [Hash] if successful Hash version of JSON object # # @see https://api.gb1.brightbox.com/1.0/#database_server_reset_password_database_server # def reset_password_database_server(identifier, options = {}) return nil if identifier.nil? || identifier == "" wrapped_request("post", "/1.0/database_servers/#{identifier}/reset_password", [202], options) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems