CreateJobRequest
¶
Source code in docs_src/capo_deadline/types/create_job_request.py
attachments
instance-attribute
¶
attachments: NotRequired[Attachments]
The attachments for the job. Attach files required for the job to run to a render job.
client_token
instance-attribute
¶
client_token: NotRequired[ClientToken]
The unique token which the server uses to recognize retries of the same request.
description_override
instance-attribute
¶
description_override: NotRequired[JobDescriptionOverride]
A custom description to override the job description derived from the job template.
max_failed_tasks_count
instance-attribute
¶
max_failed_tasks_count: 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: MaxRetriesPerTask
The maximum number of retries for each task.
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, Deadline Cloud won't throttle the number of workers used to process the job.
name_override
instance-attribute
¶
name_override: NotRequired[JobName]
A custom name to override the job name derived from the job template.
priority
instance-attribute
¶
priority: JobPriority
The priority of the job. The highest priority (first scheduled) is 100. When two jobs have the same priority, the oldest job is scheduled first.
storage_profile_id
instance-attribute
¶
storage_profile_id: NotRequired[StorageProfileId]
The storage profile ID for the storage profile to connect to the job.
tags
instance-attribute
¶
tags: NotRequired[Tags]
The tags to add to your job. Each tag consists of a tag key and a tag value. Tag keys and values are both required, but tag values can be empty strings.
target_task_run_status
instance-attribute
¶
target_task_run_status: CreateJobTargetTaskRunStatus
The initial job status when it is created. Jobs that are created with a SUSPENDED status will not run until manually requeued.
template
instance-attribute
¶
template: NotRequired[JobTemplate]
The job template to use for this job.
template_type
instance-attribute
¶
template_type: NotRequired[JobTemplateType]
The file type for the job template.