Restore All Placeholders
Repair placeholder VMs.
Called when the placeholder needs to be recreated due to one of these reasons:
- Placeholder creation failed.
- Placeholder was deleted.
- Placeholder inventory was lost or needs to be reentered - one use case for this is when production VM was a template but then gets converted to a VM.
This method can be called only on the recovery site. It does not require the primary site to be up for successful completion.
Empty list of tasks is returned when no virtual machines need repair of their placeholder VMs.
The ID of a pairing between this Site Recovery Manager server and remote one.
The ID of a protection group defined within current pairing.
Response containing tasks to monitor the operation progress of different VMs.
{
"errors": [
{}
],
"tasks": [
{
"id": "string",
"description": "string",
"description_id": "string",
"entity": "string",
"entity_name": "string",
"status": "string",
"error": {
"message": "string",
"details": "string"
},
"result": {},
"progress": 0,
"queued_time": 0,
"start_time": 0,
"complete_time": 0
}
],
"_meta": {
"errors": [
{
"code": "string",
"message": "string",
"field": "string"
}
]
}
}
Bad request - the server cannot understand the request due to invalid syntax or invalid request body content
"ResponseError Object"
The code of the error.
The message of the error.
The ID of the operation.
Unauthorized - the client must authenticate itself to get the requested response
Forbidden - not sufficient access rights to fulfill the request
"ResponseError Object"
The code of the error.
The message of the error.
The ID of the operation.
Not Found - server cannot find the requested in URL resource
Internal server error - unexpected condition prevents fulfilling the request
"ResponseError Object"
The code of the error.
The message of the error.
The ID of the operation.
curl -X POST -H 'Authorization: <value>' https://{api_host}/pairings/{pairing_id}/protection-management/groups/{group_id}/actions/restore-all-placeholders