Skip to content

batchExportHypervVm

Exports a snapshot from each member of a set of virtual machines Supported in v7.0+ Export a snapshot from each member of a set of virtual machines.

Arguments

Argument Type Description
input (required) BatchExportHypervVmInput! Input for V1BatchExportHypervVm.

Returns

BatchExportHypervVmReply!

Sample

mutation BatchExportHypervVm($input: BatchExportHypervVmInput!) {
  batchExportHypervVm(input: $input)
}
{
  "input": {
    "clusterUuid": "example-string",
    "config": {
      "snapshots": [
        {
          "exportConfig": {
            "path": "example-string"
          },
          "vmId": "example-string"
        }
      ]
    }
  }
}
{
  "data": {
    "batchExportHypervVm": {
      "failedRequests": [
        {
          "error": "example-string",
          "vmId": "example-string"
        }
      ],
      "successfulRequests": [
        {
          "vmId": "example-string"
        }
      ]
    }
  }
}