Skip to content

restoreHypervVirtualMachineSnapshotFiles

Restore files from snapshot Supported in v5.0+ Restore files from a snapshot to the original source location.

Arguments

Argument Type Description
input (required) RestoreHypervVirtualMachineSnapshotFilesInput! Input for RestoreHypervVMSnapshotFilesRequest.

Returns

AsyncRequestStatus!

Sample

mutation RestoreHypervVirtualMachineSnapshotFiles($input: RestoreHypervVirtualMachineSnapshotFilesInput!) {
  restoreHypervVirtualMachineSnapshotFiles(input: $input) {
    endTime
    id
    nodeId
    progress
    result
    startTime
    status
  }
}
{
  "input": {
    "config": {
      "restoreConfig": [
        {
          "path": "example-string",
          "restorePath": "example-string"
        }
      ]
    },
    "id": "example-string"
  }
}
{
  "data": {
    "restoreHypervVirtualMachineSnapshotFiles": {
      "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",
      "error": {
        "message": "example-string"
      },
      "links": [
        {
          "href": "example-string",
          "rel": "example-string"
        }
      ]
    }
  }
}