Partager via


ContainerHostBatchBindMountEntry Class

Definition

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

public class ContainerHostBatchBindMountEntry : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Batch.Models.ContainerHostBatchBindMountEntry>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Batch.Models.ContainerHostBatchBindMountEntry>
type ContainerHostBatchBindMountEntry = class
    interface IJsonModel<ContainerHostBatchBindMountEntry>
    interface IPersistableModel<ContainerHostBatchBindMountEntry>
Public Class ContainerHostBatchBindMountEntry
Implements IJsonModel(Of ContainerHostBatchBindMountEntry), IPersistableModel(Of ContainerHostBatchBindMountEntry)
Inheritance
ContainerHostBatchBindMountEntry
Implements

Constructors

ContainerHostBatchBindMountEntry()

Initializes a new instance of ContainerHostBatchBindMountEntry.

Properties

IsReadOnly

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.

Source

The paths which will be mounted to container task's container.

Explicit Interface Implementations

IJsonModel<ContainerHostBatchBindMountEntry>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ContainerHostBatchBindMountEntry>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerHostBatchBindMountEntry>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerHostBatchBindMountEntry>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ContainerHostBatchBindMountEntry>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to