NFSMountConfiguration Class
- java.
lang. Object - com.
microsoft. azure. batch. protocol. models. NFSMountConfiguration
- com.
public class NFSMountConfiguration
Information used to connect to an NFS file system.
Constructor Summary
Constructor | Description | |
---|---|---|
NFSMountConfiguration() |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
mountOptions()
Get these are 'net use' options in Windows and 'mount' options in Linux. |
String |
relativeMountPath()
Get all file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable. |
String |
source()
Get the source value. |
NFSMount |
withMountOptions(String mountOptions)
Set these are 'net use' options in Windows and 'mount' options in Linux. |
NFSMount |
withRelativeMountPath(String relativeMountPath)
Set all file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable. |
NFSMount |
withSource(String source)
Set the source value. |
Methods inherited from java.lang.Object
Constructor Details
NFSMountConfiguration
public NFSMountConfiguration()
Method Details
mountOptions
public String mountOptions()
Get these are 'net use' options in Windows and 'mount' options in Linux.
Returns:
relativeMountPath
public String relativeMountPath()
Get all file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
Returns:
source
public String source()
Get the source value.
Returns:
withMountOptions
public NFSMountConfiguration withMountOptions(String mountOptions)
Set these are 'net use' options in Windows and 'mount' options in Linux.
Parameters:
Returns:
withRelativeMountPath
public NFSMountConfiguration withRelativeMountPath(String relativeMountPath)
Set all file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
Parameters:
Returns:
withSource
public NFSMountConfiguration withSource(String source)
Set the source value.
Parameters:
Returns:
Applies to
Azure SDK for Java