Skip to content

updateVsphereVm

Update VM Supported in v5.0+ Update a virtual machine with specified properties. Use the guestCredential field to update the guest credential for a specified virtual machine.

Arguments

Argument Type Description
input (required) UpdateVsphereVmInput! Input for V1UpdateVm.

Returns

RequestSuccess!

Sample

mutation UpdateVsphereVm($input: UpdateVsphereVmInput!) {
  updateVsphereVm(input: $input) {
    success
  }
}
{
  "input": {
    "id": "example-string",
    "vmUpdateProperties": {}
  }
}
{
  "data": {
    "updateVsphereVm": {
      "success": true
    }
  }
}