AzureBlobFileSystemConfiguration Class
- java.
lang. Object - com.
azure. compute. batch. models. AzureBlobFileSystemConfiguration
- com.
Implements
public final class AzureBlobFileSystemConfiguration
implements JsonSerializable<AzureBlobFileSystemConfiguration>
Information used to connect to an Azure Storage Container using Blobfuse.
Constructor Summary
| Constructor | Description |
|---|---|
| AzureBlobFileSystemConfiguration(String accountName, String containerName, String relativeMountPath) |
Creates an instance of Azure |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Azure |
fromJson(JsonReader jsonReader)
Reads an instance of Azure |
| String |
getAccountKey()
Get the account |
| String |
getAccountName()
Get the account |
| String |
getBlobfuseOptions()
Get the blobfuse |
| String |
getContainerName()
Get the container |
|
Batch |
getIdentityReference()
Get the identity |
| String |
getRelativeMountPath()
Get the relative |
| String |
getSasKey()
Get the sas |
|
Azure |
setAccountKey(String accountKey)
Set the account |
|
Azure |
setBlobfuseOptions(String blobfuseOptions)
Set the blobfuse |
|
Azure |
setIdentityReference(BatchNodeIdentityReference identityReference)
Set the identity |
|
Azure |
setSasKey(String sasKey)
Set the sas |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
AzureBlobFileSystemConfiguration
public AzureBlobFileSystemConfiguration(String accountName, String containerName, String relativeMountPath)
Creates an instance of AzureBlobFileSystemConfiguration class.
Parameters:
Method Details
fromJson
public static AzureBlobFileSystemConfiguration fromJson(JsonReader jsonReader)
Reads an instance of AzureBlobFileSystemConfiguration from the JsonReader.
Parameters:
Returns:
Throws:
getAccountKey
public String getAccountKey()
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:
getAccountName
public String getAccountName()
Get the accountName property: The Azure Storage Account name.
Returns:
getBlobfuseOptions
public String getBlobfuseOptions()
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:
getContainerName
public String getContainerName()
Get the containerName property: The Azure Blob Storage Container name.
Returns:
getIdentityReference
public BatchNodeIdentityReference getIdentityReference()
Get the identityReference property: 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:
getRelativeMountPath
public String getRelativeMountPath()
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:
getSasKey
public String getSasKey()
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:
setAccountKey
public AzureBlobFileSystemConfiguration setAccountKey(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:
setBlobfuseOptions
public AzureBlobFileSystemConfiguration setBlobfuseOptions(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:
setIdentityReference
public AzureBlobFileSystemConfiguration setIdentityReference(BatchNodeIdentityReference identityReference)
Set the identityReference property: 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.
Parameters:
Returns:
setSasKey
public AzureBlobFileSystemConfiguration setSasKey(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: