VmHardwareConnectionInfo
The ConnectionInfo structure provides information about the state and configuration of a removable virtual device.
Properties
Flag indicating whether the guest can connect and disconnect the device.
Flag indicating whether the virtual device should be connected whenever the virtual machine is powered on.
The ConnectionState enumerated type defines the valid states for a removable device that is configured to be connected.
CONNECTED : The device is connected and working correctly.
RECOVERABLE_ERROR : Device connection failed due to a recoverable error; for example, the virtual device backing is currently in use by another virtual machine.
UNRECOVERABLE_ERROR : Device connection failed due to an unrecoverable error; for example, the virtual device backing does not exist.
NOT_CONNECTED : The device is not connected.
UNKNOWN : The device status is unknown.
Possible values are: CONNECTED , RECOVERABLE_ERROR , UNRECOVERABLE_ERROR , NOT_CONNECTED , UNKNOWN
JSON Example
{
"allow_guest_control": false,
"start_connected": false,
"state": "CONNECTED"
}