vcenter vm hardware parallel: create spec

The create_spec structure provides a specification for the configuration of a newly-created virtual parallel port.

Representation:

{
    "start_connected"true,
    "backing"{
        "file""string",
        "type""FILE",
        "host_device""string"
    },
    "allow_guest_control"true
}

Attributes:

Name Type Description
Required
backing.type string Backing type for the virtual parallel port.

Defines the valid backing types for a virtual parallel port. Value is one of:
FILE: Virtual parallel port is backed by a file.
HOST_DEVICE: Virtual parallel port is backed by a device on the host where the virtual machine is running.

Optional
backing backing_spec Physical resource backing for the virtual parallel port.

Optional. If unset, defaults to automatic detection of a suitable host device.

backing.file string Path of the file that should be used as the virtual parallel port backing.

Optional. It is only relevant when type has value FILE. This field is optional and it is only relevant when the value of type is FILE.

backing.host_device string Name of the device that should be used as the virtual parallel port backing.

Optional. It is only relevant when type has value HOST_DEVICE. If unset, the virtual parallel port will be configured to automatically detect a suitable host device.

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

Optional. Defaults to false if unset.

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

Optional. Defaults to false if unset.