ComputeBatchModelFactory.AzureFileShareConfiguration Method
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.
Information used to connect to an Azure Fileshare.
public static Azure.Compute.Batch.AzureFileShareConfiguration AzureFileShareConfiguration(string accountName = default, string accountKey = default, Uri azureFileUri = default, string relativeMountPath = default, string mountOptions = default);
static member AzureFileShareConfiguration : string * string * Uri * string * string -> Azure.Compute.Batch.AzureFileShareConfiguration
Public Shared Function AzureFileShareConfiguration (Optional accountName As String = Nothing, Optional accountKey As String = Nothing, Optional azureFileUri As Uri = Nothing, Optional relativeMountPath As String = Nothing, Optional mountOptions As String = Nothing) As AzureFileShareConfiguration
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.
- mountOptions
- String
Additional command line options to pass to the mount command. These are 'net use' options in Windows and 'mount' options in Linux.
Returns
A new AzureFileShareConfiguration instance for mocking.