Skip to content

recoverySpecs

List the workload recovery specifications associated with the given recovery plan. If recovery ID is provided it will retrieve recovery specifications specific to that recovery. Else it retrieves recovery specifications for the given recovery plan.

Arguments

Argument Type Description
input (required) RecoverySpecsInput! Input required to retrieve recovery specifications.

Returns

RecoverySpecsReply!

Sample

query RecoverySpecs($input: RecoverySpecsInput!) {
  recoverySpecs(input: $input)
}
{
  "input": {}
}
{
  "data": {
    "recoverySpecs": {
      "recoverySpecs": [
        {
          "pauseBetweenPriorityGroups": [
            0
          ],
          "recoveryId": "example-string",
          "recoverySpecId": "example-string",
          "recoverySpecType": "INSTANCE",
          "recoveryType": "CYBER",
          "userData": "example-string"
        }
      ]
    }
  }
}