Skip to content

updateHypervVirtualMachineSnapshotMount

Power a Live Mount on and off Supported in v5.0+ Power a specified Live Mount virtual machine on or off. Pass true to power the virtual machine on and pass false to power the virtual machine off.

Arguments

Argument Type Description
input (required) UpdateHypervVirtualMachineSnapshotMountInput! Input for InternalUpdateHypervVirtualMachineSnapshotMount.

Returns

UpdateHypervVirtualMachineSnapshotMountReply!

Sample

mutation UpdateHypervVirtualMachineSnapshotMount($input: UpdateHypervVirtualMachineSnapshotMountInput!) {
  updateHypervVirtualMachineSnapshotMount(input: $input)
}
{
  "input": {
    "config": {
      "powerStatus": true
    },
    "id": "example-string"
  }
}
{
  "data": {
    "updateHypervVirtualMachineSnapshotMount": {
      "hypervVirtualMachineMountSummary": {
        "attachedDiskCount": 0,
        "hostId": "example-string",
        "hostName": "example-string",
        "id": "example-string",
        "isDiskLevelMount": true,
        "isReady": true
      }
    }
  }
}