Compartilhar via


JobTemplate Class

Definition

Container Apps Job 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.JobTemplateTypeConverter))]
public class JobTemplate : Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobTemplate
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.JobTemplateTypeConverter))>]
type JobTemplate = class
    interface IJobTemplate
    interface IJsonSerializable
Public Class JobTemplate
Implements IJobTemplate
Inheritance
JobTemplate
Attributes
Implements

Constructors

JobTemplate()

Creates an new JobTemplate instance.

Properties

Container

List of container definitions for the Container App.

InitContainer

List of specialized containers that run before app containers.

Volume

List of volume definitions for the Container App.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of JobTemplate.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of JobTemplate.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobTemplate.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of JobTemplate into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to