Sha256: 7d89176cc71652a859c9635130ed547fc90fbd7d8d2e365b52f8eb695a56ae97
Contents?: true
Size: 834 Bytes
Versions: 23
Compression:
Stored size: 834 Bytes
Contents
module Fog module Brightbox class Compute class Real # Issues a 'hard' reboot request to the server which can not be ignored by the OS. The console remains connected. # # @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/#server_reset_server # def reset_server(identifier, options = {}) return nil if identifier.nil? || identifier == "" wrapped_request("post", "/1.0/servers/#{identifier}/reset", [202], options) end end end end end
Version data entries
23 entries across 23 versions & 1 rubygems