Job Args
data class JobArgs(val consulToken: Output<String>? = null, 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 vaultToken: Output<String>? = null) : ConvertibleToJava<JobArgs>
Constructors
Link copied to clipboard
constructor(consulToken: Output<String>? = null, 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, vaultToken: Output<String>? = null)
Properties
Link copied to clipboard
(string: <optional>)
- Consul token used when registering this job. Will fallback to the value declared in Nomad provider configuration, if any.
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
(string: <optional>)
- Vault token used when registering this job. Will fallback to the value declared in Nomad provider configuration, if any.