UnmanagedFileSystemReference Class

  • java.lang.Object
    • com.microsoft.azure.management.batchai.UnmanagedFileSystemReference

public class UnmanagedFileSystemReference

Unmananged file system mounting configuration.

Method Summary

Modifier and Type Method and Description
String mountCommand()

Get mount command line. Note, Batch AI will append mount path to the command on its own.

String relativeMountPath()

Get the relative path on the compute node where the unmanaged file system will be mounted. Note that all cluster level unmanaged file systems will be mounted under $AZ_BATCHAI_MOUNT_ROOT location and all job level unmanaged file systems will be mounted under $AZ_BATCHAI_JOB_MOUNT_ROOT.

UnmanagedFileSystemReference withMountCommand(String mountCommand)

Set mount command line. Note, Batch AI will append mount path to the command on its own.

UnmanagedFileSystemReference withRelativeMountPath(String relativeMountPath)

Set the relative path on the compute node where the unmanaged file system will be mounted. Note that all cluster level unmanaged file systems will be mounted under $AZ_BATCHAI_MOUNT_ROOT location and all job level unmanaged file systems will be mounted under $AZ_BATCHAI_JOB_MOUNT_ROOT.

Method Details

mountCommand

public String mountCommand()

Get mount command line. Note, Batch AI will append mount path to the command on its own.

Returns:

the mountCommand value

relativeMountPath

public String relativeMountPath()

Get the relative path on the compute node where the unmanaged file system will be mounted. Note that all cluster level unmanaged file systems will be mounted under $AZ_BATCHAI_MOUNT_ROOT location and all job level unmanaged file systems will be mounted under $AZ_BATCHAI_JOB_MOUNT_ROOT.

Returns:

the relativeMountPath value

withMountCommand

public UnmanagedFileSystemReference withMountCommand(String mountCommand)

Set mount command line. Note, Batch AI will append mount path to the command on its own.

Parameters:

mountCommand - the mountCommand value to set

Returns:

the UnmanagedFileSystemReference object itself.

withRelativeMountPath

public UnmanagedFileSystemReference withRelativeMountPath(String relativeMountPath)

Set the relative path on the compute node where the unmanaged file system will be mounted. Note that all cluster level unmanaged file systems will be mounted under $AZ_BATCHAI_MOUNT_ROOT location and all job level unmanaged file systems will be mounted under $AZ_BATCHAI_JOB_MOUNT_ROOT.

Parameters:

relativeMountPath - the relativeMountPath value to set

Returns:

the UnmanagedFileSystemReference object itself.

Applies to