# Data Object - HostNasVolume(vim.host.NasVolume)

Property of
  NasDatastoreInfo
Extends
  HostFileSystemVolume

## Data Object Description

This data object type describes the NAS volume. Applies to both NFS and CIFS.

Properties

Name | Type | Description
--- | --- | ---
protocolEndpoint* | xsd:boolean | Indicates that this NAS volume is protocol endpoint. This property will be populated if and only if host supports VirtualVolume based Datastore. Check the host capability virtualVolumeDatastoreSupported. See HostProtocolEndpoint. Since vSphere API 6.0
remoteHost | xsd:string | The host that runs the NFS/CIFS server. Clients must plan to use remoteHostNames for both NFS v3 as well as NFS v4.1 because this field remoteHost may be deprecated in future.
remoteHostNames* | xsd:string[] | This field will hold host names (or ip addresses) of all remote hosts configured for the datastore. In case of NFS v3 it will have one hostname which will be the same value as in remoteHost defined above. In case of NFS v4.1 if the NFS Client detects additional hostnames or ip addresses during its negotiations with the NFS server, those additional host names (connections) will be added to this list after the datastore is created. Addition of hostnames to this list is limited to MDS server host names or the IP addresses. In other words, the Data Server host names IP addresses will not be appended to this list. Since vSphere API 6.0
remotePath | xsd:string | The remote path of NFS/CIFS mount point.
securityType* | xsd:string | Security type the volume is currently using. See HostNasVolumeSecurityType Since vSphere API 6.0
userName* | xsd:string | In case of CIFS, the user name used while connecting to the server. Since VI API 2.5
Properties inherited from HostFileSystemVolume
capacity, name, type
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="HostNasVolume"> <complexContent> <extension base="vsan:HostFileSystemVolume"> <sequence> <element name="remoteHost" type="xsd:string"/> <element name="remotePath" type="xsd:string"/> <element name="userName" type="xsd:string" minOccurs="0"/> <element name="remoteHostNames" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/> <element name="securityType" type="xsd:string" minOccurs="0"/> <element name="protocolEndpoint" type="xsd:boolean" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>