# Data Object - VirtualDeviceConnectInfo(vim.vm.device.VirtualDevice.ConnectInfo)

Property of
  VirtualDevice
Extends
  DynamicData
Since
  2.0

## Data Object Description

The `VirtualDeviceConnectInfo` data object type contains information about connectable virtual devices.

Properties

Name | Type | Description
--- | --- | ---
allowGuestControl | xsd:boolean | Enables guest control over whether the connectable device is connected.
connected | xsd:boolean | Indicates whether the device is currently connected. Valid only while the virtual machine is running.
migrateConnect* | xsd:string | Specifies whether the virtual machine should override the virtual device connection state upon the completion of a migration. At this time, this property is only applicable to instant clone operations, and will be ignored for other migration types. The property is also only valid with VirtualEthernetCards, and any attempt to set this property on an unsupported device will result in an error. This property will persist only until the virtual machine undergoes a supported migration, at which point it will be consumed and unset on the destination virtual machine, preventing the property from affecting future migrations. The migration's success is not dependent on whether the device reaches the desired connection state. The set of possible values are described in VirtualDeviceConnectInfoMigrateConnectOp. Since vSphere API 6.7
startConnected | xsd:boolean | Specifies whether or not to connect the device when the virtual machine starts.
status* | xsd:string | Indicates the current status of the connectable device. Valid only while the virtual machine is running. The set of possible values is described in VirtualDeviceConnectInfoStatus Since vSphere API 4.0
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:sms="urn:sms" name="VirtualDeviceConnectInfo"> <complexContent> <extension base="sms:DynamicData"> <sequence> <element name="migrateConnect" type="xsd:string" minOccurs="0"/> <element name="startConnected" type="xsd:boolean"/> <element name="allowGuestControl" type="xsd:boolean"/> <element name="connected" type="xsd:boolean"/> <element name="status" type="xsd:string" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>