Share via


ContainerVolumeMount Class

Definition

The properties of the volume mount.

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

Constructors

ContainerVolumeMount(String, String)

Initializes a new instance of ContainerVolumeMount.

Properties

IsReadOnly

The flag indicating whether the volume mount is read-only.

MountPath

The path within the container where the volume should be mounted. Must not contain colon (:).

Name

The name of the volume mount.

Explicit Interface Implementations

IJsonModel<ContainerVolumeMount>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerVolumeMount>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerVolumeMount>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerVolumeMount>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerVolumeMount>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to