1. Registry
  2. Packages
  3. Netbox Provider
  4. API Docs
  5. getDeviceInterface
Viewing docs for netbox 6.0.0
published on Wednesday, Nov 4, 2026 by e-breuninger
netbox
Viewing docs for netbox 6.0.0
published on Wednesday, Nov 4, 2026 by e-breuninger

    A device interface (dcim.interface).

    From the official documentation:

    Interfaces in NetBox represent network interfaces used to exchange data with connected devices. On modern networks, these are most commonly Ethernet, but other types are supported as well. IP addresses and VLANs can be assigned to interfaces.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as netbox from "@pulumi/netbox";
    
    const test = netbox.getDeviceInterface({
        name: "test-device_interface",
    });
    
    import pulumi
    import pulumi_netbox as netbox
    
    test = netbox.get_device_interface(name="test-device_interface")
    
    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.LookupDeviceInterface(ctx, &netbox.LookupDeviceInterfaceArgs{
    			Name: pulumi.StringRef("test-device_interface"),
    		}, 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.GetDeviceInterface.Invoke(new()
        {
            Name = "test-device_interface",
        });
    
    });
    
    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.GetDeviceInterfaceArgs;
    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.getDeviceInterface(GetDeviceInterfaceArgs.builder()
                .name("test-device_interface")
                .build());
    
        }
    }
    
    variables:
      test:
        fn::invoke:
          function: netbox:getDeviceInterface
          arguments:
            name: test-device_interface
    
    Example coming soon!
    

    Using getDeviceInterface

    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 getDeviceInterface(args: GetDeviceInterfaceArgs, opts?: InvokeOptions): Promise<GetDeviceInterfaceResult>
    function getDeviceInterfaceOutput(args: GetDeviceInterfaceOutputArgs, opts?: InvokeOutputOptions): Output<GetDeviceInterfaceResult>
    def get_device_interface(custom_field_filters: Optional[Mapping[str, str]] = None,
                             device_id: Optional[float] = None,
                             enabled: Optional[bool] = None,
                             id: Optional[float] = None,
                             lag_device_interface_id: Optional[float] = None,
                             mac_address: Optional[str] = None,
                             mode: Optional[str] = None,
                             name: Optional[str] = None,
                             owner_id: Optional[float] = None,
                             tag_slug: Optional[str] = None,
                             type: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetDeviceInterfaceResult
    def get_device_interface_output(custom_field_filters: pulumi.Input[Optional[Mapping[str, pulumi.Input[str]]]] = None,
                             device_id: pulumi.Input[Optional[float]] = None,
                             enabled: pulumi.Input[Optional[bool]] = None,
                             id: pulumi.Input[Optional[float]] = None,
                             lag_device_interface_id: pulumi.Input[Optional[float]] = None,
                             mac_address: pulumi.Input[Optional[str]] = None,
                             mode: pulumi.Input[Optional[str]] = None,
                             name: pulumi.Input[Optional[str]] = None,
                             owner_id: pulumi.Input[Optional[float]] = None,
                             tag_slug: pulumi.Input[Optional[str]] = None,
                             type: pulumi.Input[Optional[str]] = None,
                             opts: Optional[InvokeOutputOptions] = None) -> Output[GetDeviceInterfaceResult]
    func LookupDeviceInterface(ctx *Context, args *LookupDeviceInterfaceArgs, opts ...InvokeOption) (*LookupDeviceInterfaceResult, error)
    func LookupDeviceInterfaceOutput(ctx *Context, args *LookupDeviceInterfaceOutputArgs, opts ...InvokeOption) LookupDeviceInterfaceResultOutput

    > Note: This function is named LookupDeviceInterface in the Go SDK.

    public static class GetDeviceInterface 
    {
        public static Task<GetDeviceInterfaceResult> InvokeAsync(GetDeviceInterfaceArgs args, InvokeOptions? opts = null)
        public static Output<GetDeviceInterfaceResult> Invoke(GetDeviceInterfaceInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetDeviceInterfaceResult> Invoke(GetDeviceInterfaceInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetDeviceInterfaceResult> getDeviceInterface(GetDeviceInterfaceArgs args, InvokeOptions options)
    public static Output<GetDeviceInterfaceResult> getDeviceInterface(GetDeviceInterfaceArgs args, InvokeOptions options)
    public static Output<GetDeviceInterfaceResult> getDeviceInterface(GetDeviceInterfaceArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: netbox:index/getDeviceInterface:getDeviceInterface
      arguments:
        # arguments dictionary
    data "netbox_get_device_interface" "name" {
        # arguments
    }

    The following arguments are supported:

    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.
    DeviceId double
    Id of the device.
    Enabled bool
    Whether the interface is enabled.
    Id double
    NetBox id.
    LagDeviceInterfaceId double
    Id of the parent LAG interface.
    MacAddress string
    MAC address assigned to the interface.
    Mode string
    802.1Q tagging mode. One of: access, tagged, tagged-all, q-in-q.
    Name string
    OwnerId double
    Id of the owner the object is assigned to.
    TagSlug string
    Slug of a tag the object carries.
    Type string
    Interface type as its NetBox slug, e.g. virtual, lag, bridge, 1000base-t, 10gbase-x-sfpp (any of NetBox's interface type choices).
    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.
    DeviceId float64
    Id of the device.
    Enabled bool
    Whether the interface is enabled.
    Id float64
    NetBox id.
    LagDeviceInterfaceId float64
    Id of the parent LAG interface.
    MacAddress string
    MAC address assigned to the interface.
    Mode string
    802.1Q tagging mode. One of: access, tagged, tagged-all, q-in-q.
    Name string
    OwnerId float64
    Id of the owner the object is assigned to.
    TagSlug string
    Slug of a tag the object carries.
    Type string
    Interface type as its NetBox slug, e.g. virtual, lag, bridge, 1000base-t, 10gbase-x-sfpp (any of NetBox's interface type choices).
    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.
    device_id number
    Id of the device.
    enabled bool
    Whether the interface is enabled.
    id number
    NetBox id.
    lag_device_interface_id number
    Id of the parent LAG interface.
    mac_address string
    MAC address assigned to the interface.
    mode string
    802.1Q tagging mode. One of: access, tagged, tagged-all, q-in-q.
    name string
    owner_id number
    Id of the owner the object is assigned to.
    tag_slug string
    Slug of a tag the object carries.
    type string
    Interface type as its NetBox slug, e.g. virtual, lag, bridge, 1000base-t, 10gbase-x-sfpp (any of NetBox's interface type choices).
    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.
    deviceId Double
    Id of the device.
    enabled Boolean
    Whether the interface is enabled.
    id Double
    NetBox id.
    lagDeviceInterfaceId Double
    Id of the parent LAG interface.
    macAddress String
    MAC address assigned to the interface.
    mode String
    802.1Q tagging mode. One of: access, tagged, tagged-all, q-in-q.
    name String
    ownerId Double
    Id of the owner the object is assigned to.
    tagSlug String
    Slug of a tag the object carries.
    type String
    Interface type as its NetBox slug, e.g. virtual, lag, bridge, 1000base-t, 10gbase-x-sfpp (any of NetBox's interface type choices).
    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.
    deviceId number
    Id of the device.
    enabled boolean
    Whether the interface is enabled.
    id number
    NetBox id.
    lagDeviceInterfaceId number
    Id of the parent LAG interface.
    macAddress string
    MAC address assigned to the interface.
    mode string
    802.1Q tagging mode. One of: access, tagged, tagged-all, q-in-q.
    name string
    ownerId number
    Id of the owner the object is assigned to.
    tagSlug string
    Slug of a tag the object carries.
    type string
    Interface type as its NetBox slug, e.g. virtual, lag, bridge, 1000base-t, 10gbase-x-sfpp (any of NetBox's interface type choices).
    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.
    device_id float
    Id of the device.
    enabled bool
    Whether the interface is enabled.
    id float
    NetBox id.
    lag_device_interface_id float
    Id of the parent LAG interface.
    mac_address str
    MAC address assigned to the interface.
    mode str
    802.1Q tagging mode. One of: access, tagged, tagged-all, q-in-q.
    name str
    owner_id float
    Id of the owner the object is assigned to.
    tag_slug str
    Slug of a tag the object carries.
    type str
    Interface type as its NetBox slug, e.g. virtual, lag, bridge, 1000base-t, 10gbase-x-sfpp (any of NetBox's interface type choices).
    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.
    deviceId Number
    Id of the device.
    enabled Boolean
    Whether the interface is enabled.
    id Number
    NetBox id.
    lagDeviceInterfaceId Number
    Id of the parent LAG interface.
    macAddress String
    MAC address assigned to the interface.
    mode String
    802.1Q tagging mode. One of: access, tagged, tagged-all, q-in-q.
    name String
    ownerId Number
    Id of the owner the object is assigned to.
    tagSlug String
    Slug of a tag the object carries.
    type String
    Interface type as its NetBox slug, e.g. virtual, lag, bridge, 1000base-t, 10gbase-x-sfpp (any of NetBox's interface type choices).

    getDeviceInterface Result

    The following output properties are available:

    BridgeId double
    Id of the bridge interface.
    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
    DeviceId double
    Id of the device.
    Duplex string
    One of: half, full, auto.
    Enabled bool
    Whether the interface is enabled.
    Id double
    NetBox id.
    Label string
    Physical label.
    LagDeviceInterfaceId double
    Id of the parent LAG interface.
    LastUpdated string
    MarkConnected bool
    Treat as if a cable is connected.
    MgmtOnly bool
    Whether the interface is used for out-of-band management only.
    Mgmtonly bool
    Deprecated alias of mgmt_only.

    Deprecated: Deprecated

    Mode string
    802.1Q tagging mode. One of: access, tagged, tagged-all, q-in-q.
    ModuleId double
    Id of the installed module this interface belongs to.
    Mtu double
    Must be a whole number.
    Name string
    OwnerId double
    Id of the owner the object is assigned to.
    ParentDeviceInterfaceId double
    Id of the parent interface.
    PoeMode string
    Power over Ethernet mode. One of: pd, pse.
    PoeType string
    Power over Ethernet type as its NetBox slug, e.g. type1-ieee802.3af, type3-ieee802.3bt, passive-24v-2pair (any of NetBox's PoE type choices).
    QinqSvlanId double
    Id of the Q-in-Q service VLAN.
    RfChannel string
    Wireless channel as its NetBox slug, e.g. 2.4g-1-2412-22, 5g-36-5180-20 (any of NetBox's wireless channel choices).
    RfChannelFrequency double
    Channel frequency in MHz. NetBox derives it from rf_channel when that is set.
    RfChannelWidth double
    Channel width in MHz. NetBox derives it from rf_channel when that is set.
    RfRole string
    Wireless role. One of: ap, station.
    Speed double
    Speed in kbps. Must be a whole number.
    TaggedVlanIds List<double>
    Ids of the tagged VLANs.
    TaggedVlans List<double>
    Deprecated alias of taggedvlanids.

    Deprecated: Deprecated

    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.
    TxPower double
    Transmit power in dBm. Must be a whole number.
    Type string
    Interface type as its NetBox slug, e.g. virtual, lag, bridge, 1000base-t, 10gbase-x-sfpp (any of NetBox's interface type choices).
    UntaggedVlan double
    Deprecated alias of untaggedvlanid.

    Deprecated: Deprecated

    UntaggedVlanId double
    Id of the untagged VLAN.
    Url string
    VdcIds List<double>
    Ids of the virtual device contexts.
    VlanTranslationPolicyId double
    Id of the VLAN translation policy.
    VrfId double
    Id of the VRF.
    WirelessLanIds List<double>
    Ids of the wireless LANs.
    Wwn string
    64-bit World Wide Name.
    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.
    MacAddress string
    MAC address assigned to the interface.
    TagSlug string
    Slug of a tag the object carries.
    BridgeId float64
    Id of the bridge interface.
    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
    DeviceId float64
    Id of the device.
    Duplex string
    One of: half, full, auto.
    Enabled bool
    Whether the interface is enabled.
    Id float64
    NetBox id.
    Label string
    Physical label.
    LagDeviceInterfaceId float64
    Id of the parent LAG interface.
    LastUpdated string
    MarkConnected bool
    Treat as if a cable is connected.
    MgmtOnly bool
    Whether the interface is used for out-of-band management only.
    Mgmtonly bool
    Deprecated alias of mgmt_only.

    Deprecated: Deprecated

    Mode string
    802.1Q tagging mode. One of: access, tagged, tagged-all, q-in-q.
    ModuleId float64
    Id of the installed module this interface belongs to.
    Mtu float64
    Must be a whole number.
    Name string
    OwnerId float64
    Id of the owner the object is assigned to.
    ParentDeviceInterfaceId float64
    Id of the parent interface.
    PoeMode string
    Power over Ethernet mode. One of: pd, pse.
    PoeType string
    Power over Ethernet type as its NetBox slug, e.g. type1-ieee802.3af, type3-ieee802.3bt, passive-24v-2pair (any of NetBox's PoE type choices).
    QinqSvlanId float64
    Id of the Q-in-Q service VLAN.
    RfChannel string
    Wireless channel as its NetBox slug, e.g. 2.4g-1-2412-22, 5g-36-5180-20 (any of NetBox's wireless channel choices).
    RfChannelFrequency float64
    Channel frequency in MHz. NetBox derives it from rf_channel when that is set.
    RfChannelWidth float64
    Channel width in MHz. NetBox derives it from rf_channel when that is set.
    RfRole string
    Wireless role. One of: ap, station.
    Speed float64
    Speed in kbps. Must be a whole number.
    TaggedVlanIds []float64
    Ids of the tagged VLANs.
    TaggedVlans []float64
    Deprecated alias of taggedvlanids.

    Deprecated: Deprecated

    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.
    TxPower float64
    Transmit power in dBm. Must be a whole number.
    Type string
    Interface type as its NetBox slug, e.g. virtual, lag, bridge, 1000base-t, 10gbase-x-sfpp (any of NetBox's interface type choices).
    UntaggedVlan float64
    Deprecated alias of untaggedvlanid.

    Deprecated: Deprecated

    UntaggedVlanId float64
    Id of the untagged VLAN.
    Url string
    VdcIds []float64
    Ids of the virtual device contexts.
    VlanTranslationPolicyId float64
    Id of the VLAN translation policy.
    VrfId float64
    Id of the VRF.
    WirelessLanIds []float64
    Ids of the wireless LANs.
    Wwn string
    64-bit World Wide Name.
    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.
    MacAddress string
    MAC address assigned to the interface.
    TagSlug string
    Slug of a tag the object carries.
    bridge_id number
    Id of the bridge interface.
    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_id number
    Id of the device.
    duplex string
    One of: half, full, auto.
    enabled bool
    Whether the interface is enabled.
    id number
    NetBox id.
    label string
    Physical label.
    lag_device_interface_id number
    Id of the parent LAG interface.
    last_updated string
    mark_connected bool
    Treat as if a cable is connected.
    mgmt_only bool
    Whether the interface is used for out-of-band management only.
    mgmtonly bool
    Deprecated alias of mgmt_only.

    Deprecated: Deprecated

    mode string
    802.1Q tagging mode. One of: access, tagged, tagged-all, q-in-q.
    module_id number
    Id of the installed module this interface belongs to.
    mtu number
    Must be a whole number.
    name string
    owner_id number
    Id of the owner the object is assigned to.
    parent_device_interface_id number
    Id of the parent interface.
    poe_mode string
    Power over Ethernet mode. One of: pd, pse.
    poe_type string
    Power over Ethernet type as its NetBox slug, e.g. type1-ieee802.3af, type3-ieee802.3bt, passive-24v-2pair (any of NetBox's PoE type choices).
    qinq_svlan_id number
    Id of the Q-in-Q service VLAN.
    rf_channel string
    Wireless channel as its NetBox slug, e.g. 2.4g-1-2412-22, 5g-36-5180-20 (any of NetBox's wireless channel choices).
    rf_channel_frequency number
    Channel frequency in MHz. NetBox derives it from rf_channel when that is set.
    rf_channel_width number
    Channel width in MHz. NetBox derives it from rf_channel when that is set.
    rf_role string
    Wireless role. One of: ap, station.
    speed number
    Speed in kbps. Must be a whole number.
    tagged_vlan_ids list(number)
    Ids of the tagged VLANs.
    tagged_vlans list(number)
    Deprecated alias of taggedvlanids.

    Deprecated: Deprecated

    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.
    tx_power number
    Transmit power in dBm. Must be a whole number.
    type string
    Interface type as its NetBox slug, e.g. virtual, lag, bridge, 1000base-t, 10gbase-x-sfpp (any of NetBox's interface type choices).
    untagged_vlan number
    Deprecated alias of untaggedvlanid.

    Deprecated: Deprecated

    untagged_vlan_id number
    Id of the untagged VLAN.
    url string
    vdc_ids list(number)
    Ids of the virtual device contexts.
    vlan_translation_policy_id number
    Id of the VLAN translation policy.
    vrf_id number
    Id of the VRF.
    wireless_lan_ids list(number)
    Ids of the wireless LANs.
    wwn string
    64-bit World Wide Name.
    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.
    mac_address string
    MAC address assigned to the interface.
    tag_slug string
    Slug of a tag the object carries.
    bridgeId Double
    Id of the bridge interface.
    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
    deviceId Double
    Id of the device.
    duplex String
    One of: half, full, auto.
    enabled Boolean
    Whether the interface is enabled.
    id Double
    NetBox id.
    label String
    Physical label.
    lagDeviceInterfaceId Double
    Id of the parent LAG interface.
    lastUpdated String
    markConnected Boolean
    Treat as if a cable is connected.
    mgmtOnly Boolean
    Whether the interface is used for out-of-band management only.
    mgmtonly Boolean
    Deprecated alias of mgmt_only.

    Deprecated: Deprecated

    mode String
    802.1Q tagging mode. One of: access, tagged, tagged-all, q-in-q.
    moduleId Double
    Id of the installed module this interface belongs to.
    mtu Double
    Must be a whole number.
    name String
    ownerId Double
    Id of the owner the object is assigned to.
    parentDeviceInterfaceId Double
    Id of the parent interface.
    poeMode String
    Power over Ethernet mode. One of: pd, pse.
    poeType String
    Power over Ethernet type as its NetBox slug, e.g. type1-ieee802.3af, type3-ieee802.3bt, passive-24v-2pair (any of NetBox's PoE type choices).
    qinqSvlanId Double
    Id of the Q-in-Q service VLAN.
    rfChannel String
    Wireless channel as its NetBox slug, e.g. 2.4g-1-2412-22, 5g-36-5180-20 (any of NetBox's wireless channel choices).
    rfChannelFrequency Double
    Channel frequency in MHz. NetBox derives it from rf_channel when that is set.
    rfChannelWidth Double
    Channel width in MHz. NetBox derives it from rf_channel when that is set.
    rfRole String
    Wireless role. One of: ap, station.
    speed Double
    Speed in kbps. Must be a whole number.
    taggedVlanIds List<Double>
    Ids of the tagged VLANs.
    taggedVlans List<Double>
    Deprecated alias of taggedvlanids.

    Deprecated: Deprecated

    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.
    txPower Double
    Transmit power in dBm. Must be a whole number.
    type String
    Interface type as its NetBox slug, e.g. virtual, lag, bridge, 1000base-t, 10gbase-x-sfpp (any of NetBox's interface type choices).
    untaggedVlan Double
    Deprecated alias of untaggedvlanid.

    Deprecated: Deprecated

    untaggedVlanId Double
    Id of the untagged VLAN.
    url String
    vdcIds List<Double>
    Ids of the virtual device contexts.
    vlanTranslationPolicyId Double
    Id of the VLAN translation policy.
    vrfId Double
    Id of the VRF.
    wirelessLanIds List<Double>
    Ids of the wireless LANs.
    wwn String
    64-bit World Wide Name.
    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.
    macAddress String
    MAC address assigned to the interface.
    tagSlug String
    Slug of a tag the object carries.
    bridgeId number
    Id of the bridge interface.
    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
    deviceId number
    Id of the device.
    duplex string
    One of: half, full, auto.
    enabled boolean
    Whether the interface is enabled.
    id number
    NetBox id.
    label string
    Physical label.
    lagDeviceInterfaceId number
    Id of the parent LAG interface.
    lastUpdated string
    markConnected boolean
    Treat as if a cable is connected.
    mgmtOnly boolean
    Whether the interface is used for out-of-band management only.
    mgmtonly boolean
    Deprecated alias of mgmt_only.

    Deprecated: Deprecated

    mode string
    802.1Q tagging mode. One of: access, tagged, tagged-all, q-in-q.
    moduleId number
    Id of the installed module this interface belongs to.
    mtu number
    Must be a whole number.
    name string
    ownerId number
    Id of the owner the object is assigned to.
    parentDeviceInterfaceId number
    Id of the parent interface.
    poeMode string
    Power over Ethernet mode. One of: pd, pse.
    poeType string
    Power over Ethernet type as its NetBox slug, e.g. type1-ieee802.3af, type3-ieee802.3bt, passive-24v-2pair (any of NetBox's PoE type choices).
    qinqSvlanId number
    Id of the Q-in-Q service VLAN.
    rfChannel string
    Wireless channel as its NetBox slug, e.g. 2.4g-1-2412-22, 5g-36-5180-20 (any of NetBox's wireless channel choices).
    rfChannelFrequency number
    Channel frequency in MHz. NetBox derives it from rf_channel when that is set.
    rfChannelWidth number
    Channel width in MHz. NetBox derives it from rf_channel when that is set.
    rfRole string
    Wireless role. One of: ap, station.
    speed number
    Speed in kbps. Must be a whole number.
    taggedVlanIds number[]
    Ids of the tagged VLANs.
    taggedVlans number[]
    Deprecated alias of taggedvlanids.

    Deprecated: Deprecated

    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.
    txPower number
    Transmit power in dBm. Must be a whole number.
    type string
    Interface type as its NetBox slug, e.g. virtual, lag, bridge, 1000base-t, 10gbase-x-sfpp (any of NetBox's interface type choices).
    untaggedVlan number
    Deprecated alias of untaggedvlanid.

    Deprecated: Deprecated

    untaggedVlanId number
    Id of the untagged VLAN.
    url string
    vdcIds number[]
    Ids of the virtual device contexts.
    vlanTranslationPolicyId number
    Id of the VLAN translation policy.
    vrfId number
    Id of the VRF.
    wirelessLanIds number[]
    Ids of the wireless LANs.
    wwn string
    64-bit World Wide Name.
    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.
    macAddress string
    MAC address assigned to the interface.
    tagSlug string
    Slug of a tag the object carries.
    bridge_id float
    Id of the bridge interface.
    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_id float
    Id of the device.
    duplex str
    One of: half, full, auto.
    enabled bool
    Whether the interface is enabled.
    id float
    NetBox id.
    label str
    Physical label.
    lag_device_interface_id float
    Id of the parent LAG interface.
    last_updated str
    mark_connected bool
    Treat as if a cable is connected.
    mgmt_only bool
    Whether the interface is used for out-of-band management only.
    mgmtonly bool
    Deprecated alias of mgmt_only.

    Deprecated: Deprecated

    mode str
    802.1Q tagging mode. One of: access, tagged, tagged-all, q-in-q.
    module_id float
    Id of the installed module this interface belongs to.
    mtu float
    Must be a whole number.
    name str
    owner_id float
    Id of the owner the object is assigned to.
    parent_device_interface_id float
    Id of the parent interface.
    poe_mode str
    Power over Ethernet mode. One of: pd, pse.
    poe_type str
    Power over Ethernet type as its NetBox slug, e.g. type1-ieee802.3af, type3-ieee802.3bt, passive-24v-2pair (any of NetBox's PoE type choices).
    qinq_svlan_id float
    Id of the Q-in-Q service VLAN.
    rf_channel str
    Wireless channel as its NetBox slug, e.g. 2.4g-1-2412-22, 5g-36-5180-20 (any of NetBox's wireless channel choices).
    rf_channel_frequency float
    Channel frequency in MHz. NetBox derives it from rf_channel when that is set.
    rf_channel_width float
    Channel width in MHz. NetBox derives it from rf_channel when that is set.
    rf_role str
    Wireless role. One of: ap, station.
    speed float
    Speed in kbps. Must be a whole number.
    tagged_vlan_ids Sequence[float]
    Ids of the tagged VLANs.
    tagged_vlans Sequence[float]
    Deprecated alias of taggedvlanids.

    Deprecated: Deprecated

    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.
    tx_power float
    Transmit power in dBm. Must be a whole number.
    type str
    Interface type as its NetBox slug, e.g. virtual, lag, bridge, 1000base-t, 10gbase-x-sfpp (any of NetBox's interface type choices).
    untagged_vlan float
    Deprecated alias of untaggedvlanid.

    Deprecated: Deprecated

    untagged_vlan_id float
    Id of the untagged VLAN.
    url str
    vdc_ids Sequence[float]
    Ids of the virtual device contexts.
    vlan_translation_policy_id float
    Id of the VLAN translation policy.
    vrf_id float
    Id of the VRF.
    wireless_lan_ids Sequence[float]
    Ids of the wireless LANs.
    wwn str
    64-bit World Wide Name.
    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.
    mac_address str
    MAC address assigned to the interface.
    tag_slug str
    Slug of a tag the object carries.
    bridgeId Number
    Id of the bridge interface.
    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
    deviceId Number
    Id of the device.
    duplex String
    One of: half, full, auto.
    enabled Boolean
    Whether the interface is enabled.
    id Number
    NetBox id.
    label String
    Physical label.
    lagDeviceInterfaceId Number
    Id of the parent LAG interface.
    lastUpdated String
    markConnected Boolean
    Treat as if a cable is connected.
    mgmtOnly Boolean
    Whether the interface is used for out-of-band management only.
    mgmtonly Boolean
    Deprecated alias of mgmt_only.

    Deprecated: Deprecated

    mode String
    802.1Q tagging mode. One of: access, tagged, tagged-all, q-in-q.
    moduleId Number
    Id of the installed module this interface belongs to.
    mtu Number
    Must be a whole number.
    name String
    ownerId Number
    Id of the owner the object is assigned to.
    parentDeviceInterfaceId Number
    Id of the parent interface.
    poeMode String
    Power over Ethernet mode. One of: pd, pse.
    poeType String
    Power over Ethernet type as its NetBox slug, e.g. type1-ieee802.3af, type3-ieee802.3bt, passive-24v-2pair (any of NetBox's PoE type choices).
    qinqSvlanId Number
    Id of the Q-in-Q service VLAN.
    rfChannel String
    Wireless channel as its NetBox slug, e.g. 2.4g-1-2412-22, 5g-36-5180-20 (any of NetBox's wireless channel choices).
    rfChannelFrequency Number
    Channel frequency in MHz. NetBox derives it from rf_channel when that is set.
    rfChannelWidth Number
    Channel width in MHz. NetBox derives it from rf_channel when that is set.
    rfRole String
    Wireless role. One of: ap, station.
    speed Number
    Speed in kbps. Must be a whole number.
    taggedVlanIds List<Number>
    Ids of the tagged VLANs.
    taggedVlans List<Number>
    Deprecated alias of taggedvlanids.

    Deprecated: Deprecated

    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.
    txPower Number
    Transmit power in dBm. Must be a whole number.
    type String
    Interface type as its NetBox slug, e.g. virtual, lag, bridge, 1000base-t, 10gbase-x-sfpp (any of NetBox's interface type choices).
    untaggedVlan Number
    Deprecated alias of untaggedvlanid.

    Deprecated: Deprecated

    untaggedVlanId Number
    Id of the untagged VLAN.
    url String
    vdcIds List<Number>
    Ids of the virtual device contexts.
    vlanTranslationPolicyId Number
    Id of the VLAN translation policy.
    vrfId Number
    Id of the VRF.
    wirelessLanIds List<Number>
    Ids of the wireless LANs.
    wwn String
    64-bit World Wide Name.
    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.
    macAddress String
    MAC address assigned to the interface.
    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.0
    published on Wednesday, Nov 4, 2026 by e-breuninger

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial