Class FileServerReference
java.lang.Object
com.microsoft.azure.management.batchai.FileServerReference
File Server mounting configuration.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet resource ID of the existing File Server to be mounted.Get mount options to be passed to mount command.Get the relative path on the compute node where the File Server will be mounted.Get file Server directory that needs to be mounted.withFileServer
(ResourceId fileServer) Set resource ID of the existing File Server to be mounted.withMountOptions
(String mountOptions) Set mount options to be passed to mount command.withRelativeMountPath
(String relativeMountPath) Set the relative path on the compute node where the File Server will be mounted.withSourceDirectory
(String sourceDirectory) Set file Server directory that needs to be mounted.
-
Constructor Details
-
FileServerReference
public FileServerReference()
-
-
Method Details
-
fileServer
Get resource ID of the existing File Server to be mounted.- Returns:
- the fileServer value
-
withFileServer
Set resource ID of the existing File Server to be mounted.- Parameters:
fileServer
- the fileServer value to set- Returns:
- the FileServerReference object itself.
-
sourceDirectory
Get file Server directory that needs to be mounted. If this property is not specified, the entire File Server will be mounted.- Returns:
- the sourceDirectory value
-
withSourceDirectory
Set file Server directory that needs to be mounted. If this property is not specified, the entire File Server will be mounted.- Parameters:
sourceDirectory
- the sourceDirectory value to set- Returns:
- the FileServerReference object itself.
-
relativeMountPath
Get the relative path on the compute node where the File Server will be mounted. Note that all cluster level file servers will be mounted under $AZ_BATCHAI_MOUNT_ROOT location and all job level file servers will be mounted under $AZ_BATCHAI_JOB_MOUNT_ROOT.- Returns:
- the relativeMountPath value
-
withRelativeMountPath
Set the relative path on the compute node where the File Server will be mounted. Note that all cluster level file servers will be mounted under $AZ_BATCHAI_MOUNT_ROOT location and all job level file servers will be mounted under $AZ_BATCHAI_JOB_MOUNT_ROOT.- Parameters:
relativeMountPath
- the relativeMountPath value to set- Returns:
- the FileServerReference object itself.
-
mountOptions
Get mount options to be passed to mount command.- Returns:
- the mountOptions value
-
withMountOptions
Set mount options to be passed to mount command.- Parameters:
mountOptions
- the mountOptions value to set- Returns:
- the FileServerReference object itself.
-