Get to know recover
Reboots the virtual machine into a custom recovery kernel environment that can aid in repairing the virtual machine.
recover expects the following parameters:
- vm_id – The identifier of the virtual machine in question.
NOTE: In order to get a VM out of recovery mode, use cloud.unrecover
$params = array( 'vm_id' => 1 ); $api->call('cloud.recover', $params);
Array ( [status] => 1 )