vcenter vm hardware: connection info

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

Representations:

{
    "allow_guest_control"true,
    "start_connected"true,
    "state""CONNECTED"
}
<?xml version="1.0" ?>
<ns0:ConnectionInfo xmlns:ns0="http://vmware.com/vcenter/vm/hardware" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <state>CONNECTED</state>
  <allow_guest_control>true</allow_guest_control>
  <start_connected>true</start_connected>
</ns0:ConnectionInfo>

Attributes:

Name Type Description
Required
state string Connection status of the virtual device.

Defines the valid states for a removable device that is configured to be connected. Value is one of:
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.

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

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