Get Recovery Steps
Get information about recovery steps in a given recovery view mode.
Will fail if unable to retrieve recovery steps in the desired mode in the current recovery plan state.
The ID of a pairing between this Site Recovery Manager server and remote one.
The ID of a recovery plan defined within current pairing.
The view mode of the recovery steps. Possible values are: test
, recovery
, cleanup
, reprotect
.
Comma-separated list of IDs of recovery steps to expand.
['123','403','1010']
List of recovery steps.
{
"list": [
{
"plan_callout_position_spec": {
"position_spec_index": 0,
"position_spec_position": "string"
},
"vm_callout_position_spec": {
"vm_id": "string",
"pre_power_on": false,
"index": 0
},
"title": "string",
"step_number": "string",
"child_count": 0,
"depth": 0,
"finish_time": 0,
"start_time": 0,
"expanded": false,
"id": 0,
"progress": 0,
"status": "string",
"warnings": [
{}
],
"errors": [
{}
],
"referred_object": "string"
}
],
"_meta": {
"errors": [
{
"code": "string",
"message": "string",
"field": "string"
}
],
"total": 0,
"offset": 0,
"limit": 0,
"links": {
"next": {
"href": "string"
},
"self": {
"href": "string"
},
"previous": {
"href": "string"
}
}
}
}
Information about a recovery step.
List metadata
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 -H 'Authorization: <value>' https://{api_host}/pairings/{pairing_id}/recovery-management/plans/{plan_id}/recovery-steps/{view_mode}