From 84ebc8682e96dddbc155e654a07b90729fc70807 Mon Sep 17 00:00:00 2001 From: graysonwu Date: Tue, 16 Jan 2024 15:16:43 -0800 Subject: [PATCH] Fix HostTN doc issue Signed-off-by: graysonwu --- ...esource_nsxt_policy_host_transport_node.go | 2 +- .../policy_host_transport_node.html.markdown | 66 +++++++++---------- 2 files changed, 34 insertions(+), 34 deletions(-) diff --git a/nsxt/resource_nsxt_policy_host_transport_node.go b/nsxt/resource_nsxt_policy_host_transport_node.go index 7676e73db..a9169f4f6 100644 --- a/nsxt/resource_nsxt_policy_host_transport_node.go +++ b/nsxt/resource_nsxt_policy_host_transport_node.go @@ -97,7 +97,7 @@ func getFabricHostNodeSchema() *schema.Schema { }, "thumbprint": { Type: schema.TypeString, - Optional: true, + Required: true, Description: "ESXi thumbprint or SSH key fingerprint of the host node", }, "username": { diff --git a/website/docs/r/policy_host_transport_node.html.markdown b/website/docs/r/policy_host_transport_node.html.markdown index 6adf8aac9..9de14aeed 100644 --- a/website/docs/r/policy_host_transport_node.html.markdown +++ b/website/docs/r/policy_host_transport_node.html.markdown @@ -65,50 +65,50 @@ The following arguments are supported: * `fqdn` - (Optional) Fully qualified domain name of the fabric node. * `ip_addresses` - (Required) IP Addresses of the Node, version 4 or 6. * `host_credential` - (Optional) Host login credentials. - * `password` - (Required) The authentication password of the host node. - * `thumbprint` - (Optional) ESXi thumbprint or SSH key fingerprint of the host node. - * `username` - (Required) The username of the account on the host node. + * `password` - (Required) The authentication password of the host node. + * `thumbprint` - (Required) ESXi thumbprint or SSH key fingerprint of the host node. + * `username` - (Required) The username of the account on the host node. * `standard_host_switch` - (Required) Standard host switch specification. * `host_switch_id` - (Optional) The host switch id. This ID will be used to reference a host switch. * `host_switch_mode` - (Optional) Operational mode of a HostSwitch. Accepted values - 'STANDARD', 'ENS', 'ENS_INTERRUPT' or 'LEGACY'. The default value is 'STANDARD'. * `host_switch_profile` - (Optional) Policy path of host switch profiles to be associated with this host switch. * `ip_assignment` - (Required) - Specification for IPs to be used with host switch virtual tunnel endpoints. Should contain exatly one of the below: - * `assigned_by_dhcp` - (Optional) Enables DHCP assignment. - * `static_ip` - (Optional) IP assignment specification for Static IP List. - * `ip_addresses` - (Required) List of IPs for transport node host switch virtual tunnel endpoints. - * `subnet_mask` - (Required) Subnet mask. - * `default_gateway` - (Required) Gateway IP. - * `static_ip_pool` - (Optional) Policy path of Static IP Pool used for IP assignment specification. - * `is_migrate_pnics` - (Optional) Migrate any pnics which are in use. - * `pnic` - (Optional) Physical NICs connected to the host switch. - * `device_name` - (Required) Device name or key. - * `uplink_name` - (Required) Uplink name for this Pnic. - * `transport_node_profile_sub_config` - (Optional) Transport Node Profile sub-configuration Options. - * `host_switch_config_option` - (Required) Subset of the host switch configuration. - * `host_switch_id` - (Optional) The host switch id. This ID will be used to reference a host switch. - * `host_switch_profile` - (Optional) Identifiers of host switch profiles to be associated with this host switch. - * `ip_assignment` - (Required) - Specification for IPs to be used with host switch virtual tunnel endpoints. Should contain exatly one of the below: - * `assigned_by_dhcp` - (Optional) Enables DHCP assignment. - * `static_ip` - (Optional) IP assignment specification for Static IP List. + * `assigned_by_dhcp` - (Optional) Enables DHCP assignment. + * `static_ip` - (Optional) IP assignment specification for Static IP List. * `ip_addresses` - (Required) List of IPs for transport node host switch virtual tunnel endpoints. * `subnet_mask` - (Required) Subnet mask. * `default_gateway` - (Required) Gateway IP. - * `static_ip_pool` - (Optional) IP assignment specification for Static IP Pool. - * `uplink` - (Optional) Uplink/LAG of VMware vSphere Distributed Switch connected to the HostSwitch. - * `uplink_name` - (Required) Uplink name from UplinkHostSwitch profile. - * `vds_lag_name` - (Optional) Link Aggregation Group (LAG) name of Virtual Distributed Switch. - * `vds_uplink_name` - (Optional) Uplink name of VMware vSphere Distributed Switch (VDS). - * `name` - (Required) Name of the transport node profile config option. + * `static_ip_pool` - (Optional) Policy path of Static IP Pool used for IP assignment specification. + * `is_migrate_pnics` - (Optional) Migrate any pnics which are in use. + * `pnic` - (Optional) Physical NICs connected to the host switch. + * `device_name` - (Required) Device name or key. + * `uplink_name` - (Required) Uplink name for this Pnic. + * `transport_node_profile_sub_config` - (Optional) Transport Node Profile sub-configuration Options. + * `host_switch_config_option` - (Required) Subset of the host switch configuration. + * `host_switch_id` - (Optional) The host switch id. This ID will be used to reference a host switch. + * `host_switch_profile` - (Optional) Identifiers of host switch profiles to be associated with this host switch. + * `ip_assignment` - (Required) - Specification for IPs to be used with host switch virtual tunnel endpoints. Should contain exatly one of the below: + * `assigned_by_dhcp` - (Optional) Enables DHCP assignment. + * `static_ip` - (Optional) IP assignment specification for Static IP List. + * `ip_addresses` - (Required) List of IPs for transport node host switch virtual tunnel endpoints. + * `subnet_mask` - (Required) Subnet mask. + * `default_gateway` - (Required) Gateway IP. + * `static_ip_pool` - (Optional) IP assignment specification for Static IP Pool. + * `uplink` - (Optional) Uplink/LAG of VMware vSphere Distributed Switch connected to the HostSwitch. + * `uplink_name` - (Required) Uplink name from UplinkHostSwitch profile. + * `vds_lag_name` - (Optional) Link Aggregation Group (LAG) name of Virtual Distributed Switch. + * `vds_uplink_name` - (Optional) Uplink name of VMware vSphere Distributed Switch (VDS). + * `name` - (Required) Name of the transport node profile config option. * `transport_zone_endpoint` - (Optional) Transport zone endpoints - * `transport_zone` - (Required) Unique ID identifying the transport zone for this endpoint. - * `transport_zone_profiles` - (Optional) Identifiers of the transport zone profiles associated with this transport zone endpoint on this transport node. + * `transport_zone` - (Required) Unique ID identifying the transport zone for this endpoint. + * `transport_zone_profiles` - (Optional) Identifiers of the transport zone profiles associated with this transport zone endpoint on this transport node. * `uplink` - (Optional) Uplink/LAG of VMware vSphere Distributed Switch connected to the HostSwitch. - * `uplink_name` - (Required) Uplink name from UplinkHostSwitch profile. - * `vds_lag_name` - (Optional) Link Aggregation Group (LAG) name of Virtual Distributed Switch. - * `vds_uplink_name` - (Optional) Uplink name of VMware vSphere Distributed Switch (VDS). + * `uplink_name` - (Required) Uplink name from UplinkHostSwitch profile. + * `vds_lag_name` - (Optional) Link Aggregation Group (LAG) name of Virtual Distributed Switch. + * `vds_uplink_name` - (Optional) Uplink name of VMware vSphere Distributed Switch (VDS). * `vmk_install_migration` - (Optional) The vmknic and logical switch mappings. - * `destination_network` - (Required) The network id to which the ESX vmk interface will be migrated. - * `device_name` - (Required) ESX vmk interface name. + * `destination_network` - (Required) The network id to which the ESX vmk interface will be migrated. + * `device_name` - (Required) ESX vmk interface name. ## Attributes Reference