ContainerHostBatchBindMountEntry Class

  • java.lang.Object
    • com.microsoft.azure.batch.protocol.models.ContainerHostBatchBindMountEntry

public class ContainerHostBatchBindMountEntry

The entry of path and mount mode you want to mount into task container.

Constructor Summary

Constructor Description
ContainerHostBatchBindMountEntry()

Method Summary

Modifier and Type Method and Description
Boolean isReadOnly()

Get for Linux, if you mount this path as a read/write mode, this does not mean that all users in container have the read/write access for the path, it depends on the access in host VM.

ContainerHostDataPath source()

Get possible values include: 'Shared', 'Startup', 'VfsMounts', 'Task', 'JobPrep', 'Applications'.

ContainerHostBatchBindMountEntry withIsReadOnly(Boolean isReadOnly)

Set for Linux, if you mount this path as a read/write mode, this does not mean that all users in container have the read/write access for the path, it depends on the access in host VM.

ContainerHostBatchBindMountEntry withSource(ContainerHostDataPath source)

Set possible values include: 'Shared', 'Startup', 'VfsMounts', 'Task', 'JobPrep', 'Applications'.

Methods inherited from java.lang.Object

Constructor Details

ContainerHostBatchBindMountEntry

public ContainerHostBatchBindMountEntry()

Method Details

isReadOnly

public Boolean isReadOnly()

Get for Linux, if you mount this path as a read/write mode, this does not mean that all users in container have the read/write access for the path, it depends on the access in host VM. If this path is mounted read-only, all users within the container will not be able to modify the path.

Returns:

the isReadOnly value

source

public ContainerHostDataPath source()

Get possible values include: 'Shared', 'Startup', 'VfsMounts', 'Task', 'JobPrep', 'Applications'.

Returns:

the source value

withIsReadOnly

public ContainerHostBatchBindMountEntry withIsReadOnly(Boolean isReadOnly)

Set for Linux, if you mount this path as a read/write mode, this does not mean that all users in container have the read/write access for the path, it depends on the access in host VM. If this path is mounted read-only, all users within the container will not be able to modify the path.

Parameters:

isReadOnly - the isReadOnly value to set

Returns:

the ContainerHostBatchBindMountEntry object itself.

withSource

public ContainerHostBatchBindMountEntry withSource(ContainerHostDataPath source)

Set possible values include: 'Shared', 'Startup', 'VfsMounts', 'Task', 'JobPrep', 'Applications'.

Parameters:

source - the source value to set

Returns:

the ContainerHostBatchBindMountEntry object itself.

Applies to