Class AzureBlobFileSystemConfiguration
- java.lang.Object
-
- com.microsoft.azure.batch.protocol.models.AzureBlobFileSystemConfiguration
-
public class AzureBlobFileSystemConfiguration extends Object
Information used to connect to an Azure Storage Container using Blobfuse.
-
-
Constructor Summary
Constructors Constructor Description AzureBlobFileSystemConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
accountKey()
Get this property is mutually exclusive with both sasKey and identity; exactly one must be specified.String
accountName()
Get the accountName value.String
blobfuseOptions()
Get these are 'net use' options in Windows and 'mount' options in Linux.String
containerName()
Get the containerName value.ComputeNodeIdentityReference
identityReference()
Get this property is mutually exclusive with both accountKey and sasKey; exactly one must be specified.String
relativeMountPath()
Get all file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.String
sasKey()
Get this property is mutually exclusive with both accountKey and identity; exactly one must be specified.AzureBlobFileSystemConfiguration
withAccountKey(String accountKey)
Set this property is mutually exclusive with both sasKey and identity; exactly one must be specified.AzureBlobFileSystemConfiguration
withAccountName(String accountName)
Set the accountName value.AzureBlobFileSystemConfiguration
withBlobfuseOptions(String blobfuseOptions)
Set these are 'net use' options in Windows and 'mount' options in Linux.AzureBlobFileSystemConfiguration
withContainerName(String containerName)
Set the containerName value.AzureBlobFileSystemConfiguration
withIdentityReference(ComputeNodeIdentityReference identityReference)
Set this property is mutually exclusive with both accountKey and sasKey; exactly one must be specified.AzureBlobFileSystemConfiguration
withRelativeMountPath(String relativeMountPath)
Set all file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.AzureBlobFileSystemConfiguration
withSasKey(String sasKey)
Set this property is mutually exclusive with both accountKey and identity; exactly one must be specified.
-
-
-
Method Detail
-
accountName
public String accountName()
Get the accountName value.- Returns:
- the accountName value
-
withAccountName
public AzureBlobFileSystemConfiguration withAccountName(String accountName)
Set the accountName value.- Parameters:
accountName
- the accountName value to set- Returns:
- the AzureBlobFileSystemConfiguration object itself.
-
containerName
public String containerName()
Get the containerName value.- Returns:
- the containerName value
-
withContainerName
public AzureBlobFileSystemConfiguration withContainerName(String containerName)
Set the containerName value.- Parameters:
containerName
- the containerName value to set- Returns:
- the AzureBlobFileSystemConfiguration object itself.
-
accountKey
public String accountKey()
Get this property is mutually exclusive with both sasKey and identity; exactly one must be specified.- Returns:
- the accountKey value
-
withAccountKey
public AzureBlobFileSystemConfiguration withAccountKey(String accountKey)
Set 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
public String sasKey()
Get this property is mutually exclusive with both accountKey and identity; exactly one must be specified.- Returns:
- the sasKey value
-
withSasKey
public AzureBlobFileSystemConfiguration withSasKey(String sasKey)
Set 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
public String blobfuseOptions()
Get these are 'net use' options in Windows and 'mount' options in Linux.- Returns:
- the blobfuseOptions value
-
withBlobfuseOptions
public AzureBlobFileSystemConfiguration withBlobfuseOptions(String blobfuseOptions)
Set 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
public String relativeMountPath()
Get 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
public AzureBlobFileSystemConfiguration withRelativeMountPath(String relativeMountPath)
Set 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
public ComputeNodeIdentityReference identityReference()
Get 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 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.
-
-