ServerActionReboot

(Difference between revisions)
Jump to: navigation, search
(JSON)
Line 1: Line 1:
Reboots a server.
+
The reboot function allows for either a soft or hard reboot of a server. With a soft reboot (SOFT), the operating system is signaled to restart, which allows for a graceful shutdown of all processes. A hard reboot (HARD) is the equivalent of power cycling the server.
  
 
'''POST''' /servers/'''id'''/action
 
'''POST''' /servers/'''id'''/action

Revision as of 13:41, 2 February 2012

The reboot function allows for either a soft or hard reboot of a server. With a soft reboot (SOFT), the operating system is signaled to restart, which allows for a graceful shutdown of all processes. A hard reboot (HARD) is the equivalent of power cycling the server.

POST /servers/id/action

Parameters

id
The unique identifier of the image to be retrieved. Note see warnings in Hypermedia.

JSON

{
   "reboot":{
      "type":"HARD"
   }
}


type - string
Type of reboot to preform. Values: HARD, SOFT.

Result

blog comments powered by Disqus


Personal tools
Namespaces
Variants
Actions
APIs
Navigation
Toolbox