Class AzureBlobFileSystemConfiguration
java.lang.Object
com.azure.resourcemanager.batch.models.AzureBlobFileSystemConfiguration
Information used to connect to an Azure Storage Container using Blobfuse.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of AzureBlobFileSystemConfiguration class. -
Method Summary
Modifier and TypeMethodDescriptionGet the accountKey property: The Azure Storage Account key.Get the accountName property: The Azure Storage Account name.Get the blobfuseOptions property: Additional command line options to pass to the mount command.Get the containerName property: The Azure Blob Storage Container name.Get the identityReference property: This property is mutually exclusive with both accountKey and sasKey; exactly one must be specified.Get the relativeMountPath property: 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.sasKey()Get the sasKey property: The Azure Storage SAS token.voidvalidate()Validates the instance.withAccountKey(String accountKey) Set the accountKey property: The Azure Storage Account key.withAccountName(String accountName) Set the accountName property: The Azure Storage Account name.withBlobfuseOptions(String blobfuseOptions) Set the blobfuseOptions property: Additional command line options to pass to the mount command.withContainerName(String containerName) Set the containerName property: The Azure Blob Storage Container name.withIdentityReference(ComputeNodeIdentityReference identityReference) Set the identityReference property: This property is mutually exclusive with both accountKey and sasKey; exactly one must be specified.withRelativeMountPath(String relativeMountPath) Set the relativeMountPath property: 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.withSasKey(String sasKey) Set the sasKey property: The Azure Storage SAS token.
-
Constructor Details
-
AzureBlobFileSystemConfiguration
public AzureBlobFileSystemConfiguration()Creates an instance of AzureBlobFileSystemConfiguration class.
-
-
Method Details
-
accountName
Get the accountName property: The Azure Storage Account name.- Returns:
- the accountName value.
-
withAccountName
Set the accountName property: The Azure Storage Account name.- Parameters:
accountName- the accountName value to set.- Returns:
- the AzureBlobFileSystemConfiguration object itself.
-
containerName
Get the containerName property: The Azure Blob Storage Container name.- Returns:
- the containerName value.
-
withContainerName
Set the containerName property: The Azure Blob Storage Container name.- Parameters:
containerName- the containerName value to set.- Returns:
- the AzureBlobFileSystemConfiguration object itself.
-
accountKey
Get the accountKey property: The Azure Storage Account key. This property is mutually exclusive with both sasKey and identity; exactly one must be specified.- Returns:
- the accountKey value.
-
withAccountKey
Set the accountKey property: The Azure Storage Account key. This property is mutually exclusive with both sasKey and identity; exactly one must be specified.- Parameters:
accountKey- the accountKey value to set.- Returns:
- the AzureBlobFileSystemConfiguration object itself.
-
sasKey
Get the sasKey property: The Azure Storage SAS token. This property is mutually exclusive with both accountKey and identity; exactly one must be specified.- Returns:
- the sasKey value.
-
withSasKey
Set the sasKey property: The Azure Storage SAS token. This property is mutually exclusive with both accountKey and identity; exactly one must be specified.- Parameters:
sasKey- the sasKey value to set.- Returns:
- the AzureBlobFileSystemConfiguration object itself.
-
blobfuseOptions
Get the blobfuseOptions property: Additional command line options to pass to the mount command. These are 'net use' options in Windows and 'mount' options in Linux.- Returns:
- the blobfuseOptions value.
-
withBlobfuseOptions
Set the blobfuseOptions property: Additional command line options to pass to the mount command. These are 'net use' options in Windows and 'mount' options in Linux.- Parameters:
blobfuseOptions- the blobfuseOptions value to set.- Returns:
- the AzureBlobFileSystemConfiguration object itself.
-
relativeMountPath
Get the relativeMountPath property: 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.- Returns:
- the relativeMountPath value.
-
withRelativeMountPath
Set the relativeMountPath property: 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.- Parameters:
relativeMountPath- the relativeMountPath value to set.- Returns:
- the AzureBlobFileSystemConfiguration object itself.
-
identityReference
Get the identityReference property: This property is mutually exclusive with both accountKey and sasKey; exactly one must be specified.- Returns:
- the identityReference value.
-
withIdentityReference
public AzureBlobFileSystemConfiguration withIdentityReference(ComputeNodeIdentityReference identityReference) Set the identityReference property: This property is mutually exclusive with both accountKey and sasKey; exactly one must be specified.- Parameters:
identityReference- the identityReference value to set.- Returns:
- the AzureBlobFileSystemConfiguration object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-