NFSMountConfiguration Class

  • java.lang.Object
    • com.microsoft.azure.management.batch.NFSMountConfiguration

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
java.lang.String mountOptions()

Get these are 'net use' options in Windows and 'mount' options in Linux.

java.lang.String relativeMountPath()

Get all file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.

java.lang.String source()

Get the source value.

NFSMountConfiguration withMountOptions(String mountOptions)

Set these are 'net use' options in Windows and 'mount' options in Linux.

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.

NFSMountConfiguration withSource(String source)

Set the source value.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

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:

the mountOptions value

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:

the relativeMountPath value

source

public String source()

Get the source value.

Returns:

the source value

withMountOptions

public NFSMountConfiguration withMountOptions(String mountOptions)

Set these are 'net use' options in Windows and 'mount' options in Linux.

Parameters:

mountOptions - the mountOptions value to set

Returns:

the NFSMountConfiguration object itself.

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:

relativeMountPath - the relativeMountPath value to set

Returns:

the NFSMountConfiguration object itself.

withSource

public NFSMountConfiguration withSource(String source)

Set the source value.

Parameters:

source - the source value to set

Returns:

the NFSMountConfiguration object itself.

Applies to