Partager via


JobConfiguration Class

Definition

Non versioned Container Apps Job configuration properties

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

Constructors

JobConfiguration()

Creates an new JobConfiguration instance.

Properties

EventTriggerConfigParallelism

Number of parallel replicas of a job that can run at a given time.

EventTriggerConfigReplicaCompletionCount

Minimum number of successful replica completions before overall job completion.

ManualTriggerConfigParallelism

Number of parallel replicas of a job that can run at a given time.

ManualTriggerConfigReplicaCompletionCount

Minimum number of successful replica completions before overall job completion.

Registry

Collection of private container registry credentials used by a Container apps job

ReplicaRetryLimit

Maximum number of retries before failing the job.

ReplicaTimeout

Maximum number of seconds a replica is allowed to run.

ScaleMaxExecution

Maximum number of job executions that are created for a trigger, default 100.

ScaleMinExecution

Minimum number of job executions that are created for a trigger, default 0

ScalePollingInterval

Interval to check each event source in seconds. Defaults to 30s

ScaleRule

Scaling rules.

ScheduleTriggerConfigCronExpression

Cron formatted repeating schedule ("* * * * *") of a Cron Job.

ScheduleTriggerConfigParallelism

Number of parallel replicas of a job that can run at a given time.

ScheduleTriggerConfigReplicaCompletionCount

Minimum number of successful replica completions before overall job completion.

Secret

Collection of secrets used by a Container Apps Job

TriggerType

Trigger type of the job

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of JobConfiguration.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of JobConfiguration.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of JobConfiguration into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to