CifsMountConfiguration Class
- java.
lang. Object - com.
azure. resourcemanager. batch. models. CifsMountConfiguration
- com.
public final class CifsMountConfiguration
Information used to connect to a CIFS file system.
Constructor Summary
Constructor | Description |
---|---|
CifsMountConfiguration() |
Creates an instance of Cifs |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
mountOptions()
Get the mount |
String |
password()
Get the password property: The password to use for authentication against the CIFS file system. |
String |
relativeMountPath()
Get the relative |
String |
source()
Get the source property: The URI of the file system to mount. |
String |
username()
Get the username property: The user to use for authentication against the CIFS file system. |
void |
validate()
Validates the instance. |
Cifs |
withMountOptions(String mountOptions)
Set the mount |
Cifs |
withPassword(String password)
Set the password property: The password to use for authentication against the CIFS file system. |
Cifs |
withRelativeMountPath(String relativeMountPath)
Set the relative |
Cifs |
withSource(String source)
Set the source property: The URI of the file system to mount. |
Cifs |
withUsername(String username)
Set the username property: The user to use for authentication against the CIFS file system. |
Methods inherited from java.lang.Object
Constructor Details
CifsMountConfiguration
public CifsMountConfiguration()
Creates an instance of CifsMountConfiguration class.
Method Details
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:
password
public String password()
Get the password property: The password to use for authentication against the CIFS file system.
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:
source
public String source()
Get the source property: The URI of the file system to mount.
Returns:
username
public String username()
Get the username property: The user to use for authentication against the CIFS file system.
Returns:
validate
public void validate()
Validates the instance.
withMountOptions
public CifsMountConfiguration 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:
withPassword
public CifsMountConfiguration withPassword(String password)
Set the password property: The password to use for authentication against the CIFS file system.
Parameters:
Returns:
withRelativeMountPath
public CifsMountConfiguration 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:
withSource
public CifsMountConfiguration withSource(String source)
Set the source property: The URI of the file system to mount.
Parameters:
Returns:
withUsername
public CifsMountConfiguration withUsername(String username)
Set the username property: The user to use for authentication against the CIFS file system.
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