Lists the allocations belonging to a job in the active region.
Lists the allocations belonging to a job in the active region.
the ID of the job to list allocations for
options controlling how the request is performed
Deregisters a job in the active region, and stops all allocations that are part of it.
Deregisters a job in the active region, and stops all allocations that are part of it.
the ID of the job to deregister
If true, the job is deregistered and purged from the system versus still being queryable and eventually GC'ed from the system. Most callers should not specify purge.
options controlling how the request is performed
Lists the evaluations belonging to a job in the active region.
Lists the evaluations belonging to a job in the active region.
the ID of the job to list evaluations for
options controlling how the request is performed
Creates a new evaluation for a job in the active region.
Creates a new evaluation for a job in the active region.
This can be used to force run the scheduling logic if necessary.
the ID of the job to evaluate
options controlling how the request is performed
Queries a job in the active region.
Queries a job in the active region.
the ID of the job to query
options controlling how the request is performed
Gets the latest deployment belonging to a job.
Gets the latest deployment belonging to a job.
the ID of the job
options controlling how the request is performed
Lists jobs in the active region.
Lists jobs in the active region.
an even-length prefix that, if given, restricts the results to only jobs having an ID with this prefix
options controlling how the request is performed
Forces a new instance of a periodic job in the active region.
Forces a new instance of a periodic job in the active region.
A new instance will be created even if it violates the job's prohibit_overlap settings. As such, this should be only used to immediately run a periodic job.
the ID of the job to force a run of
options controlling how the request is performed
Invokes a dry-run of the scheduler for a job in the active region.
Invokes a dry-run of the scheduler for a job in the active region.
Can be used together with the modifyIndex parameter of register to inspect what will happen before registering a job.
detailed specification of the job to plan for
indicates whether a diff between the current and submitted versions of the job should be included in the response.
options controlling how the request is performed
Registers or updates a job in the active region.
Registers or updates a job in the active region.
detailed specification of the job to register
when specified, the registration is only performed if the job's modify index matches. This can be used to make sure the job hasn't changed since getting a plan.
options controlling how the request is performed
Reverts to a prior version of a job.
Reverts to a prior version of a job.
ID of the job
the version to revert to
when set, the job is only reverted if the job's current version matches this prior version
options controlling how the request is performed
Marks a version of a job as stable or unstable.
Marks a version of a job as stable or unstable.
ID of the job
the job version to affect
whether the job is stable or unstable
options controlling how the request is performed
Queries the summary of a job in the active region.
Queries the summary of a job in the active region.
ID of the job to get a summary for
options controlling how the request is performed
Validates a job.
Validates a job.
the job to validate
options controlling how the request is performed
Lists the versions of a job.
Lists the versions of a job.
ID of the job
when true, diffs are returned in addition the the job versions
options controlling how the request is performed
API for managing and querying jobs, exposing the functionality of the
/v1/jobs
and/v1/job
endpoints of the Nomad HTTP API.Job Specification for documentation about the Job structure.