SDK reference / Models / Jobs

JobTemplateMergePatchUpdateOrCreate

Kind: class

Namespace: Egulu.Sdk.Models.Jobs

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

Properties

NameTypeJSON nameDescription
ArgsModels.Jobs.JobTemplateMergePatchUpdateOrCreate.JobTemplateMergePatchUpdateOrCreate_args?argsArguments passed to the entrypoint.
CommandModels.Jobs.JobTemplateMergePatchUpdateOrCreate.JobTemplateMergePatchUpdateOrCreate_command?commandEntrypoint command array.
DeadlineModels.Jobs.JobTemplateMergePatchUpdateOrCreate.JobTemplateMergePatchUpdateOrCreate_deadline?deadlineExecution deadline duration (for example 3600s).
EnvUntypedNode?envNon-secret environment variables injected into the container.
Imagestring?imageOCI 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).
PriorityModels.Jobs.JobTemplateMergePatchUpdateOrCreate.JobTemplateMergePatchUpdateOrCreate_priority?priorityPriority band: interactive | standard | batch | spot-batch (default batch).
ResourcesModels.Jobs.JobResourcesMergePatchUpdateOrCreate?resourcesResource requests (CPU, memory, GPU, scratch).
RetryPolicyModels.Jobs.JobRetryPolicyMergePatchUpdateOrCreate?retryPolicyRetry policy for exit code 75 and transient failures.
SecretsList<Models.Jobs.JobSecretRefMergePatchUpdateReplaceOnly>?secretsSecret versions injected into the container; the value never appears in the resource.
WebAppIdModels.Jobs.JobTemplateMergePatchUpdateOrCreate.JobTemplateMergePatchUpdateOrCreate_webAppId?webAppIdA 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.