你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

SecretVolumeItem Class

Definition

Secret to be added to volume.

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

Constructors

SecretVolumeItem()

Initializes a new instance of SecretVolumeItem.

Properties

Path

Path to project secret to. If no path is provided, path defaults to name of secret listed in secretRef.

SecretRef

Name of the Container App secret from which to pull the secret value.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<SecretVolumeItem>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SecretVolumeItem>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SecretVolumeItem>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SecretVolumeItem>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SecretVolumeItem>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to