1. Packages
  2. Packages
  3. Nomad Provider
  4. API Docs
  5. getJob
Viewing docs for Nomad v2.6.1
published on Tuesday, Apr 21, 2026 by Pulumi
nomad logo
Viewing docs for Nomad v2.6.1
published on Tuesday, Apr 21, 2026 by Pulumi

    Get information on a job ID. The aim of this datasource is to enable you to act on various settings and states of a particular job.

    An error is triggered if zero or more than one result is returned by the query.

    Example Usage

    Get the data about a snapshot:

    import * as pulumi from "@pulumi/pulumi";
    import * as nomad from "@pulumi/nomad";
    
    const example = nomad.getJob({
        jobId: "example",
        namespace: "dev",
    });
    
    import pulumi
    import pulumi_nomad as nomad
    
    example = nomad.get_job(job_id="example",
        namespace="dev")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-nomad/sdk/v2/go/nomad"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := nomad.GetJob(ctx, &nomad.LookupJobArgs{
    			JobId:     "example",
    			Namespace: pulumi.StringRef("dev"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Nomad = Pulumi.Nomad;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Nomad.Index.GetJob.Invoke(new()
        {
            JobId = "example",
            Namespace = "dev",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.nomad.NomadFunctions;
    import com.pulumi.nomad.inputs.GetJobArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var example = NomadFunctions.getJob(GetJobArgs.builder()
                .jobId("example")
                .namespace("dev")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: nomad:getJob
          arguments:
            jobId: example
            namespace: dev
    

    Using getJob

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getJob(args: GetJobArgs, opts?: InvokeOptions): Promise<GetJobResult>
    function getJobOutput(args: GetJobOutputArgs, opts?: InvokeOptions): Output<GetJobResult>
    def get_job(job_id: Optional[str] = None,
                namespace: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetJobResult
    def get_job_output(job_id: pulumi.Input[Optional[str]] = None,
                namespace: pulumi.Input[Optional[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetJobResult]
    func LookupJob(ctx *Context, args *LookupJobArgs, opts ...InvokeOption) (*LookupJobResult, error)
    func LookupJobOutput(ctx *Context, args *LookupJobOutputArgs, opts ...InvokeOption) LookupJobResultOutput

    > Note: This function is named LookupJob in the Go SDK.

    public static class GetJob 
    {
        public static Task<GetJobResult> InvokeAsync(GetJobArgs args, InvokeOptions? opts = null)
        public static Output<GetJobResult> Invoke(GetJobInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetJobResult> getJob(GetJobArgs args, InvokeOptions options)
    public static Output<GetJobResult> getJob(GetJobArgs args, InvokeOptions options)
    
    fn::invoke:
      function: nomad:index/getJob:getJob
      arguments:
        # arguments dictionary

    The following arguments are supported:

    JobId string
    (string) ID of the job.
    Namespace string
    (string) Namespace of the specified job.
    JobId string
    (string) ID of the job.
    Namespace string
    (string) Namespace of the specified job.
    jobId String
    (string) ID of the job.
    namespace String
    (string) Namespace of the specified job.
    jobId string
    (string) ID of the job.
    namespace string
    (string) Namespace of the specified job.
    job_id str
    (string) ID of the job.
    namespace str
    (string) Namespace of the specified job.
    jobId String
    (string) ID of the job.
    namespace String
    (string) Namespace of the specified job.

    getJob Result

    The following output properties are available:

    AllAtOnce bool
    (boolean) If the scheduler can make partial placements on oversubscribed nodes.
    Constraints List<GetJobConstraint>
    (list of maps) Job constraints.
    CreateIndex int
    (integer) Creation Index.
    Datacenters List<string>
    (list of strings) Datacenters allowed to run the specified job.
    Id string
    The provider-assigned unique ID for this managed resource.
    JobId string
    JobModifyIndex int
    (integer) Job modify index (used for version verification).
    ModifyIndex int
    (integer) Modification Index.
    Name string
    (string) Volume name.
    ParentId string
    (string) Job's parent ID.
    PeriodicConfigs List<GetJobPeriodicConfig>
    (list of maps) Job's periodic configuration.
    Priority int
    (integer) Used for the prioritization of scheduling and resource access.
    Region string
    (string) Region where the Nomad cluster resides.
    Stable bool
    (boolean) Job stability status.
    Status string
    (string) Execution status of the specified job.
    StatusDescription string
    (string) Status description of the specified job.
    Stop bool
    (boolean) Job enabled status.
    SubmitTime string
    (integer) Job submission date.
    TaskGroups List<GetJobTaskGroup>
    (list of maps) A list of the job's task groups.
    Type string
    (string) Volume type.
    UpdateStrategies List<GetJobUpdateStrategy>
    (list of maps) Job-level update strategy returned by Nomad.
    Version int
    (integer) Version of the specified job.
    Namespace string
    AllAtOnce bool
    (boolean) If the scheduler can make partial placements on oversubscribed nodes.
    Constraints []GetJobConstraint
    (list of maps) Job constraints.
    CreateIndex int
    (integer) Creation Index.
    Datacenters []string
    (list of strings) Datacenters allowed to run the specified job.
    Id string
    The provider-assigned unique ID for this managed resource.
    JobId string
    JobModifyIndex int
    (integer) Job modify index (used for version verification).
    ModifyIndex int
    (integer) Modification Index.
    Name string
    (string) Volume name.
    ParentId string
    (string) Job's parent ID.
    PeriodicConfigs []GetJobPeriodicConfig
    (list of maps) Job's periodic configuration.
    Priority int
    (integer) Used for the prioritization of scheduling and resource access.
    Region string
    (string) Region where the Nomad cluster resides.
    Stable bool
    (boolean) Job stability status.
    Status string
    (string) Execution status of the specified job.
    StatusDescription string
    (string) Status description of the specified job.
    Stop bool
    (boolean) Job enabled status.
    SubmitTime string
    (integer) Job submission date.
    TaskGroups []GetJobTaskGroup
    (list of maps) A list of the job's task groups.
    Type string
    (string) Volume type.
    UpdateStrategies []GetJobUpdateStrategy
    (list of maps) Job-level update strategy returned by Nomad.
    Version int
    (integer) Version of the specified job.
    Namespace string
    allAtOnce Boolean
    (boolean) If the scheduler can make partial placements on oversubscribed nodes.
    constraints List<GetJobConstraint>
    (list of maps) Job constraints.
    createIndex Integer
    (integer) Creation Index.
    datacenters List<String>
    (list of strings) Datacenters allowed to run the specified job.
    id String
    The provider-assigned unique ID for this managed resource.
    jobId String
    jobModifyIndex Integer
    (integer) Job modify index (used for version verification).
    modifyIndex Integer
    (integer) Modification Index.
    name String
    (string) Volume name.
    parentId String
    (string) Job's parent ID.
    periodicConfigs List<GetJobPeriodicConfig>
    (list of maps) Job's periodic configuration.
    priority Integer
    (integer) Used for the prioritization of scheduling and resource access.
    region String
    (string) Region where the Nomad cluster resides.
    stable Boolean
    (boolean) Job stability status.
    status String
    (string) Execution status of the specified job.
    statusDescription String
    (string) Status description of the specified job.
    stop Boolean
    (boolean) Job enabled status.
    submitTime String
    (integer) Job submission date.
    taskGroups List<GetJobTaskGroup>
    (list of maps) A list of the job's task groups.
    type String
    (string) Volume type.
    updateStrategies List<GetJobUpdateStrategy>
    (list of maps) Job-level update strategy returned by Nomad.
    version Integer
    (integer) Version of the specified job.
    namespace String
    allAtOnce boolean
    (boolean) If the scheduler can make partial placements on oversubscribed nodes.
    constraints GetJobConstraint[]
    (list of maps) Job constraints.
    createIndex number
    (integer) Creation Index.
    datacenters string[]
    (list of strings) Datacenters allowed to run the specified job.
    id string
    The provider-assigned unique ID for this managed resource.
    jobId string
    jobModifyIndex number
    (integer) Job modify index (used for version verification).
    modifyIndex number
    (integer) Modification Index.
    name string
    (string) Volume name.
    parentId string
    (string) Job's parent ID.
    periodicConfigs GetJobPeriodicConfig[]
    (list of maps) Job's periodic configuration.
    priority number
    (integer) Used for the prioritization of scheduling and resource access.
    region string
    (string) Region where the Nomad cluster resides.
    stable boolean
    (boolean) Job stability status.
    status string
    (string) Execution status of the specified job.
    statusDescription string
    (string) Status description of the specified job.
    stop boolean
    (boolean) Job enabled status.
    submitTime string
    (integer) Job submission date.
    taskGroups GetJobTaskGroup[]
    (list of maps) A list of the job's task groups.
    type string
    (string) Volume type.
    updateStrategies GetJobUpdateStrategy[]
    (list of maps) Job-level update strategy returned by Nomad.
    version number
    (integer) Version of the specified job.
    namespace string
    all_at_once bool
    (boolean) If the scheduler can make partial placements on oversubscribed nodes.
    constraints Sequence[GetJobConstraint]
    (list of maps) Job constraints.
    create_index int
    (integer) Creation Index.
    datacenters Sequence[str]
    (list of strings) Datacenters allowed to run the specified job.
    id str
    The provider-assigned unique ID for this managed resource.
    job_id str
    job_modify_index int
    (integer) Job modify index (used for version verification).
    modify_index int
    (integer) Modification Index.
    name str
    (string) Volume name.
    parent_id str
    (string) Job's parent ID.
    periodic_configs Sequence[GetJobPeriodicConfig]
    (list of maps) Job's periodic configuration.
    priority int
    (integer) Used for the prioritization of scheduling and resource access.
    region str
    (string) Region where the Nomad cluster resides.
    stable bool
    (boolean) Job stability status.
    status str
    (string) Execution status of the specified job.
    status_description str
    (string) Status description of the specified job.
    stop bool
    (boolean) Job enabled status.
    submit_time str
    (integer) Job submission date.
    task_groups Sequence[GetJobTaskGroup]
    (list of maps) A list of the job's task groups.
    type str
    (string) Volume type.
    update_strategies Sequence[GetJobUpdateStrategy]
    (list of maps) Job-level update strategy returned by Nomad.
    version int
    (integer) Version of the specified job.
    namespace str
    allAtOnce Boolean
    (boolean) If the scheduler can make partial placements on oversubscribed nodes.
    constraints List<Property Map>
    (list of maps) Job constraints.
    createIndex Number
    (integer) Creation Index.
    datacenters List<String>
    (list of strings) Datacenters allowed to run the specified job.
    id String
    The provider-assigned unique ID for this managed resource.
    jobId String
    jobModifyIndex Number
    (integer) Job modify index (used for version verification).
    modifyIndex Number
    (integer) Modification Index.
    name String
    (string) Volume name.
    parentId String
    (string) Job's parent ID.
    periodicConfigs List<Property Map>
    (list of maps) Job's periodic configuration.
    priority Number
    (integer) Used for the prioritization of scheduling and resource access.
    region String
    (string) Region where the Nomad cluster resides.
    stable Boolean
    (boolean) Job stability status.
    status String
    (string) Execution status of the specified job.
    statusDescription String
    (string) Status description of the specified job.
    stop Boolean
    (boolean) Job enabled status.
    submitTime String
    (integer) Job submission date.
    taskGroups List<Property Map>
    (list of maps) A list of the job's task groups.
    type String
    (string) Volume type.
    updateStrategies List<Property Map>
    (list of maps) Job-level update strategy returned by Nomad.
    version Number
    (integer) Version of the specified job.
    namespace String

    Supporting Types

    GetJobConstraint

    Ltarget string
    (string) Attribute being constrained.
    Operand string
    (string) Operator used to compare the attribute to the constraint.
    Rtarget string
    (string) Constraint value.
    Ltarget string
    (string) Attribute being constrained.
    Operand string
    (string) Operator used to compare the attribute to the constraint.
    Rtarget string
    (string) Constraint value.
    ltarget String
    (string) Attribute being constrained.
    operand String
    (string) Operator used to compare the attribute to the constraint.
    rtarget String
    (string) Constraint value.
    ltarget string
    (string) Attribute being constrained.
    operand string
    (string) Operator used to compare the attribute to the constraint.
    rtarget string
    (string) Constraint value.
    ltarget str
    (string) Attribute being constrained.
    operand str
    (string) Operator used to compare the attribute to the constraint.
    rtarget str
    (string) Constraint value.
    ltarget String
    (string) Attribute being constrained.
    operand String
    (string) Operator used to compare the attribute to the constraint.
    rtarget String
    (string) Constraint value.

    GetJobPeriodicConfig

    Enabled bool
    (boolean) Whether the periodic job is enabled. When disabled, scheduled runs and force launches are prevented.
    ProhibitOverlap bool
    (boolean) Whether this job should wait until previous instances of the same job have completed before launching again.
    Spec string
    (string) Cron expression configuring the interval at which the job is launched.
    SpecType string
    (string) Type of periodic specification, such as cron.
    Timezone string
    (string) Time zone used to evaluate the next launch interval.
    Enabled bool
    (boolean) Whether the periodic job is enabled. When disabled, scheduled runs and force launches are prevented.
    ProhibitOverlap bool
    (boolean) Whether this job should wait until previous instances of the same job have completed before launching again.
    Spec string
    (string) Cron expression configuring the interval at which the job is launched.
    SpecType string
    (string) Type of periodic specification, such as cron.
    Timezone string
    (string) Time zone used to evaluate the next launch interval.
    enabled Boolean
    (boolean) Whether the periodic job is enabled. When disabled, scheduled runs and force launches are prevented.
    prohibitOverlap Boolean
    (boolean) Whether this job should wait until previous instances of the same job have completed before launching again.
    spec String
    (string) Cron expression configuring the interval at which the job is launched.
    specType String
    (string) Type of periodic specification, such as cron.
    timezone String
    (string) Time zone used to evaluate the next launch interval.
    enabled boolean
    (boolean) Whether the periodic job is enabled. When disabled, scheduled runs and force launches are prevented.
    prohibitOverlap boolean
    (boolean) Whether this job should wait until previous instances of the same job have completed before launching again.
    spec string
    (string) Cron expression configuring the interval at which the job is launched.
    specType string
    (string) Type of periodic specification, such as cron.
    timezone string
    (string) Time zone used to evaluate the next launch interval.
    enabled bool
    (boolean) Whether the periodic job is enabled. When disabled, scheduled runs and force launches are prevented.
    prohibit_overlap bool
    (boolean) Whether this job should wait until previous instances of the same job have completed before launching again.
    spec str
    (string) Cron expression configuring the interval at which the job is launched.
    spec_type str
    (string) Type of periodic specification, such as cron.
    timezone str
    (string) Time zone used to evaluate the next launch interval.
    enabled Boolean
    (boolean) Whether the periodic job is enabled. When disabled, scheduled runs and force launches are prevented.
    prohibitOverlap Boolean
    (boolean) Whether this job should wait until previous instances of the same job have completed before launching again.
    spec String
    (string) Cron expression configuring the interval at which the job is launched.
    specType String
    (string) Type of periodic specification, such as cron.
    timezone String
    (string) Time zone used to evaluate the next launch interval.

    GetJobTaskGroup

    Count int
    (integer) Task group count.
    Meta Dictionary<string, string>
    (map of strings) Task group metadata.
    Name string
    (string) Volume name.
    Tasks List<GetJobTaskGroupTask>
    (list of maps) Tasks in the task group.
    UpdateStrategies List<GetJobTaskGroupUpdateStrategy>
    (list of maps) Job-level update strategy returned by Nomad.
    Volumes List<GetJobTaskGroupVolume>
    (list of maps) Volume requests for the task group.
    Count int
    (integer) Task group count.
    Meta map[string]string
    (map of strings) Task group metadata.
    Name string
    (string) Volume name.
    Tasks []GetJobTaskGroupTask
    (list of maps) Tasks in the task group.
    UpdateStrategies []GetJobTaskGroupUpdateStrategy
    (list of maps) Job-level update strategy returned by Nomad.
    Volumes []GetJobTaskGroupVolume
    (list of maps) Volume requests for the task group.
    count Integer
    (integer) Task group count.
    meta Map<String,String>
    (map of strings) Task group metadata.
    name String
    (string) Volume name.
    tasks List<GetJobTaskGroupTask>
    (list of maps) Tasks in the task group.
    updateStrategies List<GetJobTaskGroupUpdateStrategy>
    (list of maps) Job-level update strategy returned by Nomad.
    volumes List<GetJobTaskGroupVolume>
    (list of maps) Volume requests for the task group.
    count number
    (integer) Task group count.
    meta {[key: string]: string}
    (map of strings) Task group metadata.
    name string
    (string) Volume name.
    tasks GetJobTaskGroupTask[]
    (list of maps) Tasks in the task group.
    updateStrategies GetJobTaskGroupUpdateStrategy[]
    (list of maps) Job-level update strategy returned by Nomad.
    volumes GetJobTaskGroupVolume[]
    (list of maps) Volume requests for the task group.
    count int
    (integer) Task group count.
    meta Mapping[str, str]
    (map of strings) Task group metadata.
    name str
    (string) Volume name.
    tasks Sequence[GetJobTaskGroupTask]
    (list of maps) Tasks in the task group.
    update_strategies Sequence[GetJobTaskGroupUpdateStrategy]
    (list of maps) Job-level update strategy returned by Nomad.
    volumes Sequence[GetJobTaskGroupVolume]
    (list of maps) Volume requests for the task group.
    count Number
    (integer) Task group count.
    meta Map<String>
    (map of strings) Task group metadata.
    name String
    (string) Volume name.
    tasks List<Property Map>
    (list of maps) Tasks in the task group.
    updateStrategies List<Property Map>
    (list of maps) Job-level update strategy returned by Nomad.
    volumes List<Property Map>
    (list of maps) Volume requests for the task group.

    GetJobTaskGroupTask

    Driver string
    (string) Task driver.
    Meta Dictionary<string, string>
    (map of strings) Task group metadata.
    Name string
    (string) Volume name.
    VolumeMounts List<GetJobTaskGroupTaskVolumeMount>
    (list of maps) Task volume mounts.
    Driver string
    (string) Task driver.
    Meta map[string]string
    (map of strings) Task group metadata.
    Name string
    (string) Volume name.
    VolumeMounts []GetJobTaskGroupTaskVolumeMount
    (list of maps) Task volume mounts.
    driver String
    (string) Task driver.
    meta Map<String,String>
    (map of strings) Task group metadata.
    name String
    (string) Volume name.
    volumeMounts List<GetJobTaskGroupTaskVolumeMount>
    (list of maps) Task volume mounts.
    driver string
    (string) Task driver.
    meta {[key: string]: string}
    (map of strings) Task group metadata.
    name string
    (string) Volume name.
    volumeMounts GetJobTaskGroupTaskVolumeMount[]
    (list of maps) Task volume mounts.
    driver str
    (string) Task driver.
    meta Mapping[str, str]
    (map of strings) Task group metadata.
    name str
    (string) Volume name.
    volume_mounts Sequence[GetJobTaskGroupTaskVolumeMount]
    (list of maps) Task volume mounts.
    driver String
    (string) Task driver.
    meta Map<String>
    (map of strings) Task group metadata.
    name String
    (string) Volume name.
    volumeMounts List<Property Map>
    (list of maps) Task volume mounts.

    GetJobTaskGroupTaskVolumeMount

    Destination string
    (string) Destination path inside the task.
    ReadOnly bool
    (boolean) Whether the volume is read-only.
    Volume string
    (string) Volume name.
    Destination string
    (string) Destination path inside the task.
    ReadOnly bool
    (boolean) Whether the volume is read-only.
    Volume string
    (string) Volume name.
    destination String
    (string) Destination path inside the task.
    readOnly Boolean
    (boolean) Whether the volume is read-only.
    volume String
    (string) Volume name.
    destination string
    (string) Destination path inside the task.
    readOnly boolean
    (boolean) Whether the volume is read-only.
    volume string
    (string) Volume name.
    destination str
    (string) Destination path inside the task.
    read_only bool
    (boolean) Whether the volume is read-only.
    volume str
    (string) Volume name.
    destination String
    (string) Destination path inside the task.
    readOnly Boolean
    (boolean) Whether the volume is read-only.
    volume String
    (string) Volume name.

    GetJobTaskGroupUpdateStrategy

    AutoRevert bool
    (boolean) Whether the job should automatically revert to the last stable job on deployment failure.
    Canary int
    (integer) Number of canary allocations created before destructive updates continue.
    HealthCheck string
    (string) Mechanism used to determine allocation health: checks, taskStates, or manual.
    HealthyDeadline string
    (string) Deadline by which the allocation must become healthy before it is marked unhealthy.
    MaxParallel int
    (integer) Number of allocations within a task group that can be destructively updated at the same time. Setting 0 forces updates instead of deployments.
    MinHealthyTime string
    (string) Minimum time the allocation must be in the healthy state before further updates can proceed.
    Stagger string
    (string) Delay between each set of maxParallel updates when updating system jobs.
    AutoRevert bool
    (boolean) Whether the job should automatically revert to the last stable job on deployment failure.
    Canary int
    (integer) Number of canary allocations created before destructive updates continue.
    HealthCheck string
    (string) Mechanism used to determine allocation health: checks, taskStates, or manual.
    HealthyDeadline string
    (string) Deadline by which the allocation must become healthy before it is marked unhealthy.
    MaxParallel int
    (integer) Number of allocations within a task group that can be destructively updated at the same time. Setting 0 forces updates instead of deployments.
    MinHealthyTime string
    (string) Minimum time the allocation must be in the healthy state before further updates can proceed.
    Stagger string
    (string) Delay between each set of maxParallel updates when updating system jobs.
    autoRevert Boolean
    (boolean) Whether the job should automatically revert to the last stable job on deployment failure.
    canary Integer
    (integer) Number of canary allocations created before destructive updates continue.
    healthCheck String
    (string) Mechanism used to determine allocation health: checks, taskStates, or manual.
    healthyDeadline String
    (string) Deadline by which the allocation must become healthy before it is marked unhealthy.
    maxParallel Integer
    (integer) Number of allocations within a task group that can be destructively updated at the same time. Setting 0 forces updates instead of deployments.
    minHealthyTime String
    (string) Minimum time the allocation must be in the healthy state before further updates can proceed.
    stagger String
    (string) Delay between each set of maxParallel updates when updating system jobs.
    autoRevert boolean
    (boolean) Whether the job should automatically revert to the last stable job on deployment failure.
    canary number
    (integer) Number of canary allocations created before destructive updates continue.
    healthCheck string
    (string) Mechanism used to determine allocation health: checks, taskStates, or manual.
    healthyDeadline string
    (string) Deadline by which the allocation must become healthy before it is marked unhealthy.
    maxParallel number
    (integer) Number of allocations within a task group that can be destructively updated at the same time. Setting 0 forces updates instead of deployments.
    minHealthyTime string
    (string) Minimum time the allocation must be in the healthy state before further updates can proceed.
    stagger string
    (string) Delay between each set of maxParallel updates when updating system jobs.
    auto_revert bool
    (boolean) Whether the job should automatically revert to the last stable job on deployment failure.
    canary int
    (integer) Number of canary allocations created before destructive updates continue.
    health_check str
    (string) Mechanism used to determine allocation health: checks, taskStates, or manual.
    healthy_deadline str
    (string) Deadline by which the allocation must become healthy before it is marked unhealthy.
    max_parallel int
    (integer) Number of allocations within a task group that can be destructively updated at the same time. Setting 0 forces updates instead of deployments.
    min_healthy_time str
    (string) Minimum time the allocation must be in the healthy state before further updates can proceed.
    stagger str
    (string) Delay between each set of maxParallel updates when updating system jobs.
    autoRevert Boolean
    (boolean) Whether the job should automatically revert to the last stable job on deployment failure.
    canary Number
    (integer) Number of canary allocations created before destructive updates continue.
    healthCheck String
    (string) Mechanism used to determine allocation health: checks, taskStates, or manual.
    healthyDeadline String
    (string) Deadline by which the allocation must become healthy before it is marked unhealthy.
    maxParallel Number
    (integer) Number of allocations within a task group that can be destructively updated at the same time. Setting 0 forces updates instead of deployments.
    minHealthyTime String
    (string) Minimum time the allocation must be in the healthy state before further updates can proceed.
    stagger String
    (string) Delay between each set of maxParallel updates when updating system jobs.

    GetJobTaskGroupVolume

    Name string
    (string) Volume name.
    ReadOnly bool
    (boolean) Whether the volume is read-only.
    Source string
    (string) Volume source.
    Type string
    (string) Volume type.
    Name string
    (string) Volume name.
    ReadOnly bool
    (boolean) Whether the volume is read-only.
    Source string
    (string) Volume source.
    Type string
    (string) Volume type.
    name String
    (string) Volume name.
    readOnly Boolean
    (boolean) Whether the volume is read-only.
    source String
    (string) Volume source.
    type String
    (string) Volume type.
    name string
    (string) Volume name.
    readOnly boolean
    (boolean) Whether the volume is read-only.
    source string
    (string) Volume source.
    type string
    (string) Volume type.
    name str
    (string) Volume name.
    read_only bool
    (boolean) Whether the volume is read-only.
    source str
    (string) Volume source.
    type str
    (string) Volume type.
    name String
    (string) Volume name.
    readOnly Boolean
    (boolean) Whether the volume is read-only.
    source String
    (string) Volume source.
    type String
    (string) Volume type.

    GetJobUpdateStrategy

    AutoRevert bool
    (boolean) Whether the job should automatically revert to the last stable job on deployment failure.
    Canary int
    (integer) Number of canary allocations created before destructive updates continue.
    HealthCheck string
    (string) Mechanism used to determine allocation health: checks, taskStates, or manual.
    HealthyDeadline string
    (string) Deadline by which the allocation must become healthy before it is marked unhealthy.
    MaxParallel int
    (integer) Number of allocations within a task group that can be destructively updated at the same time. Setting 0 forces updates instead of deployments.
    MinHealthyTime string
    (string) Minimum time the allocation must be in the healthy state before further updates can proceed.
    Stagger string
    (string) Delay between each set of maxParallel updates when updating system jobs.
    AutoRevert bool
    (boolean) Whether the job should automatically revert to the last stable job on deployment failure.
    Canary int
    (integer) Number of canary allocations created before destructive updates continue.
    HealthCheck string
    (string) Mechanism used to determine allocation health: checks, taskStates, or manual.
    HealthyDeadline string
    (string) Deadline by which the allocation must become healthy before it is marked unhealthy.
    MaxParallel int
    (integer) Number of allocations within a task group that can be destructively updated at the same time. Setting 0 forces updates instead of deployments.
    MinHealthyTime string
    (string) Minimum time the allocation must be in the healthy state before further updates can proceed.
    Stagger string
    (string) Delay between each set of maxParallel updates when updating system jobs.
    autoRevert Boolean
    (boolean) Whether the job should automatically revert to the last stable job on deployment failure.
    canary Integer
    (integer) Number of canary allocations created before destructive updates continue.
    healthCheck String
    (string) Mechanism used to determine allocation health: checks, taskStates, or manual.
    healthyDeadline String
    (string) Deadline by which the allocation must become healthy before it is marked unhealthy.
    maxParallel Integer
    (integer) Number of allocations within a task group that can be destructively updated at the same time. Setting 0 forces updates instead of deployments.
    minHealthyTime String
    (string) Minimum time the allocation must be in the healthy state before further updates can proceed.
    stagger String
    (string) Delay between each set of maxParallel updates when updating system jobs.
    autoRevert boolean
    (boolean) Whether the job should automatically revert to the last stable job on deployment failure.
    canary number
    (integer) Number of canary allocations created before destructive updates continue.
    healthCheck string
    (string) Mechanism used to determine allocation health: checks, taskStates, or manual.
    healthyDeadline string
    (string) Deadline by which the allocation must become healthy before it is marked unhealthy.
    maxParallel number
    (integer) Number of allocations within a task group that can be destructively updated at the same time. Setting 0 forces updates instead of deployments.
    minHealthyTime string
    (string) Minimum time the allocation must be in the healthy state before further updates can proceed.
    stagger string
    (string) Delay between each set of maxParallel updates when updating system jobs.
    auto_revert bool
    (boolean) Whether the job should automatically revert to the last stable job on deployment failure.
    canary int
    (integer) Number of canary allocations created before destructive updates continue.
    health_check str
    (string) Mechanism used to determine allocation health: checks, taskStates, or manual.
    healthy_deadline str
    (string) Deadline by which the allocation must become healthy before it is marked unhealthy.
    max_parallel int
    (integer) Number of allocations within a task group that can be destructively updated at the same time. Setting 0 forces updates instead of deployments.
    min_healthy_time str
    (string) Minimum time the allocation must be in the healthy state before further updates can proceed.
    stagger str
    (string) Delay between each set of maxParallel updates when updating system jobs.
    autoRevert Boolean
    (boolean) Whether the job should automatically revert to the last stable job on deployment failure.
    canary Number
    (integer) Number of canary allocations created before destructive updates continue.
    healthCheck String
    (string) Mechanism used to determine allocation health: checks, taskStates, or manual.
    healthyDeadline String
    (string) Deadline by which the allocation must become healthy before it is marked unhealthy.
    maxParallel Number
    (integer) Number of allocations within a task group that can be destructively updated at the same time. Setting 0 forces updates instead of deployments.
    minHealthyTime String
    (string) Minimum time the allocation must be in the healthy state before further updates can proceed.
    stagger String
    (string) Delay between each set of maxParallel updates when updating system jobs.

    Package Details

    Repository
    HashiCorp Nomad pulumi/pulumi-nomad
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the nomad Terraform Provider.
    nomad logo
    Viewing docs for Nomad v2.6.1
    published on Tuesday, Apr 21, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.