1. Registry
  2. Packages
  3. Netbox Provider
  4. API Docs
  5. getDeviceInterface
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 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(bridge_id: Optional[float] = None,
                             cable_connector: Optional[float] = None,
                             cable_end: Optional[str] = None,
                             cable_id: Optional[float] = None,
                             cabled: Optional[bool] = None,
                             connected: Optional[bool] = None,
                             created: Optional[str] = None,
                             custom_field_filters: Optional[Mapping[str, str]] = None,
                             description: Optional[str] = None,
                             device_id: Optional[float] = None,
                             device_name: Optional[str] = None,
                             device_role_id: Optional[float] = None,
                             device_role_slug: Optional[str] = None,
                             device_status: Optional[str] = None,
                             device_type_id: Optional[float] = None,
                             device_type_model: Optional[str] = None,
                             duplex: Optional[str] = None,
                             enabled: Optional[bool] = None,
                             id: Optional[float] = None,
                             kind: Optional[str] = None,
                             l2vpn: Optional[float] = None,
                             l2vpn_id: Optional[float] = None,
                             label: Optional[str] = None,
                             lag_device_interface_id: Optional[float] = None,
                             last_updated: Optional[str] = None,
                             location_id: Optional[float] = None,
                             location_slug: Optional[str] = None,
                             mac_address: Optional[str] = None,
                             mark_connected: Optional[bool] = None,
                             mgmt_only: Optional[bool] = None,
                             mode: Optional[str] = None,
                             module_id: Optional[float] = None,
                             mtu: Optional[float] = None,
                             name: Optional[str] = None,
                             occupied: Optional[bool] = None,
                             owner_group_id: Optional[float] = None,
                             owner_group_name: Optional[str] = None,
                             owner_id: Optional[float] = None,
                             owner_name: Optional[str] = None,
                             parent_id: Optional[float] = None,
                             poe_mode: Optional[str] = None,
                             poe_type: Optional[str] = None,
                             primary_mac_address: Optional[str] = None,
                             primary_mac_address_id: Optional[float] = None,
                             q: Optional[str] = None,
                             rack_id: Optional[float] = None,
                             rack_name: Optional[str] = None,
                             region_id: Optional[str] = None,
                             region_slug: Optional[str] = None,
                             rf_channel: Optional[str] = None,
                             rf_channel_frequency: Optional[float] = None,
                             rf_channel_width: Optional[float] = None,
                             rf_role: Optional[str] = None,
                             site_group_id: Optional[str] = None,
                             site_group_slug: Optional[str] = None,
                             site_id: Optional[float] = None,
                             site_slug: Optional[str] = None,
                             speed: Optional[float] = None,
                             tag_id: Optional[float] = None,
                             tag_slug: Optional[str] = None,
                             tenant_id: Optional[float] = None,
                             tenant_slug: Optional[str] = None,
                             tx_power: Optional[float] = None,
                             type: Optional[str] = None,
                             vdc: Optional[str] = None,
                             vdc_id: Optional[float] = None,
                             vdc_identifier: Optional[float] = None,
                             virtual_chassis: Optional[str] = None,
                             virtual_chassis_id: Optional[float] = None,
                             virtual_chassis_member: Optional[str] = None,
                             virtual_chassis_member_id: Optional[float] = None,
                             virtual_chassis_member_or_master: Optional[str] = None,
                             virtual_chassis_member_or_master_id: Optional[float] = None,
                             virtual_circuit_id: Optional[float] = None,
                             virtual_circuit_termination_id: Optional[float] = None,
                             vlan: Optional[str] = None,
                             vlan_id: Optional[str] = None,
                             vlan_translation_policy: Optional[str] = None,
                             vlan_translation_policy_id: Optional[float] = None,
                             vrf: Optional[str] = None,
                             vrf_id: Optional[float] = None,
                             wireless_lan_id: Optional[float] = None,
                             wireless_link_id: Optional[float] = None,
                             wwn: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetDeviceInterfaceResult
    def get_device_interface_output(bridge_id: pulumi.Input[Optional[float]] = None,
                             cable_connector: pulumi.Input[Optional[float]] = None,
                             cable_end: pulumi.Input[Optional[str]] = None,
                             cable_id: pulumi.Input[Optional[float]] = None,
                             cabled: pulumi.Input[Optional[bool]] = None,
                             connected: pulumi.Input[Optional[bool]] = None,
                             created: pulumi.Input[Optional[str]] = None,
                             custom_field_filters: pulumi.Input[Optional[Mapping[str, pulumi.Input[str]]]] = None,
                             description: pulumi.Input[Optional[str]] = None,
                             device_id: pulumi.Input[Optional[float]] = None,
                             device_name: pulumi.Input[Optional[str]] = None,
                             device_role_id: pulumi.Input[Optional[float]] = None,
                             device_role_slug: pulumi.Input[Optional[str]] = None,
                             device_status: pulumi.Input[Optional[str]] = None,
                             device_type_id: pulumi.Input[Optional[float]] = None,
                             device_type_model: pulumi.Input[Optional[str]] = None,
                             duplex: pulumi.Input[Optional[str]] = None,
                             enabled: pulumi.Input[Optional[bool]] = None,
                             id: pulumi.Input[Optional[float]] = None,
                             kind: pulumi.Input[Optional[str]] = None,
                             l2vpn: pulumi.Input[Optional[float]] = None,
                             l2vpn_id: pulumi.Input[Optional[float]] = None,
                             label: pulumi.Input[Optional[str]] = None,
                             lag_device_interface_id: pulumi.Input[Optional[float]] = None,
                             last_updated: pulumi.Input[Optional[str]] = None,
                             location_id: pulumi.Input[Optional[float]] = None,
                             location_slug: pulumi.Input[Optional[str]] = None,
                             mac_address: pulumi.Input[Optional[str]] = None,
                             mark_connected: pulumi.Input[Optional[bool]] = None,
                             mgmt_only: pulumi.Input[Optional[bool]] = None,
                             mode: pulumi.Input[Optional[str]] = None,
                             module_id: pulumi.Input[Optional[float]] = None,
                             mtu: pulumi.Input[Optional[float]] = None,
                             name: pulumi.Input[Optional[str]] = None,
                             occupied: pulumi.Input[Optional[bool]] = None,
                             owner_group_id: pulumi.Input[Optional[float]] = None,
                             owner_group_name: pulumi.Input[Optional[str]] = None,
                             owner_id: pulumi.Input[Optional[float]] = None,
                             owner_name: pulumi.Input[Optional[str]] = None,
                             parent_id: pulumi.Input[Optional[float]] = None,
                             poe_mode: pulumi.Input[Optional[str]] = None,
                             poe_type: pulumi.Input[Optional[str]] = None,
                             primary_mac_address: pulumi.Input[Optional[str]] = None,
                             primary_mac_address_id: pulumi.Input[Optional[float]] = None,
                             q: pulumi.Input[Optional[str]] = None,
                             rack_id: pulumi.Input[Optional[float]] = None,
                             rack_name: pulumi.Input[Optional[str]] = None,
                             region_id: pulumi.Input[Optional[str]] = None,
                             region_slug: pulumi.Input[Optional[str]] = None,
                             rf_channel: pulumi.Input[Optional[str]] = None,
                             rf_channel_frequency: pulumi.Input[Optional[float]] = None,
                             rf_channel_width: pulumi.Input[Optional[float]] = None,
                             rf_role: pulumi.Input[Optional[str]] = None,
                             site_group_id: pulumi.Input[Optional[str]] = None,
                             site_group_slug: pulumi.Input[Optional[str]] = None,
                             site_id: pulumi.Input[Optional[float]] = None,
                             site_slug: pulumi.Input[Optional[str]] = None,
                             speed: pulumi.Input[Optional[float]] = None,
                             tag_id: pulumi.Input[Optional[float]] = None,
                             tag_slug: pulumi.Input[Optional[str]] = None,
                             tenant_id: pulumi.Input[Optional[float]] = None,
                             tenant_slug: pulumi.Input[Optional[str]] = None,
                             tx_power: pulumi.Input[Optional[float]] = None,
                             type: pulumi.Input[Optional[str]] = None,
                             vdc: pulumi.Input[Optional[str]] = None,
                             vdc_id: pulumi.Input[Optional[float]] = None,
                             vdc_identifier: pulumi.Input[Optional[float]] = None,
                             virtual_chassis: pulumi.Input[Optional[str]] = None,
                             virtual_chassis_id: pulumi.Input[Optional[float]] = None,
                             virtual_chassis_member: pulumi.Input[Optional[str]] = None,
                             virtual_chassis_member_id: pulumi.Input[Optional[float]] = None,
                             virtual_chassis_member_or_master: pulumi.Input[Optional[str]] = None,
                             virtual_chassis_member_or_master_id: pulumi.Input[Optional[float]] = None,
                             virtual_circuit_id: pulumi.Input[Optional[float]] = None,
                             virtual_circuit_termination_id: pulumi.Input[Optional[float]] = None,
                             vlan: pulumi.Input[Optional[str]] = None,
                             vlan_id: pulumi.Input[Optional[str]] = None,
                             vlan_translation_policy: pulumi.Input[Optional[str]] = None,
                             vlan_translation_policy_id: pulumi.Input[Optional[float]] = None,
                             vrf: pulumi.Input[Optional[str]] = None,
                             vrf_id: pulumi.Input[Optional[float]] = None,
                             wireless_lan_id: pulumi.Input[Optional[float]] = None,
                             wireless_link_id: pulumi.Input[Optional[float]] = None,
                             wwn: 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:

    BridgeId double
    Id of the bridge interface.
    CableConnector double
    Cable connector to match.
    CableEnd string
    Cable end. One of: A, B.
    CableId double
    Id of the cable.
    Cabled bool
    Whether cabled is set.
    Connected bool
    Whether connected is set.
    Created string
    CustomFieldFilters Dictionary<string, string>
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    Description string
    DeviceId double
    Id of the device.
    DeviceName string
    Name of the device.
    DeviceRoleId double
    Id of the device role.
    DeviceRoleSlug string
    Slug of the device role.
    DeviceStatus string
    Device status to match.
    DeviceTypeId double
    Id of the device type.
    DeviceTypeModel string
    Model of the device type.
    Duplex string
    One of: half, full, auto.
    Enabled bool
    Whether the interface is enabled.
    Id double
    NetBox id.
    Kind string
    Kind of interface.
    L2vpn double
    Id of the L2VPN.
    L2vpnId double
    Id of the L2VPN.
    Label string
    Physical label.
    LagDeviceInterfaceId double
    Id of the parent LAG interface.
    LastUpdated string
    LocationId double
    Id of the location.
    LocationSlug string
    Slug of the location.
    MacAddress string
    MAC address assigned to the interface.
    MarkConnected bool
    Treat as if a cable is connected.
    MgmtOnly bool
    Whether the interface is used for out-of-band management only.
    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
    Occupied bool
    Whether occupied is set.
    OwnerGroupId double
    Id of the owner group.
    OwnerGroupName string
    Name of the owner group.
    OwnerId double
    Id of the owner the object is assigned to.
    OwnerName string
    Name of the owner.
    ParentId 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).
    PrimaryMacAddress string
    Primary MAC address.
    PrimaryMacAddressId double
    Id of the primary MAC address.
    Q string
    Search term, matched against the fields NetBox searches for this object type.
    RackId double
    Id of the rack.
    RackName string
    Name of the rack.
    RegionId string
    Id of the region.
    RegionSlug string
    Slug of the region.
    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.
    SiteGroupId string
    Id of the site group.
    SiteGroupSlug string
    Slug of the site group.
    SiteId double
    Id of the site.
    SiteSlug string
    Slug of the site.
    Speed double
    Speed in kbps. Must be a whole number.
    TagId double
    Id of a tag the object carries.
    TagSlug string
    Slug of a tag the object carries.
    TenantId double
    Id of the tenant.
    TenantSlug string
    Slug of the tenant.
    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).
    Vdc string
    Virtual Device Context.
    VdcId double
    Id of the virtual device context.
    VdcIdentifier double
    Virtual Device Context (Identifier).
    VirtualChassis string
    Virtual Chassis.
    VirtualChassisId double
    Id of the virtual chassis.
    VirtualChassisMember string
    Virtual chassis member to match.
    VirtualChassisMemberId double
    Id of the virtual chassis member.
    VirtualChassisMemberOrMaster string
    Virtual chassis member or master to match.
    VirtualChassisMemberOrMasterId double
    Id of the virtual chassis member or master.
    VirtualCircuitId double
    Id of the virtual circuit.
    VirtualCircuitTerminationId double
    Id of the virtual circuit termination.
    Vlan string
    Assigned VID.
    VlanId string
    Assigned VLAN.
    VlanTranslationPolicy string
    VLAN Translation Policy.
    VlanTranslationPolicyId double
    Id of the VLAN translation policy.
    Vrf string
    VRF (RD).
    VrfId double
    Id of the VRF.
    WirelessLanId double
    Id of the wireless LAN.
    WirelessLinkId double
    Id of the wireless link.
    Wwn string
    64-bit World Wide Name.
    BridgeId float64
    Id of the bridge interface.
    CableConnector float64
    Cable connector to match.
    CableEnd string
    Cable end. One of: A, B.
    CableId float64
    Id of the cable.
    Cabled bool
    Whether cabled is set.
    Connected bool
    Whether connected is set.
    Created string
    CustomFieldFilters map[string]string
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    Description string
    DeviceId float64
    Id of the device.
    DeviceName string
    Name of the device.
    DeviceRoleId float64
    Id of the device role.
    DeviceRoleSlug string
    Slug of the device role.
    DeviceStatus string
    Device status to match.
    DeviceTypeId float64
    Id of the device type.
    DeviceTypeModel string
    Model of the device type.
    Duplex string
    One of: half, full, auto.
    Enabled bool
    Whether the interface is enabled.
    Id float64
    NetBox id.
    Kind string
    Kind of interface.
    L2vpn float64
    Id of the L2VPN.
    L2vpnId float64
    Id of the L2VPN.
    Label string
    Physical label.
    LagDeviceInterfaceId float64
    Id of the parent LAG interface.
    LastUpdated string
    LocationId float64
    Id of the location.
    LocationSlug string
    Slug of the location.
    MacAddress string
    MAC address assigned to the interface.
    MarkConnected bool
    Treat as if a cable is connected.
    MgmtOnly bool
    Whether the interface is used for out-of-band management only.
    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
    Occupied bool
    Whether occupied is set.
    OwnerGroupId float64
    Id of the owner group.
    OwnerGroupName string
    Name of the owner group.
    OwnerId float64
    Id of the owner the object is assigned to.
    OwnerName string
    Name of the owner.
    ParentId 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).
    PrimaryMacAddress string
    Primary MAC address.
    PrimaryMacAddressId float64
    Id of the primary MAC address.
    Q string
    Search term, matched against the fields NetBox searches for this object type.
    RackId float64
    Id of the rack.
    RackName string
    Name of the rack.
    RegionId string
    Id of the region.
    RegionSlug string
    Slug of the region.
    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.
    SiteGroupId string
    Id of the site group.
    SiteGroupSlug string
    Slug of the site group.
    SiteId float64
    Id of the site.
    SiteSlug string
    Slug of the site.
    Speed float64
    Speed in kbps. Must be a whole number.
    TagId float64
    Id of a tag the object carries.
    TagSlug string
    Slug of a tag the object carries.
    TenantId float64
    Id of the tenant.
    TenantSlug string
    Slug of the tenant.
    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).
    Vdc string
    Virtual Device Context.
    VdcId float64
    Id of the virtual device context.
    VdcIdentifier float64
    Virtual Device Context (Identifier).
    VirtualChassis string
    Virtual Chassis.
    VirtualChassisId float64
    Id of the virtual chassis.
    VirtualChassisMember string
    Virtual chassis member to match.
    VirtualChassisMemberId float64
    Id of the virtual chassis member.
    VirtualChassisMemberOrMaster string
    Virtual chassis member or master to match.
    VirtualChassisMemberOrMasterId float64
    Id of the virtual chassis member or master.
    VirtualCircuitId float64
    Id of the virtual circuit.
    VirtualCircuitTerminationId float64
    Id of the virtual circuit termination.
    Vlan string
    Assigned VID.
    VlanId string
    Assigned VLAN.
    VlanTranslationPolicy string
    VLAN Translation Policy.
    VlanTranslationPolicyId float64
    Id of the VLAN translation policy.
    Vrf string
    VRF (RD).
    VrfId float64
    Id of the VRF.
    WirelessLanId float64
    Id of the wireless LAN.
    WirelessLinkId float64
    Id of the wireless link.
    Wwn string
    64-bit World Wide Name.
    bridge_id number
    Id of the bridge interface.
    cable_connector number
    Cable connector to match.
    cable_end string
    Cable end. One of: A, B.
    cable_id number
    Id of the cable.
    cabled bool
    Whether cabled is set.
    connected bool
    Whether connected is set.
    created string
    custom_field_filters map(string)
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    description string
    device_id number
    Id of the device.
    device_name string
    Name of the device.
    device_role_id number
    Id of the device role.
    device_role_slug string
    Slug of the device role.
    device_status string
    Device status to match.
    device_type_id number
    Id of the device type.
    device_type_model string
    Model of the device type.
    duplex string
    One of: half, full, auto.
    enabled bool
    Whether the interface is enabled.
    id number
    NetBox id.
    kind string
    Kind of interface.
    l2vpn number
    Id of the L2VPN.
    l2vpn_id number
    Id of the L2VPN.
    label string
    Physical label.
    lag_device_interface_id number
    Id of the parent LAG interface.
    last_updated string
    location_id number
    Id of the location.
    location_slug string
    Slug of the location.
    mac_address string
    MAC address assigned to the interface.
    mark_connected bool
    Treat as if a cable is connected.
    mgmt_only bool
    Whether the interface is used for out-of-band management only.
    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
    occupied bool
    Whether occupied is set.
    owner_group_id number
    Id of the owner group.
    owner_group_name string
    Name of the owner group.
    owner_id number
    Id of the owner the object is assigned to.
    owner_name string
    Name of the owner.
    parent_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).
    primary_mac_address string
    Primary MAC address.
    primary_mac_address_id number
    Id of the primary MAC address.
    q string
    Search term, matched against the fields NetBox searches for this object type.
    rack_id number
    Id of the rack.
    rack_name string
    Name of the rack.
    region_id string
    Id of the region.
    region_slug string
    Slug of the region.
    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.
    site_group_id string
    Id of the site group.
    site_group_slug string
    Slug of the site group.
    site_id number
    Id of the site.
    site_slug string
    Slug of the site.
    speed number
    Speed in kbps. Must be a whole number.
    tag_id number
    Id of a tag the object carries.
    tag_slug string
    Slug of a tag the object carries.
    tenant_id number
    Id of the tenant.
    tenant_slug string
    Slug of the tenant.
    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).
    vdc string
    Virtual Device Context.
    vdc_id number
    Id of the virtual device context.
    vdc_identifier number
    Virtual Device Context (Identifier).
    virtual_chassis string
    Virtual Chassis.
    virtual_chassis_id number
    Id of the virtual chassis.
    virtual_chassis_member string
    Virtual chassis member to match.
    virtual_chassis_member_id number
    Id of the virtual chassis member.
    virtual_chassis_member_or_master string
    Virtual chassis member or master to match.
    virtual_chassis_member_or_master_id number
    Id of the virtual chassis member or master.
    virtual_circuit_id number
    Id of the virtual circuit.
    virtual_circuit_termination_id number
    Id of the virtual circuit termination.
    vlan string
    Assigned VID.
    vlan_id string
    Assigned VLAN.
    vlan_translation_policy string
    VLAN Translation Policy.
    vlan_translation_policy_id number
    Id of the VLAN translation policy.
    vrf string
    VRF (RD).
    vrf_id number
    Id of the VRF.
    wireless_lan_id number
    Id of the wireless LAN.
    wireless_link_id number
    Id of the wireless link.
    wwn string
    64-bit World Wide Name.
    bridgeId Double
    Id of the bridge interface.
    cableConnector Double
    Cable connector to match.
    cableEnd String
    Cable end. One of: A, B.
    cableId Double
    Id of the cable.
    cabled Boolean
    Whether cabled is set.
    connected Boolean
    Whether connected is set.
    created String
    customFieldFilters Map<String,String>
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    description String
    deviceId Double
    Id of the device.
    deviceName String
    Name of the device.
    deviceRoleId Double
    Id of the device role.
    deviceRoleSlug String
    Slug of the device role.
    deviceStatus String
    Device status to match.
    deviceTypeId Double
    Id of the device type.
    deviceTypeModel String
    Model of the device type.
    duplex String
    One of: half, full, auto.
    enabled Boolean
    Whether the interface is enabled.
    id Double
    NetBox id.
    kind String
    Kind of interface.
    l2vpn Double
    Id of the L2VPN.
    l2vpnId Double
    Id of the L2VPN.
    label String
    Physical label.
    lagDeviceInterfaceId Double
    Id of the parent LAG interface.
    lastUpdated String
    locationId Double
    Id of the location.
    locationSlug String
    Slug of the location.
    macAddress String
    MAC address assigned to the interface.
    markConnected Boolean
    Treat as if a cable is connected.
    mgmtOnly Boolean
    Whether the interface is used for out-of-band management only.
    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
    occupied Boolean
    Whether occupied is set.
    ownerGroupId Double
    Id of the owner group.
    ownerGroupName String
    Name of the owner group.
    ownerId Double
    Id of the owner the object is assigned to.
    ownerName String
    Name of the owner.
    parentId 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).
    primaryMacAddress String
    Primary MAC address.
    primaryMacAddressId Double
    Id of the primary MAC address.
    q String
    Search term, matched against the fields NetBox searches for this object type.
    rackId Double
    Id of the rack.
    rackName String
    Name of the rack.
    regionId String
    Id of the region.
    regionSlug String
    Slug of the region.
    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.
    siteGroupId String
    Id of the site group.
    siteGroupSlug String
    Slug of the site group.
    siteId Double
    Id of the site.
    siteSlug String
    Slug of the site.
    speed Double
    Speed in kbps. Must be a whole number.
    tagId Double
    Id of a tag the object carries.
    tagSlug String
    Slug of a tag the object carries.
    tenantId Double
    Id of the tenant.
    tenantSlug String
    Slug of the tenant.
    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).
    vdc String
    Virtual Device Context.
    vdcId Double
    Id of the virtual device context.
    vdcIdentifier Double
    Virtual Device Context (Identifier).
    virtualChassis String
    Virtual Chassis.
    virtualChassisId Double
    Id of the virtual chassis.
    virtualChassisMember String
    Virtual chassis member to match.
    virtualChassisMemberId Double
    Id of the virtual chassis member.
    virtualChassisMemberOrMaster String
    Virtual chassis member or master to match.
    virtualChassisMemberOrMasterId Double
    Id of the virtual chassis member or master.
    virtualCircuitId Double
    Id of the virtual circuit.
    virtualCircuitTerminationId Double
    Id of the virtual circuit termination.
    vlan String
    Assigned VID.
    vlanId String
    Assigned VLAN.
    vlanTranslationPolicy String
    VLAN Translation Policy.
    vlanTranslationPolicyId Double
    Id of the VLAN translation policy.
    vrf String
    VRF (RD).
    vrfId Double
    Id of the VRF.
    wirelessLanId Double
    Id of the wireless LAN.
    wirelessLinkId Double
    Id of the wireless link.
    wwn String
    64-bit World Wide Name.
    bridgeId number
    Id of the bridge interface.
    cableConnector number
    Cable connector to match.
    cableEnd string
    Cable end. One of: A, B.
    cableId number
    Id of the cable.
    cabled boolean
    Whether cabled is set.
    connected boolean
    Whether connected is set.
    created string
    customFieldFilters {[key: string]: string}
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    description string
    deviceId number
    Id of the device.
    deviceName string
    Name of the device.
    deviceRoleId number
    Id of the device role.
    deviceRoleSlug string
    Slug of the device role.
    deviceStatus string
    Device status to match.
    deviceTypeId number
    Id of the device type.
    deviceTypeModel string
    Model of the device type.
    duplex string
    One of: half, full, auto.
    enabled boolean
    Whether the interface is enabled.
    id number
    NetBox id.
    kind string
    Kind of interface.
    l2vpn number
    Id of the L2VPN.
    l2vpnId number
    Id of the L2VPN.
    label string
    Physical label.
    lagDeviceInterfaceId number
    Id of the parent LAG interface.
    lastUpdated string
    locationId number
    Id of the location.
    locationSlug string
    Slug of the location.
    macAddress string
    MAC address assigned to the interface.
    markConnected boolean
    Treat as if a cable is connected.
    mgmtOnly boolean
    Whether the interface is used for out-of-band management only.
    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
    occupied boolean
    Whether occupied is set.
    ownerGroupId number
    Id of the owner group.
    ownerGroupName string
    Name of the owner group.
    ownerId number
    Id of the owner the object is assigned to.
    ownerName string
    Name of the owner.
    parentId 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).
    primaryMacAddress string
    Primary MAC address.
    primaryMacAddressId number
    Id of the primary MAC address.
    q string
    Search term, matched against the fields NetBox searches for this object type.
    rackId number
    Id of the rack.
    rackName string
    Name of the rack.
    regionId string
    Id of the region.
    regionSlug string
    Slug of the region.
    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.
    siteGroupId string
    Id of the site group.
    siteGroupSlug string
    Slug of the site group.
    siteId number
    Id of the site.
    siteSlug string
    Slug of the site.
    speed number
    Speed in kbps. Must be a whole number.
    tagId number
    Id of a tag the object carries.
    tagSlug string
    Slug of a tag the object carries.
    tenantId number
    Id of the tenant.
    tenantSlug string
    Slug of the tenant.
    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).
    vdc string
    Virtual Device Context.
    vdcId number
    Id of the virtual device context.
    vdcIdentifier number
    Virtual Device Context (Identifier).
    virtualChassis string
    Virtual Chassis.
    virtualChassisId number
    Id of the virtual chassis.
    virtualChassisMember string
    Virtual chassis member to match.
    virtualChassisMemberId number
    Id of the virtual chassis member.
    virtualChassisMemberOrMaster string
    Virtual chassis member or master to match.
    virtualChassisMemberOrMasterId number
    Id of the virtual chassis member or master.
    virtualCircuitId number
    Id of the virtual circuit.
    virtualCircuitTerminationId number
    Id of the virtual circuit termination.
    vlan string
    Assigned VID.
    vlanId string
    Assigned VLAN.
    vlanTranslationPolicy string
    VLAN Translation Policy.
    vlanTranslationPolicyId number
    Id of the VLAN translation policy.
    vrf string
    VRF (RD).
    vrfId number
    Id of the VRF.
    wirelessLanId number
    Id of the wireless LAN.
    wirelessLinkId number
    Id of the wireless link.
    wwn string
    64-bit World Wide Name.
    bridge_id float
    Id of the bridge interface.
    cable_connector float
    Cable connector to match.
    cable_end str
    Cable end. One of: A, B.
    cable_id float
    Id of the cable.
    cabled bool
    Whether cabled is set.
    connected bool
    Whether connected is set.
    created str
    custom_field_filters Mapping[str, str]
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    description str
    device_id float
    Id of the device.
    device_name str
    Name of the device.
    device_role_id float
    Id of the device role.
    device_role_slug str
    Slug of the device role.
    device_status str
    Device status to match.
    device_type_id float
    Id of the device type.
    device_type_model str
    Model of the device type.
    duplex str
    One of: half, full, auto.
    enabled bool
    Whether the interface is enabled.
    id float
    NetBox id.
    kind str
    Kind of interface.
    l2vpn float
    Id of the L2VPN.
    l2vpn_id float
    Id of the L2VPN.
    label str
    Physical label.
    lag_device_interface_id float
    Id of the parent LAG interface.
    last_updated str
    location_id float
    Id of the location.
    location_slug str
    Slug of the location.
    mac_address str
    MAC address assigned to the interface.
    mark_connected bool
    Treat as if a cable is connected.
    mgmt_only bool
    Whether the interface is used for out-of-band management only.
    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
    occupied bool
    Whether occupied is set.
    owner_group_id float
    Id of the owner group.
    owner_group_name str
    Name of the owner group.
    owner_id float
    Id of the owner the object is assigned to.
    owner_name str
    Name of the owner.
    parent_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).
    primary_mac_address str
    Primary MAC address.
    primary_mac_address_id float
    Id of the primary MAC address.
    q str
    Search term, matched against the fields NetBox searches for this object type.
    rack_id float
    Id of the rack.
    rack_name str
    Name of the rack.
    region_id str
    Id of the region.
    region_slug str
    Slug of the region.
    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.
    site_group_id str
    Id of the site group.
    site_group_slug str
    Slug of the site group.
    site_id float
    Id of the site.
    site_slug str
    Slug of the site.
    speed float
    Speed in kbps. Must be a whole number.
    tag_id float
    Id of a tag the object carries.
    tag_slug str
    Slug of a tag the object carries.
    tenant_id float
    Id of the tenant.
    tenant_slug str
    Slug of the tenant.
    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).
    vdc str
    Virtual Device Context.
    vdc_id float
    Id of the virtual device context.
    vdc_identifier float
    Virtual Device Context (Identifier).
    virtual_chassis str
    Virtual Chassis.
    virtual_chassis_id float
    Id of the virtual chassis.
    virtual_chassis_member str
    Virtual chassis member to match.
    virtual_chassis_member_id float
    Id of the virtual chassis member.
    virtual_chassis_member_or_master str
    Virtual chassis member or master to match.
    virtual_chassis_member_or_master_id float
    Id of the virtual chassis member or master.
    virtual_circuit_id float
    Id of the virtual circuit.
    virtual_circuit_termination_id float
    Id of the virtual circuit termination.
    vlan str
    Assigned VID.
    vlan_id str
    Assigned VLAN.
    vlan_translation_policy str
    VLAN Translation Policy.
    vlan_translation_policy_id float
    Id of the VLAN translation policy.
    vrf str
    VRF (RD).
    vrf_id float
    Id of the VRF.
    wireless_lan_id float
    Id of the wireless LAN.
    wireless_link_id float
    Id of the wireless link.
    wwn str
    64-bit World Wide Name.
    bridgeId Number
    Id of the bridge interface.
    cableConnector Number
    Cable connector to match.
    cableEnd String
    Cable end. One of: A, B.
    cableId Number
    Id of the cable.
    cabled Boolean
    Whether cabled is set.
    connected Boolean
    Whether connected is set.
    created String
    customFieldFilters Map<String>
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    description String
    deviceId Number
    Id of the device.
    deviceName String
    Name of the device.
    deviceRoleId Number
    Id of the device role.
    deviceRoleSlug String
    Slug of the device role.
    deviceStatus String
    Device status to match.
    deviceTypeId Number
    Id of the device type.
    deviceTypeModel String
    Model of the device type.
    duplex String
    One of: half, full, auto.
    enabled Boolean
    Whether the interface is enabled.
    id Number
    NetBox id.
    kind String
    Kind of interface.
    l2vpn Number
    Id of the L2VPN.
    l2vpnId Number
    Id of the L2VPN.
    label String
    Physical label.
    lagDeviceInterfaceId Number
    Id of the parent LAG interface.
    lastUpdated String
    locationId Number
    Id of the location.
    locationSlug String
    Slug of the location.
    macAddress String
    MAC address assigned to the interface.
    markConnected Boolean
    Treat as if a cable is connected.
    mgmtOnly Boolean
    Whether the interface is used for out-of-band management only.
    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
    occupied Boolean
    Whether occupied is set.
    ownerGroupId Number
    Id of the owner group.
    ownerGroupName String
    Name of the owner group.
    ownerId Number
    Id of the owner the object is assigned to.
    ownerName String
    Name of the owner.
    parentId 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).
    primaryMacAddress String
    Primary MAC address.
    primaryMacAddressId Number
    Id of the primary MAC address.
    q String
    Search term, matched against the fields NetBox searches for this object type.
    rackId Number
    Id of the rack.
    rackName String
    Name of the rack.
    regionId String
    Id of the region.
    regionSlug String
    Slug of the region.
    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.
    siteGroupId String
    Id of the site group.
    siteGroupSlug String
    Slug of the site group.
    siteId Number
    Id of the site.
    siteSlug String
    Slug of the site.
    speed Number
    Speed in kbps. Must be a whole number.
    tagId Number
    Id of a tag the object carries.
    tagSlug String
    Slug of a tag the object carries.
    tenantId Number
    Id of the tenant.
    tenantSlug String
    Slug of the tenant.
    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).
    vdc String
    Virtual Device Context.
    vdcId Number
    Id of the virtual device context.
    vdcIdentifier Number
    Virtual Device Context (Identifier).
    virtualChassis String
    Virtual Chassis.
    virtualChassisId Number
    Id of the virtual chassis.
    virtualChassisMember String
    Virtual chassis member to match.
    virtualChassisMemberId Number
    Id of the virtual chassis member.
    virtualChassisMemberOrMaster String
    Virtual chassis member or master to match.
    virtualChassisMemberOrMasterId Number
    Id of the virtual chassis member or master.
    virtualCircuitId Number
    Id of the virtual circuit.
    virtualCircuitTerminationId Number
    Id of the virtual circuit termination.
    vlan String
    Assigned VID.
    vlanId String
    Assigned VLAN.
    vlanTranslationPolicy String
    VLAN Translation Policy.
    vlanTranslationPolicyId Number
    Id of the VLAN translation policy.
    vrf String
    VRF (RD).
    vrfId Number
    Id of the VRF.
    wirelessLanId Number
    Id of the wireless LAN.
    wirelessLinkId Number
    Id of the wireless link.
    wwn String
    64-bit World Wide Name.

    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.
    CableConnector double
    Cable connector to match.
    CableEnd string
    Cable end. One of: A, B.
    CableId double
    Id of the cable.
    Cabled bool
    Whether cabled is set.
    Connected bool
    Whether connected is set.
    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.
    DeviceName string
    Name of the device.
    DeviceRoleId double
    Id of the device role.
    DeviceRoleSlug string
    Slug of the device role.
    DeviceStatus string
    Device status to match.
    DeviceTypeId double
    Id of the device type.
    DeviceTypeModel string
    Model of the device type.
    Kind string
    Kind of interface.
    L2vpn double
    Id of the L2VPN.
    L2vpnId double
    Id of the L2VPN.
    LocationId double
    Id of the location.
    LocationSlug string
    Slug of the location.
    MacAddress string
    MAC address assigned to the interface.
    Occupied bool
    Whether occupied is set.
    OwnerGroupId double
    Id of the owner group.
    OwnerGroupName string
    Name of the owner group.
    OwnerName string
    Name of the owner.
    ParentId double
    Id of the parent interface.
    PrimaryMacAddress string
    Primary MAC address.
    PrimaryMacAddressId double
    Id of the primary MAC address.
    Q string
    Search term, matched against the fields NetBox searches for this object type.
    RackId double
    Id of the rack.
    RackName string
    Name of the rack.
    RegionId string
    Id of the region.
    RegionSlug string
    Slug of the region.
    SiteGroupId string
    Id of the site group.
    SiteGroupSlug string
    Slug of the site group.
    SiteId double
    Id of the site.
    SiteSlug string
    Slug of the site.
    TagId double
    Id of a tag the object carries.
    TagSlug string
    Slug of a tag the object carries.
    TenantId double
    Id of the tenant.
    TenantSlug string
    Slug of the tenant.
    Vdc string
    Virtual Device Context.
    VdcId double
    Id of the virtual device context.
    VdcIdentifier double
    Virtual Device Context (Identifier).
    VirtualChassis string
    Virtual Chassis.
    VirtualChassisId double
    Id of the virtual chassis.
    VirtualChassisMember string
    Virtual chassis member to match.
    VirtualChassisMemberId double
    Id of the virtual chassis member.
    VirtualChassisMemberOrMaster string
    Virtual chassis member or master to match.
    VirtualChassisMemberOrMasterId double
    Id of the virtual chassis member or master.
    VirtualCircuitId double
    Id of the virtual circuit.
    VirtualCircuitTerminationId double
    Id of the virtual circuit termination.
    Vlan string
    Assigned VID.
    VlanId string
    Assigned VLAN.
    VlanTranslationPolicy string
    VLAN Translation Policy.
    Vrf string
    VRF (RD).
    WirelessLanId double
    Id of the wireless LAN.
    WirelessLinkId double
    Id of the wireless link.
    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.
    CableConnector float64
    Cable connector to match.
    CableEnd string
    Cable end. One of: A, B.
    CableId float64
    Id of the cable.
    Cabled bool
    Whether cabled is set.
    Connected bool
    Whether connected is set.
    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.
    DeviceName string
    Name of the device.
    DeviceRoleId float64
    Id of the device role.
    DeviceRoleSlug string
    Slug of the device role.
    DeviceStatus string
    Device status to match.
    DeviceTypeId float64
    Id of the device type.
    DeviceTypeModel string
    Model of the device type.
    Kind string
    Kind of interface.
    L2vpn float64
    Id of the L2VPN.
    L2vpnId float64
    Id of the L2VPN.
    LocationId float64
    Id of the location.
    LocationSlug string
    Slug of the location.
    MacAddress string
    MAC address assigned to the interface.
    Occupied bool
    Whether occupied is set.
    OwnerGroupId float64
    Id of the owner group.
    OwnerGroupName string
    Name of the owner group.
    OwnerName string
    Name of the owner.
    ParentId float64
    Id of the parent interface.
    PrimaryMacAddress string
    Primary MAC address.
    PrimaryMacAddressId float64
    Id of the primary MAC address.
    Q string
    Search term, matched against the fields NetBox searches for this object type.
    RackId float64
    Id of the rack.
    RackName string
    Name of the rack.
    RegionId string
    Id of the region.
    RegionSlug string
    Slug of the region.
    SiteGroupId string
    Id of the site group.
    SiteGroupSlug string
    Slug of the site group.
    SiteId float64
    Id of the site.
    SiteSlug string
    Slug of the site.
    TagId float64
    Id of a tag the object carries.
    TagSlug string
    Slug of a tag the object carries.
    TenantId float64
    Id of the tenant.
    TenantSlug string
    Slug of the tenant.
    Vdc string
    Virtual Device Context.
    VdcId float64
    Id of the virtual device context.
    VdcIdentifier float64
    Virtual Device Context (Identifier).
    VirtualChassis string
    Virtual Chassis.
    VirtualChassisId float64
    Id of the virtual chassis.
    VirtualChassisMember string
    Virtual chassis member to match.
    VirtualChassisMemberId float64
    Id of the virtual chassis member.
    VirtualChassisMemberOrMaster string
    Virtual chassis member or master to match.
    VirtualChassisMemberOrMasterId float64
    Id of the virtual chassis member or master.
    VirtualCircuitId float64
    Id of the virtual circuit.
    VirtualCircuitTerminationId float64
    Id of the virtual circuit termination.
    Vlan string
    Assigned VID.
    VlanId string
    Assigned VLAN.
    VlanTranslationPolicy string
    VLAN Translation Policy.
    Vrf string
    VRF (RD).
    WirelessLanId float64
    Id of the wireless LAN.
    WirelessLinkId float64
    Id of the wireless link.
    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.
    cable_connector number
    Cable connector to match.
    cable_end string
    Cable end. One of: A, B.
    cable_id number
    Id of the cable.
    cabled bool
    Whether cabled is set.
    connected bool
    Whether connected is set.
    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_name string
    Name of the device.
    device_role_id number
    Id of the device role.
    device_role_slug string
    Slug of the device role.
    device_status string
    Device status to match.
    device_type_id number
    Id of the device type.
    device_type_model string
    Model of the device type.
    kind string
    Kind of interface.
    l2vpn number
    Id of the L2VPN.
    l2vpn_id number
    Id of the L2VPN.
    location_id number
    Id of the location.
    location_slug string
    Slug of the location.
    mac_address string
    MAC address assigned to the interface.
    occupied bool
    Whether occupied is set.
    owner_group_id number
    Id of the owner group.
    owner_group_name string
    Name of the owner group.
    owner_name string
    Name of the owner.
    parent_id number
    Id of the parent interface.
    primary_mac_address string
    Primary MAC address.
    primary_mac_address_id number
    Id of the primary MAC address.
    q string
    Search term, matched against the fields NetBox searches for this object type.
    rack_id number
    Id of the rack.
    rack_name string
    Name of the rack.
    region_id string
    Id of the region.
    region_slug string
    Slug of the region.
    site_group_id string
    Id of the site group.
    site_group_slug string
    Slug of the site group.
    site_id number
    Id of the site.
    site_slug string
    Slug of the site.
    tag_id number
    Id of a tag the object carries.
    tag_slug string
    Slug of a tag the object carries.
    tenant_id number
    Id of the tenant.
    tenant_slug string
    Slug of the tenant.
    vdc string
    Virtual Device Context.
    vdc_id number
    Id of the virtual device context.
    vdc_identifier number
    Virtual Device Context (Identifier).
    virtual_chassis string
    Virtual Chassis.
    virtual_chassis_id number
    Id of the virtual chassis.
    virtual_chassis_member string
    Virtual chassis member to match.
    virtual_chassis_member_id number
    Id of the virtual chassis member.
    virtual_chassis_member_or_master string
    Virtual chassis member or master to match.
    virtual_chassis_member_or_master_id number
    Id of the virtual chassis member or master.
    virtual_circuit_id number
    Id of the virtual circuit.
    virtual_circuit_termination_id number
    Id of the virtual circuit termination.
    vlan string
    Assigned VID.
    vlan_id string
    Assigned VLAN.
    vlan_translation_policy string
    VLAN Translation Policy.
    vrf string
    VRF (RD).
    wireless_lan_id number
    Id of the wireless LAN.
    wireless_link_id number
    Id of the wireless link.
    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.
    cableConnector Double
    Cable connector to match.
    cableEnd String
    Cable end. One of: A, B.
    cableId Double
    Id of the cable.
    cabled Boolean
    Whether cabled is set.
    connected Boolean
    Whether connected is set.
    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.
    deviceName String
    Name of the device.
    deviceRoleId Double
    Id of the device role.
    deviceRoleSlug String
    Slug of the device role.
    deviceStatus String
    Device status to match.
    deviceTypeId Double
    Id of the device type.
    deviceTypeModel String
    Model of the device type.
    kind String
    Kind of interface.
    l2vpn Double
    Id of the L2VPN.
    l2vpnId Double
    Id of the L2VPN.
    locationId Double
    Id of the location.
    locationSlug String
    Slug of the location.
    macAddress String
    MAC address assigned to the interface.
    occupied Boolean
    Whether occupied is set.
    ownerGroupId Double
    Id of the owner group.
    ownerGroupName String
    Name of the owner group.
    ownerName String
    Name of the owner.
    parentId Double
    Id of the parent interface.
    primaryMacAddress String
    Primary MAC address.
    primaryMacAddressId Double
    Id of the primary MAC address.
    q String
    Search term, matched against the fields NetBox searches for this object type.
    rackId Double
    Id of the rack.
    rackName String
    Name of the rack.
    regionId String
    Id of the region.
    regionSlug String
    Slug of the region.
    siteGroupId String
    Id of the site group.
    siteGroupSlug String
    Slug of the site group.
    siteId Double
    Id of the site.
    siteSlug String
    Slug of the site.
    tagId Double
    Id of a tag the object carries.
    tagSlug String
    Slug of a tag the object carries.
    tenantId Double
    Id of the tenant.
    tenantSlug String
    Slug of the tenant.
    vdc String
    Virtual Device Context.
    vdcId Double
    Id of the virtual device context.
    vdcIdentifier Double
    Virtual Device Context (Identifier).
    virtualChassis String
    Virtual Chassis.
    virtualChassisId Double
    Id of the virtual chassis.
    virtualChassisMember String
    Virtual chassis member to match.
    virtualChassisMemberId Double
    Id of the virtual chassis member.
    virtualChassisMemberOrMaster String
    Virtual chassis member or master to match.
    virtualChassisMemberOrMasterId Double
    Id of the virtual chassis member or master.
    virtualCircuitId Double
    Id of the virtual circuit.
    virtualCircuitTerminationId Double
    Id of the virtual circuit termination.
    vlan String
    Assigned VID.
    vlanId String
    Assigned VLAN.
    vlanTranslationPolicy String
    VLAN Translation Policy.
    vrf String
    VRF (RD).
    wirelessLanId Double
    Id of the wireless LAN.
    wirelessLinkId Double
    Id of the wireless link.
    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.
    cableConnector number
    Cable connector to match.
    cableEnd string
    Cable end. One of: A, B.
    cableId number
    Id of the cable.
    cabled boolean
    Whether cabled is set.
    connected boolean
    Whether connected is set.
    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.
    deviceName string
    Name of the device.
    deviceRoleId number
    Id of the device role.
    deviceRoleSlug string
    Slug of the device role.
    deviceStatus string
    Device status to match.
    deviceTypeId number
    Id of the device type.
    deviceTypeModel string
    Model of the device type.
    kind string
    Kind of interface.
    l2vpn number
    Id of the L2VPN.
    l2vpnId number
    Id of the L2VPN.
    locationId number
    Id of the location.
    locationSlug string
    Slug of the location.
    macAddress string
    MAC address assigned to the interface.
    occupied boolean
    Whether occupied is set.
    ownerGroupId number
    Id of the owner group.
    ownerGroupName string
    Name of the owner group.
    ownerName string
    Name of the owner.
    parentId number
    Id of the parent interface.
    primaryMacAddress string
    Primary MAC address.
    primaryMacAddressId number
    Id of the primary MAC address.
    q string
    Search term, matched against the fields NetBox searches for this object type.
    rackId number
    Id of the rack.
    rackName string
    Name of the rack.
    regionId string
    Id of the region.
    regionSlug string
    Slug of the region.
    siteGroupId string
    Id of the site group.
    siteGroupSlug string
    Slug of the site group.
    siteId number
    Id of the site.
    siteSlug string
    Slug of the site.
    tagId number
    Id of a tag the object carries.
    tagSlug string
    Slug of a tag the object carries.
    tenantId number
    Id of the tenant.
    tenantSlug string
    Slug of the tenant.
    vdc string
    Virtual Device Context.
    vdcId number
    Id of the virtual device context.
    vdcIdentifier number
    Virtual Device Context (Identifier).
    virtualChassis string
    Virtual Chassis.
    virtualChassisId number
    Id of the virtual chassis.
    virtualChassisMember string
    Virtual chassis member to match.
    virtualChassisMemberId number
    Id of the virtual chassis member.
    virtualChassisMemberOrMaster string
    Virtual chassis member or master to match.
    virtualChassisMemberOrMasterId number
    Id of the virtual chassis member or master.
    virtualCircuitId number
    Id of the virtual circuit.
    virtualCircuitTerminationId number
    Id of the virtual circuit termination.
    vlan string
    Assigned VID.
    vlanId string
    Assigned VLAN.
    vlanTranslationPolicy string
    VLAN Translation Policy.
    vrf string
    VRF (RD).
    wirelessLanId number
    Id of the wireless LAN.
    wirelessLinkId number
    Id of the wireless link.
    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.
    cable_connector float
    Cable connector to match.
    cable_end str
    Cable end. One of: A, B.
    cable_id float
    Id of the cable.
    cabled bool
    Whether cabled is set.
    connected bool
    Whether connected is set.
    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_name str
    Name of the device.
    device_role_id float
    Id of the device role.
    device_role_slug str
    Slug of the device role.
    device_status str
    Device status to match.
    device_type_id float
    Id of the device type.
    device_type_model str
    Model of the device type.
    kind str
    Kind of interface.
    l2vpn float
    Id of the L2VPN.
    l2vpn_id float
    Id of the L2VPN.
    location_id float
    Id of the location.
    location_slug str
    Slug of the location.
    mac_address str
    MAC address assigned to the interface.
    occupied bool
    Whether occupied is set.
    owner_group_id float
    Id of the owner group.
    owner_group_name str
    Name of the owner group.
    owner_name str
    Name of the owner.
    parent_id float
    Id of the parent interface.
    primary_mac_address str
    Primary MAC address.
    primary_mac_address_id float
    Id of the primary MAC address.
    q str
    Search term, matched against the fields NetBox searches for this object type.
    rack_id float
    Id of the rack.
    rack_name str
    Name of the rack.
    region_id str
    Id of the region.
    region_slug str
    Slug of the region.
    site_group_id str
    Id of the site group.
    site_group_slug str
    Slug of the site group.
    site_id float
    Id of the site.
    site_slug str
    Slug of the site.
    tag_id float
    Id of a tag the object carries.
    tag_slug str
    Slug of a tag the object carries.
    tenant_id float
    Id of the tenant.
    tenant_slug str
    Slug of the tenant.
    vdc str
    Virtual Device Context.
    vdc_id float
    Id of the virtual device context.
    vdc_identifier float
    Virtual Device Context (Identifier).
    virtual_chassis str
    Virtual Chassis.
    virtual_chassis_id float
    Id of the virtual chassis.
    virtual_chassis_member str
    Virtual chassis member to match.
    virtual_chassis_member_id float
    Id of the virtual chassis member.
    virtual_chassis_member_or_master str
    Virtual chassis member or master to match.
    virtual_chassis_member_or_master_id float
    Id of the virtual chassis member or master.
    virtual_circuit_id float
    Id of the virtual circuit.
    virtual_circuit_termination_id float
    Id of the virtual circuit termination.
    vlan str
    Assigned VID.
    vlan_id str
    Assigned VLAN.
    vlan_translation_policy str
    VLAN Translation Policy.
    vrf str
    VRF (RD).
    wireless_lan_id float
    Id of the wireless LAN.
    wireless_link_id float
    Id of the wireless link.
    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.
    cableConnector Number
    Cable connector to match.
    cableEnd String
    Cable end. One of: A, B.
    cableId Number
    Id of the cable.
    cabled Boolean
    Whether cabled is set.
    connected Boolean
    Whether connected is set.
    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.
    deviceName String
    Name of the device.
    deviceRoleId Number
    Id of the device role.
    deviceRoleSlug String
    Slug of the device role.
    deviceStatus String
    Device status to match.
    deviceTypeId Number
    Id of the device type.
    deviceTypeModel String
    Model of the device type.
    kind String
    Kind of interface.
    l2vpn Number
    Id of the L2VPN.
    l2vpnId Number
    Id of the L2VPN.
    locationId Number
    Id of the location.
    locationSlug String
    Slug of the location.
    macAddress String
    MAC address assigned to the interface.
    occupied Boolean
    Whether occupied is set.
    ownerGroupId Number
    Id of the owner group.
    ownerGroupName String
    Name of the owner group.
    ownerName String
    Name of the owner.
    parentId Number
    Id of the parent interface.
    primaryMacAddress String
    Primary MAC address.
    primaryMacAddressId Number
    Id of the primary MAC address.
    q String
    Search term, matched against the fields NetBox searches for this object type.
    rackId Number
    Id of the rack.
    rackName String
    Name of the rack.
    regionId String
    Id of the region.
    regionSlug String
    Slug of the region.
    siteGroupId String
    Id of the site group.
    siteGroupSlug String
    Slug of the site group.
    siteId Number
    Id of the site.
    siteSlug String
    Slug of the site.
    tagId Number
    Id of a tag the object carries.
    tagSlug String
    Slug of a tag the object carries.
    tenantId Number
    Id of the tenant.
    tenantSlug String
    Slug of the tenant.
    vdc String
    Virtual Device Context.
    vdcId Number
    Id of the virtual device context.
    vdcIdentifier Number
    Virtual Device Context (Identifier).
    virtualChassis String
    Virtual Chassis.
    virtualChassisId Number
    Id of the virtual chassis.
    virtualChassisMember String
    Virtual chassis member to match.
    virtualChassisMemberId Number
    Id of the virtual chassis member.
    virtualChassisMemberOrMaster String
    Virtual chassis member or master to match.
    virtualChassisMemberOrMasterId Number
    Id of the virtual chassis member or master.
    virtualCircuitId Number
    Id of the virtual circuit.
    virtualCircuitTerminationId Number
    Id of the virtual circuit termination.
    vlan String
    Assigned VID.
    vlanId String
    Assigned VLAN.
    vlanTranslationPolicy String
    VLAN Translation Policy.
    vrf String
    VRF (RD).
    wirelessLanId Number
    Id of the wireless LAN.
    wirelessLinkId Number
    Id of the wireless link.

    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