Class AzureFileShareReference
java.lang.Object
com.microsoft.azure.management.batchai.AzureFileShareReference
Azure File Share mounting configuration.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet name of the Azure storage account.Get uRL to access the Azure File.Get information about the Azure storage credentials.Get file mode for directories on the mounted file share.fileMode()
Get file mode for files on the mounted file share.Get the relative path on the compute node where the Azure File share will be mounted.withAccountName
(String accountName) Set name of the Azure storage account.withAzureFileUrl
(String azureFileUrl) Set uRL to access the Azure File.withCredentials
(AzureStorageCredentialsInfo credentials) Set information about the Azure storage credentials.withDirectoryMode
(String directoryMode) Set file mode for directories on the mounted file share.withFileMode
(String fileMode) Set file mode for files on the mounted file share.withRelativeMountPath
(String relativeMountPath) Set the relative path on the compute node where the Azure File share will be mounted.
-
Constructor Details
-
AzureFileShareReference
public AzureFileShareReference()
-
-
Method Details
-
accountName
Get name of the Azure storage account.- Returns:
- the accountName value
-
withAccountName
Set name of the Azure storage account.- Parameters:
accountName
- the accountName value to set- Returns:
- the AzureFileShareReference object itself.
-
azureFileUrl
Get uRL to access the Azure File.- Returns:
- the azureFileUrl value
-
withAzureFileUrl
Set uRL to access the Azure File.- Parameters:
azureFileUrl
- the azureFileUrl value to set- Returns:
- the AzureFileShareReference object itself.
-
credentials
Get information about the Azure storage credentials.- Returns:
- the credentials value
-
withCredentials
Set information about the Azure storage credentials.- Parameters:
credentials
- the credentials value to set- Returns:
- the AzureFileShareReference object itself.
-
relativeMountPath
Get the relative path on the compute node where the Azure File share will be mounted. Note that all cluster level file shares will be mounted under $AZ_BATCHAI_MOUNT_ROOT location and all job level file shares will be mounted under $AZ_BATCHAI_JOB_MOUNT_ROOT.- Returns:
- the relativeMountPath value
-
withRelativeMountPath
Set the relative path on the compute node where the Azure File share will be mounted. Note that all cluster level file shares will be mounted under $AZ_BATCHAI_MOUNT_ROOT location and all job level file shares will be mounted under $AZ_BATCHAI_JOB_MOUNT_ROOT.- Parameters:
relativeMountPath
- the relativeMountPath value to set- Returns:
- the AzureFileShareReference object itself.
-
fileMode
Get file mode for files on the mounted file share. Default value: 0777.- Returns:
- the fileMode value
-
withFileMode
Set file mode for files on the mounted file share. Default value: 0777.- Parameters:
fileMode
- the fileMode value to set- Returns:
- the AzureFileShareReference object itself.
-
directoryMode
Get file mode for directories on the mounted file share. Default value: 0777.- Returns:
- the directoryMode value
-
withDirectoryMode
Set file mode for directories on the mounted file share. Default value: 0777.- Parameters:
directoryMode
- the directoryMode value to set- Returns:
- the AzureFileShareReference object itself.
-