1. Registry
  2. Packages
  3. Netbox Provider
  4. API Docs
  5. getDeviceInterfaces
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

    Lists device_interface objects matching the given filters.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as netbox from "@pulumi/netbox";
    
    const test = netbox.getDeviceInterfaces({
        filters: [{
            name: "name",
            value: "test-device_interface",
        }],
    });
    
    import pulumi
    import pulumi_netbox as netbox
    
    test = netbox.get_device_interfaces(filters=[{
        "name": "name",
        "value": "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.GetDeviceInterfaces(ctx, &netbox.GetDeviceInterfacesArgs{
    			Filters: []netbox.GetDeviceInterfacesFilter{
    				{
    					Name:  "name",
    					Value: "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.GetDeviceInterfaces.Invoke(new()
        {
            Filters = new[]
            {
                new Netbox.Inputs.GetDeviceInterfacesFilterInputArgs
                {
                    Name = "name",
                    Value = "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.GetDeviceInterfacesArgs;
    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.getDeviceInterfaces(GetDeviceInterfacesArgs.builder()
                .filters(GetDeviceInterfacesFilterArgs.builder()
                    .name("name")
                    .value("test-device_interface")
                    .build())
                .build());
    
        }
    }
    
    variables:
      test:
        fn::invoke:
          function: netbox:getDeviceInterfaces
          arguments:
            filters:
              - name: name
                value: test-device_interface
    
    Example coming soon!
    

    Using getDeviceInterfaces

    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 getDeviceInterfaces(args: GetDeviceInterfacesArgs, opts?: InvokeOptions): Promise<GetDeviceInterfacesResult>
    function getDeviceInterfacesOutput(args: GetDeviceInterfacesOutputArgs, opts?: InvokeOutputOptions): Output<GetDeviceInterfacesResult>
    def get_device_interfaces(filters: Optional[Sequence[GetDeviceInterfacesFilter]] = None,
                              limit: Optional[float] = None,
                              opts: Optional[InvokeOptions] = None) -> GetDeviceInterfacesResult
    def get_device_interfaces_output(filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetDeviceInterfacesFilterArgs]]]] = None,
                              limit: pulumi.Input[Optional[float]] = None,
                              opts: Optional[InvokeOutputOptions] = None) -> Output[GetDeviceInterfacesResult]
    func GetDeviceInterfaces(ctx *Context, args *GetDeviceInterfacesArgs, opts ...InvokeOption) (*GetDeviceInterfacesResult, error)
    func GetDeviceInterfacesOutput(ctx *Context, args *GetDeviceInterfacesOutputArgs, opts ...InvokeOption) GetDeviceInterfacesResultOutput

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

    public static class GetDeviceInterfaces 
    {
        public static Task<GetDeviceInterfacesResult> InvokeAsync(GetDeviceInterfacesArgs args, InvokeOptions? opts = null)
        public static Output<GetDeviceInterfacesResult> Invoke(GetDeviceInterfacesInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetDeviceInterfacesResult> Invoke(GetDeviceInterfacesInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetDeviceInterfacesResult> getDeviceInterfaces(GetDeviceInterfacesArgs args, InvokeOptions options)
    public static Output<GetDeviceInterfacesResult> getDeviceInterfaces(GetDeviceInterfacesArgs args, InvokeOptions options)
    public static Output<GetDeviceInterfacesResult> getDeviceInterfaces(GetDeviceInterfacesArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: netbox:index/getDeviceInterfaces:getDeviceInterfaces
      arguments:
        # arguments dictionary
    data "netbox_get_device_interfaces" "name" {
        # arguments
    }

    The following arguments are supported:

    Filters List<GetDeviceInterfacesFilter>
    Query filters, sent as API list parameters. Supported names: deviceid, deviceidn, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, lagid, lagidn, mac_address, mode, modeempty, modeic, modeie, modeiew, modeiregex, modeisw, moden, modenic, modenie, modeniew, modenisw, moderegex, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, tag, tagany, tagn, type, typeempty, typeic, typeie, typeiew, typeiregex, typeisw, typen, typenic, typenie, typeniew, typenisw, type_*regex. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
    Limit double
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    Filters []GetDeviceInterfacesFilter
    Query filters, sent as API list parameters. Supported names: deviceid, deviceidn, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, lagid, lagidn, mac_address, mode, modeempty, modeic, modeie, modeiew, modeiregex, modeisw, moden, modenic, modenie, modeniew, modenisw, moderegex, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, tag, tagany, tagn, type, typeempty, typeic, typeie, typeiew, typeiregex, typeisw, typen, typenic, typenie, typeniew, typenisw, type_*regex. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
    Limit float64
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    filters list(object)
    Query filters, sent as API list parameters. Supported names: deviceid, deviceidn, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, lagid, lagidn, mac_address, mode, modeempty, modeic, modeie, modeiew, modeiregex, modeisw, moden, modenic, modenie, modeniew, modenisw, moderegex, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, tag, tagany, tagn, type, typeempty, typeic, typeie, typeiew, typeiregex, typeisw, typen, typenic, typenie, typeniew, typenisw, type_*regex. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
    limit number
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    filters List<GetDeviceInterfacesFilter>
    Query filters, sent as API list parameters. Supported names: deviceid, deviceidn, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, lagid, lagidn, mac_address, mode, modeempty, modeic, modeie, modeiew, modeiregex, modeisw, moden, modenic, modenie, modeniew, modenisw, moderegex, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, tag, tagany, tagn, type, typeempty, typeic, typeie, typeiew, typeiregex, typeisw, typen, typenic, typenie, typeniew, typenisw, type_*regex. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
    limit Double
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    filters GetDeviceInterfacesFilter[]
    Query filters, sent as API list parameters. Supported names: deviceid, deviceidn, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, lagid, lagidn, mac_address, mode, modeempty, modeic, modeie, modeiew, modeiregex, modeisw, moden, modenic, modenie, modeniew, modenisw, moderegex, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, tag, tagany, tagn, type, typeempty, typeic, typeie, typeiew, typeiregex, typeisw, typen, typenic, typenie, typeniew, typenisw, type_*regex. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
    limit number
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    filters Sequence[GetDeviceInterfacesFilter]
    Query filters, sent as API list parameters. Supported names: deviceid, deviceidn, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, lagid, lagidn, mac_address, mode, modeempty, modeic, modeie, modeiew, modeiregex, modeisw, moden, modenic, modenie, modeniew, modenisw, moderegex, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, tag, tagany, tagn, type, typeempty, typeic, typeie, typeiew, typeiregex, typeisw, typen, typenic, typenie, typeniew, typenisw, type_*regex. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
    limit float
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    filters List<Property Map>
    Query filters, sent as API list parameters. Supported names: deviceid, deviceidn, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, lagid, lagidn, mac_address, mode, modeempty, modeic, modeie, modeiew, modeiregex, modeisw, moden, modenic, modenie, modeniew, modenisw, moderegex, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, tag, tagany, tagn, type, typeempty, typeic, typeie, typeiew, typeiregex, typeisw, typen, typenic, typenie, typeniew, typenisw, type_*regex. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
    limit Number
    The maximum number of objects to return from the API lookup. Defaults to 1000.

    getDeviceInterfaces Result

    The following output properties are available:

    DeviceInterfaces List<GetDeviceInterfacesDeviceInterface>
    The matching device*interfaces.
    Id string
    The provider-assigned unique ID for this managed resource.
    Filters List<GetDeviceInterfacesFilter>
    Query filters, sent as API list parameters. Supported names: deviceid, deviceidn, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, lagid, lagidn, mac_address, mode, modeempty, modeic, modeie, modeiew, modeiregex, modeisw, moden, modenic, modenie, modeniew, modenisw, moderegex, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, tag, tagany, tagn, type, typeempty, typeic, typeie, typeiew, typeiregex, typeisw, typen, typenic, typenie, typeniew, typenisw, type_*regex. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
    Limit double
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    DeviceInterfaces []GetDeviceInterfacesDeviceInterface
    The matching device*interfaces.
    Id string
    The provider-assigned unique ID for this managed resource.
    Filters []GetDeviceInterfacesFilter
    Query filters, sent as API list parameters. Supported names: deviceid, deviceidn, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, lagid, lagidn, mac_address, mode, modeempty, modeic, modeie, modeiew, modeiregex, modeisw, moden, modenic, modenie, modeniew, modenisw, moderegex, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, tag, tagany, tagn, type, typeempty, typeic, typeie, typeiew, typeiregex, typeisw, typen, typenic, typenie, typeniew, typenisw, type_*regex. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
    Limit float64
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    device_interfaces list(object)
    The matching device*interfaces.
    id string
    The provider-assigned unique ID for this managed resource.
    filters list(object)
    Query filters, sent as API list parameters. Supported names: deviceid, deviceidn, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, lagid, lagidn, mac_address, mode, modeempty, modeic, modeie, modeiew, modeiregex, modeisw, moden, modenic, modenie, modeniew, modenisw, moderegex, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, tag, tagany, tagn, type, typeempty, typeic, typeie, typeiew, typeiregex, typeisw, typen, typenic, typenie, typeniew, typenisw, type_*regex. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
    limit number
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    deviceInterfaces List<GetDeviceInterfacesDeviceInterface>
    The matching device*interfaces.
    id String
    The provider-assigned unique ID for this managed resource.
    filters List<GetDeviceInterfacesFilter>
    Query filters, sent as API list parameters. Supported names: deviceid, deviceidn, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, lagid, lagidn, mac_address, mode, modeempty, modeic, modeie, modeiew, modeiregex, modeisw, moden, modenic, modenie, modeniew, modenisw, moderegex, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, tag, tagany, tagn, type, typeempty, typeic, typeie, typeiew, typeiregex, typeisw, typen, typenic, typenie, typeniew, typenisw, type_*regex. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
    limit Double
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    deviceInterfaces GetDeviceInterfacesDeviceInterface[]
    The matching device*interfaces.
    id string
    The provider-assigned unique ID for this managed resource.
    filters GetDeviceInterfacesFilter[]
    Query filters, sent as API list parameters. Supported names: deviceid, deviceidn, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, lagid, lagidn, mac_address, mode, modeempty, modeic, modeie, modeiew, modeiregex, modeisw, moden, modenic, modenie, modeniew, modenisw, moderegex, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, tag, tagany, tagn, type, typeempty, typeic, typeie, typeiew, typeiregex, typeisw, typen, typenic, typenie, typeniew, typenisw, type_*regex. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
    limit number
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    device_interfaces Sequence[GetDeviceInterfacesDeviceInterface]
    The matching device*interfaces.
    id str
    The provider-assigned unique ID for this managed resource.
    filters Sequence[GetDeviceInterfacesFilter]
    Query filters, sent as API list parameters. Supported names: deviceid, deviceidn, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, lagid, lagidn, mac_address, mode, modeempty, modeic, modeie, modeiew, modeiregex, modeisw, moden, modenic, modenie, modeniew, modenisw, moderegex, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, tag, tagany, tagn, type, typeempty, typeic, typeie, typeiew, typeiregex, typeisw, typen, typenic, typenie, typeniew, typenisw, type_*regex. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
    limit float
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    deviceInterfaces List<Property Map>
    The matching device*interfaces.
    id String
    The provider-assigned unique ID for this managed resource.
    filters List<Property Map>
    Query filters, sent as API list parameters. Supported names: deviceid, deviceidn, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, lagid, lagidn, mac_address, mode, modeempty, modeic, modeie, modeiew, modeiregex, modeisw, moden, modenic, modenie, modeniew, modenisw, moderegex, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, tag, tagany, tagn, type, typeempty, typeic, typeie, typeiew, typeiregex, typeisw, typen, typenic, typenie, typeniew, typenisw, type_*regex. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
    limit Number
    The maximum number of objects to return from the API lookup. Defaults to 1000.

    Supporting Types

    GetDeviceInterfacesDeviceInterface

    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.
    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.
    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.
    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.
    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.
    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.
    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.

    GetDeviceInterfacesFilter

    Name string
    Name of the query filter (the API list parameter).
    Value string
    Value to filter by.
    Name string
    Name of the query filter (the API list parameter).
    Value string
    Value to filter by.
    name string
    Name of the query filter (the API list parameter).
    value string
    Value to filter by.
    name String
    Name of the query filter (the API list parameter).
    value String
    Value to filter by.
    name string
    Name of the query filter (the API list parameter).
    value string
    Value to filter by.
    name str
    Name of the query filter (the API list parameter).
    value str
    Value to filter by.
    name String
    Name of the query filter (the API list parameter).
    value String
    Value to filter by.

    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