Skip to content

vsphereVmBatchExport

Create a mass export for a group of virtual machines.

Arguments

Argument Type Description
input (required) VsphereVmBatchExportInput! Input for V2BatchExport.

Returns

BatchAsyncRequestStatus!

Sample

mutation VsphereVmBatchExport($input: VsphereVmBatchExportInput!) {
  vsphereVmBatchExport(input: $input)
}
{
  "input": {
    "clusterUuid": "example-string",
    "config": {
      "snapshots": [
        {
          "config": {
            "datastoreId": "example-string"
          },
          "vmId": "example-string"
        }
      ]
    }
  }
}
{
  "data": {
    "vsphereVmBatchExport": {
      "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"
        }
      ]
    }
  }
}