1. Registry
  2. Packages
  3. Netbox Provider
  4. API Docs
  5. RearPortTemplate
Viewing docs for netbox 5.8.0
published on Friday, Sep 4, 2026 by e-breuninger
Viewing docs for netbox 5.8.0
published on Friday, Sep 4, 2026 by e-breuninger

    From the official documentation:

    A template for a rear port that will be created on all instantiations of the parent device type. See the rear port documentation for more detail.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as netbox from "@pulumi/netbox";
    
    const test = new netbox.Manufacturer("test", {name: "FS.COM"});
    const testModuleType = new netbox.ModuleType("test", {
        manufacturerId: test.manufacturerId,
        model: "FHD MTP-12 OM4 Cassette",
        partNumber: "FHD-MTP12-OM4-LC12",
    });
    const testRearPortTemplate = new netbox.RearPortTemplate("test", {
        name: "MTP-1",
        label: "MTP-12 trunk port",
        moduleTypeId: testModuleType.moduleTypeId,
        type: "mpo",
        positions: 12,
        colorHex: "f44336",
    });
    
    import pulumi
    import pulumi_netbox as netbox
    
    test = netbox.Manufacturer("test", name="FS.COM")
    test_module_type = netbox.ModuleType("test",
        manufacturer_id=test.manufacturer_id,
        model="FHD MTP-12 OM4 Cassette",
        part_number="FHD-MTP12-OM4-LC12")
    test_rear_port_template = netbox.RearPortTemplate("test",
        name="MTP-1",
        label="MTP-12 trunk port",
        module_type_id=test_module_type.module_type_id,
        type="mpo",
        positions=12,
        color_hex="f44336")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/netbox/v5/netbox"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		test, err := netbox.NewManufacturer(ctx, "test", &netbox.ManufacturerArgs{
    			Name: pulumi.String("FS.COM"),
    		})
    		if err != nil {
    			return err
    		}
    		testModuleType, err := netbox.NewModuleType(ctx, "test", &netbox.ModuleTypeArgs{
    			ManufacturerId: test.ManufacturerId,
    			Model:          pulumi.String("FHD MTP-12 OM4 Cassette"),
    			PartNumber:     pulumi.String("FHD-MTP12-OM4-LC12"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = netbox.NewRearPortTemplate(ctx, "test", &netbox.RearPortTemplateArgs{
    			Name:         pulumi.String("MTP-1"),
    			Label:        pulumi.String("MTP-12 trunk port"),
    			ModuleTypeId: testModuleType.ModuleTypeId,
    			Type:         pulumi.String("mpo"),
    			Positions:    pulumi.Float64(12),
    			ColorHex:     pulumi.String("f44336"),
    		})
    		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 = new Netbox.Manufacturer("test", new()
        {
            Name = "FS.COM",
        });
    
        var testModuleType = new Netbox.ModuleType("test", new()
        {
            ManufacturerId = test.ManufacturerId,
            Model = "FHD MTP-12 OM4 Cassette",
            PartNumber = "FHD-MTP12-OM4-LC12",
        });
    
        var testRearPortTemplate = new Netbox.RearPortTemplate("test", new()
        {
            Name = "MTP-1",
            Label = "MTP-12 trunk port",
            ModuleTypeId = testModuleType.ModuleTypeId,
            Type = "mpo",
            Positions = 12,
            ColorHex = "f44336",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.netbox.Manufacturer;
    import com.pulumi.netbox.ManufacturerArgs;
    import com.pulumi.netbox.ModuleType;
    import com.pulumi.netbox.ModuleTypeArgs;
    import com.pulumi.netbox.RearPortTemplate;
    import com.pulumi.netbox.RearPortTemplateArgs;
    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) {
            var test = new Manufacturer("test", ManufacturerArgs.builder()
                .name("FS.COM")
                .build());
    
            var testModuleType = new ModuleType("testModuleType", ModuleTypeArgs.builder()
                .manufacturerId(test.manufacturerId())
                .model("FHD MTP-12 OM4 Cassette")
                .partNumber("FHD-MTP12-OM4-LC12")
                .build());
    
            var testRearPortTemplate = new RearPortTemplate("testRearPortTemplate", RearPortTemplateArgs.builder()
                .name("MTP-1")
                .label("MTP-12 trunk port")
                .moduleTypeId(testModuleType.moduleTypeId())
                .type("mpo")
                .positions(12.0)
                .colorHex("f44336")
                .build());
    
        }
    }
    
    resources:
      test:
        type: netbox:Manufacturer
        properties:
          name: FS.COM
      testModuleType:
        type: netbox:ModuleType
        name: test
        properties:
          manufacturerId: ${test.manufacturerId}
          model: FHD MTP-12 OM4 Cassette
          partNumber: FHD-MTP12-OM4-LC12
      testRearPortTemplate:
        type: netbox:RearPortTemplate
        name: test
        properties:
          name: MTP-1
          label: MTP-12 trunk port
          moduleTypeId: ${testModuleType.moduleTypeId}
          type: mpo
          positions: 12
          colorHex: f44336
    
    Example coming soon!
    

    Create RearPortTemplate Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new RearPortTemplate(name: string, args: RearPortTemplateArgs, opts?: CustomResourceOptions);
    @overload
    def RearPortTemplate(resource_name: str,
                         args: RearPortTemplateArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def RearPortTemplate(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         type: Optional[str] = None,
                         color_hex: Optional[str] = None,
                         description: Optional[str] = None,
                         device_type_id: Optional[float] = None,
                         label: Optional[str] = None,
                         module_type_id: Optional[float] = None,
                         name: Optional[str] = None,
                         positions: Optional[float] = None,
                         rear_port_template_id: Optional[str] = None)
    func NewRearPortTemplate(ctx *Context, name string, args RearPortTemplateArgs, opts ...ResourceOption) (*RearPortTemplate, error)
    public RearPortTemplate(string name, RearPortTemplateArgs args, CustomResourceOptions? opts = null)
    public RearPortTemplate(String name, RearPortTemplateArgs args)
    public RearPortTemplate(String name, RearPortTemplateArgs args, CustomResourceOptions options)
    
    type: netbox:RearPortTemplate
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "netbox_rear_port_template" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args RearPortTemplateArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args RearPortTemplateArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args RearPortTemplateArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RearPortTemplateArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RearPortTemplateArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var rearPortTemplateResource = new Netbox.RearPortTemplate("rearPortTemplateResource", new()
    {
        Type = "string",
        ColorHex = "string",
        Description = "string",
        DeviceTypeId = 0.0,
        Label = "string",
        ModuleTypeId = 0.0,
        Name = "string",
        Positions = 0.0,
        RearPortTemplateId = "string",
    });
    
    example, err := netbox.NewRearPortTemplate(ctx, "rearPortTemplateResource", &netbox.RearPortTemplateArgs{
    	Type:               pulumi.String("string"),
    	ColorHex:           pulumi.String("string"),
    	Description:        pulumi.String("string"),
    	DeviceTypeId:       pulumi.Float64(0),
    	Label:              pulumi.String("string"),
    	ModuleTypeId:       pulumi.Float64(0),
    	Name:               pulumi.String("string"),
    	Positions:          pulumi.Float64(0),
    	RearPortTemplateId: pulumi.String("string"),
    })
    
    resource "netbox_rear_port_template" "rearPortTemplateResource" {
      lifecycle {
        create_before_destroy = true
      }
      type                  = "string"
      color_hex             = "string"
      description           = "string"
      device_type_id        = 0
      label                 = "string"
      module_type_id        = 0
      name                  = "string"
      positions             = 0
      rear_port_template_id = "string"
    }
    
    var rearPortTemplateResource = new RearPortTemplate("rearPortTemplateResource", RearPortTemplateArgs.builder()
        .type("string")
        .colorHex("string")
        .description("string")
        .deviceTypeId(0.0)
        .label("string")
        .moduleTypeId(0.0)
        .name("string")
        .positions(0.0)
        .rearPortTemplateId("string")
        .build());
    
    rear_port_template_resource = netbox.RearPortTemplate("rearPortTemplateResource",
        type="string",
        color_hex="string",
        description="string",
        device_type_id=float(0),
        label="string",
        module_type_id=float(0),
        name="string",
        positions=float(0),
        rear_port_template_id="string")
    
    const rearPortTemplateResource = new netbox.RearPortTemplate("rearPortTemplateResource", {
        type: "string",
        colorHex: "string",
        description: "string",
        deviceTypeId: 0,
        label: "string",
        moduleTypeId: 0,
        name: "string",
        positions: 0,
        rearPortTemplateId: "string",
    });
    
    type: netbox:RearPortTemplate
    properties:
        colorHex: string
        description: string
        deviceTypeId: 0
        label: string
        moduleTypeId: 0
        name: string
        positions: 0
        rearPortTemplateId: string
        type: string
    

    RearPortTemplate Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The RearPortTemplate resource accepts the following input properties:

    Type string
    One of [8p8c, 8p6c, 8p4c, 8p2c, 6p6c, 6p4c, 6p2c, 4p4c, 4p2c, gg45, tera-4p, tera-2p, tera-1p, 110-punch, bnc, f, n, mrj21, fc, lc, lc-pc, lc-upc, lc-apc, lsh, lsh-pc, lsh-upc, lsh-apc, mpo, mtrj, sc, sc-pc, sc-upc, sc-apc, st, cs, sn, sma-905, sma-906, urm-p2, urm-p4, urm-p8, splice, other].
    ColorHex string
    Description string
    DeviceTypeId double
    Exactly one of device_type_id or module_type_id must be given.
    Label string
    ModuleTypeId double
    Exactly one of device_type_id or module_type_id must be given.
    Name string
    Positions double
    Number of front ports which may be mapped to this rear port. Defaults to 1.
    RearPortTemplateId string
    The ID of this resource.
    Type string
    One of [8p8c, 8p6c, 8p4c, 8p2c, 6p6c, 6p4c, 6p2c, 4p4c, 4p2c, gg45, tera-4p, tera-2p, tera-1p, 110-punch, bnc, f, n, mrj21, fc, lc, lc-pc, lc-upc, lc-apc, lsh, lsh-pc, lsh-upc, lsh-apc, mpo, mtrj, sc, sc-pc, sc-upc, sc-apc, st, cs, sn, sma-905, sma-906, urm-p2, urm-p4, urm-p8, splice, other].
    ColorHex string
    Description string
    DeviceTypeId float64
    Exactly one of device_type_id or module_type_id must be given.
    Label string
    ModuleTypeId float64
    Exactly one of device_type_id or module_type_id must be given.
    Name string
    Positions float64
    Number of front ports which may be mapped to this rear port. Defaults to 1.
    RearPortTemplateId string
    The ID of this resource.
    type string
    One of [8p8c, 8p6c, 8p4c, 8p2c, 6p6c, 6p4c, 6p2c, 4p4c, 4p2c, gg45, tera-4p, tera-2p, tera-1p, 110-punch, bnc, f, n, mrj21, fc, lc, lc-pc, lc-upc, lc-apc, lsh, lsh-pc, lsh-upc, lsh-apc, mpo, mtrj, sc, sc-pc, sc-upc, sc-apc, st, cs, sn, sma-905, sma-906, urm-p2, urm-p4, urm-p8, splice, other].
    color_hex string
    description string
    device_type_id number
    Exactly one of device_type_id or module_type_id must be given.
    label string
    module_type_id number
    Exactly one of device_type_id or module_type_id must be given.
    name string
    positions number
    Number of front ports which may be mapped to this rear port. Defaults to 1.
    rear_port_template_id string
    The ID of this resource.
    type String
    One of [8p8c, 8p6c, 8p4c, 8p2c, 6p6c, 6p4c, 6p2c, 4p4c, 4p2c, gg45, tera-4p, tera-2p, tera-1p, 110-punch, bnc, f, n, mrj21, fc, lc, lc-pc, lc-upc, lc-apc, lsh, lsh-pc, lsh-upc, lsh-apc, mpo, mtrj, sc, sc-pc, sc-upc, sc-apc, st, cs, sn, sma-905, sma-906, urm-p2, urm-p4, urm-p8, splice, other].
    colorHex String
    description String
    deviceTypeId Double
    Exactly one of device_type_id or module_type_id must be given.
    label String
    moduleTypeId Double
    Exactly one of device_type_id or module_type_id must be given.
    name String
    positions Double
    Number of front ports which may be mapped to this rear port. Defaults to 1.
    rearPortTemplateId String
    The ID of this resource.
    type string
    One of [8p8c, 8p6c, 8p4c, 8p2c, 6p6c, 6p4c, 6p2c, 4p4c, 4p2c, gg45, tera-4p, tera-2p, tera-1p, 110-punch, bnc, f, n, mrj21, fc, lc, lc-pc, lc-upc, lc-apc, lsh, lsh-pc, lsh-upc, lsh-apc, mpo, mtrj, sc, sc-pc, sc-upc, sc-apc, st, cs, sn, sma-905, sma-906, urm-p2, urm-p4, urm-p8, splice, other].
    colorHex string
    description string
    deviceTypeId number
    Exactly one of device_type_id or module_type_id must be given.
    label string
    moduleTypeId number
    Exactly one of device_type_id or module_type_id must be given.
    name string
    positions number
    Number of front ports which may be mapped to this rear port. Defaults to 1.
    rearPortTemplateId string
    The ID of this resource.
    type str
    One of [8p8c, 8p6c, 8p4c, 8p2c, 6p6c, 6p4c, 6p2c, 4p4c, 4p2c, gg45, tera-4p, tera-2p, tera-1p, 110-punch, bnc, f, n, mrj21, fc, lc, lc-pc, lc-upc, lc-apc, lsh, lsh-pc, lsh-upc, lsh-apc, mpo, mtrj, sc, sc-pc, sc-upc, sc-apc, st, cs, sn, sma-905, sma-906, urm-p2, urm-p4, urm-p8, splice, other].
    color_hex str
    description str
    device_type_id float
    Exactly one of device_type_id or module_type_id must be given.
    label str
    module_type_id float
    Exactly one of device_type_id or module_type_id must be given.
    name str
    positions float
    Number of front ports which may be mapped to this rear port. Defaults to 1.
    rear_port_template_id str
    The ID of this resource.
    type String
    One of [8p8c, 8p6c, 8p4c, 8p2c, 6p6c, 6p4c, 6p2c, 4p4c, 4p2c, gg45, tera-4p, tera-2p, tera-1p, 110-punch, bnc, f, n, mrj21, fc, lc, lc-pc, lc-upc, lc-apc, lsh, lsh-pc, lsh-upc, lsh-apc, mpo, mtrj, sc, sc-pc, sc-upc, sc-apc, st, cs, sn, sma-905, sma-906, urm-p2, urm-p4, urm-p8, splice, other].
    colorHex String
    description String
    deviceTypeId Number
    Exactly one of device_type_id or module_type_id must be given.
    label String
    moduleTypeId Number
    Exactly one of device_type_id or module_type_id must be given.
    name String
    positions Number
    Number of front ports which may be mapped to this rear port. Defaults to 1.
    rearPortTemplateId String
    The ID of this resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the RearPortTemplate resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing RearPortTemplate Resource

    Get an existing RearPortTemplate resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: RearPortTemplateState, opts?: CustomResourceOptions): RearPortTemplate
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            color_hex: Optional[str] = None,
            description: Optional[str] = None,
            device_type_id: Optional[float] = None,
            label: Optional[str] = None,
            module_type_id: Optional[float] = None,
            name: Optional[str] = None,
            positions: Optional[float] = None,
            rear_port_template_id: Optional[str] = None,
            type: Optional[str] = None) -> RearPortTemplate
    func GetRearPortTemplate(ctx *Context, name string, id IDInput, state *RearPortTemplateState, opts ...ResourceOption) (*RearPortTemplate, error)
    public static RearPortTemplate Get(string name, Input<string> id, RearPortTemplateState? state, CustomResourceOptions? opts = null)
    public static RearPortTemplate get(String name, Output<String> id, RearPortTemplateState state, CustomResourceOptions options)
    resources:  _:    type: netbox:RearPortTemplate    get:      id: ${id}
    import {
      to = netbox_rear_port_template.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ColorHex string
    Description string
    DeviceTypeId double
    Exactly one of device_type_id or module_type_id must be given.
    Label string
    ModuleTypeId double
    Exactly one of device_type_id or module_type_id must be given.
    Name string
    Positions double
    Number of front ports which may be mapped to this rear port. Defaults to 1.
    RearPortTemplateId string
    The ID of this resource.
    Type string
    One of [8p8c, 8p6c, 8p4c, 8p2c, 6p6c, 6p4c, 6p2c, 4p4c, 4p2c, gg45, tera-4p, tera-2p, tera-1p, 110-punch, bnc, f, n, mrj21, fc, lc, lc-pc, lc-upc, lc-apc, lsh, lsh-pc, lsh-upc, lsh-apc, mpo, mtrj, sc, sc-pc, sc-upc, sc-apc, st, cs, sn, sma-905, sma-906, urm-p2, urm-p4, urm-p8, splice, other].
    ColorHex string
    Description string
    DeviceTypeId float64
    Exactly one of device_type_id or module_type_id must be given.
    Label string
    ModuleTypeId float64
    Exactly one of device_type_id or module_type_id must be given.
    Name string
    Positions float64
    Number of front ports which may be mapped to this rear port. Defaults to 1.
    RearPortTemplateId string
    The ID of this resource.
    Type string
    One of [8p8c, 8p6c, 8p4c, 8p2c, 6p6c, 6p4c, 6p2c, 4p4c, 4p2c, gg45, tera-4p, tera-2p, tera-1p, 110-punch, bnc, f, n, mrj21, fc, lc, lc-pc, lc-upc, lc-apc, lsh, lsh-pc, lsh-upc, lsh-apc, mpo, mtrj, sc, sc-pc, sc-upc, sc-apc, st, cs, sn, sma-905, sma-906, urm-p2, urm-p4, urm-p8, splice, other].
    color_hex string
    description string
    device_type_id number
    Exactly one of device_type_id or module_type_id must be given.
    label string
    module_type_id number
    Exactly one of device_type_id or module_type_id must be given.
    name string
    positions number
    Number of front ports which may be mapped to this rear port. Defaults to 1.
    rear_port_template_id string
    The ID of this resource.
    type string
    One of [8p8c, 8p6c, 8p4c, 8p2c, 6p6c, 6p4c, 6p2c, 4p4c, 4p2c, gg45, tera-4p, tera-2p, tera-1p, 110-punch, bnc, f, n, mrj21, fc, lc, lc-pc, lc-upc, lc-apc, lsh, lsh-pc, lsh-upc, lsh-apc, mpo, mtrj, sc, sc-pc, sc-upc, sc-apc, st, cs, sn, sma-905, sma-906, urm-p2, urm-p4, urm-p8, splice, other].
    colorHex String
    description String
    deviceTypeId Double
    Exactly one of device_type_id or module_type_id must be given.
    label String
    moduleTypeId Double
    Exactly one of device_type_id or module_type_id must be given.
    name String
    positions Double
    Number of front ports which may be mapped to this rear port. Defaults to 1.
    rearPortTemplateId String
    The ID of this resource.
    type String
    One of [8p8c, 8p6c, 8p4c, 8p2c, 6p6c, 6p4c, 6p2c, 4p4c, 4p2c, gg45, tera-4p, tera-2p, tera-1p, 110-punch, bnc, f, n, mrj21, fc, lc, lc-pc, lc-upc, lc-apc, lsh, lsh-pc, lsh-upc, lsh-apc, mpo, mtrj, sc, sc-pc, sc-upc, sc-apc, st, cs, sn, sma-905, sma-906, urm-p2, urm-p4, urm-p8, splice, other].
    colorHex string
    description string
    deviceTypeId number
    Exactly one of device_type_id or module_type_id must be given.
    label string
    moduleTypeId number
    Exactly one of device_type_id or module_type_id must be given.
    name string
    positions number
    Number of front ports which may be mapped to this rear port. Defaults to 1.
    rearPortTemplateId string
    The ID of this resource.
    type string
    One of [8p8c, 8p6c, 8p4c, 8p2c, 6p6c, 6p4c, 6p2c, 4p4c, 4p2c, gg45, tera-4p, tera-2p, tera-1p, 110-punch, bnc, f, n, mrj21, fc, lc, lc-pc, lc-upc, lc-apc, lsh, lsh-pc, lsh-upc, lsh-apc, mpo, mtrj, sc, sc-pc, sc-upc, sc-apc, st, cs, sn, sma-905, sma-906, urm-p2, urm-p4, urm-p8, splice, other].
    color_hex str
    description str
    device_type_id float
    Exactly one of device_type_id or module_type_id must be given.
    label str
    module_type_id float
    Exactly one of device_type_id or module_type_id must be given.
    name str
    positions float
    Number of front ports which may be mapped to this rear port. Defaults to 1.
    rear_port_template_id str
    The ID of this resource.
    type str
    One of [8p8c, 8p6c, 8p4c, 8p2c, 6p6c, 6p4c, 6p2c, 4p4c, 4p2c, gg45, tera-4p, tera-2p, tera-1p, 110-punch, bnc, f, n, mrj21, fc, lc, lc-pc, lc-upc, lc-apc, lsh, lsh-pc, lsh-upc, lsh-apc, mpo, mtrj, sc, sc-pc, sc-upc, sc-apc, st, cs, sn, sma-905, sma-906, urm-p2, urm-p4, urm-p8, splice, other].
    colorHex String
    description String
    deviceTypeId Number
    Exactly one of device_type_id or module_type_id must be given.
    label String
    moduleTypeId Number
    Exactly one of device_type_id or module_type_id must be given.
    name String
    positions Number
    Number of front ports which may be mapped to this rear port. Defaults to 1.
    rearPortTemplateId String
    The ID of this resource.
    type String
    One of [8p8c, 8p6c, 8p4c, 8p2c, 6p6c, 6p4c, 6p2c, 4p4c, 4p2c, gg45, tera-4p, tera-2p, tera-1p, 110-punch, bnc, f, n, mrj21, fc, lc, lc-pc, lc-upc, lc-apc, lsh, lsh-pc, lsh-upc, lsh-apc, mpo, mtrj, sc, sc-pc, sc-upc, sc-apc, st, cs, sn, sma-905, sma-906, urm-p2, urm-p4, urm-p8, splice, other].

    Package Details

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

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial