Template Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.App.Models.TemplateTypeConverter))]
public class Template : Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplate
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.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. |
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
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of Template. |
DeserializeFromPSObject(PSObject) | |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITemplate. |
FromJsonString(String) |
Creates a new instance of Template, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) | |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |