CifsMountConfiguration Class
- java.
lang. Object - com.
azure. compute. batch. models. CifsMountConfiguration
- com.
Implements
public final class CifsMountConfiguration
implements JsonSerializable<CifsMountConfiguration>
Information used to connect to a CIFS file system.
Constructor Summary
| Constructor | Description |
|---|---|
| CifsMountConfiguration(String username, String source, String relativeMountPath, String password) |
Creates an instance of Cifs |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Cifs |
fromJson(JsonReader jsonReader)
Reads an instance of Cifs |
| String |
getMountOptions()
Get the mount |
| String |
getPassword()
Get the password property: The password to use for authentication against the CIFS file system. |
| String |
getRelativeMountPath()
Get the relative |
| String |
getSource()
Get the source property: The URI of the file system to mount. |
| String |
getUsername()
Get the username property: The user to use for authentication against the CIFS file system. |
|
Cifs |
setMountOptions(String mountOptions)
Set the mount |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
CifsMountConfiguration
public CifsMountConfiguration(String username, String source, String relativeMountPath, String password)
Creates an instance of CifsMountConfiguration class.
Parameters:
Method Details
fromJson
public static CifsMountConfiguration fromJson(JsonReader jsonReader)
Reads an instance of CifsMountConfiguration from the JsonReader.
Parameters:
Returns:
Throws:
getMountOptions
public String getMountOptions()
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:
getPassword
public String getPassword()
Get the password property: The password to use for authentication against the CIFS file system.
Returns:
getRelativeMountPath
public String getRelativeMountPath()
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:
getSource
public String getSource()
Get the source property: The URI of the file system to mount.
Returns:
getUsername
public String getUsername()
Get the username property: The user to use for authentication against the CIFS file system.
Returns:
setMountOptions
public CifsMountConfiguration setMountOptions(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: