ContainerHostBatchBindMountEntry Class
- java.
lang. Object - com.
microsoft. azure. batch. protocol. models. ContainerHostBatchBindMountEntry
- com.
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. |
Container |
source()
Get possible values include: 'Shared', 'Startup', 'Vfs |
Container |
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. |
Container |
withSource(ContainerHostDataPath source)
Set possible values include: 'Shared', 'Startup', 'Vfs |
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:
source
public ContainerHostDataPath source()
Get possible values include: 'Shared', 'Startup', 'VfsMounts', 'Task', 'JobPrep', 'Applications'.
Returns:
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:
Returns:
withSource
public ContainerHostBatchBindMountEntry withSource(ContainerHostDataPath source)
Set possible values include: 'Shared', 'Startup', 'VfsMounts', 'Task', 'JobPrep', 'Applications'.
Parameters:
Returns:
Applies to
Azure SDK for Java