共用方式為


ContainerAppConfiguration Class

Definition

Non versioned Container App configuration properties that define the mutable settings of a Container app.

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

Constructors

ContainerAppConfiguration()

Initializes a new instance of ContainerAppConfiguration.

Properties

ActiveRevisionsMode

ActiveRevisionsMode controls how active revisions are handled for the Container app: <list><item>Multiple: multiple revisions can be active.</item><item>Single: Only one revision can be active at a time. Revision weights can not be used in this mode. If no value if provided, this is the default.</item></list>

Dapr

Dapr configuration for the Container App.

Ingress

Ingress configurations.

MaxInactiveRevisions

Optional. Max inactive revisions a Container App can have.

Registries

Collection of private container registry credentials for containers used by the Container app.

Secrets

Collection of secrets used by a Container app.

ServiceType

Dev ContainerApp service type.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ContainerAppConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerAppConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerAppConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerAppConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerAppConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to