This section includes the following topics:
- Input Parameters
- Output Parameters
Input Parameters
The following table provides the parameters and descriptions.
Parameter | Description |
firmwareType | String. Either Uefi or Bios. |
revisions | Array of integers representing the revisions that the user wants to restore, obtained either via Get volumes, or via Get volume revisions API calls. |
Example
{
"firmwareType": "Uefi",
"revisions": [
102, 103]
}
Output Parameters
None when successful, validation errors otherwise:
If firmwareType is Uefi and the restored revision comes from a 32-bit system, error: "UEFI is only supported on 64-bit operating systems."
If boot volume or any restored volume has a size larger than 2 TB and BIOS has been chosen as firmwareType, error: "BIOS firmware is not supported for volumes over 2TB in size. Please select UEFI to continue."
If any of the restored volumes is Uefi and the restored revision comes from a 64 bit system, and Windows version is lower than Windows 6.2 (Windows Server 2008 $2 or Windows 7 and lower), error: "Boot volumes from 64-bit versions of Windows Server 2008 R2 or Windows 7 cannot be restored using EFI."
Example POST
POST /v2/accounts/test_acc/computers/0000/restore/diskimage/standard/vm/validate/host/sourcemachine
Input Parameters
{
"firmwareType": "Uefi",
"revisions": [
102,
103
]
}
Output Parameters
Response status: 204 No content (for online operation).