Appliance Recovery Restore validate
Get metadata before restore
RestoreRequest Structure
Show optional properties
{
"location_type": "string",
"location": "string"
}
{
"parts": [
"string"
],
"backup_password": "string",
"location_type": "string",
"location": "string",
"location_user": "string",
"location_password": "string",
"sso_admin_user_name": "string",
"sso_admin_user_password": "string"
}
List of standalone parts to restore. Only parts with the Appliance Recovery Backup Parts Part.standalone flag set to true
can be included.
This property was added in vSphere API 8.0.3.0.
If missing or null
entire VCSA will be restored.
a password for a backup piece
backupPassword If no password then the piece will not be decrypted
a type of location
For more information see: Appliance Recovery Restore LocationType.
path or url
username for location
locationUser User name for this location if login is required.
password for location
locationPassword Password for the specified user if login is required at this location.
Administrators username for SSO.
This property was added in vSphere API 6.7.
If missing or null
SSO authentication will not be used. If the vCenter Server is a management node or an embedded node, authentication is required.
The password for SSO admin user.
This property was added in vSphere API 6.7.
If missing or null
SSO authentication will not be used. If the vCenter Server is a management node or an embedded node, authentication is required.
Metadata Structure
"Appliance Recovery Restore Metadata Object"
Time when this backup was completed.
List of parts included in the backup.
VCSA version
Box name is PNID/ FQDN etc
Is SSO login required for the vCenter server.
This property was added in vSphere API 6.7.
This property is optional because it was added in a newer version than its parent node.
Custom comment
Does the VCSA match the deployment type, network properties and version of backed up VC
Any messages if the backup is not aplicable
if RestoreRequest includes a part that isn't marked as standalone
"Vapi Std Errors InvalidArgument Object"
if RestoreRequest includes a part that isn't in the backup
"Vapi Std Errors NotFound Object"
Generic error
"Vapi Std Errors Error Object"
Stack of one or more localizable messages for human error consumers.
The message at the top of the stack (first in the list) describes the error from the perspective of the operation the client invoked.
Each subsequent message in the stack describes the "cause" of the prior message.
Data to facilitate clients responding to the operation reporting a standard error to indicating that it was unable to complete successfully.
Operations may provide data that clients can use when responding to errors. Since the data that clients need may be specific to the context of the operation reporting the error, different operations that report the same error may provide different data in the error. The documentation for each each operation will describe what, if any, data it provides for each error it reports.
The Vapi Std Errors ArgumentLocations, Vapi Std Errors FileLocations, and Vapi Std Errors TransientIndication schemas are intended as possible values for this property. Vapi Std DynamicID may also be useful as a value for this property (although that is not its primary purpose). Some resources may provide their own specific schemas for use as the value of this property when reporting errors from their operations.
Some operations will not set this property when reporting errors.
Discriminator field to help API consumers identify the structure type.
For more information see: Vapi Std Errors Error Type.
This property was added in vSphere API 6.7.2.
Can be missing or null
for compatibility with preceding implementations.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"location:"string","location_type:"string"}' https://{api_host}/api/appliance/recovery/restore?action=validate