Name |
Type |
Description |
accessMode
|
String
|
Access mode for the mount point.
<p>
Mounting in read-write mode would be successful irregardless on
how the mount point is exported or access permissions. For
example, mounting a volume that is exported as read-only as
readWrite will succeed. Hence, that a readWrite mount succeeds
should not be taken as an indication that all files on a mount
is writable.
<p>
If a file system is mounted readOnly, the system cannot create
or modify any files on the file system. This is mostly useful
for storing ISO images and templates, since a virtual machine
cannot be powered on from a readOnly volume.
<p>
The access mode of a mounted NFS volume can be obtained at
<a target="_blank" href="https://www.vmware.com/support/orchestrator/doc/vro-vsphere60-api/html/VcHostMountInfo.html#accessMode">VcHostMountInfo</a>.
<p><br>See <a target="_blank" href="https://www.vmware.com/support/orchestrator/doc/vro-vsphere60-api/html/VcHostMountInfo.html#accessMode">VcHostMountMode</a><br> |
localPath
|
String
|
The localPath refers to the name of the NAS datastore to be created
using this specification.
<p>
In the case of ESX Server, the datastore name is a component in the
file system path at which the NAS volume can be found. For example,
if localPath is set to "nas_volume" the created NAS datastore will be
named "nas_volume" and it can be accessed via the file system path
"/vmfs/volumes/nas_volume".
<p>
In the case of VMware Server, the localPath will also be used as the
datastore name, but the datastore name may not necessarily be
reflected in the file system path where the NAS volume may be
accessed. |
password
|
String
|
If type is CIFS, the password to use when connecting to the
CIFS server. If type is NFS, this field will be ignored. |
remoteHost
|
String
|
The host that runs the NFS v3 or CIFS server. For NFS v4.1
and beyond use remoteHostNames defined later. The field remotehost
may be deprecated in future for NFS, so clients should plan to use the
property remoteHostNames to send in the host name(s) for both NFS v3
and v4.1 |
remoteHostNames
|
String[]
|
Hostnames or IP addresses of remote NFS server. In case
of NFS v4.1 this may have multiple entries. For NFS v3 the
input should be same in both remoteHost and remoteHostNames. |
remotePath
|
String
|
The remote path of the NFS mount point. |
securityType
|
String
|
Provided during mount indicating what security type,
if any, to use
See <a target="_blank" href="https://www.vmware.com/support/orchestrator/doc/vro-vsphere60-api/html/VcHostNasVolumeSecurityType.html">VcHostNasVolumeSecurityType</a> |
type
|
String
|
Specifies the type of the the NAS volume.
Supported types are
<a target="_blank" href="https://www.vmware.com/support/orchestrator/doc/vro-vsphere60-api/html/VcHostFileSystemVolumeFileSystemType.html#CIFS">VcHostFileSystemVolumeFileSystemType</a>,
<a target="_blank" href="https://www.vmware.com/support/orchestrator/doc/vro-vsphere60-api/html/VcHostFileSystemVolumeFileSystemType.html#CIFS">VcHostFileSystemVolumeFileSystemType</a>,
<a target="_blank" href="https://www.vmware.com/support/orchestrator/doc/vro-vsphere60-api/html/VcHostFileSystemVolumeFileSystemType.html#CIFS">VcHostFileSystemVolumeFileSystemType</a>
If not specified, defaults to
<a target="_blank" href="https://www.vmware.com/support/orchestrator/doc/vro-vsphere60-api/html/VcHostFileSystemVolumeFileSystemType.html#CIFS">VcHostFileSystemVolumeFileSystemType</a> |
userName
|
String
|
If type is CIFS, the user name to use when connecting to the
CIFS server. If type is NFS, this field will be ignored. |