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.2.0 APIs.
OK
[
{
"_typeName": "string",
"label": "string",
"client": "string",
"userName": "string"
}
]
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.
{
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}