Поделиться через


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.Compute.Batch.ContainerHostBatchBindMountEntry>, System.ClientModel.Primitives.IPersistableModel<Azure.Compute.Batch.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

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.

Source

The path which be mounted to container customer can select.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

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