1. Registry
  2. Packages
  3. Netbox Provider
  4. API Docs
  5. getRackTypes
Viewing docs for netbox 6.0.0
published on Wednesday, Nov 4, 2026 by e-breuninger
netbox
Viewing docs for netbox 6.0.0
published on Wednesday, Nov 4, 2026 by e-breuninger

    Lists rack_type objects matching the given filters.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as netbox from "@pulumi/netbox";
    
    const test = netbox.getRackTypes({
        limit: 10,
    });
    
    import pulumi
    import pulumi_netbox as netbox
    
    test = netbox.get_rack_types(limit=10)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/netbox/v6/netbox"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := netbox.GetRackTypes(ctx, &netbox.GetRackTypesArgs{
    			Limit: pulumi.Float64Ref(10),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Netbox = Pulumi.Netbox;
    
    return await Deployment.RunAsync(() => 
    {
        var test = Netbox.GetRackTypes.Invoke(new()
        {
            Limit = 10,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.netbox.NetboxFunctions;
    import com.pulumi.netbox.inputs.GetRackTypesArgs;
    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 test = NetboxFunctions.getRackTypes(GetRackTypesArgs.builder()
                .limit(10)
                .build());
    
        }
    }
    
    variables:
      test:
        fn::invoke:
          function: netbox:getRackTypes
          arguments:
            limit: 10
    
    Example coming soon!
    

    Using getRackTypes

    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 getRackTypes(args: GetRackTypesArgs, opts?: InvokeOptions): Promise<GetRackTypesResult>
    function getRackTypesOutput(args: GetRackTypesOutputArgs, opts?: InvokeOutputOptions): Output<GetRackTypesResult>
    def get_rack_types(filters: Optional[Sequence[GetRackTypesFilter]] = None,
                       limit: Optional[float] = None,
                       opts: Optional[InvokeOptions] = None) -> GetRackTypesResult
    def get_rack_types_output(filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetRackTypesFilterArgs]]]] = None,
                       limit: pulumi.Input[Optional[float]] = None,
                       opts: Optional[InvokeOutputOptions] = None) -> Output[GetRackTypesResult]
    func GetRackTypes(ctx *Context, args *GetRackTypesArgs, opts ...InvokeOption) (*GetRackTypesResult, error)
    func GetRackTypesOutput(ctx *Context, args *GetRackTypesOutputArgs, opts ...InvokeOption) GetRackTypesResultOutput

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

    public static class GetRackTypes 
    {
        public static Task<GetRackTypesResult> InvokeAsync(GetRackTypesArgs args, InvokeOptions? opts = null)
        public static Output<GetRackTypesResult> Invoke(GetRackTypesInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetRackTypesResult> Invoke(GetRackTypesInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetRackTypesResult> getRackTypes(GetRackTypesArgs args, InvokeOptions options)
    public static Output<GetRackTypesResult> getRackTypes(GetRackTypesArgs args, InvokeOptions options)
    public static Output<GetRackTypesResult> getRackTypes(GetRackTypesArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: netbox:index/getRackTypes:getRackTypes
      arguments:
        # arguments dictionary
    data "netbox_get_rack_types" "name" {
        # arguments
    }

    The following arguments are supported:

    Filters List<GetRackTypesFilter>
    Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, manufacturerid, manufactureridn, model, modelempty, modelic, modelie, modeliew, modeliregex, modelisw, modeln, modelnic, modelnie, modelniew, modelnisw, modelregex, ownerid, owneridn, slug, slugempty, slugic, slugie, slugiew, slugiregex, slugisw, slugn, slugnic, slugnie, slugniew, slugnisw, slugregex, tag, tagany, tagn. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf*tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
    Limit double
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    Filters []GetRackTypesFilter
    Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, manufacturerid, manufactureridn, model, modelempty, modelic, modelie, modeliew, modeliregex, modelisw, modeln, modelnic, modelnie, modelniew, modelnisw, modelregex, ownerid, owneridn, slug, slugempty, slugic, slugie, slugiew, slugiregex, slugisw, slugn, slugnic, slugnie, slugniew, slugnisw, slugregex, tag, tagany, tagn. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf*tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
    Limit float64
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    filters list(object)
    Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, manufacturerid, manufactureridn, model, modelempty, modelic, modelie, modeliew, modeliregex, modelisw, modeln, modelnic, modelnie, modelniew, modelnisw, modelregex, ownerid, owneridn, slug, slugempty, slugic, slugie, slugiew, slugiregex, slugisw, slugn, slugnic, slugnie, slugniew, slugnisw, slugregex, tag, tagany, tagn. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf*tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
    limit number
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    filters List<GetRackTypesFilter>
    Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, manufacturerid, manufactureridn, model, modelempty, modelic, modelie, modeliew, modeliregex, modelisw, modeln, modelnic, modelnie, modelniew, modelnisw, modelregex, ownerid, owneridn, slug, slugempty, slugic, slugie, slugiew, slugiregex, slugisw, slugn, slugnic, slugnie, slugniew, slugnisw, slugregex, tag, tagany, tagn. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf*tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
    limit Double
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    filters GetRackTypesFilter[]
    Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, manufacturerid, manufactureridn, model, modelempty, modelic, modelie, modeliew, modeliregex, modelisw, modeln, modelnic, modelnie, modelniew, modelnisw, modelregex, ownerid, owneridn, slug, slugempty, slugic, slugie, slugiew, slugiregex, slugisw, slugn, slugnic, slugnie, slugniew, slugnisw, slugregex, tag, tagany, tagn. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf*tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
    limit number
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    filters Sequence[GetRackTypesFilter]
    Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, manufacturerid, manufactureridn, model, modelempty, modelic, modelie, modeliew, modeliregex, modelisw, modeln, modelnic, modelnie, modelniew, modelnisw, modelregex, ownerid, owneridn, slug, slugempty, slugic, slugie, slugiew, slugiregex, slugisw, slugn, slugnic, slugnie, slugniew, slugnisw, slugregex, tag, tagany, tagn. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf*tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
    limit float
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    filters List<Property Map>
    Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, manufacturerid, manufactureridn, model, modelempty, modelic, modelie, modeliew, modeliregex, modelisw, modeln, modelnic, modelnie, modelniew, modelnisw, modelregex, ownerid, owneridn, slug, slugempty, slugic, slugie, slugiew, slugiregex, slugisw, slugn, slugnic, slugnie, slugniew, slugnisw, slugregex, tag, tagany, tagn. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf*tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
    limit Number
    The maximum number of objects to return from the API lookup. Defaults to 1000.

    getRackTypes Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    RackTypes List<GetRackTypesRackType>
    The matching rack*types.
    Filters List<GetRackTypesFilter>
    Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, manufacturerid, manufactureridn, model, modelempty, modelic, modelie, modeliew, modeliregex, modelisw, modeln, modelnic, modelnie, modelniew, modelnisw, modelregex, ownerid, owneridn, slug, slugempty, slugic, slugie, slugiew, slugiregex, slugisw, slugn, slugnic, slugnie, slugniew, slugnisw, slugregex, tag, tagany, tagn. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf*tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
    Limit double
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    Id string
    The provider-assigned unique ID for this managed resource.
    RackTypes []GetRackTypesRackType
    The matching rack*types.
    Filters []GetRackTypesFilter
    Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, manufacturerid, manufactureridn, model, modelempty, modelic, modelie, modeliew, modeliregex, modelisw, modeln, modelnic, modelnie, modelniew, modelnisw, modelregex, ownerid, owneridn, slug, slugempty, slugic, slugie, slugiew, slugiregex, slugisw, slugn, slugnic, slugnie, slugniew, slugnisw, slugregex, tag, tagany, tagn. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf*tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
    Limit float64
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    id string
    The provider-assigned unique ID for this managed resource.
    rack_types list(object)
    The matching rack*types.
    filters list(object)
    Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, manufacturerid, manufactureridn, model, modelempty, modelic, modelie, modeliew, modeliregex, modelisw, modeln, modelnic, modelnie, modelniew, modelnisw, modelregex, ownerid, owneridn, slug, slugempty, slugic, slugie, slugiew, slugiregex, slugisw, slugn, slugnic, slugnie, slugniew, slugnisw, slugregex, tag, tagany, tagn. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf*tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
    limit number
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    id String
    The provider-assigned unique ID for this managed resource.
    rackTypes List<GetRackTypesRackType>
    The matching rack*types.
    filters List<GetRackTypesFilter>
    Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, manufacturerid, manufactureridn, model, modelempty, modelic, modelie, modeliew, modeliregex, modelisw, modeln, modelnic, modelnie, modelniew, modelnisw, modelregex, ownerid, owneridn, slug, slugempty, slugic, slugie, slugiew, slugiregex, slugisw, slugn, slugnic, slugnie, slugniew, slugnisw, slugregex, tag, tagany, tagn. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf*tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
    limit Double
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    id string
    The provider-assigned unique ID for this managed resource.
    rackTypes GetRackTypesRackType[]
    The matching rack*types.
    filters GetRackTypesFilter[]
    Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, manufacturerid, manufactureridn, model, modelempty, modelic, modelie, modeliew, modeliregex, modelisw, modeln, modelnic, modelnie, modelniew, modelnisw, modelregex, ownerid, owneridn, slug, slugempty, slugic, slugie, slugiew, slugiregex, slugisw, slugn, slugnic, slugnie, slugniew, slugnisw, slugregex, tag, tagany, tagn. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf*tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
    limit number
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    id str
    The provider-assigned unique ID for this managed resource.
    rack_types Sequence[GetRackTypesRackType]
    The matching rack*types.
    filters Sequence[GetRackTypesFilter]
    Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, manufacturerid, manufactureridn, model, modelempty, modelic, modelie, modeliew, modeliregex, modelisw, modeln, modelnic, modelnie, modelniew, modelnisw, modelregex, ownerid, owneridn, slug, slugempty, slugic, slugie, slugiew, slugiregex, slugisw, slugn, slugnic, slugnie, slugniew, slugnisw, slugregex, tag, tagany, tagn. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf*tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
    limit float
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    id String
    The provider-assigned unique ID for this managed resource.
    rackTypes List<Property Map>
    The matching rack*types.
    filters List<Property Map>
    Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, manufacturerid, manufactureridn, model, modelempty, modelic, modelie, modeliew, modeliregex, modelisw, modeln, modelnic, modelnie, modelniew, modelnisw, modelregex, ownerid, owneridn, slug, slugempty, slugic, slugie, slugiew, slugiregex, slugisw, slugn, slugnic, slugnie, slugniew, slugnisw, slugregex, tag, tagany, tagn. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf*tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
    limit Number
    The maximum number of objects to return from the API lookup. Defaults to 1000.

    Supporting Types

    GetRackTypesFilter

    Name string
    Name of the query filter (the API list parameter).
    Value string
    Value to filter by.
    Name string
    Name of the query filter (the API list parameter).
    Value string
    Value to filter by.
    name string
    Name of the query filter (the API list parameter).
    value string
    Value to filter by.
    name String
    Name of the query filter (the API list parameter).
    value String
    Value to filter by.
    name string
    Name of the query filter (the API list parameter).
    value string
    Value to filter by.
    name str
    Name of the query filter (the API list parameter).
    value str
    Value to filter by.
    name String
    Name of the query filter (the API list parameter).
    value String
    Value to filter by.

    GetRackTypesRackType

    Comments string
    Created string
    CustomFields Dictionary<string, string>
    Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
    DescUnits bool
    Units are numbered top-to-bottom.
    Description string
    FormFactor string
    Rack form factor. One of: 2-post-frame, 4-post-frame, 4-post-cabinet, wall-frame, wall-frame-vertical, wall-cabinet, wall-cabinet-vertical.
    Id double
    NetBox id.
    LastUpdated string
    ManufacturerId double
    Id of the manufacturer.
    MaxWeight double
    Maximum load capacity (requires weight_unit). Must be a whole number.
    Model string
    MountingDepth double
    Maximum depth of a mounted device, in millimetres. Must be a whole number.
    MountingDepthMm double
    Deprecated alias of mounting_depth.

    Deprecated: Deprecated

    OuterDepth double
    Outer depth (requires outer_unit). Must be a whole number.
    OuterHeight double
    Outer height (requires outer_unit). Must be a whole number.
    OuterUnit string
    Unit of the outer dimensions. One of: mm, in.
    OuterWidth double
    Outer width (requires outer_unit). Must be a whole number.
    OwnerId double
    Id of the owner the object is assigned to.
    RackCount double
    Number of racks of the rack type.
    Slug string
    URL-friendly unique shorthand; derived from model when not set.
    StartingUnit double
    Lowest unit number. Must be a whole number.
    Tags List<string>
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    TagsAlls List<string>
    Slugs of all tags on the object, including the provider's default_tags.
    UHeight double
    Height in rack units. Must be a whole number.
    Url string
    Weight double
    Weight of the rack (requires weight_unit).
    WeightUnit string
    Unit of weight and max_weight. One of: kg, g, lb, oz.
    Width double
    Rail-to-rail width in inches. One of: 10, 19, 21, 23.
    Comments string
    Created string
    CustomFields map[string]string
    Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
    DescUnits bool
    Units are numbered top-to-bottom.
    Description string
    FormFactor string
    Rack form factor. One of: 2-post-frame, 4-post-frame, 4-post-cabinet, wall-frame, wall-frame-vertical, wall-cabinet, wall-cabinet-vertical.
    Id float64
    NetBox id.
    LastUpdated string
    ManufacturerId float64
    Id of the manufacturer.
    MaxWeight float64
    Maximum load capacity (requires weight_unit). Must be a whole number.
    Model string
    MountingDepth float64
    Maximum depth of a mounted device, in millimetres. Must be a whole number.
    MountingDepthMm float64
    Deprecated alias of mounting_depth.

    Deprecated: Deprecated

    OuterDepth float64
    Outer depth (requires outer_unit). Must be a whole number.
    OuterHeight float64
    Outer height (requires outer_unit). Must be a whole number.
    OuterUnit string
    Unit of the outer dimensions. One of: mm, in.
    OuterWidth float64
    Outer width (requires outer_unit). Must be a whole number.
    OwnerId float64
    Id of the owner the object is assigned to.
    RackCount float64
    Number of racks of the rack type.
    Slug string
    URL-friendly unique shorthand; derived from model when not set.
    StartingUnit float64
    Lowest unit number. Must be a whole number.
    Tags []string
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    TagsAlls []string
    Slugs of all tags on the object, including the provider's default_tags.
    UHeight float64
    Height in rack units. Must be a whole number.
    Url string
    Weight float64
    Weight of the rack (requires weight_unit).
    WeightUnit string
    Unit of weight and max_weight. One of: kg, g, lb, oz.
    Width float64
    Rail-to-rail width in inches. One of: 10, 19, 21, 23.
    comments string
    created string
    custom_fields map(string)
    Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
    desc_units bool
    Units are numbered top-to-bottom.
    description string
    form_factor string
    Rack form factor. One of: 2-post-frame, 4-post-frame, 4-post-cabinet, wall-frame, wall-frame-vertical, wall-cabinet, wall-cabinet-vertical.
    id number
    NetBox id.
    last_updated string
    manufacturer_id number
    Id of the manufacturer.
    max_weight number
    Maximum load capacity (requires weight_unit). Must be a whole number.
    model string
    mounting_depth number
    Maximum depth of a mounted device, in millimetres. Must be a whole number.
    mounting_depth_mm number
    Deprecated alias of mounting_depth.

    Deprecated: Deprecated

    outer_depth number
    Outer depth (requires outer_unit). Must be a whole number.
    outer_height number
    Outer height (requires outer_unit). Must be a whole number.
    outer_unit string
    Unit of the outer dimensions. One of: mm, in.
    outer_width number
    Outer width (requires outer_unit). Must be a whole number.
    owner_id number
    Id of the owner the object is assigned to.
    rack_count number
    Number of racks of the rack type.
    slug string
    URL-friendly unique shorthand; derived from model when not set.
    starting_unit number
    Lowest unit number. Must be a whole number.
    tags list(string)
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    tags_alls list(string)
    Slugs of all tags on the object, including the provider's default_tags.
    u_height number
    Height in rack units. Must be a whole number.
    url string
    weight number
    Weight of the rack (requires weight_unit).
    weight_unit string
    Unit of weight and max_weight. One of: kg, g, lb, oz.
    width number
    Rail-to-rail width in inches. One of: 10, 19, 21, 23.
    comments String
    created String
    customFields Map<String,String>
    Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
    descUnits Boolean
    Units are numbered top-to-bottom.
    description String
    formFactor String
    Rack form factor. One of: 2-post-frame, 4-post-frame, 4-post-cabinet, wall-frame, wall-frame-vertical, wall-cabinet, wall-cabinet-vertical.
    id Double
    NetBox id.
    lastUpdated String
    manufacturerId Double
    Id of the manufacturer.
    maxWeight Double
    Maximum load capacity (requires weight_unit). Must be a whole number.
    model String
    mountingDepth Double
    Maximum depth of a mounted device, in millimetres. Must be a whole number.
    mountingDepthMm Double
    Deprecated alias of mounting_depth.

    Deprecated: Deprecated

    outerDepth Double
    Outer depth (requires outer_unit). Must be a whole number.
    outerHeight Double
    Outer height (requires outer_unit). Must be a whole number.
    outerUnit String
    Unit of the outer dimensions. One of: mm, in.
    outerWidth Double
    Outer width (requires outer_unit). Must be a whole number.
    ownerId Double
    Id of the owner the object is assigned to.
    rackCount Double
    Number of racks of the rack type.
    slug String
    URL-friendly unique shorthand; derived from model when not set.
    startingUnit Double
    Lowest unit number. Must be a whole number.
    tags List<String>
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    tagsAlls List<String>
    Slugs of all tags on the object, including the provider's default_tags.
    uHeight Double
    Height in rack units. Must be a whole number.
    url String
    weight Double
    Weight of the rack (requires weight_unit).
    weightUnit String
    Unit of weight and max_weight. One of: kg, g, lb, oz.
    width Double
    Rail-to-rail width in inches. One of: 10, 19, 21, 23.
    comments string
    created string
    customFields {[key: string]: string}
    Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
    descUnits boolean
    Units are numbered top-to-bottom.
    description string
    formFactor string
    Rack form factor. One of: 2-post-frame, 4-post-frame, 4-post-cabinet, wall-frame, wall-frame-vertical, wall-cabinet, wall-cabinet-vertical.
    id number
    NetBox id.
    lastUpdated string
    manufacturerId number
    Id of the manufacturer.
    maxWeight number
    Maximum load capacity (requires weight_unit). Must be a whole number.
    model string
    mountingDepth number
    Maximum depth of a mounted device, in millimetres. Must be a whole number.
    mountingDepthMm number
    Deprecated alias of mounting_depth.

    Deprecated: Deprecated

    outerDepth number
    Outer depth (requires outer_unit). Must be a whole number.
    outerHeight number
    Outer height (requires outer_unit). Must be a whole number.
    outerUnit string
    Unit of the outer dimensions. One of: mm, in.
    outerWidth number
    Outer width (requires outer_unit). Must be a whole number.
    ownerId number
    Id of the owner the object is assigned to.
    rackCount number
    Number of racks of the rack type.
    slug string
    URL-friendly unique shorthand; derived from model when not set.
    startingUnit number
    Lowest unit number. Must be a whole number.
    tags string[]
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    tagsAlls string[]
    Slugs of all tags on the object, including the provider's default_tags.
    uHeight number
    Height in rack units. Must be a whole number.
    url string
    weight number
    Weight of the rack (requires weight_unit).
    weightUnit string
    Unit of weight and max_weight. One of: kg, g, lb, oz.
    width number
    Rail-to-rail width in inches. One of: 10, 19, 21, 23.
    comments str
    created str
    custom_fields Mapping[str, str]
    Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
    desc_units bool
    Units are numbered top-to-bottom.
    description str
    form_factor str
    Rack form factor. One of: 2-post-frame, 4-post-frame, 4-post-cabinet, wall-frame, wall-frame-vertical, wall-cabinet, wall-cabinet-vertical.
    id float
    NetBox id.
    last_updated str
    manufacturer_id float
    Id of the manufacturer.
    max_weight float
    Maximum load capacity (requires weight_unit). Must be a whole number.
    model str
    mounting_depth float
    Maximum depth of a mounted device, in millimetres. Must be a whole number.
    mounting_depth_mm float
    Deprecated alias of mounting_depth.

    Deprecated: Deprecated

    outer_depth float
    Outer depth (requires outer_unit). Must be a whole number.
    outer_height float
    Outer height (requires outer_unit). Must be a whole number.
    outer_unit str
    Unit of the outer dimensions. One of: mm, in.
    outer_width float
    Outer width (requires outer_unit). Must be a whole number.
    owner_id float
    Id of the owner the object is assigned to.
    rack_count float
    Number of racks of the rack type.
    slug str
    URL-friendly unique shorthand; derived from model when not set.
    starting_unit float
    Lowest unit number. Must be a whole number.
    tags Sequence[str]
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    tags_alls Sequence[str]
    Slugs of all tags on the object, including the provider's default_tags.
    u_height float
    Height in rack units. Must be a whole number.
    url str
    weight float
    Weight of the rack (requires weight_unit).
    weight_unit str
    Unit of weight and max_weight. One of: kg, g, lb, oz.
    width float
    Rail-to-rail width in inches. One of: 10, 19, 21, 23.
    comments String
    created String
    customFields Map<String>
    Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
    descUnits Boolean
    Units are numbered top-to-bottom.
    description String
    formFactor String
    Rack form factor. One of: 2-post-frame, 4-post-frame, 4-post-cabinet, wall-frame, wall-frame-vertical, wall-cabinet, wall-cabinet-vertical.
    id Number
    NetBox id.
    lastUpdated String
    manufacturerId Number
    Id of the manufacturer.
    maxWeight Number
    Maximum load capacity (requires weight_unit). Must be a whole number.
    model String
    mountingDepth Number
    Maximum depth of a mounted device, in millimetres. Must be a whole number.
    mountingDepthMm Number
    Deprecated alias of mounting_depth.

    Deprecated: Deprecated

    outerDepth Number
    Outer depth (requires outer_unit). Must be a whole number.
    outerHeight Number
    Outer height (requires outer_unit). Must be a whole number.
    outerUnit String
    Unit of the outer dimensions. One of: mm, in.
    outerWidth Number
    Outer width (requires outer_unit). Must be a whole number.
    ownerId Number
    Id of the owner the object is assigned to.
    rackCount Number
    Number of racks of the rack type.
    slug String
    URL-friendly unique shorthand; derived from model when not set.
    startingUnit Number
    Lowest unit number. Must be a whole number.
    tags List<String>
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    tagsAlls List<String>
    Slugs of all tags on the object, including the provider's default_tags.
    uHeight Number
    Height in rack units. Must be a whole number.
    url String
    weight Number
    Weight of the rack (requires weight_unit).
    weightUnit String
    Unit of weight and max_weight. One of: kg, g, lb, oz.
    width Number
    Rail-to-rail width in inches. One of: 10, 19, 21, 23.

    Package Details

    Repository
    netbox e-breuninger/terraform-provider-netbox
    License
    Notes
    This Pulumi package is based on the netbox Terraform Provider.
    netbox
    Viewing docs for netbox 6.0.0
    published on Wednesday, Nov 4, 2026 by e-breuninger

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial