Contents

VZConsoleDevice

A class that represents a console device in a VM.

Declaration

class VZConsoleDevice

Overview

Don’t instantiate a VZConsoleDevice directly: You first configure console devices on the VZVirtualMachineConfiguration through a subclass of VZConsoleDeviceConfiguration. After you create VZVirtualMachine from the configuration, the console devices are available through the consoleDevices property.

The actual type of VZConsoleDevice corresponds to the type that the configuration uses. For example, a VZVirtioConsoleDeviceConfiguration is a device of type VZVirtioConsoleDevice.

See Also

Related Documentation

Devices