Viewing docs for netbox 6.0.0
published on Wednesday, Nov 4, 2026 by e-breuninger
published on Wednesday, Nov 4, 2026 by e-breuninger
netbox
Viewing docs for netbox 6.0.0
published on Wednesday, Nov 4, 2026 by e-breuninger
published on Wednesday, Nov 4, 2026 by e-breuninger
A device interface (dcim.interface).
From the official documentation:
Interfaces in NetBox represent network interfaces used to exchange data with connected devices. On modern networks, these are most commonly Ethernet, but other types are supported as well. IP addresses and VLANs can be assigned to interfaces.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as netbox from "@pulumi/netbox";
const test = netbox.getDeviceInterface({
name: "test-device_interface",
});
import pulumi
import pulumi_netbox as netbox
test = netbox.get_device_interface(name="test-device_interface")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/netbox/v6/netbox"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := netbox.LookupDeviceInterface(ctx, &netbox.LookupDeviceInterfaceArgs{
Name: pulumi.StringRef("test-device_interface"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Netbox = Pulumi.Netbox;
return await Deployment.RunAsync(() =>
{
var test = Netbox.GetDeviceInterface.Invoke(new()
{
Name = "test-device_interface",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.netbox.NetboxFunctions;
import com.pulumi.netbox.inputs.GetDeviceInterfaceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var test = NetboxFunctions.getDeviceInterface(GetDeviceInterfaceArgs.builder()
.name("test-device_interface")
.build());
}
}
variables:
test:
fn::invoke:
function: netbox:getDeviceInterface
arguments:
name: test-device_interface
Example coming soon!
Using getDeviceInterface
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getDeviceInterface(args: GetDeviceInterfaceArgs, opts?: InvokeOptions): Promise<GetDeviceInterfaceResult>
function getDeviceInterfaceOutput(args: GetDeviceInterfaceOutputArgs, opts?: InvokeOutputOptions): Output<GetDeviceInterfaceResult>def get_device_interface(custom_field_filters: Optional[Mapping[str, str]] = None,
device_id: Optional[float] = None,
enabled: Optional[bool] = None,
id: Optional[float] = None,
lag_device_interface_id: Optional[float] = None,
mac_address: Optional[str] = None,
mode: Optional[str] = None,
name: Optional[str] = None,
owner_id: Optional[float] = None,
tag_slug: Optional[str] = None,
type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDeviceInterfaceResult
def get_device_interface_output(custom_field_filters: pulumi.Input[Optional[Mapping[str, pulumi.Input[str]]]] = None,
device_id: pulumi.Input[Optional[float]] = None,
enabled: pulumi.Input[Optional[bool]] = None,
id: pulumi.Input[Optional[float]] = None,
lag_device_interface_id: pulumi.Input[Optional[float]] = None,
mac_address: pulumi.Input[Optional[str]] = None,
mode: pulumi.Input[Optional[str]] = None,
name: pulumi.Input[Optional[str]] = None,
owner_id: pulumi.Input[Optional[float]] = None,
tag_slug: pulumi.Input[Optional[str]] = None,
type: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetDeviceInterfaceResult]func LookupDeviceInterface(ctx *Context, args *LookupDeviceInterfaceArgs, opts ...InvokeOption) (*LookupDeviceInterfaceResult, error)
func LookupDeviceInterfaceOutput(ctx *Context, args *LookupDeviceInterfaceOutputArgs, opts ...InvokeOption) LookupDeviceInterfaceResultOutput> Note: This function is named LookupDeviceInterface in the Go SDK.
public static class GetDeviceInterface
{
public static Task<GetDeviceInterfaceResult> InvokeAsync(GetDeviceInterfaceArgs args, InvokeOptions? opts = null)
public static Output<GetDeviceInterfaceResult> Invoke(GetDeviceInterfaceInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetDeviceInterfaceResult> Invoke(GetDeviceInterfaceInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetDeviceInterfaceResult> getDeviceInterface(GetDeviceInterfaceArgs args, InvokeOptions options)
public static Output<GetDeviceInterfaceResult> getDeviceInterface(GetDeviceInterfaceArgs args, InvokeOptions options)
public static Output<GetDeviceInterfaceResult> getDeviceInterface(GetDeviceInterfaceArgs args, InvokeOutputOptions options)
fn::invoke:
function: netbox:index/getDeviceInterface:getDeviceInterface
arguments:
# arguments dictionarydata "netbox_get_device_interface" "name" {
# arguments
}The following arguments are supported:
- Custom
Field Dictionary<string, string>Filters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- Device
Id double - Id of the device.
- Enabled bool
- Whether the interface is enabled.
- Id double
- NetBox id.
- Lag
Device doubleInterface Id - Id of the parent LAG interface.
- Mac
Address string - MAC address assigned to the interface.
- Mode string
- 802.1Q tagging mode. One of: access, tagged, tagged-all, q-in-q.
- Name string
- Owner
Id double - Id of the owner the object is assigned to.
- string
- Slug of a tag the object carries.
- Type string
- Interface type as its NetBox slug, e.g. virtual, lag, bridge, 1000base-t, 10gbase-x-sfpp (any of NetBox's interface type choices).
- Custom
Field map[string]stringFilters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- Device
Id float64 - Id of the device.
- Enabled bool
- Whether the interface is enabled.
- Id float64
- NetBox id.
- Lag
Device float64Interface Id - Id of the parent LAG interface.
- Mac
Address string - MAC address assigned to the interface.
- Mode string
- 802.1Q tagging mode. One of: access, tagged, tagged-all, q-in-q.
- Name string
- Owner
Id float64 - Id of the owner the object is assigned to.
- string
- Slug of a tag the object carries.
- Type string
- Interface type as its NetBox slug, e.g. virtual, lag, bridge, 1000base-t, 10gbase-x-sfpp (any of NetBox's interface type choices).
- custom_
field_ map(string)filters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- device_
id number - Id of the device.
- enabled bool
- Whether the interface is enabled.
- id number
- NetBox id.
- lag_
device_ numberinterface_ id - Id of the parent LAG interface.
- mac_
address string - MAC address assigned to the interface.
- mode string
- 802.1Q tagging mode. One of: access, tagged, tagged-all, q-in-q.
- name string
- owner_
id number - Id of the owner the object is assigned to.
- tag_
slug string - Slug of a tag the object carries.
- type string
- Interface type as its NetBox slug, e.g. virtual, lag, bridge, 1000base-t, 10gbase-x-sfpp (any of NetBox's interface type choices).
- custom
Field Map<String,String>Filters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- device
Id Double - Id of the device.
- enabled Boolean
- Whether the interface is enabled.
- id Double
- NetBox id.
- lag
Device DoubleInterface Id - Id of the parent LAG interface.
- mac
Address String - MAC address assigned to the interface.
- mode String
- 802.1Q tagging mode. One of: access, tagged, tagged-all, q-in-q.
- name String
- owner
Id Double - Id of the owner the object is assigned to.
- String
- Slug of a tag the object carries.
- type String
- Interface type as its NetBox slug, e.g. virtual, lag, bridge, 1000base-t, 10gbase-x-sfpp (any of NetBox's interface type choices).
- custom
Field {[key: string]: string}Filters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- device
Id number - Id of the device.
- enabled boolean
- Whether the interface is enabled.
- id number
- NetBox id.
- lag
Device numberInterface Id - Id of the parent LAG interface.
- mac
Address string - MAC address assigned to the interface.
- mode string
- 802.1Q tagging mode. One of: access, tagged, tagged-all, q-in-q.
- name string
- owner
Id number - Id of the owner the object is assigned to.
- string
- Slug of a tag the object carries.
- type string
- Interface type as its NetBox slug, e.g. virtual, lag, bridge, 1000base-t, 10gbase-x-sfpp (any of NetBox's interface type choices).
- custom_
field_ Mapping[str, str]filters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- device_
id float - Id of the device.
- enabled bool
- Whether the interface is enabled.
- id float
- NetBox id.
- lag_
device_ floatinterface_ id - Id of the parent LAG interface.
- mac_
address str - MAC address assigned to the interface.
- mode str
- 802.1Q tagging mode. One of: access, tagged, tagged-all, q-in-q.
- name str
- owner_
id float - Id of the owner the object is assigned to.
- tag_
slug str - Slug of a tag the object carries.
- type str
- Interface type as its NetBox slug, e.g. virtual, lag, bridge, 1000base-t, 10gbase-x-sfpp (any of NetBox's interface type choices).
- custom
Field Map<String>Filters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- device
Id Number - Id of the device.
- enabled Boolean
- Whether the interface is enabled.
- id Number
- NetBox id.
- lag
Device NumberInterface Id - Id of the parent LAG interface.
- mac
Address String - MAC address assigned to the interface.
- mode String
- 802.1Q tagging mode. One of: access, tagged, tagged-all, q-in-q.
- name String
- owner
Id Number - Id of the owner the object is assigned to.
- String
- Slug of a tag the object carries.
- type String
- Interface type as its NetBox slug, e.g. virtual, lag, bridge, 1000base-t, 10gbase-x-sfpp (any of NetBox's interface type choices).
getDeviceInterface Result
The following output properties are available:
- Bridge
Id double - Id of the bridge interface.
- Created string
- Custom
Fields 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
- Device
Id 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.
- Lag
Device doubleInterface Id - 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.
- Mode string
- 802.1Q tagging mode. One of: access, tagged, tagged-all, q-in-q.
- Module
Id double - Id of the installed module this interface belongs to.
- Mtu double
- Must be a whole number.
- Name string
- Owner
Id double - Id of the owner the object is assigned to.
- Parent
Device doubleInterface Id - 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 doubleId - 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 doubleFrequency - Channel frequency in MHz. NetBox derives it from rf_channel when that is set.
- Rf
Channel doubleWidth - Channel width in MHz. NetBox derives it from rf_channel when that is set.
- Rf
Role string - Wireless role. One of: ap, station.
- Speed double
- Speed in kbps. Must be a whole number.
- Tagged
Vlan List<double>Ids - Ids of the tagged VLANs.
- Tagged
Vlans List<double> - Deprecated alias of taggedvlanids.
- List<string>
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- List<string>
- Slugs of all tags on the object, including the provider's default_tags.
- Tx
Power 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).
- Untagged
Vlan double - Deprecated alias of untaggedvlanid.
- Untagged
Vlan doubleId - Id of the untagged VLAN.
- Url string
- Vdc
Ids List<double> - Ids of the virtual device contexts.
- Vlan
Translation doublePolicy Id - Id of the VLAN translation policy.
- Vrf
Id double - Id of the VRF.
- Wireless
Lan List<double>Ids - Ids of the wireless LANs.
- Wwn string
- 64-bit World Wide Name.
- Custom
Field Dictionary<string, string>Filters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- Mac
Address string - MAC address assigned to the interface.
- string
- Slug of a tag the object carries.
- Bridge
Id float64 - Id of the bridge interface.
- Created string
- Custom
Fields 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
- Device
Id 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.
- Lag
Device float64Interface Id - 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.
- Mode string
- 802.1Q tagging mode. One of: access, tagged, tagged-all, q-in-q.
- Module
Id float64 - Id of the installed module this interface belongs to.
- Mtu float64
- Must be a whole number.
- Name string
- Owner
Id float64 - Id of the owner the object is assigned to.
- Parent
Device float64Interface Id - 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 float64Id - 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 float64Frequency - Channel frequency in MHz. NetBox derives it from rf_channel when that is set.
- Rf
Channel float64Width - Channel width in MHz. NetBox derives it from rf_channel when that is set.
- Rf
Role string - Wireless role. One of: ap, station.
- Speed float64
- Speed in kbps. Must be a whole number.
- Tagged
Vlan []float64Ids - Ids of the tagged VLANs.
- Tagged
Vlans []float64 - Deprecated alias of taggedvlanids.
- []string
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- []string
- Slugs of all tags on the object, including the provider's default_tags.
- Tx
Power 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).
- Untagged
Vlan float64 - Deprecated alias of untaggedvlanid.
- Untagged
Vlan float64Id - Id of the untagged VLAN.
- Url string
- Vdc
Ids []float64 - Ids of the virtual device contexts.
- Vlan
Translation float64Policy Id - Id of the VLAN translation policy.
- Vrf
Id float64 - Id of the VRF.
- Wireless
Lan []float64Ids - Ids of the wireless LANs.
- Wwn string
- 64-bit World Wide Name.
- Custom
Field map[string]stringFilters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- Mac
Address string - MAC address assigned to the interface.
- string
- Slug of a tag the object carries.
- bridge_
id number - Id of the bridge interface.
- created string
- custom_
fields map(string) - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- description string
- device_
id number - Id of the device.
- duplex string
- One of: half, full, auto.
- enabled bool
- Whether the interface is enabled.
- id number
- NetBox id.
- label string
- Physical label.
- lag_
device_ numberinterface_ id - 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.
- 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_ numberinterface_ id - 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_ numberid - 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_ numberfrequency - Channel frequency in MHz. NetBox derives it from rf_channel when that is set.
- rf_
channel_ numberwidth - 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_ list(number)ids - Ids of the tagged VLANs.
- tagged_
vlans list(number) - Deprecated alias of taggedvlanids.
- list(string)
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- 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.
- untagged_
vlan_ numberid - Id of the untagged VLAN.
- url string
- vdc_
ids list(number) - Ids of the virtual device contexts.
- vlan_
translation_ numberpolicy_ id - Id of the VLAN translation policy.
- vrf_
id number - Id of the VRF.
- wireless_
lan_ list(number)ids - Ids of the wireless LANs.
- wwn string
- 64-bit World Wide Name.
- custom_
field_ map(string)filters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- mac_
address string - MAC address assigned to the interface.
- tag_
slug string - Slug of a tag the object carries.
- bridge
Id Double - Id of the bridge interface.
- created String
- custom
Fields 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
- device
Id 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.
- lag
Device DoubleInterface Id - Id of the parent LAG interface.
- last
Updated String - mark
Connected Boolean - Treat as if a cable is connected.
- mgmt
Only Boolean - Whether the interface is used for out-of-band management only.
- mgmtonly Boolean
- Deprecated alias of mgmt_only.
- mode String
- 802.1Q tagging mode. One of: access, tagged, tagged-all, q-in-q.
- module
Id Double - Id of the installed module this interface belongs to.
- mtu Double
- Must be a whole number.
- name String
- owner
Id Double - Id of the owner the object is assigned to.
- parent
Device DoubleInterface Id - 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 DoubleId - 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 DoubleFrequency - Channel frequency in MHz. NetBox derives it from rf_channel when that is set.
- rf
Channel DoubleWidth - Channel width in MHz. NetBox derives it from rf_channel when that is set.
- rf
Role String - Wireless role. One of: ap, station.
- speed Double
- Speed in kbps. Must be a whole number.
- tagged
Vlan List<Double>Ids - Ids of the tagged VLANs.
- tagged
Vlans List<Double> - Deprecated alias of taggedvlanids.
- List<String>
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- List<String>
- Slugs of all tags on the object, including the provider's default_tags.
- tx
Power 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).
- untagged
Vlan Double - Deprecated alias of untaggedvlanid.
- untagged
Vlan DoubleId - Id of the untagged VLAN.
- url String
- vdc
Ids List<Double> - Ids of the virtual device contexts.
- vlan
Translation DoublePolicy Id - Id of the VLAN translation policy.
- vrf
Id Double - Id of the VRF.
- wireless
Lan List<Double>Ids - Ids of the wireless LANs.
- wwn String
- 64-bit World Wide Name.
- custom
Field Map<String,String>Filters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- mac
Address String - MAC address assigned to the interface.
- String
- Slug of a tag the object carries.
- bridge
Id number - Id of the bridge interface.
- created string
- custom
Fields {[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
- device
Id 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.
- lag
Device numberInterface Id - Id of the parent LAG interface.
- last
Updated string - mark
Connected boolean - Treat as if a cable is connected.
- mgmt
Only boolean - Whether the interface is used for out-of-band management only.
- mgmtonly boolean
- Deprecated alias of mgmt_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
- owner
Id number - Id of the owner the object is assigned to.
- parent
Device numberInterface Id - 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 numberId - 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 numberFrequency - Channel frequency in MHz. NetBox derives it from rf_channel when that is set.
- rf
Channel numberWidth - 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 number[]Ids - Ids of the tagged VLANs.
- tagged
Vlans number[] - Deprecated alias of taggedvlanids.
- string[]
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- 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.
- untagged
Vlan numberId - Id of the untagged VLAN.
- url string
- vdc
Ids number[] - Ids of the virtual device contexts.
- vlan
Translation numberPolicy Id - Id of the VLAN translation policy.
- vrf
Id number - Id of the VRF.
- wireless
Lan number[]Ids - Ids of the wireless LANs.
- wwn string
- 64-bit World Wide Name.
- custom
Field {[key: string]: string}Filters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- mac
Address string - MAC address assigned to the interface.
- string
- Slug of a tag the object carries.
- bridge_
id float - Id of the bridge interface.
- created str
- custom_
fields Mapping[str, str] - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- description str
- device_
id float - Id of the device.
- duplex str
- One of: half, full, auto.
- enabled bool
- Whether the interface is enabled.
- id float
- NetBox id.
- label str
- Physical label.
- lag_
device_ floatinterface_ id - 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.
- 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_ floatinterface_ id - 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_ floatid - 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_ floatfrequency - Channel frequency in MHz. NetBox derives it from rf_channel when that is set.
- rf_
channel_ floatwidth - 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_ Sequence[float]ids - Ids of the tagged VLANs.
- tagged_
vlans Sequence[float] - Deprecated alias of taggedvlanids.
- Sequence[str]
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- 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.
- untagged_
vlan_ floatid - Id of the untagged VLAN.
- url str
- vdc_
ids Sequence[float] - Ids of the virtual device contexts.
- vlan_
translation_ floatpolicy_ id - Id of the VLAN translation policy.
- vrf_
id float - Id of the VRF.
- wireless_
lan_ Sequence[float]ids - Ids of the wireless LANs.
- wwn str
- 64-bit World Wide Name.
- custom_
field_ Mapping[str, str]filters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- mac_
address str - MAC address assigned to the interface.
- tag_
slug str - Slug of a tag the object carries.
- 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 Boolean
- Whether the interface is enabled.
- id Number
- NetBox id.
- label String
- Physical label.
- lag
Device NumberInterface Id - Id of the parent LAG interface.
- last
Updated String - mark
Connected Boolean - Treat as if a cable is connected.
- mgmt
Only Boolean - Whether the interface is used for out-of-band management only.
- mgmtonly Boolean
- Deprecated alias of mgmt_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
- owner
Id Number - Id of the owner the object is assigned to.
- parent
Device NumberInterface Id - 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 NumberId - 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 NumberFrequency - Channel frequency in MHz. NetBox derives it from rf_channel when that is set.
- rf
Channel NumberWidth - 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 List<Number>Ids - Ids of the tagged VLANs.
- tagged
Vlans List<Number> - Deprecated alias of taggedvlanids.
- List<String>
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- 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.
- untagged
Vlan NumberId - Id of the untagged VLAN.
- url String
- vdc
Ids List<Number> - Ids of the virtual device contexts.
- vlan
Translation NumberPolicy Id - Id of the VLAN translation policy.
- vrf
Id Number - Id of the VRF.
- wireless
Lan List<Number>Ids - Ids of the wireless LANs.
- wwn String
- 64-bit World Wide Name.
- custom
Field Map<String>Filters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- mac
Address String - MAC address assigned to the interface.
- String
- Slug of a tag the object carries.
Package Details
- Repository
- netbox e-breuninger/terraform-provider-netbox
- License
- Notes
- This Pulumi package is based on the
netboxTerraform Provider.
netbox
Viewing docs for netbox 6.0.0
published on Wednesday, Nov 4, 2026 by e-breuninger
published on Wednesday, Nov 4, 2026 by e-breuninger