Compartilhar via


ContainerAppWritableSecret Class

Definition

Secret definition.

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

Constructors

ContainerAppWritableSecret()

Initializes a new instance of ContainerAppWritableSecret.

Properties

Identity

Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity.

KeyVaultUri

Azure Key Vault URL pointing to the secret referenced by the container app.

Name

Secret Name.

Value

Secret Value.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ContainerAppWritableSecret>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerAppWritableSecret>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerAppWritableSecret>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerAppWritableSecret>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerAppWritableSecret>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to