Delen via


ContainerAppVolume Class

Definition

Volume definitions for the Container App.

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

Constructors

ContainerAppVolume()

Initializes a new instance of ContainerAppVolume.

Properties

MountOptions

Mount options used while mounting the AzureFile. Must be a comma-separated string.

Name

Volume name.

Secrets

List of secrets to be added in volume. If no secrets are provided, all secrets in collection will be added to volume.

StorageName

Name of storage resource. No need to provide for EmptyDir and Secret.

StorageType

Storage type for the volume. If not provided, use EmptyDir.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ContainerAppVolume>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerAppVolume>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerAppVolume>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerAppVolume>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerAppVolume>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to