VirtualDeviceConnectInfo

VirtualDeviceConnectInfo
VirtualDeviceConnectInfo

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

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "migrateConnect": "string",
    "startConnected": false,
    "allowGuestControl": false,
    "connected": false,
    "status": "string"
}
string
migrateConnect
Optional

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 VirtualDeviceConnectInfoMigrateConnectOpEnum.

boolean
startConnected
Required

Specifies whether or not to connect the device when the virtual machine starts.

boolean
allowGuestControl
Required

Enables guest control over whether the connectable device is connected.

boolean
connected
Required

Indicates whether the device is currently connected.

Valid only while the virtual machine is running.

string
status
Optional

Indicates the current status of the connectable device.

Valid only while the virtual machine is running. The set of possible values is described in VirtualDeviceConnectInfoStatusEnum