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

    Manages a quota specification in a Nomad cluster.

    Example Usage

    Registering a quota specification:

    import * as pulumi from "@pulumi/pulumi";
    import * as nomad from "@pulumi/nomad";
    
    const prodApi = new nomad.QuoteSpecification("prod_api", {
        name: "prod-api",
        description: "Production instances of backend API servers",
        limits: [{
            region: "global",
            regionLimit: {
                cpu: 2400,
                cores: 4,
                memoryMb: 1200,
                memoryMaxMb: 2400,
                devices: [{
                    name: "nvidia/gpu",
                    count: 2,
                }],
                nodePools: [{
                    nodePool: "batch",
                    cpu: 800,
                    cores: 2,
                    memoryMb: 1024,
                    memoryMaxMb: 2048,
                    devices: [{
                        name: "fpga",
                        count: 1,
                    }],
                    storage: {
                        variablesMb: 25,
                        hostVolumesMb: 50,
                    },
                }],
                storage: {
                    variablesMb: 500,
                    hostVolumesMb: 1000,
                },
            },
        }],
    });
    
    import pulumi
    import pulumi_nomad as nomad
    
    prod_api = nomad.QuoteSpecification("prod_api",
        name="prod-api",
        description="Production instances of backend API servers",
        limits=[{
            "region": "global",
            "region_limit": {
                "cpu": 2400,
                "cores": 4,
                "memory_mb": 1200,
                "memory_max_mb": 2400,
                "devices": [{
                    "name": "nvidia/gpu",
                    "count": 2,
                }],
                "node_pools": [{
                    "node_pool": "batch",
                    "cpu": 800,
                    "cores": 2,
                    "memory_mb": 1024,
                    "memory_max_mb": 2048,
                    "devices": [{
                        "name": "fpga",
                        "count": 1,
                    }],
                    "storage": {
                        "variables_mb": 25,
                        "host_volumes_mb": 50,
                    },
                }],
                "storage": {
                    "variables_mb": 500,
                    "host_volumes_mb": 1000,
                },
            },
        }])
    
    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.NewQuoteSpecification(ctx, "prod_api", &nomad.QuoteSpecificationArgs{
    			Name:        pulumi.String("prod-api"),
    			Description: pulumi.String("Production instances of backend API servers"),
    			Limits: nomad.QuoteSpecificationLimitArray{
    				&nomad.QuoteSpecificationLimitArgs{
    					Region: pulumi.String("global"),
    					RegionLimit: &nomad.QuoteSpecificationLimitRegionLimitArgs{
    						Cpu:         pulumi.Int(2400),
    						Cores:       pulumi.Int(4),
    						MemoryMb:    pulumi.Int(1200),
    						MemoryMaxMb: pulumi.Int(2400),
    						Devices: nomad.QuoteSpecificationLimitRegionLimitDeviceArray{
    							&nomad.QuoteSpecificationLimitRegionLimitDeviceArgs{
    								Name:  pulumi.String("nvidia/gpu"),
    								Count: pulumi.Int(2),
    							},
    						},
    						NodePools: nomad.QuoteSpecificationLimitRegionLimitNodePoolArray{
    							&nomad.QuoteSpecificationLimitRegionLimitNodePoolArgs{
    								NodePool:    pulumi.String("batch"),
    								Cpu:         pulumi.Int(800),
    								Cores:       pulumi.Int(2),
    								MemoryMb:    pulumi.Int(1024),
    								MemoryMaxMb: pulumi.Int(2048),
    								Devices: nomad.QuoteSpecificationLimitRegionLimitNodePoolDeviceArray{
    									&nomad.QuoteSpecificationLimitRegionLimitNodePoolDeviceArgs{
    										Name:  pulumi.String("fpga"),
    										Count: pulumi.Int(1),
    									},
    								},
    								Storage: &nomad.QuoteSpecificationLimitRegionLimitNodePoolStorageArgs{
    									VariablesMb:   pulumi.Int(25),
    									HostVolumesMb: pulumi.Int(50),
    								},
    							},
    						},
    						Storage: &nomad.QuoteSpecificationLimitRegionLimitStorageArgs{
    							VariablesMb:   pulumi.Int(500),
    							HostVolumesMb: pulumi.Int(1000),
    						},
    					},
    				},
    			},
    		})
    		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 prodApi = new Nomad.Index.QuoteSpecification("prod_api", new()
        {
            Name = "prod-api",
            Description = "Production instances of backend API servers",
            Limits = new[]
            {
                new Nomad.Inputs.QuoteSpecificationLimitArgs
                {
                    Region = "global",
                    RegionLimit = new Nomad.Inputs.QuoteSpecificationLimitRegionLimitArgs
                    {
                        Cpu = 2400,
                        Cores = 4,
                        MemoryMb = 1200,
                        MemoryMaxMb = 2400,
                        Devices = new[]
                        {
                            new Nomad.Inputs.QuoteSpecificationLimitRegionLimitDeviceArgs
                            {
                                Name = "nvidia/gpu",
                                Count = 2,
                            },
                        },
                        NodePools = new[]
                        {
                            new Nomad.Inputs.QuoteSpecificationLimitRegionLimitNodePoolArgs
                            {
                                NodePool = "batch",
                                Cpu = 800,
                                Cores = 2,
                                MemoryMb = 1024,
                                MemoryMaxMb = 2048,
                                Devices = new[]
                                {
                                    new Nomad.Inputs.QuoteSpecificationLimitRegionLimitNodePoolDeviceArgs
                                    {
                                        Name = "fpga",
                                        Count = 1,
                                    },
                                },
                                Storage = new Nomad.Inputs.QuoteSpecificationLimitRegionLimitNodePoolStorageArgs
                                {
                                    VariablesMb = 25,
                                    HostVolumesMb = 50,
                                },
                            },
                        },
                        Storage = new Nomad.Inputs.QuoteSpecificationLimitRegionLimitStorageArgs
                        {
                            VariablesMb = 500,
                            HostVolumesMb = 1000,
                        },
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.nomad.QuoteSpecification;
    import com.pulumi.nomad.QuoteSpecificationArgs;
    import com.pulumi.nomad.inputs.QuoteSpecificationLimitArgs;
    import com.pulumi.nomad.inputs.QuoteSpecificationLimitRegionLimitArgs;
    import com.pulumi.nomad.inputs.QuoteSpecificationLimitRegionLimitStorageArgs;
    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) {
            var prodApi = new QuoteSpecification("prodApi", QuoteSpecificationArgs.builder()
                .name("prod-api")
                .description("Production instances of backend API servers")
                .limits(QuoteSpecificationLimitArgs.builder()
                    .region("global")
                    .regionLimit(QuoteSpecificationLimitRegionLimitArgs.builder()
                        .cpu(2400)
                        .cores(4)
                        .memoryMb(1200)
                        .memoryMaxMb(2400)
                        .devices(QuoteSpecificationLimitRegionLimitDeviceArgs.builder()
                            .name("nvidia/gpu")
                            .count(2)
                            .build())
                        .nodePools(QuoteSpecificationLimitRegionLimitNodePoolArgs.builder()
                            .nodePool("batch")
                            .cpu(800)
                            .cores(2)
                            .memoryMb(1024)
                            .memoryMaxMb(2048)
                            .devices(QuoteSpecificationLimitRegionLimitNodePoolDeviceArgs.builder()
                                .name("fpga")
                                .count(1)
                                .build())
                            .storage(QuoteSpecificationLimitRegionLimitNodePoolStorageArgs.builder()
                                .variablesMb(25)
                                .hostVolumesMb(50)
                                .build())
                            .build())
                        .storage(QuoteSpecificationLimitRegionLimitStorageArgs.builder()
                            .variablesMb(500)
                            .hostVolumesMb(1000)
                            .build())
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      prodApi:
        type: nomad:QuoteSpecification
        name: prod_api
        properties:
          name: prod-api
          description: Production instances of backend API servers
          limits:
            - region: global
              regionLimit:
                cpu: 2400
                cores: 4
                memoryMb: 1200
                memoryMaxMb: 2400
                devices:
                  - name: nvidia/gpu
                    count: 2
                nodePools:
                  - nodePool: batch
                    cpu: 800
                    cores: 2
                    memoryMb: 1024
                    memoryMaxMb: 2048
                    devices:
                      - name: fpga
                        count: 1
                    storage:
                      variablesMb: 25
                      hostVolumesMb: 50
                storage:
                  variablesMb: 500
                  hostVolumesMb: 1000
    

    Create QuoteSpecification Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new QuoteSpecification(name: string, args: QuoteSpecificationArgs, opts?: CustomResourceOptions);
    @overload
    def QuoteSpecification(resource_name: str,
                           args: QuoteSpecificationArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def QuoteSpecification(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           limits: Optional[Sequence[QuoteSpecificationLimitArgs]] = None,
                           description: Optional[str] = None,
                           name: Optional[str] = None)
    func NewQuoteSpecification(ctx *Context, name string, args QuoteSpecificationArgs, opts ...ResourceOption) (*QuoteSpecification, error)
    public QuoteSpecification(string name, QuoteSpecificationArgs args, CustomResourceOptions? opts = null)
    public QuoteSpecification(String name, QuoteSpecificationArgs args)
    public QuoteSpecification(String name, QuoteSpecificationArgs args, CustomResourceOptions options)
    
    type: nomad:QuoteSpecification
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args QuoteSpecificationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args QuoteSpecificationArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args QuoteSpecificationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args QuoteSpecificationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args QuoteSpecificationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var quoteSpecificationResource = new Nomad.QuoteSpecification("quoteSpecificationResource", new()
    {
        Limits = new[]
        {
            new Nomad.Inputs.QuoteSpecificationLimitArgs
            {
                Region = "string",
                RegionLimit = new Nomad.Inputs.QuoteSpecificationLimitRegionLimitArgs
                {
                    Cores = 0,
                    Cpu = 0,
                    Devices = new[]
                    {
                        new Nomad.Inputs.QuoteSpecificationLimitRegionLimitDeviceArgs
                        {
                            Name = "string",
                            Count = 0,
                        },
                    },
                    MemoryMaxMb = 0,
                    MemoryMb = 0,
                    NodePools = new[]
                    {
                        new Nomad.Inputs.QuoteSpecificationLimitRegionLimitNodePoolArgs
                        {
                            NodePool = "string",
                            Cores = 0,
                            Cpu = 0,
                            Devices = new[]
                            {
                                new Nomad.Inputs.QuoteSpecificationLimitRegionLimitNodePoolDeviceArgs
                                {
                                    Name = "string",
                                    Count = 0,
                                },
                            },
                            MemoryMaxMb = 0,
                            MemoryMb = 0,
                            Storage = new Nomad.Inputs.QuoteSpecificationLimitRegionLimitNodePoolStorageArgs
                            {
                                HostVolumesMb = 0,
                                VariablesMb = 0,
                            },
                        },
                    },
                    Storage = new Nomad.Inputs.QuoteSpecificationLimitRegionLimitStorageArgs
                    {
                        HostVolumesMb = 0,
                        VariablesMb = 0,
                    },
                },
            },
        },
        Description = "string",
        Name = "string",
    });
    
    example, err := nomad.NewQuoteSpecification(ctx, "quoteSpecificationResource", &nomad.QuoteSpecificationArgs{
    	Limits: nomad.QuoteSpecificationLimitArray{
    		&nomad.QuoteSpecificationLimitArgs{
    			Region: pulumi.String("string"),
    			RegionLimit: &nomad.QuoteSpecificationLimitRegionLimitArgs{
    				Cores: pulumi.Int(0),
    				Cpu:   pulumi.Int(0),
    				Devices: nomad.QuoteSpecificationLimitRegionLimitDeviceArray{
    					&nomad.QuoteSpecificationLimitRegionLimitDeviceArgs{
    						Name:  pulumi.String("string"),
    						Count: pulumi.Int(0),
    					},
    				},
    				MemoryMaxMb: pulumi.Int(0),
    				MemoryMb:    pulumi.Int(0),
    				NodePools: nomad.QuoteSpecificationLimitRegionLimitNodePoolArray{
    					&nomad.QuoteSpecificationLimitRegionLimitNodePoolArgs{
    						NodePool: pulumi.String("string"),
    						Cores:    pulumi.Int(0),
    						Cpu:      pulumi.Int(0),
    						Devices: nomad.QuoteSpecificationLimitRegionLimitNodePoolDeviceArray{
    							&nomad.QuoteSpecificationLimitRegionLimitNodePoolDeviceArgs{
    								Name:  pulumi.String("string"),
    								Count: pulumi.Int(0),
    							},
    						},
    						MemoryMaxMb: pulumi.Int(0),
    						MemoryMb:    pulumi.Int(0),
    						Storage: &nomad.QuoteSpecificationLimitRegionLimitNodePoolStorageArgs{
    							HostVolumesMb: pulumi.Int(0),
    							VariablesMb:   pulumi.Int(0),
    						},
    					},
    				},
    				Storage: &nomad.QuoteSpecificationLimitRegionLimitStorageArgs{
    					HostVolumesMb: pulumi.Int(0),
    					VariablesMb:   pulumi.Int(0),
    				},
    			},
    		},
    	},
    	Description: pulumi.String("string"),
    	Name:        pulumi.String("string"),
    })
    
    var quoteSpecificationResource = new QuoteSpecification("quoteSpecificationResource", QuoteSpecificationArgs.builder()
        .limits(QuoteSpecificationLimitArgs.builder()
            .region("string")
            .regionLimit(QuoteSpecificationLimitRegionLimitArgs.builder()
                .cores(0)
                .cpu(0)
                .devices(QuoteSpecificationLimitRegionLimitDeviceArgs.builder()
                    .name("string")
                    .count(0)
                    .build())
                .memoryMaxMb(0)
                .memoryMb(0)
                .nodePools(QuoteSpecificationLimitRegionLimitNodePoolArgs.builder()
                    .nodePool("string")
                    .cores(0)
                    .cpu(0)
                    .devices(QuoteSpecificationLimitRegionLimitNodePoolDeviceArgs.builder()
                        .name("string")
                        .count(0)
                        .build())
                    .memoryMaxMb(0)
                    .memoryMb(0)
                    .storage(QuoteSpecificationLimitRegionLimitNodePoolStorageArgs.builder()
                        .hostVolumesMb(0)
                        .variablesMb(0)
                        .build())
                    .build())
                .storage(QuoteSpecificationLimitRegionLimitStorageArgs.builder()
                    .hostVolumesMb(0)
                    .variablesMb(0)
                    .build())
                .build())
            .build())
        .description("string")
        .name("string")
        .build());
    
    quote_specification_resource = nomad.QuoteSpecification("quoteSpecificationResource",
        limits=[{
            "region": "string",
            "region_limit": {
                "cores": 0,
                "cpu": 0,
                "devices": [{
                    "name": "string",
                    "count": 0,
                }],
                "memory_max_mb": 0,
                "memory_mb": 0,
                "node_pools": [{
                    "node_pool": "string",
                    "cores": 0,
                    "cpu": 0,
                    "devices": [{
                        "name": "string",
                        "count": 0,
                    }],
                    "memory_max_mb": 0,
                    "memory_mb": 0,
                    "storage": {
                        "host_volumes_mb": 0,
                        "variables_mb": 0,
                    },
                }],
                "storage": {
                    "host_volumes_mb": 0,
                    "variables_mb": 0,
                },
            },
        }],
        description="string",
        name="string")
    
    const quoteSpecificationResource = new nomad.QuoteSpecification("quoteSpecificationResource", {
        limits: [{
            region: "string",
            regionLimit: {
                cores: 0,
                cpu: 0,
                devices: [{
                    name: "string",
                    count: 0,
                }],
                memoryMaxMb: 0,
                memoryMb: 0,
                nodePools: [{
                    nodePool: "string",
                    cores: 0,
                    cpu: 0,
                    devices: [{
                        name: "string",
                        count: 0,
                    }],
                    memoryMaxMb: 0,
                    memoryMb: 0,
                    storage: {
                        hostVolumesMb: 0,
                        variablesMb: 0,
                    },
                }],
                storage: {
                    hostVolumesMb: 0,
                    variablesMb: 0,
                },
            },
        }],
        description: "string",
        name: "string",
    });
    
    type: nomad:QuoteSpecification
    properties:
        description: string
        limits:
            - region: string
              regionLimit:
                cores: 0
                cpu: 0
                devices:
                    - count: 0
                      name: string
                memoryMaxMb: 0
                memoryMb: 0
                nodePools:
                    - cores: 0
                      cpu: 0
                      devices:
                        - count: 0
                          name: string
                      memoryMaxMb: 0
                      memoryMb: 0
                      nodePool: string
                      storage:
                        hostVolumesMb: 0
                        variablesMb: 0
                storage:
                    hostVolumesMb: 0
                    variablesMb: 0
        name: string
    

    QuoteSpecification Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The QuoteSpecification resource accepts the following input properties:

    Limits List<QuoteSpecificationLimit>
    Limits encapsulated by this quota specification.
    Description string
    (string: "") - A description of the quota specification.

    • limits (block: <required>) - A block of quota limits to enforce. Can be repeated. See below for the structure of this block.
    Name string
    (string: <required>) - A unique name for the quota specification.
    Limits []QuoteSpecificationLimitArgs
    Limits encapsulated by this quota specification.
    Description string
    (string: "") - A description of the quota specification.

    • limits (block: <required>) - A block of quota limits to enforce. Can be repeated. See below for the structure of this block.
    Name string
    (string: <required>) - A unique name for the quota specification.
    limits List<QuoteSpecificationLimit>
    Limits encapsulated by this quota specification.
    description String
    (string: "") - A description of the quota specification.

    • limits (block: <required>) - A block of quota limits to enforce. Can be repeated. See below for the structure of this block.
    name String
    (string: <required>) - A unique name for the quota specification.
    limits QuoteSpecificationLimit[]
    Limits encapsulated by this quota specification.
    description string
    (string: "") - A description of the quota specification.

    • limits (block: <required>) - A block of quota limits to enforce. Can be repeated. See below for the structure of this block.
    name string
    (string: <required>) - A unique name for the quota specification.
    limits Sequence[QuoteSpecificationLimitArgs]
    Limits encapsulated by this quota specification.
    description str
    (string: "") - A description of the quota specification.

    • limits (block: <required>) - A block of quota limits to enforce. Can be repeated. See below for the structure of this block.
    name str
    (string: <required>) - A unique name for the quota specification.
    limits List<Property Map>
    Limits encapsulated by this quota specification.
    description String
    (string: "") - A description of the quota specification.

    • limits (block: <required>) - A block of quota limits to enforce. Can be repeated. See below for the structure of this block.
    name String
    (string: <required>) - A unique name for the quota specification.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the QuoteSpecification resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing QuoteSpecification Resource

    Get an existing QuoteSpecification resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: QuoteSpecificationState, opts?: CustomResourceOptions): QuoteSpecification
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            limits: Optional[Sequence[QuoteSpecificationLimitArgs]] = None,
            name: Optional[str] = None) -> QuoteSpecification
    func GetQuoteSpecification(ctx *Context, name string, id IDInput, state *QuoteSpecificationState, opts ...ResourceOption) (*QuoteSpecification, error)
    public static QuoteSpecification Get(string name, Input<string> id, QuoteSpecificationState? state, CustomResourceOptions? opts = null)
    public static QuoteSpecification get(String name, Output<String> id, QuoteSpecificationState state, CustomResourceOptions options)
    resources:  _:    type: nomad:QuoteSpecification    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Description string
    (string: "") - A description of the quota specification.

    • limits (block: <required>) - A block of quota limits to enforce. Can be repeated. See below for the structure of this block.
    Limits List<QuoteSpecificationLimit>
    Limits encapsulated by this quota specification.
    Name string
    (string: <required>) - A unique name for the quota specification.
    Description string
    (string: "") - A description of the quota specification.

    • limits (block: <required>) - A block of quota limits to enforce. Can be repeated. See below for the structure of this block.
    Limits []QuoteSpecificationLimitArgs
    Limits encapsulated by this quota specification.
    Name string
    (string: <required>) - A unique name for the quota specification.
    description String
    (string: "") - A description of the quota specification.

    • limits (block: <required>) - A block of quota limits to enforce. Can be repeated. See below for the structure of this block.
    limits List<QuoteSpecificationLimit>
    Limits encapsulated by this quota specification.
    name String
    (string: <required>) - A unique name for the quota specification.
    description string
    (string: "") - A description of the quota specification.

    • limits (block: <required>) - A block of quota limits to enforce. Can be repeated. See below for the structure of this block.
    limits QuoteSpecificationLimit[]
    Limits encapsulated by this quota specification.
    name string
    (string: <required>) - A unique name for the quota specification.
    description str
    (string: "") - A description of the quota specification.

    • limits (block: <required>) - A block of quota limits to enforce. Can be repeated. See below for the structure of this block.
    limits Sequence[QuoteSpecificationLimitArgs]
    Limits encapsulated by this quota specification.
    name str
    (string: <required>) - A unique name for the quota specification.
    description String
    (string: "") - A description of the quota specification.

    • limits (block: <required>) - A block of quota limits to enforce. Can be repeated. See below for the structure of this block.
    limits List<Property Map>
    Limits encapsulated by this quota specification.
    name String
    (string: <required>) - A unique name for the quota specification.

    Supporting Types

    QuoteSpecificationLimit, QuoteSpecificationLimitArgs

    Region string
    (string: <required>) - The region these limits should apply to.

    • regionLimit (block: <required>) - The limits to enforce. This block may only be specified once in the limits block. Its structure is documented below.
    RegionLimit QuoteSpecificationLimitRegionLimit
    The limit applied to this region.
    Region string
    (string: <required>) - The region these limits should apply to.

    • regionLimit (block: <required>) - The limits to enforce. This block may only be specified once in the limits block. Its structure is documented below.
    RegionLimit QuoteSpecificationLimitRegionLimit
    The limit applied to this region.
    region String
    (string: <required>) - The region these limits should apply to.

    • regionLimit (block: <required>) - The limits to enforce. This block may only be specified once in the limits block. Its structure is documented below.
    regionLimit QuoteSpecificationLimitRegionLimit
    The limit applied to this region.
    region string
    (string: <required>) - The region these limits should apply to.

    • regionLimit (block: <required>) - The limits to enforce. This block may only be specified once in the limits block. Its structure is documented below.
    regionLimit QuoteSpecificationLimitRegionLimit
    The limit applied to this region.
    region str
    (string: <required>) - The region these limits should apply to.

    • regionLimit (block: <required>) - The limits to enforce. This block may only be specified once in the limits block. Its structure is documented below.
    region_limit QuoteSpecificationLimitRegionLimit
    The limit applied to this region.
    region String
    (string: <required>) - The region these limits should apply to.

    • regionLimit (block: <required>) - The limits to enforce. This block may only be specified once in the limits block. Its structure is documented below.
    regionLimit Property Map
    The limit applied to this region.

    QuoteSpecificationLimitRegionLimit, QuoteSpecificationLimitRegionLimitArgs

    Cores int
    (int: 0) - The number of CPU cores to limit allocations to. A value of zero is treated as unlimited, and a negative value is treated as fully disallowed.
    Cpu int
    (int: 0) - The amount of CPU to limit allocations to. A value of zero is treated as unlimited, and a negative value is treated as fully disallowed.
    Devices List<QuoteSpecificationLimitRegionLimitDevice>
    MemoryMaxMb int
    (int: 0) - The maximum amount of memory (in megabytes) to limit allocations to. A value of zero is treated as unlimited, and a negative value is treated as fully disallowed.

    • devices (block: optional) - A list of device quotas to enforce. Can be repeated. See below for the structure of this block.
    • nodePools (block: optional) - Per-node-pool quota limits. Can be repeated. See below for the structure of this block.
    • storage (block: optional) - Storage resource quota configuration. May only be specified once. See below for the structure of this block.
    MemoryMb int
    (int: 0) - The amount of memory (in megabytes) to limit allocations to. A value of zero is treated as unlimited, and a negative value is treated as fully disallowed.
    NodePools List<QuoteSpecificationLimitRegionLimitNodePool>
    Storage QuoteSpecificationLimitRegionLimitStorage
    Cores int
    (int: 0) - The number of CPU cores to limit allocations to. A value of zero is treated as unlimited, and a negative value is treated as fully disallowed.
    Cpu int
    (int: 0) - The amount of CPU to limit allocations to. A value of zero is treated as unlimited, and a negative value is treated as fully disallowed.
    Devices []QuoteSpecificationLimitRegionLimitDevice
    MemoryMaxMb int
    (int: 0) - The maximum amount of memory (in megabytes) to limit allocations to. A value of zero is treated as unlimited, and a negative value is treated as fully disallowed.

    • devices (block: optional) - A list of device quotas to enforce. Can be repeated. See below for the structure of this block.
    • nodePools (block: optional) - Per-node-pool quota limits. Can be repeated. See below for the structure of this block.
    • storage (block: optional) - Storage resource quota configuration. May only be specified once. See below for the structure of this block.
    MemoryMb int
    (int: 0) - The amount of memory (in megabytes) to limit allocations to. A value of zero is treated as unlimited, and a negative value is treated as fully disallowed.
    NodePools []QuoteSpecificationLimitRegionLimitNodePool
    Storage QuoteSpecificationLimitRegionLimitStorage
    cores Integer
    (int: 0) - The number of CPU cores to limit allocations to. A value of zero is treated as unlimited, and a negative value is treated as fully disallowed.
    cpu Integer
    (int: 0) - The amount of CPU to limit allocations to. A value of zero is treated as unlimited, and a negative value is treated as fully disallowed.
    devices List<QuoteSpecificationLimitRegionLimitDevice>
    memoryMaxMb Integer
    (int: 0) - The maximum amount of memory (in megabytes) to limit allocations to. A value of zero is treated as unlimited, and a negative value is treated as fully disallowed.

    • devices (block: optional) - A list of device quotas to enforce. Can be repeated. See below for the structure of this block.
    • nodePools (block: optional) - Per-node-pool quota limits. Can be repeated. See below for the structure of this block.
    • storage (block: optional) - Storage resource quota configuration. May only be specified once. See below for the structure of this block.
    memoryMb Integer
    (int: 0) - The amount of memory (in megabytes) to limit allocations to. A value of zero is treated as unlimited, and a negative value is treated as fully disallowed.
    nodePools List<QuoteSpecificationLimitRegionLimitNodePool>
    storage QuoteSpecificationLimitRegionLimitStorage
    cores number
    (int: 0) - The number of CPU cores to limit allocations to. A value of zero is treated as unlimited, and a negative value is treated as fully disallowed.
    cpu number
    (int: 0) - The amount of CPU to limit allocations to. A value of zero is treated as unlimited, and a negative value is treated as fully disallowed.
    devices QuoteSpecificationLimitRegionLimitDevice[]
    memoryMaxMb number
    (int: 0) - The maximum amount of memory (in megabytes) to limit allocations to. A value of zero is treated as unlimited, and a negative value is treated as fully disallowed.

    • devices (block: optional) - A list of device quotas to enforce. Can be repeated. See below for the structure of this block.
    • nodePools (block: optional) - Per-node-pool quota limits. Can be repeated. See below for the structure of this block.
    • storage (block: optional) - Storage resource quota configuration. May only be specified once. See below for the structure of this block.
    memoryMb number
    (int: 0) - The amount of memory (in megabytes) to limit allocations to. A value of zero is treated as unlimited, and a negative value is treated as fully disallowed.
    nodePools QuoteSpecificationLimitRegionLimitNodePool[]
    storage QuoteSpecificationLimitRegionLimitStorage
    cores int
    (int: 0) - The number of CPU cores to limit allocations to. A value of zero is treated as unlimited, and a negative value is treated as fully disallowed.
    cpu int
    (int: 0) - The amount of CPU to limit allocations to. A value of zero is treated as unlimited, and a negative value is treated as fully disallowed.
    devices Sequence[QuoteSpecificationLimitRegionLimitDevice]
    memory_max_mb int
    (int: 0) - The maximum amount of memory (in megabytes) to limit allocations to. A value of zero is treated as unlimited, and a negative value is treated as fully disallowed.

    • devices (block: optional) - A list of device quotas to enforce. Can be repeated. See below for the structure of this block.
    • nodePools (block: optional) - Per-node-pool quota limits. Can be repeated. See below for the structure of this block.
    • storage (block: optional) - Storage resource quota configuration. May only be specified once. See below for the structure of this block.
    memory_mb int
    (int: 0) - The amount of memory (in megabytes) to limit allocations to. A value of zero is treated as unlimited, and a negative value is treated as fully disallowed.
    node_pools Sequence[QuoteSpecificationLimitRegionLimitNodePool]
    storage QuoteSpecificationLimitRegionLimitStorage
    cores Number
    (int: 0) - The number of CPU cores to limit allocations to. A value of zero is treated as unlimited, and a negative value is treated as fully disallowed.
    cpu Number
    (int: 0) - The amount of CPU to limit allocations to. A value of zero is treated as unlimited, and a negative value is treated as fully disallowed.
    devices List<Property Map>
    memoryMaxMb Number
    (int: 0) - The maximum amount of memory (in megabytes) to limit allocations to. A value of zero is treated as unlimited, and a negative value is treated as fully disallowed.

    • devices (block: optional) - A list of device quotas to enforce. Can be repeated. See below for the structure of this block.
    • nodePools (block: optional) - Per-node-pool quota limits. Can be repeated. See below for the structure of this block.
    • storage (block: optional) - Storage resource quota configuration. May only be specified once. See below for the structure of this block.
    memoryMb Number
    (int: 0) - The amount of memory (in megabytes) to limit allocations to. A value of zero is treated as unlimited, and a negative value is treated as fully disallowed.
    nodePools List<Property Map>
    storage Property Map

    QuoteSpecificationLimitRegionLimitDevice, QuoteSpecificationLimitRegionLimitDeviceArgs

    Name string
    (string: <required>) - The name of the device, e.g. "nvidia/gpu".
    Count int
    (int: 0) - The number of device instances to limit allocations to.
    Name string
    (string: <required>) - The name of the device, e.g. "nvidia/gpu".
    Count int
    (int: 0) - The number of device instances to limit allocations to.
    name String
    (string: <required>) - The name of the device, e.g. "nvidia/gpu".
    count Integer
    (int: 0) - The number of device instances to limit allocations to.
    name string
    (string: <required>) - The name of the device, e.g. "nvidia/gpu".
    count number
    (int: 0) - The number of device instances to limit allocations to.
    name str
    (string: <required>) - The name of the device, e.g. "nvidia/gpu".
    count int
    (int: 0) - The number of device instances to limit allocations to.
    name String
    (string: <required>) - The name of the device, e.g. "nvidia/gpu".
    count Number
    (int: 0) - The number of device instances to limit allocations to.

    QuoteSpecificationLimitRegionLimitNodePool, QuoteSpecificationLimitRegionLimitNodePoolArgs

    NodePool string
    (string: <required>) - The node pool name to apply limits to.
    Cores int
    (int: 0) - The number of CPU cores to limit allocations to. A value of zero is treated as unlimited, and a negative value is treated as fully disallowed.
    Cpu int
    (int: 0) - The amount of CPU to limit allocations to. A value of zero is treated as unlimited, and a negative value is treated as fully disallowed.
    Devices List<QuoteSpecificationLimitRegionLimitNodePoolDevice>
    MemoryMaxMb int
    (int: 0) - The maximum amount of memory (in megabytes) to limit allocations to. A value of zero is treated as unlimited, and a negative value is treated as fully disallowed.

    • devices (block: optional) - A list of device quotas to enforce for the node pool. Can be repeated.
    • storage (block: optional) - Storage resource quota configuration for the node pool. May only be specified once.
    MemoryMb int
    (int: 0) - The amount of memory (in megabytes) to limit allocations to. A value of zero is treated as unlimited, and a negative value is treated as fully disallowed.
    Storage QuoteSpecificationLimitRegionLimitNodePoolStorage
    NodePool string
    (string: <required>) - The node pool name to apply limits to.
    Cores int
    (int: 0) - The number of CPU cores to limit allocations to. A value of zero is treated as unlimited, and a negative value is treated as fully disallowed.
    Cpu int
    (int: 0) - The amount of CPU to limit allocations to. A value of zero is treated as unlimited, and a negative value is treated as fully disallowed.
    Devices []QuoteSpecificationLimitRegionLimitNodePoolDevice
    MemoryMaxMb int
    (int: 0) - The maximum amount of memory (in megabytes) to limit allocations to. A value of zero is treated as unlimited, and a negative value is treated as fully disallowed.

    • devices (block: optional) - A list of device quotas to enforce for the node pool. Can be repeated.
    • storage (block: optional) - Storage resource quota configuration for the node pool. May only be specified once.
    MemoryMb int
    (int: 0) - The amount of memory (in megabytes) to limit allocations to. A value of zero is treated as unlimited, and a negative value is treated as fully disallowed.
    Storage QuoteSpecificationLimitRegionLimitNodePoolStorage
    nodePool String
    (string: <required>) - The node pool name to apply limits to.
    cores Integer
    (int: 0) - The number of CPU cores to limit allocations to. A value of zero is treated as unlimited, and a negative value is treated as fully disallowed.
    cpu Integer
    (int: 0) - The amount of CPU to limit allocations to. A value of zero is treated as unlimited, and a negative value is treated as fully disallowed.
    devices List<QuoteSpecificationLimitRegionLimitNodePoolDevice>
    memoryMaxMb Integer
    (int: 0) - The maximum amount of memory (in megabytes) to limit allocations to. A value of zero is treated as unlimited, and a negative value is treated as fully disallowed.

    • devices (block: optional) - A list of device quotas to enforce for the node pool. Can be repeated.
    • storage (block: optional) - Storage resource quota configuration for the node pool. May only be specified once.
    memoryMb Integer
    (int: 0) - The amount of memory (in megabytes) to limit allocations to. A value of zero is treated as unlimited, and a negative value is treated as fully disallowed.
    storage QuoteSpecificationLimitRegionLimitNodePoolStorage
    nodePool string
    (string: <required>) - The node pool name to apply limits to.
    cores number
    (int: 0) - The number of CPU cores to limit allocations to. A value of zero is treated as unlimited, and a negative value is treated as fully disallowed.
    cpu number
    (int: 0) - The amount of CPU to limit allocations to. A value of zero is treated as unlimited, and a negative value is treated as fully disallowed.
    devices QuoteSpecificationLimitRegionLimitNodePoolDevice[]
    memoryMaxMb number
    (int: 0) - The maximum amount of memory (in megabytes) to limit allocations to. A value of zero is treated as unlimited, and a negative value is treated as fully disallowed.

    • devices (block: optional) - A list of device quotas to enforce for the node pool. Can be repeated.
    • storage (block: optional) - Storage resource quota configuration for the node pool. May only be specified once.
    memoryMb number
    (int: 0) - The amount of memory (in megabytes) to limit allocations to. A value of zero is treated as unlimited, and a negative value is treated as fully disallowed.
    storage QuoteSpecificationLimitRegionLimitNodePoolStorage
    node_pool str
    (string: <required>) - The node pool name to apply limits to.
    cores int
    (int: 0) - The number of CPU cores to limit allocations to. A value of zero is treated as unlimited, and a negative value is treated as fully disallowed.
    cpu int
    (int: 0) - The amount of CPU to limit allocations to. A value of zero is treated as unlimited, and a negative value is treated as fully disallowed.
    devices Sequence[QuoteSpecificationLimitRegionLimitNodePoolDevice]
    memory_max_mb int
    (int: 0) - The maximum amount of memory (in megabytes) to limit allocations to. A value of zero is treated as unlimited, and a negative value is treated as fully disallowed.

    • devices (block: optional) - A list of device quotas to enforce for the node pool. Can be repeated.
    • storage (block: optional) - Storage resource quota configuration for the node pool. May only be specified once.
    memory_mb int
    (int: 0) - The amount of memory (in megabytes) to limit allocations to. A value of zero is treated as unlimited, and a negative value is treated as fully disallowed.
    storage QuoteSpecificationLimitRegionLimitNodePoolStorage
    nodePool String
    (string: <required>) - The node pool name to apply limits to.
    cores Number
    (int: 0) - The number of CPU cores to limit allocations to. A value of zero is treated as unlimited, and a negative value is treated as fully disallowed.
    cpu Number
    (int: 0) - The amount of CPU to limit allocations to. A value of zero is treated as unlimited, and a negative value is treated as fully disallowed.
    devices List<Property Map>
    memoryMaxMb Number
    (int: 0) - The maximum amount of memory (in megabytes) to limit allocations to. A value of zero is treated as unlimited, and a negative value is treated as fully disallowed.

    • devices (block: optional) - A list of device quotas to enforce for the node pool. Can be repeated.
    • storage (block: optional) - Storage resource quota configuration for the node pool. May only be specified once.
    memoryMb Number
    (int: 0) - The amount of memory (in megabytes) to limit allocations to. A value of zero is treated as unlimited, and a negative value is treated as fully disallowed.
    storage Property Map

    QuoteSpecificationLimitRegionLimitNodePoolDevice, QuoteSpecificationLimitRegionLimitNodePoolDeviceArgs

    Name string
    (string: <required>) - The name of the device, e.g. "nvidia/gpu".
    Count int
    (int: 0) - The number of device instances to limit allocations to.
    Name string
    (string: <required>) - The name of the device, e.g. "nvidia/gpu".
    Count int
    (int: 0) - The number of device instances to limit allocations to.
    name String
    (string: <required>) - The name of the device, e.g. "nvidia/gpu".
    count Integer
    (int: 0) - The number of device instances to limit allocations to.
    name string
    (string: <required>) - The name of the device, e.g. "nvidia/gpu".
    count number
    (int: 0) - The number of device instances to limit allocations to.
    name str
    (string: <required>) - The name of the device, e.g. "nvidia/gpu".
    count int
    (int: 0) - The number of device instances to limit allocations to.
    name String
    (string: <required>) - The name of the device, e.g. "nvidia/gpu".
    count Number
    (int: 0) - The number of device instances to limit allocations to.

    QuoteSpecificationLimitRegionLimitNodePoolStorage, QuoteSpecificationLimitRegionLimitNodePoolStorageArgs

    HostVolumesMb int
    (int: 0) - The amount of storage (in megabytes) to limit host volumes to.
    VariablesMb int
    (int: 0) - The amount of storage (in megabytes) to limit Nomad variables to.
    HostVolumesMb int
    (int: 0) - The amount of storage (in megabytes) to limit host volumes to.
    VariablesMb int
    (int: 0) - The amount of storage (in megabytes) to limit Nomad variables to.
    hostVolumesMb Integer
    (int: 0) - The amount of storage (in megabytes) to limit host volumes to.
    variablesMb Integer
    (int: 0) - The amount of storage (in megabytes) to limit Nomad variables to.
    hostVolumesMb number
    (int: 0) - The amount of storage (in megabytes) to limit host volumes to.
    variablesMb number
    (int: 0) - The amount of storage (in megabytes) to limit Nomad variables to.
    host_volumes_mb int
    (int: 0) - The amount of storage (in megabytes) to limit host volumes to.
    variables_mb int
    (int: 0) - The amount of storage (in megabytes) to limit Nomad variables to.
    hostVolumesMb Number
    (int: 0) - The amount of storage (in megabytes) to limit host volumes to.
    variablesMb Number
    (int: 0) - The amount of storage (in megabytes) to limit Nomad variables to.

    QuoteSpecificationLimitRegionLimitStorage, QuoteSpecificationLimitRegionLimitStorageArgs

    HostVolumesMb int
    (int: 0) - The amount of storage (in megabytes) to limit host volumes to.
    VariablesMb int
    (int: 0) - The amount of storage (in megabytes) to limit Nomad variables to.
    HostVolumesMb int
    (int: 0) - The amount of storage (in megabytes) to limit host volumes to.
    VariablesMb int
    (int: 0) - The amount of storage (in megabytes) to limit Nomad variables to.
    hostVolumesMb Integer
    (int: 0) - The amount of storage (in megabytes) to limit host volumes to.
    variablesMb Integer
    (int: 0) - The amount of storage (in megabytes) to limit Nomad variables to.
    hostVolumesMb number
    (int: 0) - The amount of storage (in megabytes) to limit host volumes to.
    variablesMb number
    (int: 0) - The amount of storage (in megabytes) to limit Nomad variables to.
    host_volumes_mb int
    (int: 0) - The amount of storage (in megabytes) to limit host volumes to.
    variables_mb int
    (int: 0) - The amount of storage (in megabytes) to limit Nomad variables to.
    hostVolumesMb Number
    (int: 0) - The amount of storage (in megabytes) to limit host volumes to.
    variablesMb Number
    (int: 0) - The amount of storage (in megabytes) to limit Nomad variables to.

    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.