Skip to main content

Restore Hibernated Virtual Machine

GET https://infrahub-api.nexgencloud.com/v1/core/virtual-machines/{id}/hibernate-restore

Resumes a virtual machine from a hibernated state, bringing it back to an active state, and restoring its resource configuration. Provide the virtual machine ID in the path to specify the virtual machine to be restored from hibernation.


Path parameters


id integer   Required

The unique identifier of the virtual machine to be restored from hibernation.


Attributes


status boolean

Indicates the result of the request to restore the hibernated VM. true signifies success, while false indicates an error.


message string

A description of the status of the request to restore a hibernated VM.

Example request
curl -X GET "https://infrahub-api.nexgencloud.com/v1/core/virtual-machines/{id}/hibernate-restore" \
-H "accept: application/json"\
-H "api_key: YOUR API KEY"
Response
{
"status": true,
"message": "string"
}

Returns


Returns the status of the request to restore a hibernated virtual machine. A true status indicates success, otherwise an error has occurred.


Back to top