Skip to content

batchOnDemandBackupHypervVm

Takes bulk on-demand backup of Hyper-V virtual machines Supported in v9.0+ Takes on-demand backup of multiple specified Hyper-V virtual machines.

Arguments

Argument Type Description
input (required) BatchOnDemandBackupHypervVmInput! Input for Hyper-V batch on-demand snapshot request.

Returns

BatchOnDemandBackupHypervVmReply!

Sample

mutation BatchOnDemandBackupHypervVm($input: BatchOnDemandBackupHypervVmInput!) {
  batchOnDemandBackupHypervVm(input: $input)
}
{
  "input": {
    "config": {
      "vms": [
        {}
      ]
    }
  }
}
{
  "data": {
    "batchOnDemandBackupHypervVm": {
      "failedRequests": [
        {
          "error": "example-string",
          "vmId": "example-string"
        }
      ],
      "successfulRequests": [
        {
          "vmId": "example-string"
        }
      ]
    }
  }
}