JobConfiguration Class

Non versioned Container Apps Job configuration properties.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.appcontainers._serialization.Model
JobConfiguration

Constructor

JobConfiguration(*, trigger_type: str | _models.TriggerType = 'Manual', replica_timeout: int, secrets: List[_models.Secret] | None = None, replica_retry_limit: int | None = None, manual_trigger_config: _models.JobConfigurationManualTriggerConfig | None = None, schedule_trigger_config: _models.JobConfigurationScheduleTriggerConfig | None = None, event_trigger_config: _models.JobConfigurationEventTriggerConfig | None = None, registries: List[_models.RegistryCredentials] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
secrets

Collection of secrets used by a Container Apps Job.

trigger_type

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

Default value: 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

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

schedule_trigger_config

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

event_trigger_config

Trigger configuration of an event driven job.

registries

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

Variables

Name Description
secrets

Collection of secrets used by a Container Apps Job.

trigger_type

Trigger type of the job. 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

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

schedule_trigger_config

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

event_trigger_config

Trigger configuration of an event driven job.

registries

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