GetJobResult

data class GetJobResult(val allAtOnce: Boolean, val constraints: List<GetJobConstraint>, val createIndex: Int, val datacenters: List<String>, val id: String, val jobId: String, val jobModifyIndex: Int, val modifyIndex: Int, val name: String, val namespace: String? = null, val parentId: String, val periodicConfigs: List<GetJobPeriodicConfig>, val priority: Int, val region: String, val stable: Boolean, val status: String, val statusDescription: String, val stop: Boolean, val submitTime: Int, val taskGroups: List<GetJobTaskGroup>, val type: String, val version: Int)

A collection of values returned by getJob.

Constructors

Link copied to clipboard
constructor(allAtOnce: Boolean, constraints: List<GetJobConstraint>, createIndex: Int, datacenters: List<String>, id: String, jobId: String, jobModifyIndex: Int, modifyIndex: Int, name: String, namespace: String? = null, parentId: String, periodicConfigs: List<GetJobPeriodicConfig>, priority: Int, region: String, stable: Boolean, status: String, statusDescription: String, stop: Boolean, submitTime: Int, taskGroups: List<GetJobTaskGroup>, type: String, version: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

(boolean) If the scheduler can make partial placements on oversubscribed nodes.

Link copied to clipboard
Link copied to clipboard

(integer) Creation Index.

Link copied to clipboard

(list of strings) Datacenters allowed to run the specified job.

Link copied to clipboard
val id: String

The provider-assigned unique ID for this managed resource.

Link copied to clipboard
Link copied to clipboard

(integer) Job modify index (used for version verification).

Link copied to clipboard

(integer) Modification Index.

Link copied to clipboard

(string) Name of the job.

Link copied to clipboard
val namespace: String? = null
Link copied to clipboard

(string) Job's parent ID.

Link copied to clipboard

(list of maps) Job's periodic configuration (time based scheduling).

Link copied to clipboard

(integer) Used for the prioritization of scheduling and resource access.

Link copied to clipboard

(string) Region where the Nomad cluster resides.

Link copied to clipboard

(boolean) Job stability status.

Link copied to clipboard

(string) Execution status of the specified job.

Link copied to clipboard

(string) Status description of the specified job.

Link copied to clipboard

(boolean) Job enabled status.

Link copied to clipboard

(integer) Job submission date.

Link copied to clipboard

(list of maps) A list of of the job's task groups.

Link copied to clipboard

(string) Scheduler type used during job creation.

Link copied to clipboard

(integer) Version of the specified job.