Sha256: fd0a0a683720b99f007b6eeb5275fdccb48efefc79873da710d4462578281178
Contents?: true
Size: 823 Bytes
Versions: 13
Compression:
Stored size: 823 Bytes
Contents
module Fog module Compute class Brightbox 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
13 entries across 11 versions & 2 rubygems