recoveries
Return list of recoveries corresponding to the filter passed. RSC prioritizes recovery_ids if they are passed in the filter. All the filters, if passed, will work as AND logic.
Arguments
| Argument | Type | Description |
|---|---|---|
| first | Int | Returns the first n elements from the list. |
| after | String | Returns the elements in the list that occur after the specified cursor. |
| last | Int | Returns the last n elements from the list. |
| before | String | Returns the elements in the list that occur before the specified cursor. |
| recoveryIds | [UUID!] | Filter by specific recovery IDs. |
| recoveryType | [RecoveryType!] | Filter by recovery type. |
| endTime | DateTime | Only consider recoveries that started before this date. |
| startTime | DateTime | Only consider recoveries that started after this date. |
| recoveryPlanNames | [String!] | Filter by recovery plan names. |
| workloadIds | [UUID!] | Filter by workload IDs. |
| recoveryStatuses | [RecoveryStatus!] | Filter by recovery statuses. |
| recoveryOutcomes | [RecoveryOutcome!] | Filter by recovery outcomes. |
| recoveryNames | [String!] | Filter by recovery names. |
| recoveryTriggeredFrom | [RecoveryTriggeredFrom!] | Filter by how the recovery was triggered. |
| recoveryPlanIds | [UUID!] | Filter by recovery plan IDs. |
| workloadTypeFilter | ManagedObjectType | Filter by workload type. |
| recoveryNameSubstring | String | Filter by recovery name substring. |
| sortParam | RecoverySortParamInput | Sorting parameters for the recovery list. |
Returns
Sample
{
"data": {
"recoveries": {
"nodes": [
[
{
"canSaveAsPlan": true,
"dataTransferType": "EMPTY_VALUE",
"elapsedTime": 0,
"endTime": 0,
"id": "example-string",
"isAdhocRecovery": true
}
]
],
"pageInfo": {
"endCursor": "example-string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "example-string"
}
}
}
}