API reference

The public API is re-exported from nomad_pydantic.

Job models

Job

TaskGroup

Task

PeriodicConfig

Resources

NetworkResource

NetworkPort

RestartPolicy

ReschedulePolicy

UpdateStrategy

Service

ServiceCheck

CheckRestart

Lifecycle

LogConfig

Template

Artifact

Volume

VolumeMount

Configuration and lifecycle

NomadConfiguration

A Nomad job together with its local JSON artifact and CLI settings.

NomadClient(configuration, *[, runner, ...])

Manage a configuration through the installed Nomad CLI.

JobStatus

Status bundle emitted by nomad job status -json for one job.

JobSummary

TaskGroupStatus

AllocationStatus

DeploymentStatus

EvaluationStatus

CommandResult(returncode, stdout, stderr)

CommandRunner(*args, **kwargs)

SubprocessCommandRunner()

NomadCommandError(command, result)