Class FileServerReference

java.lang.Object
com.microsoft.azure.management.batchai.FileServerReference

public class FileServerReference extends Object
File Server mounting configuration.
  • Constructor Details

    • FileServerReference

      public FileServerReference()
  • Method Details

    • fileServer

      public ResourceId fileServer()
      Get resource ID of the existing File Server to be mounted.
      Returns:
      the fileServer value
    • withFileServer

      public FileServerReference withFileServer(ResourceId fileServer)
      Set resource ID of the existing File Server to be mounted.
      Parameters:
      fileServer - the fileServer value to set
      Returns:
      the FileServerReference object itself.
    • sourceDirectory

      public String 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

      public FileServerReference withSourceDirectory(String sourceDirectory)
      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

      public String 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

      public FileServerReference withRelativeMountPath(String relativeMountPath)
      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

      public String mountOptions()
      Get mount options to be passed to mount command.
      Returns:
      the mountOptions value
    • withMountOptions

      public FileServerReference withMountOptions(String mountOptions)
      Set mount options to be passed to mount command.
      Parameters:
      mountOptions - the mountOptions value to set
      Returns:
      the FileServerReference object itself.