AzureFileShareConfiguration Class
- java.
lang. Object - com.
azure. resourcemanager. batch. models. AzureFileShareConfiguration
- com.
public final class AzureFileShareConfiguration
Information used to connect to an Azure Fileshare.
Constructor Summary
Constructor | Description |
---|---|
AzureFileShareConfiguration() |
Creates an instance of Azure |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
accountKey()
Get the account |
String |
accountName()
Get the account |
String |
azureFileUrl()
Get the azure |
String |
mountOptions()
Get the mount |
String |
relativeMountPath()
Get the relative |
void |
validate()
Validates the instance. |
Azure |
withAccountKey(String accountKey)
Set the account |
Azure |
withAccountName(String accountName)
Set the account |
Azure |
withAzureFileUrl(String azureFileUrl)
Set the azure |
Azure |
withMountOptions(String mountOptions)
Set the mount |
Azure |
withRelativeMountPath(String relativeMountPath)
Set the relative |
Methods inherited from java.lang.Object
Constructor Details
AzureFileShareConfiguration
public AzureFileShareConfiguration()
Creates an instance of AzureFileShareConfiguration class.
Method Details
accountKey
public String accountKey()
Get the accountKey property: The Azure Storage account key.
Returns:
accountName
public String accountName()
Get the accountName property: The Azure Storage account name.
Returns:
azureFileUrl
public String azureFileUrl()
Get the azureFileUrl property: The Azure Files URL. This is of the form 'https://{account}.file.core.windows.net/'.
Returns:
mountOptions
public String 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:
relativeMountPath
public String 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:
validate
public void validate()
Validates the instance.
withAccountKey
public AzureFileShareConfiguration withAccountKey(String accountKey)
Set the accountKey property: The Azure Storage account key.
Parameters:
Returns:
withAccountName
public AzureFileShareConfiguration withAccountName(String accountName)
Set the accountName property: The Azure Storage account name.
Parameters:
Returns:
withAzureFileUrl
public AzureFileShareConfiguration withAzureFileUrl(String azureFileUrl)
Set the azureFileUrl property: The Azure Files URL. This is of the form 'https://{account}.file.core.windows.net/'.
Parameters:
Returns:
withMountOptions
public AzureFileShareConfiguration withMountOptions(String mountOptions)
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:
Returns:
withRelativeMountPath
public AzureFileShareConfiguration 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.
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