AzureFileShareConfiguration(String, String, Uri, String) Constructor
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.
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.