Skip to content

Commit

Permalink
website: add serial_port_list website documentation for vm resource a…
Browse files Browse the repository at this point in the history
…nd data source
  • Loading branch information
marinsalinas committed Apr 4, 2019
1 parent b75df9e commit deba901
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions website/docs/d/virtual_machine.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ The following attributes are exported:
* `description`: - A description for vm.
* `num_vnuma_nodes`: - Number of vNUMA nodes. 0 means vNUMA is disabled.
* `nic_list`: - NICs attached to the VM.
* `serial_port_list`: - (Optional) Serial Ports configured on the VM.
* `guest_os_id`: - Guest OS Identifier. For ESX, refer to VMware documentation [link](https://www.vmware.com/support/developer/converter-sdk/conv43_apireference/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html) for the list of guest OS identifiers.
* `power_state`: - The current or desired power state of the VM. (Options : ON , OFF)
* `nutanix_guest_tools`: - Information regarding Nutanix Guest Tools.
Expand Down Expand Up @@ -164,6 +165,13 @@ The nic_list attribute supports the following:
* `subnet_uuid`: - The reference to a subnet.
* `subnet_name`: - The name of the subnet reference to.

### Serial Port List

The `serial_port_list` attribute supports the following:

* `index`: - Index of the serial port (int).
* `is_connected`: - Indicates whether the serial port connection is connected or not (`true` or `false`).

### ip_endpoint_list

The following attributes are exported:
Expand Down
8 changes: 8 additions & 0 deletions website/docs/r/virtual_machine.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ The following arguments are supported:
* `description`: - (Optional) A description for vm.
* `num_vnuma_nodes`: - (Optional) Number of vNUMA nodes. 0 means vNUMA is disabled.
* `nic_list`: - (Optional) Spec NICs attached to the VM.
* `serial_port_list`: - (Optional) Serial Ports configured on the VM.
* `guest_os_id`: - (Optional) Guest OS Identifier. For ESX, refer to VMware documentation [link](https://www.vmware.com/support/developer/converter-sdk/conv43_apireference/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html) for the list of guest OS identifiers.
* `power_state`: - (Optional) The current or desired power state of the VM. (Options : ON , OFF)
* `nutanix_guest_tools`: - (Optional) Information regarding Nutanix Guest Tools.
Expand Down Expand Up @@ -160,6 +161,13 @@ The nic_list attribute supports the following:
* `subnet_name`: - The name of the subnet reference to.
* `floating_ip`: - The Floating IP associated with the vnic. (Only in `nic_list_status`)

### Serial Port List

The `serial_port_list` attribute supports the following:

* `index`: - Index of the serial port (int).
* `is_connected`: - Indicates whether the serial port connection is connected or not (`true` or `false`).

### ip_endpoint_list

The following attributes are exported:
Expand Down

0 comments on commit deba901

Please sign in to comment.