Share via


ComputeBatchModelFactory.NfsMountConfiguration(String, String, String) Method

Definition

Information used to connect to an NFS file system.

public static Azure.Compute.Batch.NfsMountConfiguration NfsMountConfiguration(string source = default, string relativeMountPath = default, string mountOptions = default);
static member NfsMountConfiguration : string * string * string -> Azure.Compute.Batch.NfsMountConfiguration
Public Shared Function NfsMountConfiguration (Optional source As String = Nothing, Optional relativeMountPath As String = Nothing, Optional mountOptions As String = Nothing) As NfsMountConfiguration

Parameters

source
String

The URI of the file system to mount.

relativeMountPath
String

The relative path on the compute node where the file system will be mounted. All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.

mountOptions
String

Additional command line options to pass to the mount command. These are 'net use' options in Windows and 'mount' options in Linux.

Returns

A new NfsMountConfiguration instance for mocking.

Applies to