Skip to content

updateVsphereVmNew

Supported in v9.2+. Update a virtual machine withspecified properties. Use the guestCredential field to update the guest credential for a specified virtual machine.

Arguments

Argument Type Description
input (required) UpdateVsphereVmNewInput! Input for updating a VM.

Returns

RequestSuccess!

Sample

mutation UpdateVsphereVmNew($input: UpdateVsphereVmNewInput!) {
  updateVsphereVmNew(input: $input) {
    success
  }
}
{
  "input": {
    "id": "example-string"
  }
}
{
  "data": {
    "updateVsphereVmNew": {
      "success": true
    }
  }
}