你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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.