Share via


AzureFileShareConfiguration(String, String, Uri, String) Constructor

Definition

Initializes a new instance of AzureFileShareConfiguration.

public AzureFileShareConfiguration(string accountName, string accountKey, Uri azureFileUri, string relativeMountPath);
new Azure.Compute.Batch.AzureFileShareConfiguration : string * string * Uri * string -> Azure.Compute.Batch.AzureFileShareConfiguration
Public Sub New (accountName As String, accountKey As String, azureFileUri As Uri, relativeMountPath As String)

Parameters

accountName
String

The Azure Storage account name.

accountKey
String

The Azure Storage account key.

azureFileUri
Uri

The Azure Files URL. This is of the form 'https://{account}.file.core.windows.net/'.

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.

Exceptions

accountName, accountKey, azureFileUri or relativeMountPath is null.

Applies to