1. Packages
  2. Packages
  3. Nomad Provider
  4. API Docs
  5. getNodes
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

    Retrieve a list of nodes from Nomad.

    Note: All node attribute values can change if the node is restarted and its fingerprint changes. In particular, the drain, status, statusDescription, and schedulingEligibility fields are ephemeral and can change at any time without an agent restart.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as nomad from "@pulumi/nomad";
    
    const all = nomad.getNodes({});
    
    import pulumi
    import pulumi_nomad as nomad
    
    all = nomad.get_nodes()
    
    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.GetNodes(ctx, &nomad.GetNodesArgs{}, 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 all = Nomad.Index.GetNodes.Invoke();
    
    });
    
    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.GetNodesArgs;
    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 all = NomadFunctions.getNodes(GetNodesArgs.builder()
                .build());
    
        }
    }
    
    variables:
      all:
        fn::invoke:
          function: nomad:getNodes
          arguments: {}
    

    Filtering by status

    import * as pulumi from "@pulumi/pulumi";
    import * as nomad from "@pulumi/nomad";
    
    const ready = nomad.getNodes({
        filter: "Status == \"ready\"",
    });
    
    import pulumi
    import pulumi_nomad as nomad
    
    ready = nomad.get_nodes(filter="Status == \"ready\"")
    
    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.GetNodes(ctx, &nomad.GetNodesArgs{
    			Filter: pulumi.StringRef("Status == \"ready\""),
    		}, 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 ready = Nomad.Index.GetNodes.Invoke(new()
        {
            Filter = "Status == \"ready\"",
        });
    
    });
    
    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.GetNodesArgs;
    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 ready = NomadFunctions.getNodes(GetNodesArgs.builder()
                .filter("Status == \"ready\"")
                .build());
    
        }
    }
    
    variables:
      ready:
        fn::invoke:
          function: nomad:getNodes
          arguments:
            filter: Status == "ready"
    

    Including OS attributes and resources

    import * as pulumi from "@pulumi/pulumi";
    import * as nomad from "@pulumi/nomad";
    
    const withDetails = nomad.getNodes({
        os: true,
        resources: true,
    });
    
    import pulumi
    import pulumi_nomad as nomad
    
    with_details = nomad.get_nodes(os=True,
        resources=True)
    
    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.GetNodes(ctx, &nomad.GetNodesArgs{
    			Os:        pulumi.BoolRef(true),
    			Resources: pulumi.BoolRef(true),
    		}, 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 withDetails = Nomad.Index.GetNodes.Invoke(new()
        {
            Os = true,
            Resources = true,
        });
    
    });
    
    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.GetNodesArgs;
    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 withDetails = NomadFunctions.getNodes(GetNodesArgs.builder()
                .os(true)
                .resources(true)
                .build());
    
        }
    }
    
    variables:
      withDetails:
        fn::invoke:
          function: nomad:getNodes
          arguments:
            os: true
            resources: true
    

    Using getNodes

    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 getNodes(args: GetNodesArgs, opts?: InvokeOptions): Promise<GetNodesResult>
    function getNodesOutput(args: GetNodesOutputArgs, opts?: InvokeOptions): Output<GetNodesResult>
    def get_nodes(filter: Optional[str] = None,
                  os: Optional[bool] = None,
                  prefix: Optional[str] = None,
                  resources: Optional[bool] = None,
                  opts: Optional[InvokeOptions] = None) -> GetNodesResult
    def get_nodes_output(filter: pulumi.Input[Optional[str]] = None,
                  os: pulumi.Input[Optional[bool]] = None,
                  prefix: pulumi.Input[Optional[str]] = None,
                  resources: pulumi.Input[Optional[bool]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetNodesResult]
    func GetNodes(ctx *Context, args *GetNodesArgs, opts ...InvokeOption) (*GetNodesResult, error)
    func GetNodesOutput(ctx *Context, args *GetNodesOutputArgs, opts ...InvokeOption) GetNodesResultOutput

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

    public static class GetNodes 
    {
        public static Task<GetNodesResult> InvokeAsync(GetNodesArgs args, InvokeOptions? opts = null)
        public static Output<GetNodesResult> Invoke(GetNodesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetNodesResult> getNodes(GetNodesArgs args, InvokeOptions options)
    public static Output<GetNodesResult> getNodes(GetNodesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: nomad:index/getNodes:getNodes
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Filter string
    (string: <optional>) - Specifies the [expression][nomadApiFilter] used to filter the results.
    Os bool
    (bool: false) - If true, include special attributes such as operating system name in the response. When false, the attributes map will not contain OS-related attributes.
    Prefix string
    (string: <optional>) - Specifies a string to filter nodes based on an ID prefix. Must have an even number of hexadecimal characters (0-9a-f).
    Resources bool
    (bool: false) - If true, include nodeResources and reservedResources in the response.
    Filter string
    (string: <optional>) - Specifies the [expression][nomadApiFilter] used to filter the results.
    Os bool
    (bool: false) - If true, include special attributes such as operating system name in the response. When false, the attributes map will not contain OS-related attributes.
    Prefix string
    (string: <optional>) - Specifies a string to filter nodes based on an ID prefix. Must have an even number of hexadecimal characters (0-9a-f).
    Resources bool
    (bool: false) - If true, include nodeResources and reservedResources in the response.
    filter String
    (string: <optional>) - Specifies the [expression][nomadApiFilter] used to filter the results.
    os Boolean
    (bool: false) - If true, include special attributes such as operating system name in the response. When false, the attributes map will not contain OS-related attributes.
    prefix String
    (string: <optional>) - Specifies a string to filter nodes based on an ID prefix. Must have an even number of hexadecimal characters (0-9a-f).
    resources Boolean
    (bool: false) - If true, include nodeResources and reservedResources in the response.
    filter string
    (string: <optional>) - Specifies the [expression][nomadApiFilter] used to filter the results.
    os boolean
    (bool: false) - If true, include special attributes such as operating system name in the response. When false, the attributes map will not contain OS-related attributes.
    prefix string
    (string: <optional>) - Specifies a string to filter nodes based on an ID prefix. Must have an even number of hexadecimal characters (0-9a-f).
    resources boolean
    (bool: false) - If true, include nodeResources and reservedResources in the response.
    filter str
    (string: <optional>) - Specifies the [expression][nomadApiFilter] used to filter the results.
    os bool
    (bool: false) - If true, include special attributes such as operating system name in the response. When false, the attributes map will not contain OS-related attributes.
    prefix str
    (string: <optional>) - Specifies a string to filter nodes based on an ID prefix. Must have an even number of hexadecimal characters (0-9a-f).
    resources bool
    (bool: false) - If true, include nodeResources and reservedResources in the response.
    filter String
    (string: <optional>) - Specifies the [expression][nomadApiFilter] used to filter the results.
    os Boolean
    (bool: false) - If true, include special attributes such as operating system name in the response. When false, the attributes map will not contain OS-related attributes.
    prefix String
    (string: <optional>) - Specifies a string to filter nodes based on an ID prefix. Must have an even number of hexadecimal characters (0-9a-f).
    resources Boolean
    (bool: false) - If true, include nodeResources and reservedResources in the response.

    getNodes Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Nodes List<GetNodesNode>
    (list of nodes) - A list of nodes matching the search criteria.
    Filter string
    Os bool
    Prefix string
    Resources bool
    Id string
    The provider-assigned unique ID for this managed resource.
    Nodes []GetNodesNode
    (list of nodes) - A list of nodes matching the search criteria.
    Filter string
    Os bool
    Prefix string
    Resources bool
    id String
    The provider-assigned unique ID for this managed resource.
    nodes List<GetNodesNode>
    (list of nodes) - A list of nodes matching the search criteria.
    filter String
    os Boolean
    prefix String
    resources Boolean
    id string
    The provider-assigned unique ID for this managed resource.
    nodes GetNodesNode[]
    (list of nodes) - A list of nodes matching the search criteria.
    filter string
    os boolean
    prefix string
    resources boolean
    id str
    The provider-assigned unique ID for this managed resource.
    nodes Sequence[GetNodesNode]
    (list of nodes) - A list of nodes matching the search criteria.
    filter str
    os bool
    prefix str
    resources bool
    id String
    The provider-assigned unique ID for this managed resource.
    nodes List<Property Map>
    (list of nodes) - A list of nodes matching the search criteria.
    filter String
    os Boolean
    prefix String
    resources Boolean

    Supporting Types

    GetNodesNode

    Address string
    (string) - The address of the node.
    Attributes Dictionary<string, string>
    (map of string) - Driver-specific attributes.
    Datacenter string
    (string) - The datacenter of the node.
    Drain bool
    (bool) - Whether the node is in drain mode. This value is ephemeral and can change without an agent restart.
    Drivers List<GetNodesNodeDriver>
    (list of drivers) - A list of driver information for the node.
    Id string
    (string) - The ID of the node.
    Name string
    (string) - The device name.
    NodeClass string
    (string) - The node class of the node.
    NodePool string
    (string) - The node pool of the node.
    NodeResources List<GetNodesNodeNodeResource>
    (list) - Resources available on the node. Only populated when the resources parameter is set to true.
    ReservedResources List<GetNodesNodeReservedResource>
    (list) - Resources reserved on the node. Only populated when the resources parameter is set to true.
    SchedulingEligibility string
    (string) - The scheduling eligibility of the node. This value is ephemeral and can change without an agent restart.
    Status string
    (string) - The status of the node. This value is ephemeral and can change without an agent restart.
    StatusDescription string
    (string) - The status description of the node. This value is ephemeral and can change without an agent restart.
    Version string
    (string) - The Nomad version of the node.
    Address string
    (string) - The address of the node.
    Attributes map[string]string
    (map of string) - Driver-specific attributes.
    Datacenter string
    (string) - The datacenter of the node.
    Drain bool
    (bool) - Whether the node is in drain mode. This value is ephemeral and can change without an agent restart.
    Drivers []GetNodesNodeDriver
    (list of drivers) - A list of driver information for the node.
    Id string
    (string) - The ID of the node.
    Name string
    (string) - The device name.
    NodeClass string
    (string) - The node class of the node.
    NodePool string
    (string) - The node pool of the node.
    NodeResources []GetNodesNodeNodeResource
    (list) - Resources available on the node. Only populated when the resources parameter is set to true.
    ReservedResources []GetNodesNodeReservedResource
    (list) - Resources reserved on the node. Only populated when the resources parameter is set to true.
    SchedulingEligibility string
    (string) - The scheduling eligibility of the node. This value is ephemeral and can change without an agent restart.
    Status string
    (string) - The status of the node. This value is ephemeral and can change without an agent restart.
    StatusDescription string
    (string) - The status description of the node. This value is ephemeral and can change without an agent restart.
    Version string
    (string) - The Nomad version of the node.
    address String
    (string) - The address of the node.
    attributes Map<String,String>
    (map of string) - Driver-specific attributes.
    datacenter String
    (string) - The datacenter of the node.
    drain Boolean
    (bool) - Whether the node is in drain mode. This value is ephemeral and can change without an agent restart.
    drivers List<GetNodesNodeDriver>
    (list of drivers) - A list of driver information for the node.
    id String
    (string) - The ID of the node.
    name String
    (string) - The device name.
    nodeClass String
    (string) - The node class of the node.
    nodePool String
    (string) - The node pool of the node.
    nodeResources List<GetNodesNodeNodeResource>
    (list) - Resources available on the node. Only populated when the resources parameter is set to true.
    reservedResources List<GetNodesNodeReservedResource>
    (list) - Resources reserved on the node. Only populated when the resources parameter is set to true.
    schedulingEligibility String
    (string) - The scheduling eligibility of the node. This value is ephemeral and can change without an agent restart.
    status String
    (string) - The status of the node. This value is ephemeral and can change without an agent restart.
    statusDescription String
    (string) - The status description of the node. This value is ephemeral and can change without an agent restart.
    version String
    (string) - The Nomad version of the node.
    address string
    (string) - The address of the node.
    attributes {[key: string]: string}
    (map of string) - Driver-specific attributes.
    datacenter string
    (string) - The datacenter of the node.
    drain boolean
    (bool) - Whether the node is in drain mode. This value is ephemeral and can change without an agent restart.
    drivers GetNodesNodeDriver[]
    (list of drivers) - A list of driver information for the node.
    id string
    (string) - The ID of the node.
    name string
    (string) - The device name.
    nodeClass string
    (string) - The node class of the node.
    nodePool string
    (string) - The node pool of the node.
    nodeResources GetNodesNodeNodeResource[]
    (list) - Resources available on the node. Only populated when the resources parameter is set to true.
    reservedResources GetNodesNodeReservedResource[]
    (list) - Resources reserved on the node. Only populated when the resources parameter is set to true.
    schedulingEligibility string
    (string) - The scheduling eligibility of the node. This value is ephemeral and can change without an agent restart.
    status string
    (string) - The status of the node. This value is ephemeral and can change without an agent restart.
    statusDescription string
    (string) - The status description of the node. This value is ephemeral and can change without an agent restart.
    version string
    (string) - The Nomad version of the node.
    address str
    (string) - The address of the node.
    attributes Mapping[str, str]
    (map of string) - Driver-specific attributes.
    datacenter str
    (string) - The datacenter of the node.
    drain bool
    (bool) - Whether the node is in drain mode. This value is ephemeral and can change without an agent restart.
    drivers Sequence[GetNodesNodeDriver]
    (list of drivers) - A list of driver information for the node.
    id str
    (string) - The ID of the node.
    name str
    (string) - The device name.
    node_class str
    (string) - The node class of the node.
    node_pool str
    (string) - The node pool of the node.
    node_resources Sequence[GetNodesNodeNodeResource]
    (list) - Resources available on the node. Only populated when the resources parameter is set to true.
    reserved_resources Sequence[GetNodesNodeReservedResource]
    (list) - Resources reserved on the node. Only populated when the resources parameter is set to true.
    scheduling_eligibility str
    (string) - The scheduling eligibility of the node. This value is ephemeral and can change without an agent restart.
    status str
    (string) - The status of the node. This value is ephemeral and can change without an agent restart.
    status_description str
    (string) - The status description of the node. This value is ephemeral and can change without an agent restart.
    version str
    (string) - The Nomad version of the node.
    address String
    (string) - The address of the node.
    attributes Map<String>
    (map of string) - Driver-specific attributes.
    datacenter String
    (string) - The datacenter of the node.
    drain Boolean
    (bool) - Whether the node is in drain mode. This value is ephemeral and can change without an agent restart.
    drivers List<Property Map>
    (list of drivers) - A list of driver information for the node.
    id String
    (string) - The ID of the node.
    name String
    (string) - The device name.
    nodeClass String
    (string) - The node class of the node.
    nodePool String
    (string) - The node pool of the node.
    nodeResources List<Property Map>
    (list) - Resources available on the node. Only populated when the resources parameter is set to true.
    reservedResources List<Property Map>
    (list) - Resources reserved on the node. Only populated when the resources parameter is set to true.
    schedulingEligibility String
    (string) - The scheduling eligibility of the node. This value is ephemeral and can change without an agent restart.
    status String
    (string) - The status of the node. This value is ephemeral and can change without an agent restart.
    statusDescription String
    (string) - The status description of the node. This value is ephemeral and can change without an agent restart.
    version String
    (string) - The Nomad version of the node.

    GetNodesNodeDriver

    Attributes Dictionary<string, string>
    (map of string) - Driver-specific attributes.
    Detected bool
    (bool) - Whether the driver is detected.
    Healthy bool
    (bool) - Whether the driver is healthy.
    Name string
    (string) - The device name.
    Attributes map[string]string
    (map of string) - Driver-specific attributes.
    Detected bool
    (bool) - Whether the driver is detected.
    Healthy bool
    (bool) - Whether the driver is healthy.
    Name string
    (string) - The device name.
    attributes Map<String,String>
    (map of string) - Driver-specific attributes.
    detected Boolean
    (bool) - Whether the driver is detected.
    healthy Boolean
    (bool) - Whether the driver is healthy.
    name String
    (string) - The device name.
    attributes {[key: string]: string}
    (map of string) - Driver-specific attributes.
    detected boolean
    (bool) - Whether the driver is detected.
    healthy boolean
    (bool) - Whether the driver is healthy.
    name string
    (string) - The device name.
    attributes Mapping[str, str]
    (map of string) - Driver-specific attributes.
    detected bool
    (bool) - Whether the driver is detected.
    healthy bool
    (bool) - Whether the driver is healthy.
    name str
    (string) - The device name.
    attributes Map<String>
    (map of string) - Driver-specific attributes.
    detected Boolean
    (bool) - Whether the driver is detected.
    healthy Boolean
    (bool) - Whether the driver is healthy.
    name String
    (string) - The device name.

    GetNodesNodeNodeResource

    Cpus List<GetNodesNodeNodeResourceCpus>
    (list) - Reserved CPU resources.
    Devices List<GetNodesNodeNodeResourceDevice>
    (list) - Device resources on the node (GPUs, etc.).
    Disks List<GetNodesNodeNodeResourceDisk>
    (list) - Reserved disk resources.
    MaxDynamicPort int
    (int) - Maximum dynamic port for this node.
    Memories List<GetNodesNodeNodeResourceMemory>
    (list) - Reserved memory resources.
    MinDynamicPort int
    (int) - Minimum dynamic port for this node.
    Networks List<GetNodesNodeNodeResourceNetwork>
    (map of string) - Reserved network resources.
    Cpus []GetNodesNodeNodeResourceCpus
    (list) - Reserved CPU resources.
    Devices []GetNodesNodeNodeResourceDevice
    (list) - Device resources on the node (GPUs, etc.).
    Disks []GetNodesNodeNodeResourceDisk
    (list) - Reserved disk resources.
    MaxDynamicPort int
    (int) - Maximum dynamic port for this node.
    Memories []GetNodesNodeNodeResourceMemory
    (list) - Reserved memory resources.
    MinDynamicPort int
    (int) - Minimum dynamic port for this node.
    Networks []GetNodesNodeNodeResourceNetwork
    (map of string) - Reserved network resources.
    cpus List<GetNodesNodeNodeResourceCpus>
    (list) - Reserved CPU resources.
    devices List<GetNodesNodeNodeResourceDevice>
    (list) - Device resources on the node (GPUs, etc.).
    disks List<GetNodesNodeNodeResourceDisk>
    (list) - Reserved disk resources.
    maxDynamicPort Integer
    (int) - Maximum dynamic port for this node.
    memories List<GetNodesNodeNodeResourceMemory>
    (list) - Reserved memory resources.
    minDynamicPort Integer
    (int) - Minimum dynamic port for this node.
    networks List<GetNodesNodeNodeResourceNetwork>
    (map of string) - Reserved network resources.
    cpus GetNodesNodeNodeResourceCpus[]
    (list) - Reserved CPU resources.
    devices GetNodesNodeNodeResourceDevice[]
    (list) - Device resources on the node (GPUs, etc.).
    disks GetNodesNodeNodeResourceDisk[]
    (list) - Reserved disk resources.
    maxDynamicPort number
    (int) - Maximum dynamic port for this node.
    memories GetNodesNodeNodeResourceMemory[]
    (list) - Reserved memory resources.
    minDynamicPort number
    (int) - Minimum dynamic port for this node.
    networks GetNodesNodeNodeResourceNetwork[]
    (map of string) - Reserved network resources.
    cpus Sequence[GetNodesNodeNodeResourceCpus]
    (list) - Reserved CPU resources.
    devices Sequence[GetNodesNodeNodeResourceDevice]
    (list) - Device resources on the node (GPUs, etc.).
    disks Sequence[GetNodesNodeNodeResourceDisk]
    (list) - Reserved disk resources.
    max_dynamic_port int
    (int) - Maximum dynamic port for this node.
    memories Sequence[GetNodesNodeNodeResourceMemory]
    (list) - Reserved memory resources.
    min_dynamic_port int
    (int) - Minimum dynamic port for this node.
    networks Sequence[GetNodesNodeNodeResourceNetwork]
    (map of string) - Reserved network resources.
    cpus List<Property Map>
    (list) - Reserved CPU resources.
    devices List<Property Map>
    (list) - Device resources on the node (GPUs, etc.).
    disks List<Property Map>
    (list) - Reserved disk resources.
    maxDynamicPort Number
    (int) - Maximum dynamic port for this node.
    memories List<Property Map>
    (list) - Reserved memory resources.
    minDynamicPort Number
    (int) - Minimum dynamic port for this node.
    networks List<Property Map>
    (map of string) - Reserved network resources.

    GetNodesNodeNodeResourceCpus

    CpuShares int
    (int) - Reserved CPU shares.
    ReservableCpuCores List<int>
    (list of int) - List of reservable CPU core IDs.
    TotalCpuCores int
    (int) - Total number of CPU cores.
    CpuShares int
    (int) - Reserved CPU shares.
    ReservableCpuCores []int
    (list of int) - List of reservable CPU core IDs.
    TotalCpuCores int
    (int) - Total number of CPU cores.
    cpuShares Integer
    (int) - Reserved CPU shares.
    reservableCpuCores List<Integer>
    (list of int) - List of reservable CPU core IDs.
    totalCpuCores Integer
    (int) - Total number of CPU cores.
    cpuShares number
    (int) - Reserved CPU shares.
    reservableCpuCores number[]
    (list of int) - List of reservable CPU core IDs.
    totalCpuCores number
    (int) - Total number of CPU cores.
    cpu_shares int
    (int) - Reserved CPU shares.
    reservable_cpu_cores Sequence[int]
    (list of int) - List of reservable CPU core IDs.
    total_cpu_cores int
    (int) - Total number of CPU cores.
    cpuShares Number
    (int) - Reserved CPU shares.
    reservableCpuCores List<Number>
    (list of int) - List of reservable CPU core IDs.
    totalCpuCores Number
    (int) - Total number of CPU cores.

    GetNodesNodeNodeResourceDevice

    Count int
    (int) - The number of device instances.
    Name string
    (string) - The device name.
    Type string
    (string) - The device type.
    Vendor string
    (string) - The device vendor.
    Count int
    (int) - The number of device instances.
    Name string
    (string) - The device name.
    Type string
    (string) - The device type.
    Vendor string
    (string) - The device vendor.
    count Integer
    (int) - The number of device instances.
    name String
    (string) - The device name.
    type String
    (string) - The device type.
    vendor String
    (string) - The device vendor.
    count number
    (int) - The number of device instances.
    name string
    (string) - The device name.
    type string
    (string) - The device type.
    vendor string
    (string) - The device vendor.
    count int
    (int) - The number of device instances.
    name str
    (string) - The device name.
    type str
    (string) - The device type.
    vendor str
    (string) - The device vendor.
    count Number
    (int) - The number of device instances.
    name String
    (string) - The device name.
    type String
    (string) - The device type.
    vendor String
    (string) - The device vendor.

    GetNodesNodeNodeResourceDisk

    DiskMb int
    (int) - Reserved disk space in MB.
    DiskMb int
    (int) - Reserved disk space in MB.
    diskMb Integer
    (int) - Reserved disk space in MB.
    diskMb number
    (int) - Reserved disk space in MB.
    disk_mb int
    (int) - Reserved disk space in MB.
    diskMb Number
    (int) - Reserved disk space in MB.

    GetNodesNodeNodeResourceMemory

    MemoryMb int
    (int) - Reserved memory in MB.
    MemoryMb int
    (int) - Reserved memory in MB.
    memoryMb Integer
    (int) - Reserved memory in MB.
    memoryMb number
    (int) - Reserved memory in MB.
    memory_mb int
    (int) - Reserved memory in MB.
    memoryMb Number
    (int) - Reserved memory in MB.

    GetNodesNodeNodeResourceNetwork

    Cidr string
    (string) - The CIDR of the network.
    Device string
    (string) - The network device.
    Ip string
    (string) - The IP address of the network.
    Mode string
    (string) - The network mode.
    Cidr string
    (string) - The CIDR of the network.
    Device string
    (string) - The network device.
    Ip string
    (string) - The IP address of the network.
    Mode string
    (string) - The network mode.
    cidr String
    (string) - The CIDR of the network.
    device String
    (string) - The network device.
    ip String
    (string) - The IP address of the network.
    mode String
    (string) - The network mode.
    cidr string
    (string) - The CIDR of the network.
    device string
    (string) - The network device.
    ip string
    (string) - The IP address of the network.
    mode string
    (string) - The network mode.
    cidr str
    (string) - The CIDR of the network.
    device str
    (string) - The network device.
    ip str
    (string) - The IP address of the network.
    mode str
    (string) - The network mode.
    cidr String
    (string) - The CIDR of the network.
    device String
    (string) - The network device.
    ip String
    (string) - The IP address of the network.
    mode String
    (string) - The network mode.

    GetNodesNodeReservedResource

    Cpus List<GetNodesNodeReservedResourceCpus>
    (list) - Reserved CPU resources.
    Disks List<GetNodesNodeReservedResourceDisk>
    (list) - Reserved disk resources.
    Memories List<GetNodesNodeReservedResourceMemory>
    (list) - Reserved memory resources.
    Networks Dictionary<string, string>
    (map of string) - Reserved network resources.
    Cpus []GetNodesNodeReservedResourceCpus
    (list) - Reserved CPU resources.
    Disks []GetNodesNodeReservedResourceDisk
    (list) - Reserved disk resources.
    Memories []GetNodesNodeReservedResourceMemory
    (list) - Reserved memory resources.
    Networks map[string]string
    (map of string) - Reserved network resources.
    cpus List<GetNodesNodeReservedResourceCpus>
    (list) - Reserved CPU resources.
    disks List<GetNodesNodeReservedResourceDisk>
    (list) - Reserved disk resources.
    memories List<GetNodesNodeReservedResourceMemory>
    (list) - Reserved memory resources.
    networks Map<String,String>
    (map of string) - Reserved network resources.
    cpus GetNodesNodeReservedResourceCpus[]
    (list) - Reserved CPU resources.
    disks GetNodesNodeReservedResourceDisk[]
    (list) - Reserved disk resources.
    memories GetNodesNodeReservedResourceMemory[]
    (list) - Reserved memory resources.
    networks {[key: string]: string}
    (map of string) - Reserved network resources.
    cpus Sequence[GetNodesNodeReservedResourceCpus]
    (list) - Reserved CPU resources.
    disks Sequence[GetNodesNodeReservedResourceDisk]
    (list) - Reserved disk resources.
    memories Sequence[GetNodesNodeReservedResourceMemory]
    (list) - Reserved memory resources.
    networks Mapping[str, str]
    (map of string) - Reserved network resources.
    cpus List<Property Map>
    (list) - Reserved CPU resources.
    disks List<Property Map>
    (list) - Reserved disk resources.
    memories List<Property Map>
    (list) - Reserved memory resources.
    networks Map<String>
    (map of string) - Reserved network resources.

    GetNodesNodeReservedResourceCpus

    CpuShares int
    (int) - Reserved CPU shares.
    CpuShares int
    (int) - Reserved CPU shares.
    cpuShares Integer
    (int) - Reserved CPU shares.
    cpuShares number
    (int) - Reserved CPU shares.
    cpu_shares int
    (int) - Reserved CPU shares.
    cpuShares Number
    (int) - Reserved CPU shares.

    GetNodesNodeReservedResourceDisk

    DiskMb int
    (int) - Reserved disk space in MB.
    DiskMb int
    (int) - Reserved disk space in MB.
    diskMb Integer
    (int) - Reserved disk space in MB.
    diskMb number
    (int) - Reserved disk space in MB.
    disk_mb int
    (int) - Reserved disk space in MB.
    diskMb Number
    (int) - Reserved disk space in MB.

    GetNodesNodeReservedResourceMemory

    MemoryMb int
    (int) - Reserved memory in MB.
    MemoryMb int
    (int) - Reserved memory in MB.
    memoryMb Integer
    (int) - Reserved memory in MB.
    memoryMb number
    (int) - Reserved memory in MB.
    memory_mb int
    (int) - Reserved memory in MB.
    memoryMb Number
    (int) - Reserved memory in MB.

    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.