AzureFileShareConfiguration(String, String, String, 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 azureFileUrl, string accountKey, string relativeMountPath);
new Azure.Compute.Batch.AzureFileShareConfiguration : string * string * string * string -> Azure.Compute.Batch.AzureFileShareConfiguration
Public Sub New (accountName As String, azureFileUrl As String, accountKey As String, relativeMountPath As String)
Parameters
- accountName
- String
The Azure Storage account name.
- azureFileUrl
- String
The Azure Files URL. This is of the form 'https://{account}.file.core.windows.net/'.
- accountKey
- String
The Azure Storage account key.
- 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
, azureFileUrl
, accountKey
or relativeMountPath
is null.
Applies to
Azure SDK for .NET