[SDK reference](../../index.md) / [Models](../index.md) / [Jobs](index.md)

# JobTemplateMergePatchUpdateOrCreate

**Kind:** class  
**Namespace:** `Egulu.Sdk.Models.Jobs`  

Template used by a Schedule to create Job executions (ADR-0407).

## Properties

| Name | Type | JSON name | Description |
|---|---|---|---|
| `Args` | `Models.Jobs.JobTemplateMergePatchUpdateOrCreate.JobTemplateMergePatchUpdateOrCreate_args?` | `args` | Arguments passed to the entrypoint. |
| `Command` | `Models.Jobs.JobTemplateMergePatchUpdateOrCreate.JobTemplateMergePatchUpdateOrCreate_command?` | `command` | Entrypoint command array. |
| `Deadline` | `Models.Jobs.JobTemplateMergePatchUpdateOrCreate.JobTemplateMergePatchUpdateOrCreate_deadline?` | `deadline` | Execution deadline duration (for example 3600s). |
| `Env` | `UntypedNode?` | `env` | Non-secret environment variables injected into the container. |
| `Image` | `string?` | `image` | OCI container image reference or digest. With `webAppId` set, send `webapp:live`: the platform runs the web app's live revision image on every run (making this field optional would be a breaking change). |
| `Priority` | `Models.Jobs.JobTemplateMergePatchUpdateOrCreate.JobTemplateMergePatchUpdateOrCreate_priority?` | `priority` | Priority band: interactive \| standard \| batch \| spot-batch (default batch). |
| `Resources` | `Models.Jobs.JobResourcesMergePatchUpdateOrCreate?` | `resources` | Resource requests (CPU, memory, GPU, scratch). |
| `RetryPolicy` | `Models.Jobs.JobRetryPolicyMergePatchUpdateOrCreate?` | `retryPolicy` | Retry policy for exit code 75 and transient failures. |
| `Secrets` | `List<Models.Jobs.JobSecretRefMergePatchUpdateReplaceOnly>?` | `secrets` | Secret versions injected into the container; the value never appears in the resource. |
| `WebAppId` | `Models.Jobs.JobTemplateMergePatchUpdateOrCreate.JobTemplateMergePatchUpdateOrCreate_webAppId?` | `webAppId` | A web app in the same project and location: each run uses the app's live (production) revision, with the app's environment and secret pins(IP-04). The command and arguments here replace the app's start command. `image` must be `webapp:live` with it. |
