AzureBlobFileSystemConfiguration Class
- java.
lang. Object - com.
azure. resourcemanager. batch. models. AzureBlobFileSystemConfiguration
- com.
public final class AzureBlobFileSystemConfiguration
Information used to connect to an Azure Storage Container using Blobfuse.
Constructor Summary
Constructor | Description |
---|---|
AzureBlobFileSystemConfiguration() |
Creates an instance of Azure |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
accountKey()
Get the account |
String |
accountName()
Get the account |
String |
blobfuseOptions()
Get the blobfuse |
String |
containerName()
Get the container |
Compute |
identityReference()
Get the identity |
String |
relativeMountPath()
Get the relative |
String |
sasKey()
Get the sas |
void |
validate()
Validates the instance. |
Azure |
withAccountKey(String accountKey)
Set the account |
Azure |
withAccountName(String accountName)
Set the account |
Azure |
withBlobfuseOptions(String blobfuseOptions)
Set the blobfuse |
Azure |
withContainerName(String containerName)
Set the container |
Azure |
withIdentityReference(ComputeNodeIdentityReference identityReference)
Set the identity |
Azure |
withRelativeMountPath(String relativeMountPath)
Set the relative |
Azure |
withSasKey(String sasKey)
Set the sas |
Methods inherited from java.lang.Object
Constructor Details
AzureBlobFileSystemConfiguration
public AzureBlobFileSystemConfiguration()
Creates an instance of AzureBlobFileSystemConfiguration class.
Method Details
accountKey
public String 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:
accountName
public String accountName()
Get the accountName property: The Azure Storage Account name.
Returns:
blobfuseOptions
public String 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:
containerName
public String containerName()
Get the containerName property: The Azure Blob Storage Container name.
Returns:
identityReference
public ComputeNodeIdentityReference identityReference()
Get the identityReference property: This property is mutually exclusive with both accountKey and sasKey; exactly one must be specified.
Returns:
relativeMountPath
public String 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:
sasKey
public String 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:
validate
public void validate()
Validates the instance.
withAccountKey
public AzureBlobFileSystemConfiguration withAccountKey(String accountKey)
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:
Returns:
withAccountName
public AzureBlobFileSystemConfiguration withAccountName(String accountName)
Set the accountName property: The Azure Storage Account name.
Parameters:
Returns:
withBlobfuseOptions
public AzureBlobFileSystemConfiguration withBlobfuseOptions(String blobfuseOptions)
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:
Returns:
withContainerName
public AzureBlobFileSystemConfiguration withContainerName(String containerName)
Set the containerName property: The Azure Blob Storage Container name.
Parameters:
Returns:
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:
Returns:
withRelativeMountPath
public AzureBlobFileSystemConfiguration 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.
Parameters:
Returns:
withSasKey
public AzureBlobFileSystemConfiguration withSasKey(String sasKey)
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:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for