Template 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

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.TemplateTypeConverter))]
public class Template : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.ITemplate
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.TemplateTypeConverter))>]
type Template = class
    interface ITemplate
    interface IJsonSerializable
Public Class Template
Implements ITemplate
Inheritance
Template
Attributes
Implements

Constructors

Template()

Creates an new Template instance.

Properties

Container

List of container definitions for the Container App.

DaprAppId

Dapr application identifier

DaprAppPort

Port on which the Dapr side car

DaprComponent

Collection of Dapr components

DaprEnabled

Boolean indicating if the Dapr side car is enabled

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.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Template.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Template.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.ITemplate.

FromJsonString(String)

Creates a new instance of Template, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of Template into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to