1. Registry
  2. Packages
  3. Netbox Provider
  4. API Docs
  5. getDeviceType
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

    A device type (dcim.devicetype): a hardware model made by a manufacturer.

    From the official documentation:

    A device type represents a particular make and model of hardware that exists in the real world. Device types define the physical attributes of a device (rack height and depth) and its individual components (console, power, network interfaces, and so on).

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as netbox from "@pulumi/netbox";
    
    const test = netbox.getDeviceType({
        id: 123,
    });
    
    import pulumi
    import pulumi_netbox as netbox
    
    test = netbox.get_device_type(id=123)
    
    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.LookupDeviceType(ctx, &netbox.LookupDeviceTypeArgs{
    			Id: pulumi.Float64Ref(123),
    		}, 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.GetDeviceType.Invoke(new()
        {
            Id = 123,
        });
    
    });
    
    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.GetDeviceTypeArgs;
    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.getDeviceType(GetDeviceTypeArgs.builder()
                .id(123)
                .build());
    
        }
    }
    
    variables:
      test:
        fn::invoke:
          function: netbox:getDeviceType
          arguments:
            id: 123
    
    Example coming soon!
    

    Using getDeviceType

    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 getDeviceType(args: GetDeviceTypeArgs, opts?: InvokeOptions): Promise<GetDeviceTypeResult>
    function getDeviceTypeOutput(args: GetDeviceTypeOutputArgs, opts?: InvokeOutputOptions): Output<GetDeviceTypeResult>
    def get_device_type(custom_field_filters: Optional[Mapping[str, str]] = None,
                        id: Optional[float] = None,
                        model: Optional[str] = None,
                        owner_id: Optional[float] = None,
                        slug: Optional[str] = None,
                        tag_slug: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetDeviceTypeResult
    def get_device_type_output(custom_field_filters: pulumi.Input[Optional[Mapping[str, pulumi.Input[str]]]] = None,
                        id: pulumi.Input[Optional[float]] = None,
                        model: pulumi.Input[Optional[str]] = None,
                        owner_id: pulumi.Input[Optional[float]] = None,
                        slug: pulumi.Input[Optional[str]] = None,
                        tag_slug: pulumi.Input[Optional[str]] = None,
                        opts: Optional[InvokeOutputOptions] = None) -> Output[GetDeviceTypeResult]
    func LookupDeviceType(ctx *Context, args *LookupDeviceTypeArgs, opts ...InvokeOption) (*LookupDeviceTypeResult, error)
    func LookupDeviceTypeOutput(ctx *Context, args *LookupDeviceTypeOutputArgs, opts ...InvokeOption) LookupDeviceTypeResultOutput

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

    public static class GetDeviceType 
    {
        public static Task<GetDeviceTypeResult> InvokeAsync(GetDeviceTypeArgs args, InvokeOptions? opts = null)
        public static Output<GetDeviceTypeResult> Invoke(GetDeviceTypeInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetDeviceTypeResult> Invoke(GetDeviceTypeInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetDeviceTypeResult> getDeviceType(GetDeviceTypeArgs args, InvokeOptions options)
    public static Output<GetDeviceTypeResult> getDeviceType(GetDeviceTypeArgs args, InvokeOptions options)
    public static Output<GetDeviceTypeResult> getDeviceType(GetDeviceTypeArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: netbox:index/getDeviceType:getDeviceType
      arguments:
        # arguments dictionary
    data "netbox_get_device_type" "name" {
        # arguments
    }

    The following arguments are supported:

    CustomFieldFilters Dictionary<string, string>
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    Id double
    NetBox id.
    Model string
    Model name (unique per manufacturer).
    OwnerId double
    Id of the owner the object is assigned to.
    Slug string
    URL-friendly unique shorthand; derived from model when not set.
    TagSlug string
    Slug of a tag the object carries.
    CustomFieldFilters map[string]string
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    Id float64
    NetBox id.
    Model string
    Model name (unique per manufacturer).
    OwnerId float64
    Id of the owner the object is assigned to.
    Slug string
    URL-friendly unique shorthand; derived from model when not set.
    TagSlug string
    Slug of a tag the object carries.
    custom_field_filters map(string)
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    id number
    NetBox id.
    model string
    Model name (unique per manufacturer).
    owner_id number
    Id of the owner the object is assigned to.
    slug string
    URL-friendly unique shorthand; derived from model when not set.
    tag_slug string
    Slug of a tag the object carries.
    customFieldFilters Map<String,String>
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    id Double
    NetBox id.
    model String
    Model name (unique per manufacturer).
    ownerId Double
    Id of the owner the object is assigned to.
    slug String
    URL-friendly unique shorthand; derived from model when not set.
    tagSlug String
    Slug of a tag the object carries.
    customFieldFilters {[key: string]: string}
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    id number
    NetBox id.
    model string
    Model name (unique per manufacturer).
    ownerId number
    Id of the owner the object is assigned to.
    slug string
    URL-friendly unique shorthand; derived from model when not set.
    tagSlug string
    Slug of a tag the object carries.
    custom_field_filters Mapping[str, str]
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    id float
    NetBox id.
    model str
    Model name (unique per manufacturer).
    owner_id float
    Id of the owner the object is assigned to.
    slug str
    URL-friendly unique shorthand; derived from model when not set.
    tag_slug str
    Slug of a tag the object carries.
    customFieldFilters Map<String>
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    id Number
    NetBox id.
    model String
    Model name (unique per manufacturer).
    ownerId Number
    Id of the owner the object is assigned to.
    slug String
    URL-friendly unique shorthand; derived from model when not set.
    tagSlug String
    Slug of a tag the object carries.

    getDeviceType Result

    The following output properties are available:

    Airflow string
    Airflow direction. One of: front-to-rear, rear-to-front, left-to-right, right-to-left, side-to-rear, passive, mixed, rear-to-side, bottom-to-top, top-to-bottom.
    Comments string
    ConsolePortTemplateCount double
    Number of console port templates of the device type.
    ConsoleServerPortTemplateCount double
    Number of console server port templates of the device type.
    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).
    DefaultPlatformId double
    Id of the platform assigned to new devices of this type.
    Description string
    DeviceBayTemplateCount double
    Number of device bay templates of the device type.
    DeviceCount double
    Number of devices of the device type.
    ExcludeFromUtilization bool
    Whether devices of this type are left out of the rack utilization.
    FrontPortTemplateCount double
    Number of front port templates of the device type.
    Id double
    NetBox id.
    InterfaceTemplateCount double
    Number of interface templates of the device type.
    InventoryItemTemplateCount double
    Number of inventory item templates of the device type.
    IsFullDepth bool
    Device consumes both the front and rear rack faces.
    LastUpdated string
    ManufacturerId double
    Id of the manufacturer.
    Model string
    Model name (unique per manufacturer).
    ModuleBayTemplateCount double
    Number of module bay templates of the device type.
    OwnerId double
    Id of the owner the object is assigned to.
    PartNumber string
    Discrete part number.
    PowerOutletTemplateCount double
    Number of power outlet templates of the device type.
    PowerPortTemplateCount double
    Number of power port templates of the device type.
    RearPortTemplateCount double
    Number of rear port templates of the device type.
    Slug string
    URL-friendly unique shorthand; derived from model when not set.
    SubdeviceRole string
    Parent devices house child devices in device bays. One of: parent, child.
    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 (0.5 steps).
    Url string
    Weight double
    Weight of the device type (requires weight_unit).
    WeightUnit string
    Unit of weight. One of: kg, g, lb, oz.
    CustomFieldFilters Dictionary<string, string>
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    TagSlug string
    Slug of a tag the object carries.
    Airflow string
    Airflow direction. One of: front-to-rear, rear-to-front, left-to-right, right-to-left, side-to-rear, passive, mixed, rear-to-side, bottom-to-top, top-to-bottom.
    Comments string
    ConsolePortTemplateCount float64
    Number of console port templates of the device type.
    ConsoleServerPortTemplateCount float64
    Number of console server port templates of the device type.
    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).
    DefaultPlatformId float64
    Id of the platform assigned to new devices of this type.
    Description string
    DeviceBayTemplateCount float64
    Number of device bay templates of the device type.
    DeviceCount float64
    Number of devices of the device type.
    ExcludeFromUtilization bool
    Whether devices of this type are left out of the rack utilization.
    FrontPortTemplateCount float64
    Number of front port templates of the device type.
    Id float64
    NetBox id.
    InterfaceTemplateCount float64
    Number of interface templates of the device type.
    InventoryItemTemplateCount float64
    Number of inventory item templates of the device type.
    IsFullDepth bool
    Device consumes both the front and rear rack faces.
    LastUpdated string
    ManufacturerId float64
    Id of the manufacturer.
    Model string
    Model name (unique per manufacturer).
    ModuleBayTemplateCount float64
    Number of module bay templates of the device type.
    OwnerId float64
    Id of the owner the object is assigned to.
    PartNumber string
    Discrete part number.
    PowerOutletTemplateCount float64
    Number of power outlet templates of the device type.
    PowerPortTemplateCount float64
    Number of power port templates of the device type.
    RearPortTemplateCount float64
    Number of rear port templates of the device type.
    Slug string
    URL-friendly unique shorthand; derived from model when not set.
    SubdeviceRole string
    Parent devices house child devices in device bays. One of: parent, child.
    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 (0.5 steps).
    Url string
    Weight float64
    Weight of the device type (requires weight_unit).
    WeightUnit string
    Unit of weight. One of: kg, g, lb, oz.
    CustomFieldFilters map[string]string
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    TagSlug string
    Slug of a tag the object carries.
    airflow string
    Airflow direction. One of: front-to-rear, rear-to-front, left-to-right, right-to-left, side-to-rear, passive, mixed, rear-to-side, bottom-to-top, top-to-bottom.
    comments string
    console_port_template_count number
    Number of console port templates of the device type.
    console_server_port_template_count number
    Number of console server port templates of the device type.
    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).
    default_platform_id number
    Id of the platform assigned to new devices of this type.
    description string
    device_bay_template_count number
    Number of device bay templates of the device type.
    device_count number
    Number of devices of the device type.
    exclude_from_utilization bool
    Whether devices of this type are left out of the rack utilization.
    front_port_template_count number
    Number of front port templates of the device type.
    id number
    NetBox id.
    interface_template_count number
    Number of interface templates of the device type.
    inventory_item_template_count number
    Number of inventory item templates of the device type.
    is_full_depth bool
    Device consumes both the front and rear rack faces.
    last_updated string
    manufacturer_id number
    Id of the manufacturer.
    model string
    Model name (unique per manufacturer).
    module_bay_template_count number
    Number of module bay templates of the device type.
    owner_id number
    Id of the owner the object is assigned to.
    part_number string
    Discrete part number.
    power_outlet_template_count number
    Number of power outlet templates of the device type.
    power_port_template_count number
    Number of power port templates of the device type.
    rear_port_template_count number
    Number of rear port templates of the device type.
    slug string
    URL-friendly unique shorthand; derived from model when not set.
    subdevice_role string
    Parent devices house child devices in device bays. One of: parent, child.
    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 (0.5 steps).
    url string
    weight number
    Weight of the device type (requires weight_unit).
    weight_unit string
    Unit of weight. One of: kg, g, lb, oz.
    custom_field_filters map(string)
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    tag_slug string
    Slug of a tag the object carries.
    airflow String
    Airflow direction. One of: front-to-rear, rear-to-front, left-to-right, right-to-left, side-to-rear, passive, mixed, rear-to-side, bottom-to-top, top-to-bottom.
    comments String
    consolePortTemplateCount Double
    Number of console port templates of the device type.
    consoleServerPortTemplateCount Double
    Number of console server port templates of the device type.
    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).
    defaultPlatformId Double
    Id of the platform assigned to new devices of this type.
    description String
    deviceBayTemplateCount Double
    Number of device bay templates of the device type.
    deviceCount Double
    Number of devices of the device type.
    excludeFromUtilization Boolean
    Whether devices of this type are left out of the rack utilization.
    frontPortTemplateCount Double
    Number of front port templates of the device type.
    id Double
    NetBox id.
    interfaceTemplateCount Double
    Number of interface templates of the device type.
    inventoryItemTemplateCount Double
    Number of inventory item templates of the device type.
    isFullDepth Boolean
    Device consumes both the front and rear rack faces.
    lastUpdated String
    manufacturerId Double
    Id of the manufacturer.
    model String
    Model name (unique per manufacturer).
    moduleBayTemplateCount Double
    Number of module bay templates of the device type.
    ownerId Double
    Id of the owner the object is assigned to.
    partNumber String
    Discrete part number.
    powerOutletTemplateCount Double
    Number of power outlet templates of the device type.
    powerPortTemplateCount Double
    Number of power port templates of the device type.
    rearPortTemplateCount Double
    Number of rear port templates of the device type.
    slug String
    URL-friendly unique shorthand; derived from model when not set.
    subdeviceRole String
    Parent devices house child devices in device bays. One of: parent, child.
    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 (0.5 steps).
    url String
    weight Double
    Weight of the device type (requires weight_unit).
    weightUnit String
    Unit of weight. One of: kg, g, lb, oz.
    customFieldFilters Map<String,String>
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    tagSlug String
    Slug of a tag the object carries.
    airflow string
    Airflow direction. One of: front-to-rear, rear-to-front, left-to-right, right-to-left, side-to-rear, passive, mixed, rear-to-side, bottom-to-top, top-to-bottom.
    comments string
    consolePortTemplateCount number
    Number of console port templates of the device type.
    consoleServerPortTemplateCount number
    Number of console server port templates of the device type.
    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).
    defaultPlatformId number
    Id of the platform assigned to new devices of this type.
    description string
    deviceBayTemplateCount number
    Number of device bay templates of the device type.
    deviceCount number
    Number of devices of the device type.
    excludeFromUtilization boolean
    Whether devices of this type are left out of the rack utilization.
    frontPortTemplateCount number
    Number of front port templates of the device type.
    id number
    NetBox id.
    interfaceTemplateCount number
    Number of interface templates of the device type.
    inventoryItemTemplateCount number
    Number of inventory item templates of the device type.
    isFullDepth boolean
    Device consumes both the front and rear rack faces.
    lastUpdated string
    manufacturerId number
    Id of the manufacturer.
    model string
    Model name (unique per manufacturer).
    moduleBayTemplateCount number
    Number of module bay templates of the device type.
    ownerId number
    Id of the owner the object is assigned to.
    partNumber string
    Discrete part number.
    powerOutletTemplateCount number
    Number of power outlet templates of the device type.
    powerPortTemplateCount number
    Number of power port templates of the device type.
    rearPortTemplateCount number
    Number of rear port templates of the device type.
    slug string
    URL-friendly unique shorthand; derived from model when not set.
    subdeviceRole string
    Parent devices house child devices in device bays. One of: parent, child.
    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 (0.5 steps).
    url string
    weight number
    Weight of the device type (requires weight_unit).
    weightUnit string
    Unit of weight. One of: kg, g, lb, oz.
    customFieldFilters {[key: string]: string}
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    tagSlug string
    Slug of a tag the object carries.
    airflow str
    Airflow direction. One of: front-to-rear, rear-to-front, left-to-right, right-to-left, side-to-rear, passive, mixed, rear-to-side, bottom-to-top, top-to-bottom.
    comments str
    console_port_template_count float
    Number of console port templates of the device type.
    console_server_port_template_count float
    Number of console server port templates of the device type.
    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).
    default_platform_id float
    Id of the platform assigned to new devices of this type.
    description str
    device_bay_template_count float
    Number of device bay templates of the device type.
    device_count float
    Number of devices of the device type.
    exclude_from_utilization bool
    Whether devices of this type are left out of the rack utilization.
    front_port_template_count float
    Number of front port templates of the device type.
    id float
    NetBox id.
    interface_template_count float
    Number of interface templates of the device type.
    inventory_item_template_count float
    Number of inventory item templates of the device type.
    is_full_depth bool
    Device consumes both the front and rear rack faces.
    last_updated str
    manufacturer_id float
    Id of the manufacturer.
    model str
    Model name (unique per manufacturer).
    module_bay_template_count float
    Number of module bay templates of the device type.
    owner_id float
    Id of the owner the object is assigned to.
    part_number str
    Discrete part number.
    power_outlet_template_count float
    Number of power outlet templates of the device type.
    power_port_template_count float
    Number of power port templates of the device type.
    rear_port_template_count float
    Number of rear port templates of the device type.
    slug str
    URL-friendly unique shorthand; derived from model when not set.
    subdevice_role str
    Parent devices house child devices in device bays. One of: parent, child.
    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 (0.5 steps).
    url str
    weight float
    Weight of the device type (requires weight_unit).
    weight_unit str
    Unit of weight. One of: kg, g, lb, oz.
    custom_field_filters Mapping[str, str]
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    tag_slug str
    Slug of a tag the object carries.
    airflow String
    Airflow direction. One of: front-to-rear, rear-to-front, left-to-right, right-to-left, side-to-rear, passive, mixed, rear-to-side, bottom-to-top, top-to-bottom.
    comments String
    consolePortTemplateCount Number
    Number of console port templates of the device type.
    consoleServerPortTemplateCount Number
    Number of console server port templates of the device type.
    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).
    defaultPlatformId Number
    Id of the platform assigned to new devices of this type.
    description String
    deviceBayTemplateCount Number
    Number of device bay templates of the device type.
    deviceCount Number
    Number of devices of the device type.
    excludeFromUtilization Boolean
    Whether devices of this type are left out of the rack utilization.
    frontPortTemplateCount Number
    Number of front port templates of the device type.
    id Number
    NetBox id.
    interfaceTemplateCount Number
    Number of interface templates of the device type.
    inventoryItemTemplateCount Number
    Number of inventory item templates of the device type.
    isFullDepth Boolean
    Device consumes both the front and rear rack faces.
    lastUpdated String
    manufacturerId Number
    Id of the manufacturer.
    model String
    Model name (unique per manufacturer).
    moduleBayTemplateCount Number
    Number of module bay templates of the device type.
    ownerId Number
    Id of the owner the object is assigned to.
    partNumber String
    Discrete part number.
    powerOutletTemplateCount Number
    Number of power outlet templates of the device type.
    powerPortTemplateCount Number
    Number of power port templates of the device type.
    rearPortTemplateCount Number
    Number of rear port templates of the device type.
    slug String
    URL-friendly unique shorthand; derived from model when not set.
    subdeviceRole String
    Parent devices house child devices in device bays. One of: parent, child.
    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 (0.5 steps).
    url String
    weight Number
    Weight of the device type (requires weight_unit).
    weightUnit String
    Unit of weight. One of: kg, g, lb, oz.
    customFieldFilters Map<String>
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    tagSlug String
    Slug of a tag the object carries.

    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