Viewing docs for netbox 6.0.0
published on Wednesday, Nov 4, 2026 by e-breuninger
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
published on Wednesday, Nov 4, 2026 by e-breuninger
Lists device_type objects matching the given filters.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as netbox from "@pulumi/netbox";
const test = netbox.getDeviceTypes({
limit: 10,
});
import pulumi
import pulumi_netbox as netbox
test = netbox.get_device_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.GetDeviceTypes(ctx, &netbox.GetDeviceTypesArgs{
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.GetDeviceTypes.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.GetDeviceTypesArgs;
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.getDeviceTypes(GetDeviceTypesArgs.builder()
.limit(10)
.build());
}
}
variables:
test:
fn::invoke:
function: netbox:getDeviceTypes
arguments:
limit: 10
Example coming soon!
Using getDeviceTypes
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 getDeviceTypes(args: GetDeviceTypesArgs, opts?: InvokeOptions): Promise<GetDeviceTypesResult>
function getDeviceTypesOutput(args: GetDeviceTypesOutputArgs, opts?: InvokeOutputOptions): Output<GetDeviceTypesResult>def get_device_types(filters: Optional[Sequence[GetDeviceTypesFilter]] = None,
limit: Optional[float] = None,
opts: Optional[InvokeOptions] = None) -> GetDeviceTypesResult
def get_device_types_output(filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetDeviceTypesFilterArgs]]]] = None,
limit: pulumi.Input[Optional[float]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetDeviceTypesResult]func GetDeviceTypes(ctx *Context, args *GetDeviceTypesArgs, opts ...InvokeOption) (*GetDeviceTypesResult, error)
func GetDeviceTypesOutput(ctx *Context, args *GetDeviceTypesOutputArgs, opts ...InvokeOption) GetDeviceTypesResultOutput> Note: This function is named GetDeviceTypes in the Go SDK.
public static class GetDeviceTypes
{
public static Task<GetDeviceTypesResult> InvokeAsync(GetDeviceTypesArgs args, InvokeOptions? opts = null)
public static Output<GetDeviceTypesResult> Invoke(GetDeviceTypesInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetDeviceTypesResult> Invoke(GetDeviceTypesInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetDeviceTypesResult> getDeviceTypes(GetDeviceTypesArgs args, InvokeOptions options)
public static Output<GetDeviceTypesResult> getDeviceTypes(GetDeviceTypesArgs args, InvokeOptions options)
public static Output<GetDeviceTypesResult> getDeviceTypes(GetDeviceTypesArgs args, InvokeOutputOptions options)
fn::invoke:
function: netbox:index/getDeviceTypes:getDeviceTypes
arguments:
# arguments dictionarydata "netbox_get_device_types" "name" {
# arguments
}The following arguments are supported:
- Filters
List<Get
Device Types Filter> - Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, 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, tag_*n. 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
[]Get
Device Types Filter - Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, 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, tag_*n. 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, 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, tag_*n. 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<Get
Device Types Filter> - Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, 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, tag_*n. 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
Get
Device Types Filter[] - Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, 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, tag_*n. 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[Get
Device Types Filter] - Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, 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, tag_*n. 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, 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, tag_*n. 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.
getDeviceTypes Result
The following output properties are available:
- Device
Types List<GetDevice Types Device Type> - The matching device*types.
- Id string
- The provider-assigned unique ID for this managed resource.
- Filters
List<Get
Device Types Filter> - Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, 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, tag_*n. 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.
- Device
Types []GetDevice Types Device Type - The matching device*types.
- Id string
- The provider-assigned unique ID for this managed resource.
- Filters
[]Get
Device Types Filter - Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, 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, tag_*n. 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.
- device_
types list(object) - The matching device*types.
- id string
- The provider-assigned unique ID for this managed resource.
- filters list(object)
- Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, 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, tag_*n. 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.
- device
Types List<GetDevice Types Device Type> - The matching device*types.
- id String
- The provider-assigned unique ID for this managed resource.
- filters
List<Get
Device Types Filter> - Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, 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, tag_*n. 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.
- device
Types GetDevice Types Device Type[] - The matching device*types.
- id string
- The provider-assigned unique ID for this managed resource.
- filters
Get
Device Types Filter[] - Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, 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, tag_*n. 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.
- device_
types Sequence[GetDevice Types Device Type] - The matching device*types.
- id str
- The provider-assigned unique ID for this managed resource.
- filters
Sequence[Get
Device Types Filter] - Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, 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, tag_*n. 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.
- device
Types List<Property Map> - The matching device*types.
- id String
- The provider-assigned unique ID for this managed resource.
- filters List<Property Map>
- Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, 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, tag_*n. 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
GetDeviceTypesDeviceType
- 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 doubleTemplate Count - Number of console port templates of the device type.
- Console
Server doublePort Template Count - Number of console server port templates of the device type.
- Created string
- Custom
Fields 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).
- Default
Platform doubleId - Id of the platform assigned to new devices of this type.
- Description string
- Device
Bay doubleTemplate Count - Number of device bay templates of the device type.
- Device
Count double - Number of devices of the device type.
- Exclude
From boolUtilization - Whether devices of this type are left out of the rack utilization.
- Front
Port doubleTemplate Count - Number of front port templates of the device type.
- Id double
- NetBox id.
- Interface
Template doubleCount - Number of interface templates of the device type.
- Inventory
Item doubleTemplate Count - Number of inventory item templates of the device type.
- Is
Full boolDepth - Device consumes both the front and rear rack faces.
- Last
Updated string - Manufacturer
Id double - Id of the manufacturer.
- Model string
- Model name (unique per manufacturer).
- Module
Bay doubleTemplate Count - Number of module bay templates of the device type.
- Owner
Id double - Id of the owner the object is assigned to.
- Part
Number string - Discrete part number.
- Power
Outlet doubleTemplate Count - Number of power outlet templates of the device type.
- Power
Port doubleTemplate Count - Number of power port templates of the device type.
- Rear
Port doubleTemplate Count - 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.
- List<string>
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- 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).
- Weight
Unit string - Unit of weight. One of: kg, g, lb, oz.
- 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 float64Template Count - Number of console port templates of the device type.
- Console
Server float64Port Template Count - Number of console server port templates of the device type.
- Created string
- Custom
Fields 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).
- Default
Platform float64Id - Id of the platform assigned to new devices of this type.
- Description string
- Device
Bay float64Template Count - Number of device bay templates of the device type.
- Device
Count float64 - Number of devices of the device type.
- Exclude
From boolUtilization - Whether devices of this type are left out of the rack utilization.
- Front
Port float64Template Count - Number of front port templates of the device type.
- Id float64
- NetBox id.
- Interface
Template float64Count - Number of interface templates of the device type.
- Inventory
Item float64Template Count - Number of inventory item templates of the device type.
- Is
Full boolDepth - Device consumes both the front and rear rack faces.
- Last
Updated string - Manufacturer
Id float64 - Id of the manufacturer.
- Model string
- Model name (unique per manufacturer).
- Module
Bay float64Template Count - Number of module bay templates of the device type.
- Owner
Id float64 - Id of the owner the object is assigned to.
- Part
Number string - Discrete part number.
- Power
Outlet float64Template Count - Number of power outlet templates of the device type.
- Power
Port float64Template Count - Number of power port templates of the device type.
- Rear
Port float64Template Count - 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.
- []string
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- []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).
- Weight
Unit string - Unit of weight. One of: kg, g, lb, oz.
- 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_ numbertemplate_ count - Number of console port templates of the device type.
- console_
server_ numberport_ template_ count - 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_ numberid - Id of the platform assigned to new devices of this type.
- description string
- device_
bay_ numbertemplate_ count - Number of device bay templates of the device type.
- device_
count number - Number of devices of the device type.
- exclude_
from_ boolutilization - Whether devices of this type are left out of the rack utilization.
- front_
port_ numbertemplate_ count - Number of front port templates of the device type.
- id number
- NetBox id.
- interface_
template_ numbercount - Number of interface templates of the device type.
- inventory_
item_ numbertemplate_ count - Number of inventory item templates of the device type.
- is_
full_ booldepth - 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_ numbertemplate_ count - 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_ numbertemplate_ count - Number of power outlet templates of the device type.
- power_
port_ numbertemplate_ count - Number of power port templates of the device type.
- rear_
port_ numbertemplate_ count - 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.
- list(string)
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- 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.
- 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 DoubleTemplate Count - Number of console port templates of the device type.
- console
Server DoublePort Template Count - Number of console server port templates of the device type.
- created String
- custom
Fields 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).
- default
Platform DoubleId - Id of the platform assigned to new devices of this type.
- description String
- device
Bay DoubleTemplate Count - Number of device bay templates of the device type.
- device
Count Double - Number of devices of the device type.
- exclude
From BooleanUtilization - Whether devices of this type are left out of the rack utilization.
- front
Port DoubleTemplate Count - Number of front port templates of the device type.
- id Double
- NetBox id.
- interface
Template DoubleCount - Number of interface templates of the device type.
- inventory
Item DoubleTemplate Count - Number of inventory item templates of the device type.
- is
Full BooleanDepth - Device consumes both the front and rear rack faces.
- last
Updated String - manufacturer
Id Double - Id of the manufacturer.
- model String
- Model name (unique per manufacturer).
- module
Bay DoubleTemplate Count - Number of module bay templates of the device type.
- owner
Id Double - Id of the owner the object is assigned to.
- part
Number String - Discrete part number.
- power
Outlet DoubleTemplate Count - Number of power outlet templates of the device type.
- power
Port DoubleTemplate Count - Number of power port templates of the device type.
- rear
Port DoubleTemplate Count - 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.
- List<String>
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- List<String>
- Slugs of all tags on the object, including the provider's default_tags.
- u
Height Double - Height in rack units (0.5 steps).
- url String
- weight Double
- Weight of the device type (requires weight_unit).
- weight
Unit String - Unit of weight. One of: kg, g, lb, oz.
- 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 numberTemplate Count - Number of console port templates of the device type.
- console
Server numberPort Template Count - Number of console server port templates of the device type.
- created string
- custom
Fields {[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).
- default
Platform numberId - Id of the platform assigned to new devices of this type.
- description string
- device
Bay numberTemplate Count - Number of device bay templates of the device type.
- device
Count number - Number of devices of the device type.
- exclude
From booleanUtilization - Whether devices of this type are left out of the rack utilization.
- front
Port numberTemplate Count - Number of front port templates of the device type.
- id number
- NetBox id.
- interface
Template numberCount - Number of interface templates of the device type.
- inventory
Item numberTemplate Count - Number of inventory item templates of the device type.
- is
Full booleanDepth - 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 numberTemplate Count - 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 numberTemplate Count - Number of power outlet templates of the device type.
- power
Port numberTemplate Count - Number of power port templates of the device type.
- rear
Port numberTemplate Count - 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.
- string[]
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- 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.
- 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_ floattemplate_ count - Number of console port templates of the device type.
- console_
server_ floatport_ template_ count - 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_ floatid - Id of the platform assigned to new devices of this type.
- description str
- device_
bay_ floattemplate_ count - Number of device bay templates of the device type.
- device_
count float - Number of devices of the device type.
- exclude_
from_ boolutilization - Whether devices of this type are left out of the rack utilization.
- front_
port_ floattemplate_ count - Number of front port templates of the device type.
- id float
- NetBox id.
- interface_
template_ floatcount - Number of interface templates of the device type.
- inventory_
item_ floattemplate_ count - Number of inventory item templates of the device type.
- is_
full_ booldepth - 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_ floattemplate_ count - 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_ floattemplate_ count - Number of power outlet templates of the device type.
- power_
port_ floattemplate_ count - Number of power port templates of the device type.
- rear_
port_ floattemplate_ count - 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.
- Sequence[str]
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- 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.
- 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 NumberTemplate Count - Number of console port templates of the device type.
- console
Server NumberPort Template Count - 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 NumberId - Id of the platform assigned to new devices of this type.
- description String
- device
Bay NumberTemplate Count - Number of device bay templates of the device type.
- device
Count Number - Number of devices of the device type.
- exclude
From BooleanUtilization - Whether devices of this type are left out of the rack utilization.
- front
Port NumberTemplate Count - Number of front port templates of the device type.
- id Number
- NetBox id.
- interface
Template NumberCount - Number of interface templates of the device type.
- inventory
Item NumberTemplate Count - Number of inventory item templates of the device type.
- is
Full BooleanDepth - 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 NumberTemplate Count - 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 NumberTemplate Count - Number of power outlet templates of the device type.
- power
Port NumberTemplate Count - Number of power port templates of the device type.
- rear
Port NumberTemplate Count - 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.
- List<String>
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- 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.
GetDeviceTypesFilter
Package Details
- Repository
- netbox e-breuninger/terraform-provider-netbox
- License
- Notes
- This Pulumi package is based on the
netboxTerraform Provider.
netbox
Viewing docs for netbox 6.0.0
published on Wednesday, Nov 4, 2026 by e-breuninger
published on Wednesday, Nov 4, 2026 by e-breuninger