VmHardwareConnectionInfo

The ConnectionInfo structure provides information about the state and configuration of a removable virtual device.


Properties

boolean
allow_guest_control Required

Flag indicating whether the guest can connect and disconnect the device.


boolean
start_connected Required

Flag indicating whether the virtual device should be connected whenever the virtual machine is powered on.


state Required

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: CONNECTEDRECOVERABLE_ERRORUNRECOVERABLE_ERRORNOT_CONNECTEDUNKNOWN

JSON Example

{
	"allow_guest_control": false,
	"start_connected": false,
	"state": "CONNECTED"
}

Feedback

Was this page helpful?