Class AzureFileShareConfiguration
java.lang.Object
com.azure.resourcemanager.batch.models.AzureFileShareConfiguration
Information used to connect to an Azure Fileshare.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of AzureFileShareConfiguration 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 azureFileUrl property: The Azure Files URL.Get the mountOptions property: Additional command line options to pass to the mount command.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.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.withAzureFileUrl(String azureFileUrl) Set the azureFileUrl property: The Azure Files URL.withMountOptions(String mountOptions) Set the mountOptions property: Additional command line options to pass to the mount command.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.
-
Constructor Details
-
AzureFileShareConfiguration
public AzureFileShareConfiguration()Creates an instance of AzureFileShareConfiguration 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 AzureFileShareConfiguration object itself.
-
azureFileUrl
Get the azureFileUrl property: The Azure Files URL. This is of the form 'https://{account}.file.core.windows.net/'.- Returns:
- the azureFileUrl value.
-
withAzureFileUrl
Set the azureFileUrl property: The Azure Files URL. This is of the form 'https://{account}.file.core.windows.net/'.- Parameters:
azureFileUrl- the azureFileUrl value to set.- Returns:
- the AzureFileShareConfiguration object itself.
-
accountKey
Get the accountKey property: The Azure Storage account key.- Returns:
- the accountKey value.
-
withAccountKey
Set the accountKey property: The Azure Storage account key.- Parameters:
accountKey- the accountKey value to set.- Returns:
- the AzureFileShareConfiguration 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 AzureFileShareConfiguration object itself.
-
mountOptions
Get the mountOptions 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 mountOptions value.
-
withMountOptions
Set the mountOptions property: Additional command line options to pass to the mount command. These are 'net use' options in Windows and 'mount' options in Linux.- Parameters:
mountOptions- the mountOptions value to set.- Returns:
- the AzureFileShareConfiguration object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-