published on Monday, Nov 16, 2026 by e-breuninger
published on Monday, Nov 16, 2026 by e-breuninger
A module type (dcim.moduletype): a hardware module model made by a manufacturer.
From the official documentation:
A module type represents a specific make and model of hardware component which is installable within a device’s module bay and has its own child components. For example, consider a chassis-based switch or router with a number of field-replaceable line cards. Each line card has its own model number and includes a certain set of components such as interfaces. Each module type may have a manufacturer, model number, and part number assigned to it.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as netbox from "@pulumi/netbox";
const test = netbox.getModuleType({
id: 123,
});
import pulumi
import pulumi_netbox as netbox
test = netbox.get_module_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.LookupModuleType(ctx, &netbox.LookupModuleTypeArgs{
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.GetModuleType.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.GetModuleTypeArgs;
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.getModuleType(GetModuleTypeArgs.builder()
.id(123)
.build());
}
}
variables:
test:
fn::invoke:
function: netbox:getModuleType
arguments:
id: 123
Example coming soon!
Using getModuleType
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 getModuleType(args: GetModuleTypeArgs, opts?: InvokeOptions): Promise<GetModuleTypeResult>
function getModuleTypeOutput(args: GetModuleTypeOutputArgs, opts?: InvokeOutputOptions): Output<GetModuleTypeResult>def get_module_type(airflow: Optional[str] = None,
console_port_template_count: Optional[float] = None,
console_ports: Optional[bool] = None,
console_server_port_template_count: Optional[float] = None,
console_server_ports: Optional[bool] = None,
created: Optional[str] = None,
custom_field_filters: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
front_port_template_count: Optional[float] = None,
id: Optional[float] = None,
interface_template_count: Optional[float] = None,
interfaces: Optional[bool] = None,
last_updated: Optional[str] = None,
manufacturer_id: Optional[float] = None,
manufacturer_slug: Optional[str] = None,
model: Optional[str] = None,
module_bay_template_count: Optional[float] = None,
module_bays: Optional[bool] = None,
module_count: Optional[float] = None,
owner_group_id: Optional[float] = None,
owner_group_name: Optional[str] = None,
owner_id: Optional[float] = None,
owner_name: Optional[str] = None,
part_number: Optional[str] = None,
pass_through_ports: Optional[bool] = None,
power_outlet_template_count: Optional[float] = None,
power_outlets: Optional[bool] = None,
power_port_template_count: Optional[float] = None,
power_ports: Optional[bool] = None,
profile_id: Optional[float] = None,
profile_name: Optional[str] = None,
q: Optional[str] = None,
rear_port_template_count: Optional[float] = None,
tag_id: Optional[float] = None,
tag_slug: Optional[str] = None,
weight: Optional[float] = None,
weight_unit: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetModuleTypeResult
def get_module_type_output(airflow: pulumi.Input[Optional[str]] = None,
console_port_template_count: pulumi.Input[Optional[float]] = None,
console_ports: pulumi.Input[Optional[bool]] = None,
console_server_port_template_count: pulumi.Input[Optional[float]] = None,
console_server_ports: pulumi.Input[Optional[bool]] = None,
created: pulumi.Input[Optional[str]] = None,
custom_field_filters: pulumi.Input[Optional[Mapping[str, pulumi.Input[str]]]] = None,
description: pulumi.Input[Optional[str]] = None,
front_port_template_count: pulumi.Input[Optional[float]] = None,
id: pulumi.Input[Optional[float]] = None,
interface_template_count: pulumi.Input[Optional[float]] = None,
interfaces: pulumi.Input[Optional[bool]] = None,
last_updated: pulumi.Input[Optional[str]] = None,
manufacturer_id: pulumi.Input[Optional[float]] = None,
manufacturer_slug: pulumi.Input[Optional[str]] = None,
model: pulumi.Input[Optional[str]] = None,
module_bay_template_count: pulumi.Input[Optional[float]] = None,
module_bays: pulumi.Input[Optional[bool]] = None,
module_count: pulumi.Input[Optional[float]] = None,
owner_group_id: pulumi.Input[Optional[float]] = None,
owner_group_name: pulumi.Input[Optional[str]] = None,
owner_id: pulumi.Input[Optional[float]] = None,
owner_name: pulumi.Input[Optional[str]] = None,
part_number: pulumi.Input[Optional[str]] = None,
pass_through_ports: pulumi.Input[Optional[bool]] = None,
power_outlet_template_count: pulumi.Input[Optional[float]] = None,
power_outlets: pulumi.Input[Optional[bool]] = None,
power_port_template_count: pulumi.Input[Optional[float]] = None,
power_ports: pulumi.Input[Optional[bool]] = None,
profile_id: pulumi.Input[Optional[float]] = None,
profile_name: pulumi.Input[Optional[str]] = None,
q: pulumi.Input[Optional[str]] = None,
rear_port_template_count: pulumi.Input[Optional[float]] = None,
tag_id: pulumi.Input[Optional[float]] = None,
tag_slug: pulumi.Input[Optional[str]] = None,
weight: pulumi.Input[Optional[float]] = None,
weight_unit: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetModuleTypeResult]func LookupModuleType(ctx *Context, args *LookupModuleTypeArgs, opts ...InvokeOption) (*LookupModuleTypeResult, error)
func LookupModuleTypeOutput(ctx *Context, args *LookupModuleTypeOutputArgs, opts ...InvokeOption) LookupModuleTypeResultOutput> Note: This function is named LookupModuleType in the Go SDK.
public static class GetModuleType
{
public static Task<GetModuleTypeResult> InvokeAsync(GetModuleTypeArgs args, InvokeOptions? opts = null)
public static Output<GetModuleTypeResult> Invoke(GetModuleTypeInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetModuleTypeResult> Invoke(GetModuleTypeInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetModuleTypeResult> getModuleType(GetModuleTypeArgs args, InvokeOptions options)
public static Output<GetModuleTypeResult> getModuleType(GetModuleTypeArgs args, InvokeOptions options)
public static Output<GetModuleTypeResult> getModuleType(GetModuleTypeArgs args, InvokeOutputOptions options)
fn::invoke:
function: netbox:index/getModuleType:getModuleType
arguments:
# arguments dictionarydata "netbox_get_module_type" "name" {
# arguments
}The following arguments are supported:
- Airflow string
- Airflow direction. One of: front-to-rear, rear-to-front, left-to-right, right-to-left, side-to-rear, passive.
- Console
Port doubleTemplate Count - Number of console port templates of the module type.
- Console
Ports bool - Has console ports.
- Console
Server doublePort Template Count - Number of console server port templates of the module type.
- Console
Server boolPorts - Has console server ports.
- Created string
- Custom
Field Dictionary<string, string>Filters - 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.
- Description string
- Front
Port doubleTemplate Count - Number of front port templates of the module type.
- Id double
- NetBox id.
- Interface
Template doubleCount - Number of interface templates of the module type.
- Interfaces bool
- Has interfaces.
- Last
Updated string - Manufacturer
Id double - Id of the manufacturer.
- Manufacturer
Slug string - Slug of the manufacturer.
- Model string
- Model name (unique per manufacturer).
- Module
Bay doubleTemplate Count - Number of module bay templates of the module type.
- Module
Bays bool - Has module bays.
- Module
Count double - Number of modules of the module type.
- Owner
Group doubleId - Id of the owner group.
- Owner
Group stringName - Name of the owner group.
- Owner
Id double - Id of the owner the object is assigned to.
- Owner
Name string - Name of the owner.
- Part
Number string - Discrete part number.
- Pass
Through boolPorts - Has pass-through ports.
- Power
Outlet doubleTemplate Count - Number of power outlet templates of the module type.
- Power
Outlets bool - Has power outlets.
- Power
Port doubleTemplate Count - Number of power port templates of the module type.
- Power
Ports bool - Has power ports.
- Profile
Id double - Id of the module type profile.
- Profile
Name string - Name of the profile.
- Q string
- Search term, matched against the fields NetBox searches for this object type.
- Rear
Port doubleTemplate Count - Number of rear port templates of the module type.
- Tag
Id double - Id of a tag the object carries.
- string
- Slug of a tag the object carries.
- Weight double
- Weight of the module 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.
- Console
Port float64Template Count - Number of console port templates of the module type.
- Console
Ports bool - Has console ports.
- Console
Server float64Port Template Count - Number of console server port templates of the module type.
- Console
Server boolPorts - Has console server ports.
- Created string
- Custom
Field map[string]stringFilters - 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.
- Description string
- Front
Port float64Template Count - Number of front port templates of the module type.
- Id float64
- NetBox id.
- Interface
Template float64Count - Number of interface templates of the module type.
- Interfaces bool
- Has interfaces.
- Last
Updated string - Manufacturer
Id float64 - Id of the manufacturer.
- Manufacturer
Slug string - Slug of the manufacturer.
- Model string
- Model name (unique per manufacturer).
- Module
Bay float64Template Count - Number of module bay templates of the module type.
- Module
Bays bool - Has module bays.
- Module
Count float64 - Number of modules of the module type.
- Owner
Group float64Id - Id of the owner group.
- Owner
Group stringName - Name of the owner group.
- Owner
Id float64 - Id of the owner the object is assigned to.
- Owner
Name string - Name of the owner.
- Part
Number string - Discrete part number.
- Pass
Through boolPorts - Has pass-through ports.
- Power
Outlet float64Template Count - Number of power outlet templates of the module type.
- Power
Outlets bool - Has power outlets.
- Power
Port float64Template Count - Number of power port templates of the module type.
- Power
Ports bool - Has power ports.
- Profile
Id float64 - Id of the module type profile.
- Profile
Name string - Name of the profile.
- Q string
- Search term, matched against the fields NetBox searches for this object type.
- Rear
Port float64Template Count - Number of rear port templates of the module type.
- Tag
Id float64 - Id of a tag the object carries.
- string
- Slug of a tag the object carries.
- Weight float64
- Weight of the module 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.
- console_
port_ numbertemplate_ count - Number of console port templates of the module type.
- console_
ports bool - Has console ports.
- console_
server_ numberport_ template_ count - Number of console server port templates of the module type.
- console_
server_ boolports - Has console server ports.
- created string
- custom_
field_ map(string)filters - 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.
- description string
- front_
port_ numbertemplate_ count - Number of front port templates of the module type.
- id number
- NetBox id.
- interface_
template_ numbercount - Number of interface templates of the module type.
- interfaces bool
- Has interfaces.
- last_
updated string - manufacturer_
id number - Id of the manufacturer.
- manufacturer_
slug string - Slug of the manufacturer.
- model string
- Model name (unique per manufacturer).
- module_
bay_ numbertemplate_ count - Number of module bay templates of the module type.
- module_
bays bool - Has module bays.
- module_
count number - Number of modules of the module type.
- owner_
group_ numberid - Id of the owner group.
- owner_
group_ stringname - Name of the owner group.
- owner_
id number - Id of the owner the object is assigned to.
- owner_
name string - Name of the owner.
- part_
number string - Discrete part number.
- pass_
through_ boolports - Has pass-through ports.
- power_
outlet_ numbertemplate_ count - Number of power outlet templates of the module type.
- power_
outlets bool - Has power outlets.
- power_
port_ numbertemplate_ count - Number of power port templates of the module type.
- power_
ports bool - Has power ports.
- profile_
id number - Id of the module type profile.
- profile_
name string - Name of the profile.
- q string
- Search term, matched against the fields NetBox searches for this object type.
- rear_
port_ numbertemplate_ count - Number of rear port templates of the module type.
- tag_
id number - Id of a tag the object carries.
- tag_
slug string - Slug of a tag the object carries.
- weight number
- Weight of the module 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.
- console
Port DoubleTemplate Count - Number of console port templates of the module type.
- console
Ports Boolean - Has console ports.
- console
Server DoublePort Template Count - Number of console server port templates of the module type.
- console
Server BooleanPorts - Has console server ports.
- created String
- custom
Field Map<String,String>Filters - 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.
- description String
- front
Port DoubleTemplate Count - Number of front port templates of the module type.
- id Double
- NetBox id.
- interface
Template DoubleCount - Number of interface templates of the module type.
- interfaces Boolean
- Has interfaces.
- last
Updated String - manufacturer
Id Double - Id of the manufacturer.
- manufacturer
Slug String - Slug of the manufacturer.
- model String
- Model name (unique per manufacturer).
- module
Bay DoubleTemplate Count - Number of module bay templates of the module type.
- module
Bays Boolean - Has module bays.
- module
Count Double - Number of modules of the module type.
- owner
Group DoubleId - Id of the owner group.
- owner
Group StringName - Name of the owner group.
- owner
Id Double - Id of the owner the object is assigned to.
- owner
Name String - Name of the owner.
- part
Number String - Discrete part number.
- pass
Through BooleanPorts - Has pass-through ports.
- power
Outlet DoubleTemplate Count - Number of power outlet templates of the module type.
- power
Outlets Boolean - Has power outlets.
- power
Port DoubleTemplate Count - Number of power port templates of the module type.
- power
Ports Boolean - Has power ports.
- profile
Id Double - Id of the module type profile.
- profile
Name String - Name of the profile.
- q String
- Search term, matched against the fields NetBox searches for this object type.
- rear
Port DoubleTemplate Count - Number of rear port templates of the module type.
- tag
Id Double - Id of a tag the object carries.
- String
- Slug of a tag the object carries.
- weight Double
- Weight of the module 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.
- console
Port numberTemplate Count - Number of console port templates of the module type.
- console
Ports boolean - Has console ports.
- console
Server numberPort Template Count - Number of console server port templates of the module type.
- console
Server booleanPorts - Has console server ports.
- created string
- custom
Field {[key: string]: string}Filters - 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.
- description string
- front
Port numberTemplate Count - Number of front port templates of the module type.
- id number
- NetBox id.
- interface
Template numberCount - Number of interface templates of the module type.
- interfaces boolean
- Has interfaces.
- last
Updated string - manufacturer
Id number - Id of the manufacturer.
- manufacturer
Slug string - Slug of the manufacturer.
- model string
- Model name (unique per manufacturer).
- module
Bay numberTemplate Count - Number of module bay templates of the module type.
- module
Bays boolean - Has module bays.
- module
Count number - Number of modules of the module type.
- owner
Group numberId - Id of the owner group.
- owner
Group stringName - Name of the owner group.
- owner
Id number - Id of the owner the object is assigned to.
- owner
Name string - Name of the owner.
- part
Number string - Discrete part number.
- pass
Through booleanPorts - Has pass-through ports.
- power
Outlet numberTemplate Count - Number of power outlet templates of the module type.
- power
Outlets boolean - Has power outlets.
- power
Port numberTemplate Count - Number of power port templates of the module type.
- power
Ports boolean - Has power ports.
- profile
Id number - Id of the module type profile.
- profile
Name string - Name of the profile.
- q string
- Search term, matched against the fields NetBox searches for this object type.
- rear
Port numberTemplate Count - Number of rear port templates of the module type.
- tag
Id number - Id of a tag the object carries.
- string
- Slug of a tag the object carries.
- weight number
- Weight of the module 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.
- console_
port_ floattemplate_ count - Number of console port templates of the module type.
- console_
ports bool - Has console ports.
- console_
server_ floatport_ template_ count - Number of console server port templates of the module type.
- console_
server_ boolports - Has console server ports.
- created str
- custom_
field_ Mapping[str, str]filters - 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.
- description str
- front_
port_ floattemplate_ count - Number of front port templates of the module type.
- id float
- NetBox id.
- interface_
template_ floatcount - Number of interface templates of the module type.
- interfaces bool
- Has interfaces.
- last_
updated str - manufacturer_
id float - Id of the manufacturer.
- manufacturer_
slug str - Slug of the manufacturer.
- model str
- Model name (unique per manufacturer).
- module_
bay_ floattemplate_ count - Number of module bay templates of the module type.
- module_
bays bool - Has module bays.
- module_
count float - Number of modules of the module type.
- owner_
group_ floatid - Id of the owner group.
- owner_
group_ strname - Name of the owner group.
- owner_
id float - Id of the owner the object is assigned to.
- owner_
name str - Name of the owner.
- part_
number str - Discrete part number.
- pass_
through_ boolports - Has pass-through ports.
- power_
outlet_ floattemplate_ count - Number of power outlet templates of the module type.
- power_
outlets bool - Has power outlets.
- power_
port_ floattemplate_ count - Number of power port templates of the module type.
- power_
ports bool - Has power ports.
- profile_
id float - Id of the module type profile.
- profile_
name str - Name of the profile.
- q str
- Search term, matched against the fields NetBox searches for this object type.
- rear_
port_ floattemplate_ count - Number of rear port templates of the module type.
- tag_
id float - Id of a tag the object carries.
- tag_
slug str - Slug of a tag the object carries.
- weight float
- Weight of the module 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.
- console
Port NumberTemplate Count - Number of console port templates of the module type.
- console
Ports Boolean - Has console ports.
- console
Server NumberPort Template Count - Number of console server port templates of the module type.
- console
Server BooleanPorts - Has console server ports.
- created String
- custom
Field Map<String>Filters - 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.
- description String
- front
Port NumberTemplate Count - Number of front port templates of the module type.
- id Number
- NetBox id.
- interface
Template NumberCount - Number of interface templates of the module type.
- interfaces Boolean
- Has interfaces.
- last
Updated String - manufacturer
Id Number - Id of the manufacturer.
- manufacturer
Slug String - Slug of the manufacturer.
- model String
- Model name (unique per manufacturer).
- module
Bay NumberTemplate Count - Number of module bay templates of the module type.
- module
Bays Boolean - Has module bays.
- module
Count Number - Number of modules of the module type.
- owner
Group NumberId - Id of the owner group.
- owner
Group StringName - Name of the owner group.
- owner
Id Number - Id of the owner the object is assigned to.
- owner
Name String - Name of the owner.
- part
Number String - Discrete part number.
- pass
Through BooleanPorts - Has pass-through ports.
- power
Outlet NumberTemplate Count - Number of power outlet templates of the module type.
- power
Outlets Boolean - Has power outlets.
- power
Port NumberTemplate Count - Number of power port templates of the module type.
- power
Ports Boolean - Has power ports.
- profile
Id Number - Id of the module type profile.
- profile
Name String - Name of the profile.
- q String
- Search term, matched against the fields NetBox searches for this object type.
- rear
Port NumberTemplate Count - Number of rear port templates of the module type.
- tag
Id Number - Id of a tag the object carries.
- String
- Slug of a tag the object carries.
- weight Number
- Weight of the module type (requires weight_unit).
- weight
Unit String - Unit of weight. One of: kg, g, lb, oz.
getModuleType 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.
- Attributes string
- Attribute values of the module type as JSON text, as the profile's schema defines them (use jsonencode()).
- Comments string
- Console
Port doubleTemplate Count - Number of console port templates of the module type.
- Console
Server doublePort Template Count - Number of console server port templates of the module 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).
- Description string
- Front
Port doubleTemplate Count - Number of front port templates of the module type.
- Id double
- NetBox id.
- Interface
Template doubleCount - Number of interface templates of the module type.
- 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 module type.
- Module
Count double - Number of modules of the module 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 module type.
- Power
Port doubleTemplate Count - Number of power port templates of the module type.
- Profile
Id double - Id of the module type profile.
- Rear
Port doubleTemplate Count - Number of rear port templates of the module type.
- 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.
- Url string
- Weight double
- Weight of the module type (requires weight_unit).
- Weight
Unit string - Unit of weight. One of: kg, g, lb, oz.
- Console
Ports bool - Has console ports.
- Console
Server boolPorts - Has console server ports.
- Custom
Field Dictionary<string, string>Filters - 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.
- Interfaces bool
- Has interfaces.
- Manufacturer
Slug string - Slug of the manufacturer.
- Module
Bays bool - Has module bays.
- Owner
Group doubleId - Id of the owner group.
- Owner
Group stringName - Name of the owner group.
- Owner
Name string - Name of the owner.
- Pass
Through boolPorts - Has pass-through ports.
- Power
Outlets bool - Has power outlets.
- Power
Ports bool - Has power ports.
- Profile
Name string - Name of the profile.
- Q string
- Search term, matched against the fields NetBox searches for this object type.
- Tag
Id double - Id of a tag the object carries.
- 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.
- Attributes string
- Attribute values of the module type as JSON text, as the profile's schema defines them (use jsonencode()).
- Comments string
- Console
Port float64Template Count - Number of console port templates of the module type.
- Console
Server float64Port Template Count - Number of console server port templates of the module 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).
- Description string
- Front
Port float64Template Count - Number of front port templates of the module type.
- Id float64
- NetBox id.
- Interface
Template float64Count - Number of interface templates of the module type.
- 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 module type.
- Module
Count float64 - Number of modules of the module 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 module type.
- Power
Port float64Template Count - Number of power port templates of the module type.
- Profile
Id float64 - Id of the module type profile.
- Rear
Port float64Template Count - Number of rear port templates of the module type.
- []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.
- Url string
- Weight float64
- Weight of the module type (requires weight_unit).
- Weight
Unit string - Unit of weight. One of: kg, g, lb, oz.
- Console
Ports bool - Has console ports.
- Console
Server boolPorts - Has console server ports.
- Custom
Field map[string]stringFilters - 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.
- Interfaces bool
- Has interfaces.
- Manufacturer
Slug string - Slug of the manufacturer.
- Module
Bays bool - Has module bays.
- Owner
Group float64Id - Id of the owner group.
- Owner
Group stringName - Name of the owner group.
- Owner
Name string - Name of the owner.
- Pass
Through boolPorts - Has pass-through ports.
- Power
Outlets bool - Has power outlets.
- Power
Ports bool - Has power ports.
- Profile
Name string - Name of the profile.
- Q string
- Search term, matched against the fields NetBox searches for this object type.
- Tag
Id float64 - Id of a tag the object carries.
- 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.
- attributes string
- Attribute values of the module type as JSON text, as the profile's schema defines them (use jsonencode()).
- comments string
- console_
port_ numbertemplate_ count - Number of console port templates of the module type.
- console_
server_ numberport_ template_ count - Number of console server port templates of the module 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).
- description string
- front_
port_ numbertemplate_ count - Number of front port templates of the module type.
- id number
- NetBox id.
- interface_
template_ numbercount - Number of interface templates of the module type.
- 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 module type.
- module_
count number - Number of modules of the module 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 module type.
- power_
port_ numbertemplate_ count - Number of power port templates of the module type.
- profile_
id number - Id of the module type profile.
- rear_
port_ numbertemplate_ count - Number of rear port templates of the module type.
- 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.
- url string
- weight number
- Weight of the module type (requires weight_unit).
- weight_
unit string - Unit of weight. One of: kg, g, lb, oz.
- console_
ports bool - Has console ports.
- console_
server_ boolports - Has console server ports.
- custom_
field_ map(string)filters - 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.
- interfaces bool
- Has interfaces.
- manufacturer_
slug string - Slug of the manufacturer.
- module_
bays bool - Has module bays.
- owner_
group_ numberid - Id of the owner group.
- owner_
group_ stringname - Name of the owner group.
- owner_
name string - Name of the owner.
- pass_
through_ boolports - Has pass-through ports.
- power_
outlets bool - Has power outlets.
- power_
ports bool - Has power ports.
- profile_
name string - Name of the profile.
- q string
- Search term, matched against the fields NetBox searches for this object type.
- tag_
id number - Id of a tag the object carries.
- 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.
- attributes String
- Attribute values of the module type as JSON text, as the profile's schema defines them (use jsonencode()).
- comments String
- console
Port DoubleTemplate Count - Number of console port templates of the module type.
- console
Server DoublePort Template Count - Number of console server port templates of the module 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).
- description String
- front
Port DoubleTemplate Count - Number of front port templates of the module type.
- id Double
- NetBox id.
- interface
Template DoubleCount - Number of interface templates of the module type.
- 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 module type.
- module
Count Double - Number of modules of the module 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 module type.
- power
Port DoubleTemplate Count - Number of power port templates of the module type.
- profile
Id Double - Id of the module type profile.
- rear
Port DoubleTemplate Count - Number of rear port templates of the module type.
- 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.
- url String
- weight Double
- Weight of the module type (requires weight_unit).
- weight
Unit String - Unit of weight. One of: kg, g, lb, oz.
- console
Ports Boolean - Has console ports.
- console
Server BooleanPorts - Has console server ports.
- custom
Field Map<String,String>Filters - 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.
- interfaces Boolean
- Has interfaces.
- manufacturer
Slug String - Slug of the manufacturer.
- module
Bays Boolean - Has module bays.
- owner
Group DoubleId - Id of the owner group.
- owner
Group StringName - Name of the owner group.
- owner
Name String - Name of the owner.
- pass
Through BooleanPorts - Has pass-through ports.
- power
Outlets Boolean - Has power outlets.
- power
Ports Boolean - Has power ports.
- profile
Name String - Name of the profile.
- q String
- Search term, matched against the fields NetBox searches for this object type.
- tag
Id Double - Id of a tag the object carries.
- 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.
- attributes string
- Attribute values of the module type as JSON text, as the profile's schema defines them (use jsonencode()).
- comments string
- console
Port numberTemplate Count - Number of console port templates of the module type.
- console
Server numberPort Template Count - Number of console server port templates of the module 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).
- description string
- front
Port numberTemplate Count - Number of front port templates of the module type.
- id number
- NetBox id.
- interface
Template numberCount - Number of interface templates of the module type.
- 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 module type.
- module
Count number - Number of modules of the module 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 module type.
- power
Port numberTemplate Count - Number of power port templates of the module type.
- profile
Id number - Id of the module type profile.
- rear
Port numberTemplate Count - Number of rear port templates of the module type.
- 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.
- url string
- weight number
- Weight of the module type (requires weight_unit).
- weight
Unit string - Unit of weight. One of: kg, g, lb, oz.
- console
Ports boolean - Has console ports.
- console
Server booleanPorts - Has console server ports.
- custom
Field {[key: string]: string}Filters - 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.
- interfaces boolean
- Has interfaces.
- manufacturer
Slug string - Slug of the manufacturer.
- module
Bays boolean - Has module bays.
- owner
Group numberId - Id of the owner group.
- owner
Group stringName - Name of the owner group.
- owner
Name string - Name of the owner.
- pass
Through booleanPorts - Has pass-through ports.
- power
Outlets boolean - Has power outlets.
- power
Ports boolean - Has power ports.
- profile
Name string - Name of the profile.
- q string
- Search term, matched against the fields NetBox searches for this object type.
- tag
Id number - Id of a tag the object carries.
- 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.
- attributes str
- Attribute values of the module type as JSON text, as the profile's schema defines them (use jsonencode()).
- comments str
- console_
port_ floattemplate_ count - Number of console port templates of the module type.
- console_
server_ floatport_ template_ count - Number of console server port templates of the module 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).
- description str
- front_
port_ floattemplate_ count - Number of front port templates of the module type.
- id float
- NetBox id.
- interface_
template_ floatcount - Number of interface templates of the module type.
- 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 module type.
- module_
count float - Number of modules of the module 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 module type.
- power_
port_ floattemplate_ count - Number of power port templates of the module type.
- profile_
id float - Id of the module type profile.
- rear_
port_ floattemplate_ count - Number of rear port templates of the module type.
- 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.
- url str
- weight float
- Weight of the module type (requires weight_unit).
- weight_
unit str - Unit of weight. One of: kg, g, lb, oz.
- console_
ports bool - Has console ports.
- console_
server_ boolports - Has console server ports.
- custom_
field_ Mapping[str, str]filters - 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.
- interfaces bool
- Has interfaces.
- manufacturer_
slug str - Slug of the manufacturer.
- module_
bays bool - Has module bays.
- owner_
group_ floatid - Id of the owner group.
- owner_
group_ strname - Name of the owner group.
- owner_
name str - Name of the owner.
- pass_
through_ boolports - Has pass-through ports.
- power_
outlets bool - Has power outlets.
- power_
ports bool - Has power ports.
- profile_
name str - Name of the profile.
- q str
- Search term, matched against the fields NetBox searches for this object type.
- tag_
id float - Id of a tag the object carries.
- 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.
- attributes String
- Attribute values of the module type as JSON text, as the profile's schema defines them (use jsonencode()).
- comments String
- console
Port NumberTemplate Count - Number of console port templates of the module type.
- console
Server NumberPort Template Count - Number of console server port templates of the module 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).
- description String
- front
Port NumberTemplate Count - Number of front port templates of the module type.
- id Number
- NetBox id.
- interface
Template NumberCount - Number of interface templates of the module type.
- 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 module type.
- module
Count Number - Number of modules of the module 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 module type.
- power
Port NumberTemplate Count - Number of power port templates of the module type.
- profile
Id Number - Id of the module type profile.
- rear
Port NumberTemplate Count - Number of rear port templates of the module type.
- 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.
- url String
- weight Number
- Weight of the module type (requires weight_unit).
- weight
Unit String - Unit of weight. One of: kg, g, lb, oz.
- console
Ports Boolean - Has console ports.
- console
Server BooleanPorts - Has console server ports.
- custom
Field Map<String>Filters - 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.
- interfaces Boolean
- Has interfaces.
- manufacturer
Slug String - Slug of the manufacturer.
- module
Bays Boolean - Has module bays.
- owner
Group NumberId - Id of the owner group.
- owner
Group StringName - Name of the owner group.
- owner
Name String - Name of the owner.
- pass
Through BooleanPorts - Has pass-through ports.
- power
Outlets Boolean - Has power outlets.
- power
Ports Boolean - Has power ports.
- profile
Name String - Name of the profile.
- q String
- Search term, matched against the fields NetBox searches for this object type.
- tag
Id Number - Id of a tag the object carries.
- 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
netboxTerraform Provider.
published on Monday, Nov 16, 2026 by e-breuninger