共用方式為


ContainerAppVolumeMount Class

Definition

Volume mount for the Container App.

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

Constructors

ContainerAppVolumeMount()

Initializes a new instance of ContainerAppVolumeMount.

Properties

MountPath

Path within the container at which the volume should be mounted.Must not contain ':'.

SubPath

Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root).

VolumeName

This must match the Name of a Volume.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ContainerAppVolumeMount>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerAppVolumeMount>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerAppVolumeMount>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerAppVolumeMount>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerAppVolumeMount>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to