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

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