Skip to content

createRecoveryPlanV2

CreateRecoveryPlan creates a new recovery plan with the specified configuration.

Arguments

Argument Type Description
input (required) CreateRecoveryPlanV2Input! Request containing recovery plan and template recovery spec configuration.

Returns

CreateRecoveryPlanV2Reply!

Sample

mutation CreateRecoveryPlanV2($input: CreateRecoveryPlanV2Input!) {
  createRecoveryPlanV2(input: $input) {
    recoveryPlanId
    recoverySpecIds
  }
}
{
  "input": {
    "recoveryPlan": {},
    "recoverySpecMaps": [
      {}
    ]
  }
}
{
  "data": {
    "createRecoveryPlanV2": {
      "recoveryPlanId": "00000000-0000-0000-0000-000000000000",
      "recoverySpecIds": [
        "00000000-0000-0000-0000-000000000000"
      ]
    }
  }
}