Sha256: 3cb56c31566c052ad0d1fd377835412d601a3f9e69bac2aa4527e6e4b886d02b
Contents?: true
Size: 823 Bytes
Versions: 23
Compression:
Stored size: 823 Bytes
Contents
module Fog module Brightbox class Compute class Real # Issues a 'soft' reboot to the server however the OS may ignore it. 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_reboot_server # def reboot_server(identifier, options = {}) return nil if identifier.nil? || identifier == "" wrapped_request("post", "/1.0/servers/#{identifier}/reboot", [202], options) end end end end end
Version data entries
23 entries across 23 versions & 1 rubygems