Share via


JobExecutionContainer Class

Definition

Container Apps Jobs execution container definition.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.JobExecutionContainerTypeConverter))]
public class JobExecutionContainer : Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobExecutionContainer
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.JobExecutionContainerTypeConverter))>]
type JobExecutionContainer = class
    interface IJobExecutionContainer
    interface IJsonSerializable
Public Class JobExecutionContainer
Implements IJobExecutionContainer
Inheritance
JobExecutionContainer
Attributes
Implements

Constructors

JobExecutionContainer()

Creates an new JobExecutionContainer instance.

Properties

Arg

Container start command arguments.

Command

Container start command.

Env

Container environment variables.

Image

Container image tag.

Name

Custom container name.

ResourceCpu

Required CPU in cores, e.g. 0.5

ResourceEphemeralStorage

Ephemeral Storage, e.g. "1Gi"

ResourceMemory

Required memory, e.g. "250Mb"

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of JobExecutionContainer.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of JobExecutionContainer.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of JobExecutionContainer into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to