AzureBlobFileSystemConfiguration Class
- java.
lang. Object - com.
azure. resourcemanager. 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() |
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 |
|
static
Azure |
fromJson(JsonReader jsonReader)
Reads an instance of Azure |
|
Compute |
identityReference()
Get the identity |
| String |
relativeMountPath()
Get the relative |
| String |
sasKey()
Get the sas |
|
Json |
toJson(JsonWriter jsonWriter) |
| 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: 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: 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:
fromJson
public static AzureBlobFileSystemConfiguration fromJson(JsonReader jsonReader)
Reads an instance of AzureBlobFileSystemConfiguration from the JsonReader.
Parameters:
Returns:
Throws:
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: 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: This property is mutually exclusive with both accountKey and identity; exactly one must be specified.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAccountKey
public AzureBlobFileSystemConfiguration withAccountKey(String accountKey)
Set the accountKey property: 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: 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: 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: This property is mutually exclusive with both accountKey and identity; exactly one must be specified.
Parameters:
Returns: