Partilhar via


ITemplate Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.TemplateTypeConverter))]
public interface ITemplate : Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.TemplateTypeConverter))>]
type ITemplate = interface
    interface IJsonSerializable
Public Interface ITemplate
Implements IJsonSerializable
Derived
Attributes
Implements

Properties

Container

List of container definitions for the Container App.

InitContainer

List of specialized containers that run before app containers.

RevisionSuffix

User friendly suffix that is appended to the revision name

ScaleMaxReplica

Optional. Maximum number of container replicas. Defaults to 10 if not set.

ScaleMinReplica

Optional. Minimum number of container replicas.

ScaleRule

Scaling rules.

ServiceBind

List of container app services bound to the app

TerminationGracePeriodSecond

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.

Volume

List of volume definitions for the Container App.

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to