CifsMountConfiguration(String, String, String, String) Constructor

Definition

Initializes a new instance of CifsMountConfiguration.

public CifsMountConfiguration (string username, string source, string relativeMountPath, string password);
new Azure.Compute.Batch.CifsMountConfiguration : string * string * string * string -> Azure.Compute.Batch.CifsMountConfiguration
Public Sub New (username As String, source As String, relativeMountPath As String, password As String)

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.

password
String

The password to use for authentication against the CIFS file system.

Exceptions

username, source, relativeMountPath or password is null.

Applies to