Share via


BatchFileShareConfiguration(String, Uri, String, String) Constructor

Definition

Initializes a new instance of BatchFileShareConfiguration.

public BatchFileShareConfiguration (string accountName, Uri fileUri, string accountKey, string relativeMountPath);
new Azure.ResourceManager.Batch.Models.BatchFileShareConfiguration : string * Uri * string * string -> Azure.ResourceManager.Batch.Models.BatchFileShareConfiguration
Public Sub New (accountName As String, fileUri As Uri, accountKey As String, relativeMountPath As String)

Parameters

accountName
String

The Azure Storage account name.

fileUri
Uri

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

accountKey
String

The Azure Storage account key.

relativeMountPath
String

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

Exceptions

accountName, fileUri, accountKey or relativeMountPath is null.

Applies to