FileServerReference Class

File Server mounting configuration.

All required parameters must be populated in order to send to Azure.

Inheritance
FileServerReference

Constructor

FileServerReference(*, file_server: azure.mgmt.batchai.models._models_py3.ResourceId, relative_mount_path: str, source_directory: Optional[str] = None, mount_options: Optional[str] = None, **kwargs)

Parameters

file_server
<xref:batch_ai.models.ResourceId>
Required

Required. Resource ID of the existing File Server to be mounted.

source_directory
str
Required

File Server directory that needs to be mounted. If this property is not specified, the entire File Server will be mounted.

relative_mount_path
str
Required

Required. 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.

mount_options
str
Required

Mount options to be passed to mount command.