1. Registry
  2. Packages
  3. Netbox Provider
  4. API Docs
  5. getModuleType
Viewing docs for netbox 6.0.1
published on Monday, Nov 16, 2026 by e-breuninger

netbox.getModuleType

netbox
Viewing docs for netbox 6.0.1
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 dictionary
    data "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.
    ConsolePortTemplateCount double
    Number of console port templates of the module type.
    ConsolePorts bool
    Has console ports.
    ConsoleServerPortTemplateCount double
    Number of console server port templates of the module type.
    ConsoleServerPorts bool
    Has console server ports.
    Created string
    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.
    Description string
    FrontPortTemplateCount double
    Number of front port templates of the module type.
    Id double
    NetBox id.
    InterfaceTemplateCount double
    Number of interface templates of the module type.
    Interfaces bool
    Has interfaces.
    LastUpdated string
    ManufacturerId double
    Id of the manufacturer.
    ManufacturerSlug string
    Slug of the manufacturer.
    Model string
    Model name (unique per manufacturer).
    ModuleBayTemplateCount double
    Number of module bay templates of the module type.
    ModuleBays bool
    Has module bays.
    ModuleCount double
    Number of modules of the module type.
    OwnerGroupId double
    Id of the owner group.
    OwnerGroupName string
    Name of the owner group.
    OwnerId double
    Id of the owner the object is assigned to.
    OwnerName string
    Name of the owner.
    PartNumber string
    Discrete part number.
    PassThroughPorts bool
    Has pass-through ports.
    PowerOutletTemplateCount double
    Number of power outlet templates of the module type.
    PowerOutlets bool
    Has power outlets.
    PowerPortTemplateCount double
    Number of power port templates of the module type.
    PowerPorts bool
    Has power ports.
    ProfileId double
    Id of the module type profile.
    ProfileName string
    Name of the profile.
    Q string
    Search term, matched against the fields NetBox searches for this object type.
    RearPortTemplateCount double
    Number of rear port templates of the module type.
    TagId double
    Id of a tag the object carries.
    TagSlug string
    Slug of a tag the object carries.
    Weight double
    Weight of the module type (requires weight_unit).
    WeightUnit 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.
    ConsolePortTemplateCount float64
    Number of console port templates of the module type.
    ConsolePorts bool
    Has console ports.
    ConsoleServerPortTemplateCount float64
    Number of console server port templates of the module type.
    ConsoleServerPorts bool
    Has console server ports.
    Created string
    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.
    Description string
    FrontPortTemplateCount float64
    Number of front port templates of the module type.
    Id float64
    NetBox id.
    InterfaceTemplateCount float64
    Number of interface templates of the module type.
    Interfaces bool
    Has interfaces.
    LastUpdated string
    ManufacturerId float64
    Id of the manufacturer.
    ManufacturerSlug string
    Slug of the manufacturer.
    Model string
    Model name (unique per manufacturer).
    ModuleBayTemplateCount float64
    Number of module bay templates of the module type.
    ModuleBays bool
    Has module bays.
    ModuleCount float64
    Number of modules of the module type.
    OwnerGroupId float64
    Id of the owner group.
    OwnerGroupName string
    Name of the owner group.
    OwnerId float64
    Id of the owner the object is assigned to.
    OwnerName string
    Name of the owner.
    PartNumber string
    Discrete part number.
    PassThroughPorts bool
    Has pass-through ports.
    PowerOutletTemplateCount float64
    Number of power outlet templates of the module type.
    PowerOutlets bool
    Has power outlets.
    PowerPortTemplateCount float64
    Number of power port templates of the module type.
    PowerPorts bool
    Has power ports.
    ProfileId float64
    Id of the module type profile.
    ProfileName string
    Name of the profile.
    Q string
    Search term, matched against the fields NetBox searches for this object type.
    RearPortTemplateCount float64
    Number of rear port templates of the module type.
    TagId float64
    Id of a tag the object carries.
    TagSlug string
    Slug of a tag the object carries.
    Weight float64
    Weight of the module type (requires weight_unit).
    WeightUnit 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_template_count number
    Number of console port templates of the module type.
    console_ports bool
    Has console ports.
    console_server_port_template_count number
    Number of console server port templates of the module type.
    console_server_ports bool
    Has console server ports.
    created string
    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.
    description string
    front_port_template_count number
    Number of front port templates of the module type.
    id number
    NetBox id.
    interface_template_count number
    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_template_count number
    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_id number
    Id of the owner group.
    owner_group_name string
    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_ports bool
    Has pass-through ports.
    power_outlet_template_count number
    Number of power outlet templates of the module type.
    power_outlets bool
    Has power outlets.
    power_port_template_count number
    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_template_count number
    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.
    consolePortTemplateCount Double
    Number of console port templates of the module type.
    consolePorts Boolean
    Has console ports.
    consoleServerPortTemplateCount Double
    Number of console server port templates of the module type.
    consoleServerPorts Boolean
    Has console server ports.
    created String
    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.
    description String
    frontPortTemplateCount Double
    Number of front port templates of the module type.
    id Double
    NetBox id.
    interfaceTemplateCount Double
    Number of interface templates of the module type.
    interfaces Boolean
    Has interfaces.
    lastUpdated String
    manufacturerId Double
    Id of the manufacturer.
    manufacturerSlug String
    Slug of the manufacturer.
    model String
    Model name (unique per manufacturer).
    moduleBayTemplateCount Double
    Number of module bay templates of the module type.
    moduleBays Boolean
    Has module bays.
    moduleCount Double
    Number of modules of the module type.
    ownerGroupId Double
    Id of the owner group.
    ownerGroupName String
    Name of the owner group.
    ownerId Double
    Id of the owner the object is assigned to.
    ownerName String
    Name of the owner.
    partNumber String
    Discrete part number.
    passThroughPorts Boolean
    Has pass-through ports.
    powerOutletTemplateCount Double
    Number of power outlet templates of the module type.
    powerOutlets Boolean
    Has power outlets.
    powerPortTemplateCount Double
    Number of power port templates of the module type.
    powerPorts Boolean
    Has power ports.
    profileId Double
    Id of the module type profile.
    profileName String
    Name of the profile.
    q String
    Search term, matched against the fields NetBox searches for this object type.
    rearPortTemplateCount Double
    Number of rear port templates of the module type.
    tagId Double
    Id of a tag the object carries.
    tagSlug String
    Slug of a tag the object carries.
    weight Double
    Weight of the module type (requires weight_unit).
    weightUnit 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.
    consolePortTemplateCount number
    Number of console port templates of the module type.
    consolePorts boolean
    Has console ports.
    consoleServerPortTemplateCount number
    Number of console server port templates of the module type.
    consoleServerPorts boolean
    Has console server ports.
    created string
    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.
    description string
    frontPortTemplateCount number
    Number of front port templates of the module type.
    id number
    NetBox id.
    interfaceTemplateCount number
    Number of interface templates of the module type.
    interfaces boolean
    Has interfaces.
    lastUpdated string
    manufacturerId number
    Id of the manufacturer.
    manufacturerSlug string
    Slug of the manufacturer.
    model string
    Model name (unique per manufacturer).
    moduleBayTemplateCount number
    Number of module bay templates of the module type.
    moduleBays boolean
    Has module bays.
    moduleCount number
    Number of modules of the module type.
    ownerGroupId number
    Id of the owner group.
    ownerGroupName string
    Name of the owner group.
    ownerId number
    Id of the owner the object is assigned to.
    ownerName string
    Name of the owner.
    partNumber string
    Discrete part number.
    passThroughPorts boolean
    Has pass-through ports.
    powerOutletTemplateCount number
    Number of power outlet templates of the module type.
    powerOutlets boolean
    Has power outlets.
    powerPortTemplateCount number
    Number of power port templates of the module type.
    powerPorts boolean
    Has power ports.
    profileId number
    Id of the module type profile.
    profileName string
    Name of the profile.
    q string
    Search term, matched against the fields NetBox searches for this object type.
    rearPortTemplateCount number
    Number of rear port templates of the module type.
    tagId number
    Id of a tag the object carries.
    tagSlug string
    Slug of a tag the object carries.
    weight number
    Weight of the module type (requires weight_unit).
    weightUnit 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_template_count float
    Number of console port templates of the module type.
    console_ports bool
    Has console ports.
    console_server_port_template_count float
    Number of console server port templates of the module type.
    console_server_ports bool
    Has console server ports.
    created str
    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.
    description str
    front_port_template_count float
    Number of front port templates of the module type.
    id float
    NetBox id.
    interface_template_count float
    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_template_count float
    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_id float
    Id of the owner group.
    owner_group_name str
    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_ports bool
    Has pass-through ports.
    power_outlet_template_count float
    Number of power outlet templates of the module type.
    power_outlets bool
    Has power outlets.
    power_port_template_count float
    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_template_count float
    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.
    consolePortTemplateCount Number
    Number of console port templates of the module type.
    consolePorts Boolean
    Has console ports.
    consoleServerPortTemplateCount Number
    Number of console server port templates of the module type.
    consoleServerPorts Boolean
    Has console server ports.
    created String
    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.
    description String
    frontPortTemplateCount Number
    Number of front port templates of the module type.
    id Number
    NetBox id.
    interfaceTemplateCount Number
    Number of interface templates of the module type.
    interfaces Boolean
    Has interfaces.
    lastUpdated String
    manufacturerId Number
    Id of the manufacturer.
    manufacturerSlug String
    Slug of the manufacturer.
    model String
    Model name (unique per manufacturer).
    moduleBayTemplateCount Number
    Number of module bay templates of the module type.
    moduleBays Boolean
    Has module bays.
    moduleCount Number
    Number of modules of the module type.
    ownerGroupId Number
    Id of the owner group.
    ownerGroupName String
    Name of the owner group.
    ownerId Number
    Id of the owner the object is assigned to.
    ownerName String
    Name of the owner.
    partNumber String
    Discrete part number.
    passThroughPorts Boolean
    Has pass-through ports.
    powerOutletTemplateCount Number
    Number of power outlet templates of the module type.
    powerOutlets Boolean
    Has power outlets.
    powerPortTemplateCount Number
    Number of power port templates of the module type.
    powerPorts Boolean
    Has power ports.
    profileId Number
    Id of the module type profile.
    profileName String
    Name of the profile.
    q String
    Search term, matched against the fields NetBox searches for this object type.
    rearPortTemplateCount Number
    Number of rear port templates of the module type.
    tagId Number
    Id of a tag the object carries.
    tagSlug String
    Slug of a tag the object carries.
    weight Number
    Weight of the module type (requires weight_unit).
    weightUnit 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
    ConsolePortTemplateCount double
    Number of console port templates of the module type.
    ConsoleServerPortTemplateCount double
    Number of console server port templates of the module 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).
    Description string
    FrontPortTemplateCount double
    Number of front port templates of the module type.
    Id double
    NetBox id.
    InterfaceTemplateCount double
    Number of interface templates of the module type.
    LastUpdated string
    ManufacturerId double
    Id of the manufacturer.
    Model string
    Model name (unique per manufacturer).
    ModuleBayTemplateCount double
    Number of module bay templates of the module type.
    ModuleCount double
    Number of modules of the module 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 module type.
    PowerPortTemplateCount double
    Number of power port templates of the module type.
    ProfileId double
    Id of the module type profile.
    RearPortTemplateCount double
    Number of rear port templates of the module type.
    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.
    Url string
    Weight double
    Weight of the module type (requires weight_unit).
    WeightUnit string
    Unit of weight. One of: kg, g, lb, oz.
    ConsolePorts bool
    Has console ports.
    ConsoleServerPorts bool
    Has console server ports.
    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.
    Interfaces bool
    Has interfaces.
    ManufacturerSlug string
    Slug of the manufacturer.
    ModuleBays bool
    Has module bays.
    OwnerGroupId double
    Id of the owner group.
    OwnerGroupName string
    Name of the owner group.
    OwnerName string
    Name of the owner.
    PassThroughPorts bool
    Has pass-through ports.
    PowerOutlets bool
    Has power outlets.
    PowerPorts bool
    Has power ports.
    ProfileName string
    Name of the profile.
    Q string
    Search term, matched against the fields NetBox searches for this object type.
    TagId double
    Id of a tag the object carries.
    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.
    Attributes string
    Attribute values of the module type as JSON text, as the profile's schema defines them (use jsonencode()).
    Comments string
    ConsolePortTemplateCount float64
    Number of console port templates of the module type.
    ConsoleServerPortTemplateCount float64
    Number of console server port templates of the module 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).
    Description string
    FrontPortTemplateCount float64
    Number of front port templates of the module type.
    Id float64
    NetBox id.
    InterfaceTemplateCount float64
    Number of interface templates of the module type.
    LastUpdated string
    ManufacturerId float64
    Id of the manufacturer.
    Model string
    Model name (unique per manufacturer).
    ModuleBayTemplateCount float64
    Number of module bay templates of the module type.
    ModuleCount float64
    Number of modules of the module 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 module type.
    PowerPortTemplateCount float64
    Number of power port templates of the module type.
    ProfileId float64
    Id of the module type profile.
    RearPortTemplateCount float64
    Number of rear port templates of the module type.
    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.
    Url string
    Weight float64
    Weight of the module type (requires weight_unit).
    WeightUnit string
    Unit of weight. One of: kg, g, lb, oz.
    ConsolePorts bool
    Has console ports.
    ConsoleServerPorts bool
    Has console server ports.
    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.
    Interfaces bool
    Has interfaces.
    ManufacturerSlug string
    Slug of the manufacturer.
    ModuleBays bool
    Has module bays.
    OwnerGroupId float64
    Id of the owner group.
    OwnerGroupName string
    Name of the owner group.
    OwnerName string
    Name of the owner.
    PassThroughPorts bool
    Has pass-through ports.
    PowerOutlets bool
    Has power outlets.
    PowerPorts bool
    Has power ports.
    ProfileName string
    Name of the profile.
    Q string
    Search term, matched against the fields NetBox searches for this object type.
    TagId float64
    Id of a tag the object carries.
    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.
    attributes string
    Attribute values of the module type as JSON text, as the profile's schema defines them (use jsonencode()).
    comments string
    console_port_template_count number
    Number of console port templates of the module type.
    console_server_port_template_count number
    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_template_count number
    Number of front port templates of the module type.
    id number
    NetBox id.
    interface_template_count number
    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_template_count number
    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_template_count number
    Number of power outlet templates of the module type.
    power_port_template_count number
    Number of power port templates of the module type.
    profile_id number
    Id of the module type profile.
    rear_port_template_count number
    Number of rear port templates of the module type.
    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.
    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_ports bool
    Has console server ports.
    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.
    interfaces bool
    Has interfaces.
    manufacturer_slug string
    Slug of the manufacturer.
    module_bays bool
    Has module bays.
    owner_group_id number
    Id of the owner group.
    owner_group_name string
    Name of the owner group.
    owner_name string
    Name of the owner.
    pass_through_ports bool
    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
    consolePortTemplateCount Double
    Number of console port templates of the module type.
    consoleServerPortTemplateCount Double
    Number of console server port templates of the module 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).
    description String
    frontPortTemplateCount Double
    Number of front port templates of the module type.
    id Double
    NetBox id.
    interfaceTemplateCount Double
    Number of interface templates of the module type.
    lastUpdated String
    manufacturerId Double
    Id of the manufacturer.
    model String
    Model name (unique per manufacturer).
    moduleBayTemplateCount Double
    Number of module bay templates of the module type.
    moduleCount Double
    Number of modules of the module 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 module type.
    powerPortTemplateCount Double
    Number of power port templates of the module type.
    profileId Double
    Id of the module type profile.
    rearPortTemplateCount Double
    Number of rear port templates of the module type.
    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.
    url String
    weight Double
    Weight of the module type (requires weight_unit).
    weightUnit String
    Unit of weight. One of: kg, g, lb, oz.
    consolePorts Boolean
    Has console ports.
    consoleServerPorts Boolean
    Has console server ports.
    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.
    interfaces Boolean
    Has interfaces.
    manufacturerSlug String
    Slug of the manufacturer.
    moduleBays Boolean
    Has module bays.
    ownerGroupId Double
    Id of the owner group.
    ownerGroupName String
    Name of the owner group.
    ownerName String
    Name of the owner.
    passThroughPorts Boolean
    Has pass-through ports.
    powerOutlets Boolean
    Has power outlets.
    powerPorts Boolean
    Has power ports.
    profileName String
    Name of the profile.
    q String
    Search term, matched against the fields NetBox searches for this object type.
    tagId Double
    Id of a tag the object carries.
    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.
    attributes string
    Attribute values of the module type as JSON text, as the profile's schema defines them (use jsonencode()).
    comments string
    consolePortTemplateCount number
    Number of console port templates of the module type.
    consoleServerPortTemplateCount number
    Number of console server port templates of the module 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).
    description string
    frontPortTemplateCount number
    Number of front port templates of the module type.
    id number
    NetBox id.
    interfaceTemplateCount number
    Number of interface templates of the module type.
    lastUpdated string
    manufacturerId number
    Id of the manufacturer.
    model string
    Model name (unique per manufacturer).
    moduleBayTemplateCount number
    Number of module bay templates of the module type.
    moduleCount number
    Number of modules of the module 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 module type.
    powerPortTemplateCount number
    Number of power port templates of the module type.
    profileId number
    Id of the module type profile.
    rearPortTemplateCount number
    Number of rear port templates of the module type.
    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.
    url string
    weight number
    Weight of the module type (requires weight_unit).
    weightUnit string
    Unit of weight. One of: kg, g, lb, oz.
    consolePorts boolean
    Has console ports.
    consoleServerPorts boolean
    Has console server ports.
    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.
    interfaces boolean
    Has interfaces.
    manufacturerSlug string
    Slug of the manufacturer.
    moduleBays boolean
    Has module bays.
    ownerGroupId number
    Id of the owner group.
    ownerGroupName string
    Name of the owner group.
    ownerName string
    Name of the owner.
    passThroughPorts boolean
    Has pass-through ports.
    powerOutlets boolean
    Has power outlets.
    powerPorts boolean
    Has power ports.
    profileName string
    Name of the profile.
    q string
    Search term, matched against the fields NetBox searches for this object type.
    tagId number
    Id of a tag the object carries.
    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.
    attributes str
    Attribute values of the module type as JSON text, as the profile's schema defines them (use jsonencode()).
    comments str
    console_port_template_count float
    Number of console port templates of the module type.
    console_server_port_template_count float
    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_template_count float
    Number of front port templates of the module type.
    id float
    NetBox id.
    interface_template_count float
    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_template_count float
    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_template_count float
    Number of power outlet templates of the module type.
    power_port_template_count float
    Number of power port templates of the module type.
    profile_id float
    Id of the module type profile.
    rear_port_template_count float
    Number of rear port templates of the module type.
    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.
    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_ports bool
    Has console server ports.
    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.
    interfaces bool
    Has interfaces.
    manufacturer_slug str
    Slug of the manufacturer.
    module_bays bool
    Has module bays.
    owner_group_id float
    Id of the owner group.
    owner_group_name str
    Name of the owner group.
    owner_name str
    Name of the owner.
    pass_through_ports bool
    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
    consolePortTemplateCount Number
    Number of console port templates of the module type.
    consoleServerPortTemplateCount Number
    Number of console server port templates of the module 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).
    description String
    frontPortTemplateCount Number
    Number of front port templates of the module type.
    id Number
    NetBox id.
    interfaceTemplateCount Number
    Number of interface templates of the module type.
    lastUpdated String
    manufacturerId Number
    Id of the manufacturer.
    model String
    Model name (unique per manufacturer).
    moduleBayTemplateCount Number
    Number of module bay templates of the module type.
    moduleCount Number
    Number of modules of the module 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 module type.
    powerPortTemplateCount Number
    Number of power port templates of the module type.
    profileId Number
    Id of the module type profile.
    rearPortTemplateCount Number
    Number of rear port templates of the module type.
    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.
    url String
    weight Number
    Weight of the module type (requires weight_unit).
    weightUnit String
    Unit of weight. One of: kg, g, lb, oz.
    consolePorts Boolean
    Has console ports.
    consoleServerPorts Boolean
    Has console server ports.
    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.
    interfaces Boolean
    Has interfaces.
    manufacturerSlug String
    Slug of the manufacturer.
    moduleBays Boolean
    Has module bays.
    ownerGroupId Number
    Id of the owner group.
    ownerGroupName String
    Name of the owner group.
    ownerName String
    Name of the owner.
    passThroughPorts Boolean
    Has pass-through ports.
    powerOutlets Boolean
    Has power outlets.
    powerPorts Boolean
    Has power ports.
    profileName String
    Name of the profile.
    q String
    Search term, matched against the fields NetBox searches for this object type.
    tagId Number
    Id of a tag the object carries.
    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.1
    published on Monday, Nov 16, 2026 by e-breuninger

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial