Class AzureFileShareConfiguration
- java.lang.Object
-
- com.microsoft.azure.batch.protocol.models.AzureFileShareConfiguration
-
public class AzureFileShareConfiguration extends Object
Information used to connect to an Azure Fileshare.
-
-
Constructor Summary
Constructors Constructor Description AzureFileShareConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
accountKey()
Get the accountKey value.String
accountName()
Get the accountName value.String
azureFileUrl()
Get this is of the form 'https://{account}.file.core.windows.net/'.String
mountOptions()
Get these are 'net use' options in Windows and 'mount' options in Linux.String
relativeMountPath()
Get all file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.AzureFileShareConfiguration
withAccountKey(String accountKey)
Set the accountKey value.AzureFileShareConfiguration
withAccountName(String accountName)
Set the accountName value.AzureFileShareConfiguration
withAzureFileUrl(String azureFileUrl)
Set this is of the form 'https://{account}.file.core.windows.net/'.AzureFileShareConfiguration
withMountOptions(String mountOptions)
Set these are 'net use' options in Windows and 'mount' options in Linux.AzureFileShareConfiguration
withRelativeMountPath(String relativeMountPath)
Set all file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
-
-
-
Method Detail
-
accountName
public String accountName()
Get the accountName value.- Returns:
- the accountName value
-
withAccountName
public AzureFileShareConfiguration withAccountName(String accountName)
Set the accountName value.- Parameters:
accountName
- the accountName value to set- Returns:
- the AzureFileShareConfiguration object itself.
-
azureFileUrl
public String azureFileUrl()
Get this is of the form 'https://{account}.file.core.windows.net/'.- Returns:
- the azureFileUrl value
-
withAzureFileUrl
public AzureFileShareConfiguration withAzureFileUrl(String azureFileUrl)
Set this is of the form 'https://{account}.file.core.windows.net/'.- Parameters:
azureFileUrl
- the azureFileUrl value to set- Returns:
- the AzureFileShareConfiguration object itself.
-
accountKey
public String accountKey()
Get the accountKey value.- Returns:
- the accountKey value
-
withAccountKey
public AzureFileShareConfiguration withAccountKey(String accountKey)
Set the accountKey value.- Parameters:
accountKey
- the accountKey value to set- Returns:
- the AzureFileShareConfiguration object itself.
-
relativeMountPath
public String relativeMountPath()
Get 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
public AzureFileShareConfiguration withRelativeMountPath(String relativeMountPath)
Set 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
public String mountOptions()
Get these are 'net use' options in Windows and 'mount' options in Linux.- Returns:
- the mountOptions value
-
withMountOptions
public AzureFileShareConfiguration withMountOptions(String mountOptions)
Set these are 'net use' options in Windows and 'mount' options in Linux.- Parameters:
mountOptions
- the mountOptions value to set- Returns:
- the AzureFileShareConfiguration object itself.
-
-