Skip to content

vsphereVmInitiateBatchInstantRecovery

Initiate a mass instant recovery for a group of VMs.

Arguments

Argument Type Description
input (required) VsphereVmInitiateBatchInstantRecoveryInput! Input for V2BatchInstantRecover.

Returns

BatchAsyncRequestStatus!

Sample

mutation VsphereVmInitiateBatchInstantRecovery($input: VsphereVmInitiateBatchInstantRecoveryInput!) {
  vsphereVmInitiateBatchInstantRecovery(input: $input)
}
{
  "input": {
    "clusterUuid": "example-string",
    "config": {
      "snapshots": [
        {
          "config": {},
          "vmId": "example-string"
        }
      ]
    }
  }
}
{
  "data": {
    "vsphereVmInitiateBatchInstantRecovery": {
      "responses": [
        {
          "endTime": "2024-01-01T00:00:00.000Z",
          "id": "example-string",
          "nodeId": "example-string",
          "progress": 0.0,
          "result": "example-string",
          "startTime": "2024-01-01T00:00:00.000Z"
        }
      ]
    }
  }
}