ComputeBatchModelFactory.CifsMountConfiguration Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Information used to connect to a CIFS file system.
public static Azure.Compute.Batch.CifsMountConfiguration CifsMountConfiguration(string username = default, string source = default, string relativeMountPath = default, string mountOptions = default, string password = default);
static member CifsMountConfiguration : string * string * string * string * string -> Azure.Compute.Batch.CifsMountConfiguration
Public Shared Function CifsMountConfiguration (Optional username As String = Nothing, Optional source As String = Nothing, Optional relativeMountPath As String = Nothing, Optional mountOptions As String = Nothing, Optional password As String = Nothing) As CifsMountConfiguration
Parameters
- username
- String
The user to use for authentication against the CIFS file system.
- 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.
- password
- String
The password to use for authentication against the CIFS file system.
Returns
A new CifsMountConfiguration instance for mocking.