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

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