JobConfiguration Class

Non versioned Container Apps Job configuration properties.

Constructor

JobConfiguration()

Variables

Name Description
secrets
list[<xref:"Secret">]

Collection of secrets used by a Container Apps Job.

trigger_type
Union[str, <xref:"TriggerType">]

Trigger type of the job. Required. Known values are: "Schedule", "Event", and "Manual".

replica_timeout
int

Maximum number of seconds a replica is allowed to run. Required.

replica_retry_limit
int

Maximum number of retries before failing the job.

manual_trigger_config
<xref:<xref:"JobConfigurationManualTriggerConfig">>

Manual trigger configuration for a single execution job. Properties replicaCompletionCount and parallelism would be set to 1 by default.

schedule_trigger_config
<xref:<xref:"JobConfigurationScheduleTriggerConfig">>

Cron formatted repeating trigger schedule ("* * * * >>*<<") for cronjobs. Properties completions and parallelism would be set to 1 by default.

event_trigger_config
<xref:<xref:"JobConfigurationEventTriggerConfig">>

Trigger configuration of an event driven job.

registries
list[<xref:"RegistryCredentials">]

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

identity_settings
list[<xref:"IdentitySettings">]

Optional settings for Managed Identities that are assigned to the Container App Job. If a Managed Identity is not specified here, default settings will be used.

Attributes

eventTriggerConfig

Trigger configuration of an event driven job.

eventTriggerConfig: JobConfigurationEventTriggerConfig

identitySettings

Optional settings for Managed Identities that are assigned to the Container App Job. If a Managed Identity is not specified here, default settings will be used.

identitySettings: list['IdentitySettings']

manualTriggerConfig

Manual trigger configuration for a single execution job. Properties replicaCompletionCount and parallelism would be set to 1 by default.

manualTriggerConfig: JobConfigurationManualTriggerConfig

registries

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

registries: list['RegistryCredentials']

replicaRetryLimit

Maximum number of retries before failing the job.

replicaRetryLimit: int

replicaTimeout

Maximum number of seconds a replica is allowed to run. Required.

replicaTimeout: Required[int]

scheduleTriggerConfig

Cron formatted repeating trigger schedule ("* * * * >>*<<") for cronjobs. Properties completions and parallelism would be set to 1 by default.

scheduleTriggerConfig: JobConfigurationScheduleTriggerConfig

secrets

Collection of secrets used by a Container Apps Job.

secrets: list['Secret']

triggerType

"Schedule", "Event", and "Manual".

triggerType: Required[str | TriggerType]