vcenter vm hardware serial: update spec

The update_spec structure describes the updates to be made to the configuration of a virtual serial port.

Representations:

{
    "allow_guest_control"true,
    "backing"{
        "file""string",
        "host_device""string",
        "network_location""http://myurl.com",
        "no_rx_loss"true,
        "pipe""string",
        "proxy""http://myurl.com",
        "type""FILE"
    },
    "start_connected"true,
    "yield_on_poll"true
}
<?xml version="1.0" ?>
<ns0:UpdateSpec xmlns:ns0="http://vmware.com/vcenter/vm/hardware/serial" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <allow_guest_control>true</allow_guest_control>
  <yield_on_poll>true</yield_on_poll>
  <backing>
    <network_location>http://myurl.com</network_location>
    <file>string</file>
    <proxy>http://myurl.com</proxy>
    <type>FILE</type>
    <no_rx_loss>true</no_rx_loss>
    <pipe>string</pipe>
    <host_device>string</host_device>
  </backing>
  <start_connected>true</start_connected>
</ns0:UpdateSpec>

Attributes:

Name Type Description
Optional
yield_on_poll boolean CPU yield behavior. If set to true, the virtual machine will periodically relinquish the processor if its sole task is polling the virtual serial port. The amount of time it takes to regain the processor will depend on the degree of other virtual machine activity on the host.

This field may be modified at any time, and changes applied to a connected virtual serial port take effect immediately.

Optional. If unset, the value is unchanged.

backing backing_spec Physical resource backing for the virtual serial port.

This field may only be modified if the virtual machine is not powered on or the virtual serial port is not connected.

Optional. If unset, the value is unchanged.

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

Optional. If unset, the value is unchanged.

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

Optional. If unset, the value is unchanged.