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

    A device front port (dcim.frontport): a pass-through port on the front of a patch panel or cassette, mapped position by position onto rear ports of the same device.

    From the official documentation:

    Front ports are pass-through ports which represent physical cable connections that comprise part of a longer path. For example, the ports on the front face of a UTP patch panel would be modeled in NetBox as front ports. Each port is assigned a physical type, and must be mapped to a specific rear port on the same device. A single rear port may be mapped to multiple front ports, using numeric positions to annotate the specific alignment of each.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as netbox from "@pulumi/netbox";
    
    const test = new netbox.Site("test", {name: "test-site"});
    const testManufacturer = new netbox.Manufacturer("test", {name: "test-manufacturer"});
    const testDeviceType = new netbox.DeviceType("test", {
        manufacturerId: testManufacturer.manufacturerId,
        model: "test-device-type",
    });
    const testDeviceRole = new netbox.DeviceRole("test", {name: "test-device-role"});
    const testDevice = new netbox.Device("test", {
        name: "test-device",
        deviceTypeId: testDeviceType.deviceTypeId,
        roleId: testDeviceRole.deviceRoleId,
        siteId: test.siteId,
    });
    const testDeviceRearPort = new netbox.DeviceRearPort("test", {
        deviceId: testDevice.deviceId,
        name: "test-rear-port",
        type: "8p8c",
        positions: 4,
    });
    const testDeviceFrontPort = new netbox.DeviceFrontPort("test", {
        deviceId: testDevice.deviceId,
        name: "test-front-port",
        type: "8p8c",
        rearPortId: testDeviceRearPort.deviceRearPortId,
        rearPortPosition: 2,
        colorHex: "ff0000",
        label: "test-label",
        description: "test-description",
    });
    
    import pulumi
    import pulumi_netbox as netbox
    
    test = netbox.Site("test", name="test-site")
    test_manufacturer = netbox.Manufacturer("test", name="test-manufacturer")
    test_device_type = netbox.DeviceType("test",
        manufacturer_id=test_manufacturer.manufacturer_id,
        model="test-device-type")
    test_device_role = netbox.DeviceRole("test", name="test-device-role")
    test_device = netbox.Device("test",
        name="test-device",
        device_type_id=test_device_type.device_type_id,
        role_id=test_device_role.device_role_id,
        site_id=test.site_id)
    test_device_rear_port = netbox.DeviceRearPort("test",
        device_id=test_device.device_id,
        name="test-rear-port",
        type="8p8c",
        positions=4)
    test_device_front_port = netbox.DeviceFrontPort("test",
        device_id=test_device.device_id,
        name="test-front-port",
        type="8p8c",
        rear_port_id=test_device_rear_port.device_rear_port_id,
        rear_port_position=2,
        color_hex="ff0000",
        label="test-label",
        description="test-description")
    
    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 {
    		test, err := netbox.NewSite(ctx, "test", &netbox.SiteArgs{
    			Name: pulumi.String("test-site"),
    		})
    		if err != nil {
    			return err
    		}
    		testManufacturer, err := netbox.NewManufacturer(ctx, "test", &netbox.ManufacturerArgs{
    			Name: pulumi.String("test-manufacturer"),
    		})
    		if err != nil {
    			return err
    		}
    		testDeviceType, err := netbox.NewDeviceType(ctx, "test", &netbox.DeviceTypeArgs{
    			ManufacturerId: testManufacturer.ManufacturerId,
    			Model:          pulumi.String("test-device-type"),
    		})
    		if err != nil {
    			return err
    		}
    		testDeviceRole, err := netbox.NewDeviceRole(ctx, "test", &netbox.DeviceRoleArgs{
    			Name: pulumi.String("test-device-role"),
    		})
    		if err != nil {
    			return err
    		}
    		testDevice, err := netbox.NewDevice(ctx, "test", &netbox.DeviceArgs{
    			Name:         pulumi.String("test-device"),
    			DeviceTypeId: testDeviceType.DeviceTypeId,
    			RoleId:       testDeviceRole.DeviceRoleId,
    			SiteId:       test.SiteId,
    		})
    		if err != nil {
    			return err
    		}
    		testDeviceRearPort, err := netbox.NewDeviceRearPort(ctx, "test", &netbox.DeviceRearPortArgs{
    			DeviceId:  testDevice.DeviceId,
    			Name:      pulumi.String("test-rear-port"),
    			Type:      pulumi.String("8p8c"),
    			Positions: pulumi.Float64(4),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = netbox.NewDeviceFrontPort(ctx, "test", &netbox.DeviceFrontPortArgs{
    			DeviceId:         testDevice.DeviceId,
    			Name:             pulumi.String("test-front-port"),
    			Type:             pulumi.String("8p8c"),
    			RearPortId:       testDeviceRearPort.DeviceRearPortId,
    			RearPortPosition: pulumi.Float64(2),
    			ColorHex:         pulumi.String("ff0000"),
    			Label:            pulumi.String("test-label"),
    			Description:      pulumi.String("test-description"),
    		})
    		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.Site("test", new()
        {
            Name = "test-site",
        });
    
        var testManufacturer = new Netbox.Manufacturer("test", new()
        {
            Name = "test-manufacturer",
        });
    
        var testDeviceType = new Netbox.DeviceType("test", new()
        {
            ManufacturerId = testManufacturer.ManufacturerId,
            Model = "test-device-type",
        });
    
        var testDeviceRole = new Netbox.DeviceRole("test", new()
        {
            Name = "test-device-role",
        });
    
        var testDevice = new Netbox.Device("test", new()
        {
            Name = "test-device",
            DeviceTypeId = testDeviceType.DeviceTypeId,
            RoleId = testDeviceRole.DeviceRoleId,
            SiteId = test.SiteId,
        });
    
        var testDeviceRearPort = new Netbox.DeviceRearPort("test", new()
        {
            DeviceId = testDevice.DeviceId,
            Name = "test-rear-port",
            Type = "8p8c",
            Positions = 4,
        });
    
        var testDeviceFrontPort = new Netbox.DeviceFrontPort("test", new()
        {
            DeviceId = testDevice.DeviceId,
            Name = "test-front-port",
            Type = "8p8c",
            RearPortId = testDeviceRearPort.DeviceRearPortId,
            RearPortPosition = 2,
            ColorHex = "ff0000",
            Label = "test-label",
            Description = "test-description",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.netbox.Site;
    import com.pulumi.netbox.SiteArgs;
    import com.pulumi.netbox.Manufacturer;
    import com.pulumi.netbox.ManufacturerArgs;
    import com.pulumi.netbox.DeviceType;
    import com.pulumi.netbox.DeviceTypeArgs;
    import com.pulumi.netbox.DeviceRole;
    import com.pulumi.netbox.DeviceRoleArgs;
    import com.pulumi.netbox.Device;
    import com.pulumi.netbox.DeviceArgs;
    import com.pulumi.netbox.DeviceRearPort;
    import com.pulumi.netbox.DeviceRearPortArgs;
    import com.pulumi.netbox.DeviceFrontPort;
    import com.pulumi.netbox.DeviceFrontPortArgs;
    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 Site("test", SiteArgs.builder()
                .name("test-site")
                .build());
    
            var testManufacturer = new Manufacturer("testManufacturer", ManufacturerArgs.builder()
                .name("test-manufacturer")
                .build());
    
            var testDeviceType = new DeviceType("testDeviceType", DeviceTypeArgs.builder()
                .manufacturerId(testManufacturer.manufacturerId())
                .model("test-device-type")
                .build());
    
            var testDeviceRole = new DeviceRole("testDeviceRole", DeviceRoleArgs.builder()
                .name("test-device-role")
                .build());
    
            var testDevice = new Device("testDevice", DeviceArgs.builder()
                .name("test-device")
                .deviceTypeId(testDeviceType.deviceTypeId())
                .roleId(testDeviceRole.deviceRoleId())
                .siteId(test.siteId())
                .build());
    
            var testDeviceRearPort = new DeviceRearPort("testDeviceRearPort", DeviceRearPortArgs.builder()
                .deviceId(testDevice.deviceId())
                .name("test-rear-port")
                .type("8p8c")
                .positions(4.0)
                .build());
    
            var testDeviceFrontPort = new DeviceFrontPort("testDeviceFrontPort", DeviceFrontPortArgs.builder()
                .deviceId(testDevice.deviceId())
                .name("test-front-port")
                .type("8p8c")
                .rearPortId(testDeviceRearPort.deviceRearPortId())
                .rearPortPosition(2.0)
                .colorHex("ff0000")
                .label("test-label")
                .description("test-description")
                .build());
    
        }
    }
    
    resources:
      test:
        type: netbox:Site
        properties:
          name: test-site
      testManufacturer:
        type: netbox:Manufacturer
        name: test
        properties:
          name: test-manufacturer
      testDeviceType:
        type: netbox:DeviceType
        name: test
        properties:
          manufacturerId: ${testManufacturer.manufacturerId}
          model: test-device-type
      testDeviceRole:
        type: netbox:DeviceRole
        name: test
        properties:
          name: test-device-role
      testDevice:
        type: netbox:Device
        name: test
        properties:
          name: test-device
          deviceTypeId: ${testDeviceType.deviceTypeId}
          roleId: ${testDeviceRole.deviceRoleId}
          siteId: ${test.siteId}
      testDeviceRearPort:
        type: netbox:DeviceRearPort
        name: test
        properties:
          deviceId: ${testDevice.deviceId}
          name: test-rear-port
          type: 8p8c
          positions: 4
      testDeviceFrontPort:
        type: netbox:DeviceFrontPort
        name: test
        properties:
          deviceId: ${testDevice.deviceId}
          name: test-front-port
          type: 8p8c
          rearPortId: ${testDeviceRearPort.deviceRearPortId}
          rearPortPosition: 2
          colorHex: ff0000
          label: test-label
          description: test-description
    
    Example coming soon!
    

    Create DeviceFrontPort Resource

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

    Constructor syntax

    new DeviceFrontPort(name: string, args: DeviceFrontPortArgs, opts?: CustomResourceOptions);
    @overload
    def DeviceFrontPort(resource_name: str,
                        args: DeviceFrontPortArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def DeviceFrontPort(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        device_id: Optional[float] = None,
                        type: Optional[str] = None,
                        module_id: Optional[float] = None,
                        description: Optional[str] = None,
                        label: Optional[str] = None,
                        mark_connected: Optional[bool] = None,
                        color_hex: Optional[str] = None,
                        name: Optional[str] = None,
                        owner_id: Optional[float] = None,
                        positions: Optional[float] = None,
                        rear_port_id: Optional[float] = None,
                        rear_port_position: Optional[float] = None,
                        rear_ports: Optional[Sequence[DeviceFrontPortRearPortArgs]] = None,
                        tags: Optional[Sequence[str]] = None,
                        custom_fields: Optional[Mapping[str, str]] = None)
    func NewDeviceFrontPort(ctx *Context, name string, args DeviceFrontPortArgs, opts ...ResourceOption) (*DeviceFrontPort, error)
    public DeviceFrontPort(string name, DeviceFrontPortArgs args, CustomResourceOptions? opts = null)
    public DeviceFrontPort(String name, DeviceFrontPortArgs args)
    public DeviceFrontPort(String name, DeviceFrontPortArgs args, CustomResourceOptions options)
    
    type: netbox:DeviceFrontPort
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "netbox_device_front_port" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args DeviceFrontPortArgs
    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 DeviceFrontPortArgs
    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 DeviceFrontPortArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DeviceFrontPortArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DeviceFrontPortArgs
    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 deviceFrontPortResource = new Netbox.DeviceFrontPort("deviceFrontPortResource", new()
    {
        DeviceId = 0.0,
        Type = "string",
        ModuleId = 0.0,
        Description = "string",
        Label = "string",
        MarkConnected = false,
        ColorHex = "string",
        Name = "string",
        OwnerId = 0.0,
        Positions = 0.0,
        RearPortId = 0.0,
        RearPortPosition = 0.0,
        RearPorts = new[]
        {
            new Netbox.Inputs.DeviceFrontPortRearPortArgs
            {
                Position = 0.0,
                RearPortId = 0.0,
                RearPortPosition = 0.0,
            },
        },
        Tags = new[]
        {
            "string",
        },
        CustomFields = 
        {
            { "string", "string" },
        },
    });
    
    example, err := netbox.NewDeviceFrontPort(ctx, "deviceFrontPortResource", &netbox.DeviceFrontPortArgs{
    	DeviceId:         pulumi.Float64(0),
    	Type:             pulumi.String("string"),
    	ModuleId:         pulumi.Float64(0),
    	Description:      pulumi.String("string"),
    	Label:            pulumi.String("string"),
    	MarkConnected:    pulumi.Bool(false),
    	ColorHex:         pulumi.String("string"),
    	Name:             pulumi.String("string"),
    	OwnerId:          pulumi.Float64(0),
    	Positions:        pulumi.Float64(0),
    	RearPortId:       pulumi.Float64(0),
    	RearPortPosition: pulumi.Float64(0),
    	RearPorts: netbox.DeviceFrontPortRearPortArray{
    		&netbox.DeviceFrontPortRearPortArgs{
    			Position:         pulumi.Float64(0),
    			RearPortId:       pulumi.Float64(0),
    			RearPortPosition: pulumi.Float64(0),
    		},
    	},
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	CustomFields: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    resource "netbox_device_front_port" "deviceFrontPortResource" {
      lifecycle {
        create_before_destroy = true
      }
      device_id          = 0
      type               = "string"
      module_id          = 0
      description        = "string"
      label              = "string"
      mark_connected     = false
      color_hex          = "string"
      name               = "string"
      owner_id           = 0
      positions          = 0
      rear_port_id       = 0
      rear_port_position = 0
      rear_ports {
        position           = 0
        rear_port_id       = 0
        rear_port_position = 0
      }
      tags = ["string"]
      custom_fields = {
        "string" = "string"
      }
    }
    
    var deviceFrontPortResource = new DeviceFrontPort("deviceFrontPortResource", DeviceFrontPortArgs.builder()
        .deviceId(0.0)
        .type("string")
        .moduleId(0.0)
        .description("string")
        .label("string")
        .markConnected(false)
        .colorHex("string")
        .name("string")
        .ownerId(0.0)
        .positions(0.0)
        .rearPortId(0.0)
        .rearPortPosition(0.0)
        .rearPorts(DeviceFrontPortRearPortArgs.builder()
            .position(0.0)
            .rearPortId(0.0)
            .rearPortPosition(0.0)
            .build())
        .tags("string")
        .customFields(Map.of("string", "string"))
        .build());
    
    device_front_port_resource = netbox.DeviceFrontPort("deviceFrontPortResource",
        device_id=float(0),
        type="string",
        module_id=float(0),
        description="string",
        label="string",
        mark_connected=False,
        color_hex="string",
        name="string",
        owner_id=float(0),
        positions=float(0),
        rear_port_id=float(0),
        rear_port_position=float(0),
        rear_ports=[{
            "position": float(0),
            "rear_port_id": float(0),
            "rear_port_position": float(0),
        }],
        tags=["string"],
        custom_fields={
            "string": "string",
        })
    
    const deviceFrontPortResource = new netbox.DeviceFrontPort("deviceFrontPortResource", {
        deviceId: 0,
        type: "string",
        moduleId: 0,
        description: "string",
        label: "string",
        markConnected: false,
        colorHex: "string",
        name: "string",
        ownerId: 0,
        positions: 0,
        rearPortId: 0,
        rearPortPosition: 0,
        rearPorts: [{
            position: 0,
            rearPortId: 0,
            rearPortPosition: 0,
        }],
        tags: ["string"],
        customFields: {
            string: "string",
        },
    });
    
    type: netbox:DeviceFrontPort
    properties:
        colorHex: string
        customFields:
            string: string
        description: string
        deviceId: 0
        label: string
        markConnected: false
        moduleId: 0
        name: string
        ownerId: 0
        positions: 0
        rearPortId: 0
        rearPortPosition: 0
        rearPorts:
            - position: 0
              rearPortId: 0
              rearPortPosition: 0
        tags:
            - string
        type: string
    

    DeviceFrontPort 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 DeviceFrontPort resource accepts the following input properties:

    DeviceId double
    Id of the device.
    Type string
    Port type as its NetBox slug, e.g. 8p8c, lc, mpo (any of NetBox's port type choices).
    ColorHex string
    RGB color in hex (e.g. ff0000).
    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
    Label string
    Physical label.
    MarkConnected bool
    Treat as if a cable is connected.
    ModuleId double
    Id of the installed module this component belongs to.
    Name string
    OwnerId double
    Id of the owner the object is assigned to.
    Positions double
    Number of positions on the front port, at least the number of rear_ports mappings. NetBox checks a lower value against the mappings it already holds, so remove mappings in one apply and lower positions in the next. Must be a whole number.
    RearPortId double
    Rear port of a single-position front port: the same as rearports = [{position = 1, rearportid = ..., rearportposition = ...}]. Conflicts with rearports and with positions > 1.
    RearPortPosition double
    Position on rearportid. Requires rearportid. Must be a whole number.
    RearPorts List<DeviceFrontPortRearPort>
    Mappings of the front port's positions onto rear ports of the same device, one object per position. Derived from rearportid and rearportposition when those are set; an empty set, or neither form, leaves the port unmapped. Changing the set recreates every mapping, since NetBox 4.6 rejects an update that resends an existing one.
    Tags List<string>
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    DeviceId float64
    Id of the device.
    Type string
    Port type as its NetBox slug, e.g. 8p8c, lc, mpo (any of NetBox's port type choices).
    ColorHex string
    RGB color in hex (e.g. ff0000).
    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
    Label string
    Physical label.
    MarkConnected bool
    Treat as if a cable is connected.
    ModuleId float64
    Id of the installed module this component belongs to.
    Name string
    OwnerId float64
    Id of the owner the object is assigned to.
    Positions float64
    Number of positions on the front port, at least the number of rear_ports mappings. NetBox checks a lower value against the mappings it already holds, so remove mappings in one apply and lower positions in the next. Must be a whole number.
    RearPortId float64
    Rear port of a single-position front port: the same as rearports = [{position = 1, rearportid = ..., rearportposition = ...}]. Conflicts with rearports and with positions > 1.
    RearPortPosition float64
    Position on rearportid. Requires rearportid. Must be a whole number.
    RearPorts []DeviceFrontPortRearPortArgs
    Mappings of the front port's positions onto rear ports of the same device, one object per position. Derived from rearportid and rearportposition when those are set; an empty set, or neither form, leaves the port unmapped. Changing the set recreates every mapping, since NetBox 4.6 rejects an update that resends an existing one.
    Tags []string
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    device_id number
    Id of the device.
    type string
    Port type as its NetBox slug, e.g. 8p8c, lc, mpo (any of NetBox's port type choices).
    color_hex string
    RGB color in hex (e.g. ff0000).
    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
    label string
    Physical label.
    mark_connected bool
    Treat as if a cable is connected.
    module_id number
    Id of the installed module this component belongs to.
    name string
    owner_id number
    Id of the owner the object is assigned to.
    positions number
    Number of positions on the front port, at least the number of rear_ports mappings. NetBox checks a lower value against the mappings it already holds, so remove mappings in one apply and lower positions in the next. Must be a whole number.
    rear_port_id number
    Rear port of a single-position front port: the same as rearports = [{position = 1, rearportid = ..., rearportposition = ...}]. Conflicts with rearports and with positions > 1.
    rear_port_position number
    Position on rearportid. Requires rearportid. Must be a whole number.
    rear_ports list(object)
    Mappings of the front port's positions onto rear ports of the same device, one object per position. Derived from rearportid and rearportposition when those are set; an empty set, or neither form, leaves the port unmapped. Changing the set recreates every mapping, since NetBox 4.6 rejects an update that resends an existing one.
    tags list(string)
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    deviceId Double
    Id of the device.
    type String
    Port type as its NetBox slug, e.g. 8p8c, lc, mpo (any of NetBox's port type choices).
    colorHex String
    RGB color in hex (e.g. ff0000).
    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
    label String
    Physical label.
    markConnected Boolean
    Treat as if a cable is connected.
    moduleId Double
    Id of the installed module this component belongs to.
    name String
    ownerId Double
    Id of the owner the object is assigned to.
    positions Double
    Number of positions on the front port, at least the number of rear_ports mappings. NetBox checks a lower value against the mappings it already holds, so remove mappings in one apply and lower positions in the next. Must be a whole number.
    rearPortId Double
    Rear port of a single-position front port: the same as rearports = [{position = 1, rearportid = ..., rearportposition = ...}]. Conflicts with rearports and with positions > 1.
    rearPortPosition Double
    Position on rearportid. Requires rearportid. Must be a whole number.
    rearPorts List<DeviceFrontPortRearPort>
    Mappings of the front port's positions onto rear ports of the same device, one object per position. Derived from rearportid and rearportposition when those are set; an empty set, or neither form, leaves the port unmapped. Changing the set recreates every mapping, since NetBox 4.6 rejects an update that resends an existing one.
    tags List<String>
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    deviceId number
    Id of the device.
    type string
    Port type as its NetBox slug, e.g. 8p8c, lc, mpo (any of NetBox's port type choices).
    colorHex string
    RGB color in hex (e.g. ff0000).
    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
    label string
    Physical label.
    markConnected boolean
    Treat as if a cable is connected.
    moduleId number
    Id of the installed module this component belongs to.
    name string
    ownerId number
    Id of the owner the object is assigned to.
    positions number
    Number of positions on the front port, at least the number of rear_ports mappings. NetBox checks a lower value against the mappings it already holds, so remove mappings in one apply and lower positions in the next. Must be a whole number.
    rearPortId number
    Rear port of a single-position front port: the same as rearports = [{position = 1, rearportid = ..., rearportposition = ...}]. Conflicts with rearports and with positions > 1.
    rearPortPosition number
    Position on rearportid. Requires rearportid. Must be a whole number.
    rearPorts DeviceFrontPortRearPort[]
    Mappings of the front port's positions onto rear ports of the same device, one object per position. Derived from rearportid and rearportposition when those are set; an empty set, or neither form, leaves the port unmapped. Changing the set recreates every mapping, since NetBox 4.6 rejects an update that resends an existing one.
    tags string[]
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    device_id float
    Id of the device.
    type str
    Port type as its NetBox slug, e.g. 8p8c, lc, mpo (any of NetBox's port type choices).
    color_hex str
    RGB color in hex (e.g. ff0000).
    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
    label str
    Physical label.
    mark_connected bool
    Treat as if a cable is connected.
    module_id float
    Id of the installed module this component belongs to.
    name str
    owner_id float
    Id of the owner the object is assigned to.
    positions float
    Number of positions on the front port, at least the number of rear_ports mappings. NetBox checks a lower value against the mappings it already holds, so remove mappings in one apply and lower positions in the next. Must be a whole number.
    rear_port_id float
    Rear port of a single-position front port: the same as rearports = [{position = 1, rearportid = ..., rearportposition = ...}]. Conflicts with rearports and with positions > 1.
    rear_port_position float
    Position on rearportid. Requires rearportid. Must be a whole number.
    rear_ports Sequence[DeviceFrontPortRearPortArgs]
    Mappings of the front port's positions onto rear ports of the same device, one object per position. Derived from rearportid and rearportposition when those are set; an empty set, or neither form, leaves the port unmapped. Changing the set recreates every mapping, since NetBox 4.6 rejects an update that resends an existing one.
    tags Sequence[str]
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    deviceId Number
    Id of the device.
    type String
    Port type as its NetBox slug, e.g. 8p8c, lc, mpo (any of NetBox's port type choices).
    colorHex String
    RGB color in hex (e.g. ff0000).
    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
    label String
    Physical label.
    markConnected Boolean
    Treat as if a cable is connected.
    moduleId Number
    Id of the installed module this component belongs to.
    name String
    ownerId Number
    Id of the owner the object is assigned to.
    positions Number
    Number of positions on the front port, at least the number of rear_ports mappings. NetBox checks a lower value against the mappings it already holds, so remove mappings in one apply and lower positions in the next. Must be a whole number.
    rearPortId Number
    Rear port of a single-position front port: the same as rearports = [{position = 1, rearportid = ..., rearportposition = ...}]. Conflicts with rearports and with positions > 1.
    rearPortPosition Number
    Position on rearportid. Requires rearportid. Must be a whole number.
    rearPorts List<Property Map>
    Mappings of the front port's positions onto rear ports of the same device, one object per position. Derived from rearportid and rearportposition when those are set; an empty set, or neither form, leaves the port unmapped. Changing the set recreates every mapping, since NetBox 4.6 rejects an update that resends an existing one.
    tags List<String>
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).

    Outputs

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

    Created string
    DeviceFrontPortId double
    NetBox id.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdated string
    TagsAlls List<string>
    Slugs of all tags on the object, including the provider's default_tags.
    Url string
    Created string
    DeviceFrontPortId float64
    NetBox id.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdated string
    TagsAlls []string
    Slugs of all tags on the object, including the provider's default_tags.
    Url string
    created string
    device_front_port_id number
    NetBox id.
    id string
    The provider-assigned unique ID for this managed resource.
    last_updated string
    tags_alls list(string)
    Slugs of all tags on the object, including the provider's default_tags.
    url string
    created String
    deviceFrontPortId Double
    NetBox id.
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdated String
    tagsAlls List<String>
    Slugs of all tags on the object, including the provider's default_tags.
    url String
    created string
    deviceFrontPortId number
    NetBox id.
    id string
    The provider-assigned unique ID for this managed resource.
    lastUpdated string
    tagsAlls string[]
    Slugs of all tags on the object, including the provider's default_tags.
    url string
    created str
    device_front_port_id float
    NetBox id.
    id str
    The provider-assigned unique ID for this managed resource.
    last_updated str
    tags_alls Sequence[str]
    Slugs of all tags on the object, including the provider's default_tags.
    url str
    created String
    deviceFrontPortId Number
    NetBox id.
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdated String
    tagsAlls List<String>
    Slugs of all tags on the object, including the provider's default_tags.
    url String

    Look up Existing DeviceFrontPort Resource

    Get an existing DeviceFrontPort 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?: DeviceFrontPortState, opts?: CustomResourceOptions): DeviceFrontPort
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            color_hex: Optional[str] = None,
            created: Optional[str] = None,
            custom_fields: Optional[Mapping[str, str]] = None,
            description: Optional[str] = None,
            device_front_port_id: Optional[float] = None,
            device_id: Optional[float] = None,
            label: Optional[str] = None,
            last_updated: Optional[str] = None,
            mark_connected: Optional[bool] = None,
            module_id: Optional[float] = None,
            name: Optional[str] = None,
            owner_id: Optional[float] = None,
            positions: Optional[float] = None,
            rear_port_id: Optional[float] = None,
            rear_port_position: Optional[float] = None,
            rear_ports: Optional[Sequence[DeviceFrontPortRearPortArgs]] = None,
            tags: Optional[Sequence[str]] = None,
            tags_alls: Optional[Sequence[str]] = None,
            type: Optional[str] = None,
            url: Optional[str] = None) -> DeviceFrontPort
    func GetDeviceFrontPort(ctx *Context, name string, id IDInput, state *DeviceFrontPortState, opts ...ResourceOption) (*DeviceFrontPort, error)
    public static DeviceFrontPort Get(string name, Input<string> id, DeviceFrontPortState? state, CustomResourceOptions? opts = null)
    public static DeviceFrontPort get(String name, Output<String> id, DeviceFrontPortState state, CustomResourceOptions options)
    resources:  existingDeviceFrontPort:    type: netbox:DeviceFrontPort    get:      id: ${id}
    import {
      to = netbox_device_front_port.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    state DeviceFrontPortState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    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 resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state DeviceFrontPortState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    state DeviceFrontPortState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    state DeviceFrontPortState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    options CustomResourceOptions
    Bag of options to control resource's behavior.
    The following state arguments are supported:
    ColorHex string
    RGB color in hex (e.g. ff0000).
    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
    DeviceFrontPortId double
    NetBox id.
    DeviceId double
    Id of the device.
    Label string
    Physical label.
    LastUpdated string
    MarkConnected bool
    Treat as if a cable is connected.
    ModuleId double
    Id of the installed module this component belongs to.
    Name string
    OwnerId double
    Id of the owner the object is assigned to.
    Positions double
    Number of positions on the front port, at least the number of rear_ports mappings. NetBox checks a lower value against the mappings it already holds, so remove mappings in one apply and lower positions in the next. Must be a whole number.
    RearPortId double
    Rear port of a single-position front port: the same as rearports = [{position = 1, rearportid = ..., rearportposition = ...}]. Conflicts with rearports and with positions > 1.
    RearPortPosition double
    Position on rearportid. Requires rearportid. Must be a whole number.
    RearPorts List<DeviceFrontPortRearPort>
    Mappings of the front port's positions onto rear ports of the same device, one object per position. Derived from rearportid and rearportposition when those are set; an empty set, or neither form, leaves the port unmapped. Changing the set recreates every mapping, since NetBox 4.6 rejects an update that resends an existing one.
    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.
    Type string
    Port type as its NetBox slug, e.g. 8p8c, lc, mpo (any of NetBox's port type choices).
    Url string
    ColorHex string
    RGB color in hex (e.g. ff0000).
    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
    DeviceFrontPortId float64
    NetBox id.
    DeviceId float64
    Id of the device.
    Label string
    Physical label.
    LastUpdated string
    MarkConnected bool
    Treat as if a cable is connected.
    ModuleId float64
    Id of the installed module this component belongs to.
    Name string
    OwnerId float64
    Id of the owner the object is assigned to.
    Positions float64
    Number of positions on the front port, at least the number of rear_ports mappings. NetBox checks a lower value against the mappings it already holds, so remove mappings in one apply and lower positions in the next. Must be a whole number.
    RearPortId float64
    Rear port of a single-position front port: the same as rearports = [{position = 1, rearportid = ..., rearportposition = ...}]. Conflicts with rearports and with positions > 1.
    RearPortPosition float64
    Position on rearportid. Requires rearportid. Must be a whole number.
    RearPorts []DeviceFrontPortRearPortArgs
    Mappings of the front port's positions onto rear ports of the same device, one object per position. Derived from rearportid and rearportposition when those are set; an empty set, or neither form, leaves the port unmapped. Changing the set recreates every mapping, since NetBox 4.6 rejects an update that resends an existing one.
    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.
    Type string
    Port type as its NetBox slug, e.g. 8p8c, lc, mpo (any of NetBox's port type choices).
    Url string
    color_hex string
    RGB color in hex (e.g. ff0000).
    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
    device_front_port_id number
    NetBox id.
    device_id number
    Id of the device.
    label string
    Physical label.
    last_updated string
    mark_connected bool
    Treat as if a cable is connected.
    module_id number
    Id of the installed module this component belongs to.
    name string
    owner_id number
    Id of the owner the object is assigned to.
    positions number
    Number of positions on the front port, at least the number of rear_ports mappings. NetBox checks a lower value against the mappings it already holds, so remove mappings in one apply and lower positions in the next. Must be a whole number.
    rear_port_id number
    Rear port of a single-position front port: the same as rearports = [{position = 1, rearportid = ..., rearportposition = ...}]. Conflicts with rearports and with positions > 1.
    rear_port_position number
    Position on rearportid. Requires rearportid. Must be a whole number.
    rear_ports list(object)
    Mappings of the front port's positions onto rear ports of the same device, one object per position. Derived from rearportid and rearportposition when those are set; an empty set, or neither form, leaves the port unmapped. Changing the set recreates every mapping, since NetBox 4.6 rejects an update that resends an existing one.
    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.
    type string
    Port type as its NetBox slug, e.g. 8p8c, lc, mpo (any of NetBox's port type choices).
    url string
    colorHex String
    RGB color in hex (e.g. ff0000).
    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
    deviceFrontPortId Double
    NetBox id.
    deviceId Double
    Id of the device.
    label String
    Physical label.
    lastUpdated String
    markConnected Boolean
    Treat as if a cable is connected.
    moduleId Double
    Id of the installed module this component belongs to.
    name String
    ownerId Double
    Id of the owner the object is assigned to.
    positions Double
    Number of positions on the front port, at least the number of rear_ports mappings. NetBox checks a lower value against the mappings it already holds, so remove mappings in one apply and lower positions in the next. Must be a whole number.
    rearPortId Double
    Rear port of a single-position front port: the same as rearports = [{position = 1, rearportid = ..., rearportposition = ...}]. Conflicts with rearports and with positions > 1.
    rearPortPosition Double
    Position on rearportid. Requires rearportid. Must be a whole number.
    rearPorts List<DeviceFrontPortRearPort>
    Mappings of the front port's positions onto rear ports of the same device, one object per position. Derived from rearportid and rearportposition when those are set; an empty set, or neither form, leaves the port unmapped. Changing the set recreates every mapping, since NetBox 4.6 rejects an update that resends an existing one.
    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.
    type String
    Port type as its NetBox slug, e.g. 8p8c, lc, mpo (any of NetBox's port type choices).
    url String
    colorHex string
    RGB color in hex (e.g. ff0000).
    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
    deviceFrontPortId number
    NetBox id.
    deviceId number
    Id of the device.
    label string
    Physical label.
    lastUpdated string
    markConnected boolean
    Treat as if a cable is connected.
    moduleId number
    Id of the installed module this component belongs to.
    name string
    ownerId number
    Id of the owner the object is assigned to.
    positions number
    Number of positions on the front port, at least the number of rear_ports mappings. NetBox checks a lower value against the mappings it already holds, so remove mappings in one apply and lower positions in the next. Must be a whole number.
    rearPortId number
    Rear port of a single-position front port: the same as rearports = [{position = 1, rearportid = ..., rearportposition = ...}]. Conflicts with rearports and with positions > 1.
    rearPortPosition number
    Position on rearportid. Requires rearportid. Must be a whole number.
    rearPorts DeviceFrontPortRearPort[]
    Mappings of the front port's positions onto rear ports of the same device, one object per position. Derived from rearportid and rearportposition when those are set; an empty set, or neither form, leaves the port unmapped. Changing the set recreates every mapping, since NetBox 4.6 rejects an update that resends an existing one.
    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.
    type string
    Port type as its NetBox slug, e.g. 8p8c, lc, mpo (any of NetBox's port type choices).
    url string
    color_hex str
    RGB color in hex (e.g. ff0000).
    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
    device_front_port_id float
    NetBox id.
    device_id float
    Id of the device.
    label str
    Physical label.
    last_updated str
    mark_connected bool
    Treat as if a cable is connected.
    module_id float
    Id of the installed module this component belongs to.
    name str
    owner_id float
    Id of the owner the object is assigned to.
    positions float
    Number of positions on the front port, at least the number of rear_ports mappings. NetBox checks a lower value against the mappings it already holds, so remove mappings in one apply and lower positions in the next. Must be a whole number.
    rear_port_id float
    Rear port of a single-position front port: the same as rearports = [{position = 1, rearportid = ..., rearportposition = ...}]. Conflicts with rearports and with positions > 1.
    rear_port_position float
    Position on rearportid. Requires rearportid. Must be a whole number.
    rear_ports Sequence[DeviceFrontPortRearPortArgs]
    Mappings of the front port's positions onto rear ports of the same device, one object per position. Derived from rearportid and rearportposition when those are set; an empty set, or neither form, leaves the port unmapped. Changing the set recreates every mapping, since NetBox 4.6 rejects an update that resends an existing one.
    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.
    type str
    Port type as its NetBox slug, e.g. 8p8c, lc, mpo (any of NetBox's port type choices).
    url str
    colorHex String
    RGB color in hex (e.g. ff0000).
    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
    deviceFrontPortId Number
    NetBox id.
    deviceId Number
    Id of the device.
    label String
    Physical label.
    lastUpdated String
    markConnected Boolean
    Treat as if a cable is connected.
    moduleId Number
    Id of the installed module this component belongs to.
    name String
    ownerId Number
    Id of the owner the object is assigned to.
    positions Number
    Number of positions on the front port, at least the number of rear_ports mappings. NetBox checks a lower value against the mappings it already holds, so remove mappings in one apply and lower positions in the next. Must be a whole number.
    rearPortId Number
    Rear port of a single-position front port: the same as rearports = [{position = 1, rearportid = ..., rearportposition = ...}]. Conflicts with rearports and with positions > 1.
    rearPortPosition Number
    Position on rearportid. Requires rearportid. Must be a whole number.
    rearPorts List<Property Map>
    Mappings of the front port's positions onto rear ports of the same device, one object per position. Derived from rearportid and rearportposition when those are set; an empty set, or neither form, leaves the port unmapped. Changing the set recreates every mapping, since NetBox 4.6 rejects an update that resends an existing one.
    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.
    type String
    Port type as its NetBox slug, e.g. 8p8c, lc, mpo (any of NetBox's port type choices).
    url String

    Supporting Types

    DeviceFrontPortRearPort, DeviceFrontPortRearPortArgs

    Position double
    Position on the front port, 1-based and unique per port. Must be a whole number.
    RearPortId double
    Id of the rear port the position maps to.
    RearPortPosition double
    Position on that rear port, 1-based; each rear port position takes one mapping. Must be a whole number.
    Position float64
    Position on the front port, 1-based and unique per port. Must be a whole number.
    RearPortId float64
    Id of the rear port the position maps to.
    RearPortPosition float64
    Position on that rear port, 1-based; each rear port position takes one mapping. Must be a whole number.
    position number
    Position on the front port, 1-based and unique per port. Must be a whole number.
    rear_port_id number
    Id of the rear port the position maps to.
    rear_port_position number
    Position on that rear port, 1-based; each rear port position takes one mapping. Must be a whole number.
    position Double
    Position on the front port, 1-based and unique per port. Must be a whole number.
    rearPortId Double
    Id of the rear port the position maps to.
    rearPortPosition Double
    Position on that rear port, 1-based; each rear port position takes one mapping. Must be a whole number.
    position number
    Position on the front port, 1-based and unique per port. Must be a whole number.
    rearPortId number
    Id of the rear port the position maps to.
    rearPortPosition number
    Position on that rear port, 1-based; each rear port position takes one mapping. Must be a whole number.
    position float
    Position on the front port, 1-based and unique per port. Must be a whole number.
    rear_port_id float
    Id of the rear port the position maps to.
    rear_port_position float
    Position on that rear port, 1-based; each rear port position takes one mapping. Must be a whole number.
    position Number
    Position on the front port, 1-based and unique per port. Must be a whole number.
    rearPortId Number
    Id of the rear port the position maps to.
    rearPortPosition Number
    Position on that rear port, 1-based; each rear port position takes one mapping. Must be a whole number.

    Import

    In Terraform v1.5.0 and later, the import block can be used with the id attribute, for example:

    terraform

    import {

    to = netbox_device_front_port.test

    id = “123”

    }

    The pulumi import command can be used, for example:

    $ pulumi import netbox:index/deviceFrontPort:DeviceFrontPort test 123
    

    To learn more about importing existing cloud resources, see Importing resources.

    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