# Data Object - VsanFileServiceIpConfig(vim.vsan.FileServiceIpConfig)

Property of
  VsanFileServiceDomainConfig
Extends
  HostIpConfig
Since
  vSAN API 7.0

## Data Object Description

The vSAN File Service IP configuration that is to be bound with the file service instance. For IPv6 configuration part, see HostIpConfigIpV6AddressConfiguration, only the first element of list ipV6Address will be chosen if multiple IPv6 addresses are configured. And only ipAddress and prefixLength fields are valid.

Properties

Name | Type | Description
--- | --- | ---
affinityLocation* | xsd:string | The affinity location for the file server. This option is only valid under the stretched cluster setup. If this field is specified, this file service instance will be located in the affinity site when it is available. This file server will failover to the other site when its affinity site is down but will fail back once it is available. If this is a non-stretched cluster, this affinity location will not take effect. See VsanSiteLocationType Since vSAN API vSAN 7.0U2
fqdn* | xsd:string | The Full Qualified Domain name (FQDN) to be used with IP addresses for the vSAN File Service instance. Usually it takes the form of 'fs1.example.com'. Please note prior mapping of IP address and FQDN is necessary before configuring vSAN File Service. This may need to update your DNS records. The first component of FQDN is used as netbios name for file service instances, so it must be maximum 15 characters in length.
gateway | xsd:string | The default IPv4 gateway address for the file service access point. The gateway IP must be the same for all the file servers in this domain.
ipv6Gateway* | xsd:string | The default IPv6 gateway address for the file service access point. The gateway IP must be the same for all the file servers in this domain. Since vSAN API 7.4
isPrimary* | xsd:boolean | Whether the IP address is served as the primary IP address for the file service. The file server running with the primary IP will serve as the NFS referral server which may point to the file shares served by other file servers in this cluster. Only one primary IP address is supported in one domain. Default to False.
Properties inherited from HostIpConfig
dhcp, ipAddress, ipV6Config, subnetMask
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="VsanFileServiceIpConfig"> <complexContent> <extension base="vsan:HostIpConfig"> <sequence> <element name="fqdn" type="xsd:string" minOccurs="0"/> <element name="isPrimary" type="xsd:boolean" minOccurs="0"/> <element name="gateway" type="xsd:string"/> <element name="affinityLocation" type="xsd:string" minOccurs="0"/> <element name="ipv6Gateway" type="xsd:string" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>