AzureFileShareReference Class
- java.
lang. Object - com.
microsoft. azure. management. batchai. AzureFileShareReference
- com.
public class AzureFileShareReference
Azure File Share mounting configuration.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
accountName()
Get name of the Azure storage account. |
String |
azureFileUrl()
Get uRL to access the Azure File. |
Azure |
credentials()
Get information about the Azure storage credentials. |
String |
directoryMode()
Get file mode for directories on the mounted file share. Default value: 0777. |
String |
fileMode()
Get file mode for files on the mounted file share. Default value: 0777. |
String |
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. |
Azure |
withAccountName(String accountName)
Set name of the Azure storage account. |
Azure |
withAzureFileUrl(String azureFileUrl)
Set uRL to access the Azure File. |
Azure |
withCredentials(AzureStorageCredentialsInfo credentials)
Set information about the Azure storage credentials. |
Azure |
withDirectoryMode(String directoryMode)
Set file mode for directories on the mounted file share. Default value: 0777. |
Azure |
withFileMode(String fileMode)
Set file mode for files on the mounted file share. Default value: 0777. |
Azure |
withRelativeMountPath(String relativeMountPath)
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. |
Method Details
accountName
public String accountName()
Get name of the Azure storage account.
Returns:
azureFileUrl
public String azureFileUrl()
Get uRL to access the Azure File.
Returns:
credentials
public AzureStorageCredentialsInfo credentials()
Get information about the Azure storage credentials.
Returns:
directoryMode
public String directoryMode()
Get file mode for directories on the mounted file share. Default value: 0777.
Returns:
fileMode
public String fileMode()
Get file mode for files on the mounted file share. Default value: 0777.
Returns:
relativeMountPath
public String 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:
withAccountName
public AzureFileShareReference withAccountName(String accountName)
Set name of the Azure storage account.
Parameters:
Returns:
withAzureFileUrl
public AzureFileShareReference withAzureFileUrl(String azureFileUrl)
Set uRL to access the Azure File.
Parameters:
Returns:
withCredentials
public AzureFileShareReference withCredentials(AzureStorageCredentialsInfo credentials)
Set information about the Azure storage credentials.
Parameters:
Returns:
withDirectoryMode
public AzureFileShareReference withDirectoryMode(String directoryMode)
Set file mode for directories on the mounted file share. Default value: 0777.
Parameters:
Returns:
withFileMode
public AzureFileShareReference withFileMode(String fileMode)
Set file mode for files on the mounted file share. Default value: 0777.
Parameters:
Returns:
withRelativeMountPath
public AzureFileShareReference withRelativeMountPath(String relativeMountPath)
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:
Returns:
Applies to
Azure SDK for Java