ComputeBatchModelFactory.AzureBlobFileSystemConfiguration 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 Storage Container using Blobfuse.
public static Azure.Compute.Batch.AzureBlobFileSystemConfiguration AzureBlobFileSystemConfiguration(string accountName = default, string containerName = default, string accountKey = default, string sasKey = default, string blobfuseOptions = default, string relativeMountPath = default, Azure.Compute.Batch.BatchNodeIdentityReference identityReference = default);
static member AzureBlobFileSystemConfiguration : string * string * string * string * string * string * Azure.Compute.Batch.BatchNodeIdentityReference -> Azure.Compute.Batch.AzureBlobFileSystemConfiguration
Public Shared Function AzureBlobFileSystemConfiguration (Optional accountName As String = Nothing, Optional containerName As String = Nothing, Optional accountKey As String = Nothing, Optional sasKey As String = Nothing, Optional blobfuseOptions As String = Nothing, Optional relativeMountPath As String = Nothing, Optional identityReference As BatchNodeIdentityReference = Nothing) As AzureBlobFileSystemConfiguration
Parameters
- accountName
- String
The Azure Storage Account name.
- containerName
- String
The Azure Blob Storage Container name.
- accountKey
- String
The Azure Storage Account key. This property is mutually exclusive with both sasKey and identity; exactly one must be specified.
- sasKey
- String
The Azure Storage SAS token. This property is mutually exclusive with both accountKey and identity; exactly one must be specified.
- blobfuseOptions
- String
Additional command line options to pass to the mount command. These are 'net use' options in Windows and 'mount' options in Linux.
- 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.
- identityReference
- BatchNodeIdentityReference
The reference to the user assigned identity to use to access containerName. This property is mutually exclusive with both accountKey and sasKey; exactly one must be specified.
Returns
A new AzureBlobFileSystemConfiguration instance for mocking.