Virtual Machine Query Connections
Ask the virtual machine for a list of connections.
The virtual machine returns a list of connections. It is possible for the array returned to be empty - a virtual machine may have no connections.
Since: vSphere API Release 7.0.1.0
Required privileges: VirtualMachine.Interact.ConsoleInteract
The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId
, in this case VirtualMachine/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.3.0 APIs.
OK
[
"VirtualMachineConnection Object"
]
InvalidPowerState: If the virtual machine is not powered on.
Timedout: If the the virtual machine did not respond to the request in a timely manner.
VmConfigFault: If an error occurred.
"VimFault Object"
curl -X POST -H 'Authorization: <value>' https://{api_host}/sdk/vim25/{release}/VirtualMachine/{moId}/QueryConnections