ContainerHostBatchBindMountEntry Class
- java.
lang. Object - com.
azure. compute. batch. models. ContainerHostBatchBindMountEntry
- com.
Implements
public final class ContainerHostBatchBindMountEntry
implements JsonSerializable<ContainerHostBatchBindMountEntry>
The entry of path and mount mode you want to mount into task container.
Constructor Summary
| Constructor | Description |
|---|---|
| ContainerHostBatchBindMountEntry() |
Creates an instance of Container |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Container |
fromJson(JsonReader jsonReader)
Reads an instance of Container |
|
Container |
getSource()
Get the source property: The path which be mounted to container customer can select. |
| Boolean |
isReadOnly()
Get the is |
|
Container |
setIsReadOnly(Boolean isReadOnly)
Set the is |
|
Container |
setSource(ContainerHostDataPath source)
Set the source property: The path which be mounted to container customer can select. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
ContainerHostBatchBindMountEntry
public ContainerHostBatchBindMountEntry()
Creates an instance of ContainerHostBatchBindMountEntry class.
Method Details
fromJson
public static ContainerHostBatchBindMountEntry fromJson(JsonReader jsonReader)
Reads an instance of ContainerHostBatchBindMountEntry from the JsonReader.
Parameters:
Returns:
Throws:
getSource
public ContainerHostDataPath getSource()
Get the source property: The path which be mounted to container customer can select.
Returns:
isReadOnly
public Boolean isReadOnly()
Get the isReadOnly property: Mount this source path as read-only mode or not. Default value is false (read/write mode). 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:
setIsReadOnly
public ContainerHostBatchBindMountEntry setIsReadOnly(Boolean isReadOnly)
Set the isReadOnly property: Mount this source path as read-only mode or not. Default value is false (read/write mode). 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:
setSource
public ContainerHostBatchBindMountEntry setSource(ContainerHostDataPath source)
Set the source property: The path which be mounted to container customer can select.
Parameters:
Returns: