次の方法で共有


ContainerAppTemplate Class

Definition

Container App versioned application definition. Defines the desired state of an immutable revision. Any changes to this section Will result in a new revision being created

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

Constructors

ContainerAppTemplate()

Initializes a new instance of ContainerAppTemplate.

Properties

Containers

List of container definitions for the Container App.

InitContainers

List of specialized containers that run before app containers.

RevisionSuffix

User friendly suffix that is appended to the revision name.

Scale

Scaling properties for the Container App.

ServiceBinds

List of container app services bound to the app.

TerminationGracePeriodSeconds

Optional duration in seconds the Container App Instance needs to terminate gracefully. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). If this value is nil, the default grace period will be used instead. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.

Volumes

List of volume definitions for the Container App.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ContainerAppTemplate>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerAppTemplate>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerAppTemplate>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerAppTemplate>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerAppTemplate>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to