Job Args
data class JobArgs(val deregisterOnDestroy: Output<Boolean>? = null, val deregisterOnIdChange: Output<Boolean>? = null, val detach: Output<Boolean>? = null, val hcl2: Output<JobHcl2Args>? = null, val jobspec: Output<String>? = null, val json: Output<Boolean>? = null, val policyOverride: Output<Boolean>? = null, val purgeOnDestroy: Output<Boolean>? = null, val readAllocationIds: Output<Boolean>? = null, val rerunIfDead: Output<Boolean>? = null) : ConvertibleToJava<JobArgs>
Constructors
Link copied to clipboard
constructor(deregisterOnDestroy: Output<Boolean>? = null, deregisterOnIdChange: Output<Boolean>? = null, detach: Output<Boolean>? = null, hcl2: Output<JobHcl2Args>? = null, jobspec: Output<String>? = null, json: Output<Boolean>? = null, policyOverride: Output<Boolean>? = null, purgeOnDestroy: Output<Boolean>? = null, readAllocationIds: Output<Boolean>? = null, rerunIfDead: Output<Boolean>? = null)
Properties
Link copied to clipboard
If true, the job will be deregistered on destroy.
Link copied to clipboard
(boolean: true)
- Determines if the job will be deregistered if the ID of the job in the jobspec changes.
Link copied to clipboard
(block: optional)
- Options for the HCL2 jobspec parser.
Link copied to clipboard
(boolean: false)
- Determines if the job will override any soft-mandatory Sentinel policies and register even if they fail.
Link copied to clipboard
(boolean: false)
- Set this to true if you want the job to be purged when the resource is destroyed.
Link copied to clipboard
Link copied to clipboard
(boolean: false)
- Set this to true to force the job to run again if its status is dead
.