AzureFileShareReference Class
- java.
lang. Object - com.
azure. resourcemanager. batchai. models. AzureFileShareReference
- com.
public final class AzureFileShareReference
Azure File Share mounting configuration.
Constructor Summary
Constructor | Description | |
---|---|---|
AzureFileShareReference() |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
accountName()
Get the account |
String |
azureFileUrl()
Get the azure |
Azure |
credentials()
Get the credentials property: Information about the Azure storage credentials. |
String |
directoryMode()
Get the directory |
String |
fileMode()
Get the file |
String |
relativeMountPath()
Get the relative |
void |
validate()
Validates the instance. |
Azure |
withAccountName(String accountName)
Set the account |
Azure |
withAzureFileUrl(String azureFileUrl)
Set the azure |
Azure |
withCredentials(AzureStorageCredentialsInfo credentials)
Set the credentials property: Information about the Azure storage credentials. |
Azure |
withDirectoryMode(String directoryMode)
Set the directory |
Azure |
withFileMode(String fileMode)
Set the file |
Azure |
withRelativeMountPath(String relativeMountPath)
Set the relative |
Methods inherited from java.lang.Object
Constructor Details
AzureFileShareReference
public AzureFileShareReference()
Method Details
accountName
public String accountName()
Get the accountName property: Name of the Azure storage account.
Returns:
azureFileUrl
public String azureFileUrl()
Get the azureFileUrl property: URL to access the Azure File.
Returns:
credentials
public AzureStorageCredentialsInfo credentials()
Get the credentials property: Information about the Azure storage credentials.
Returns:
directoryMode
public String directoryMode()
Get the directoryMode property: File mode for directories on the mounted file share. Default value: 0777.
Returns:
fileMode
public String fileMode()
Get the fileMode property: File mode for files on the mounted file share. Default value: 0777.
Returns:
relativeMountPath
public String relativeMountPath()
Get the relativeMountPath property: 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:
validate
public void validate()
Validates the instance.
withAccountName
public AzureFileShareReference withAccountName(String accountName)
Set the accountName property: Name of the Azure storage account.
Parameters:
Returns:
withAzureFileUrl
public AzureFileShareReference withAzureFileUrl(String azureFileUrl)
Set the azureFileUrl property: URL to access the Azure File.
Parameters:
Returns:
withCredentials
public AzureFileShareReference withCredentials(AzureStorageCredentialsInfo credentials)
Set the credentials property: Information about the Azure storage credentials.
Parameters:
Returns:
withDirectoryMode
public AzureFileShareReference withDirectoryMode(String directoryMode)
Set the directoryMode property: File mode for directories on the mounted file share. Default value: 0777.
Parameters:
Returns:
withFileMode
public AzureFileShareReference withFileMode(String fileMode)
Set the fileMode property: File mode for files on the mounted file share. Default value: 0777.
Parameters:
Returns:
withRelativeMountPath
public AzureFileShareReference withRelativeMountPath(String relativeMountPath)
Set the relativeMountPath property: 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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for