UpdateJobRequest
¶
Source code in docs_src/capo_deadline/types/update_job_request.py
client_token
instance-attribute
¶
client_token: NotRequired[ClientToken]
The unique token which the server uses to recognize retries of the same request.
description
instance-attribute
¶
description: NotRequired[JobDescriptionOverride]
The updated job description.
lifecycle_status
instance-attribute
¶
lifecycle_status: NotRequired[UpdateJobLifecycleStatus]
The status of a job in its lifecycle. When you change the status of the job to ARCHIVED, the job can't be scheduled or archived.
An archived jobs and its steps and tasks are deleted after 120 days. The job can't be recovered.
max_failed_tasks_count
instance-attribute
¶
max_failed_tasks_count: NotRequired[MaxFailedTasksCount]
The number of task failures before the job stops running and is marked as FAILED.
max_retries_per_task
instance-attribute
¶
max_retries_per_task: NotRequired[MaxRetriesPerTask]
The maximum number of retries for a job.
max_worker_count
instance-attribute
¶
max_worker_count: NotRequired[MaxWorkerCount]
The maximum number of worker hosts that can concurrently process a job. When the maxWorkerCount is reached, no more workers will be assigned to process the job, even if the fleets assigned to the job's queue has available workers.
You can't set the maxWorkerCount to 0. If you set it to -1, there is no maximum number of workers.
If you don't specify the maxWorkerCount, the default is -1.
The maximum number of workers that can process tasks in the job.
target_task_run_status
instance-attribute
¶
target_task_run_status: NotRequired[JobTargetTaskRunStatus]
The task status to update the job's tasks to.