Skip to content

vsphereVmPowerOnOffLiveMount

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) VsphereVmPowerOnOffLiveMountInput! Input for V1UpdateMount.

Returns

VsphereVmPowerOnOffLiveMountReply!

Sample

mutation VsphereVmPowerOnOffLiveMount($input: VsphereVmPowerOnOffLiveMountInput!) {
  vsphereVmPowerOnOffLiveMount(input: $input) {
    nasIp
    powerStatus
  }
}
{
  "input": {
    "config": {
      "powerStatus": true
    },
    "id": "example-string"
  }
}
{
  "data": {
    "vsphereVmPowerOnOffLiveMount": {
      "nasIp": "example-string",
      "powerStatus": "example-string",
      "vmwareVmMountSummaryV1": {
        "attachingDiskCount": 0,
        "createDatastoreOnlyMount": true,
        "datastoreName": "example-string",
        "datastoreReady": true,
        "hasAttachingDisk": true,
        "hostId": "example-string"
      }
    }
  }
}