Skip to content

createRecoverySpecs

Creates recovery specifications for a recovery plan.

Arguments

Argument Type Description
input (required) CreateRecoverySpecsInput! Input required to create recovery specifications.

Returns

CreateRecoverySpecsReply!

Sample

mutation CreateRecoverySpecs($input: CreateRecoverySpecsInput!) {
  createRecoverySpecs(input: $input)
}
{
  "input": {
    "recoveryPlanId": "00000000-0000-0000-0000-000000000000",
    "recoverySpecMaps": [
      {}
    ]
  }
}
{
  "data": {
    "createRecoverySpecs": {
      "recoverySpecMaps": [
        {
          "pauseBetweenPriorityGroups": [
            0
          ],
          "recoveryId": "example-string",
          "recoverySpecId": "example-string",
          "recoverySpecType": "INSTANCE",
          "recoveryType": "CYBER",
          "userData": "example-string"
        }
      ]
    }
  }
}