1. Registry
  2. Packages
  3. Netbox Provider
  4. API Docs
  5. getVirtualMachineInterface
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 virtual machine interface (virtualization.vminterface).

    From the official documentation:

    Virtual machine interfaces behave similarly to device interfaces, and can be assigned to VRFs, and may have IP addresses, VLANs, and services attached to them. However, given their virtual nature, they lack properties pertaining to physical attributes. For example, VM interfaces do not have a physical type and cannot have cables attached to them.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as netbox from "@pulumi/netbox";
    
    const test = netbox.getVirtualMachineInterface({
        name: "test-virtual_machine_interface",
    });
    
    import pulumi
    import pulumi_netbox as netbox
    
    test = netbox.get_virtual_machine_interface(name="test-virtual_machine_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.LookupVirtualMachineInterface(ctx, &netbox.LookupVirtualMachineInterfaceArgs{
    			Name: pulumi.StringRef("test-virtual_machine_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.GetVirtualMachineInterface.Invoke(new()
        {
            Name = "test-virtual_machine_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.GetVirtualMachineInterfaceArgs;
    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.getVirtualMachineInterface(GetVirtualMachineInterfaceArgs.builder()
                .name("test-virtual_machine_interface")
                .build());
    
        }
    }
    
    variables:
      test:
        fn::invoke:
          function: netbox:getVirtualMachineInterface
          arguments:
            name: test-virtual_machine_interface
    
    Example coming soon!
    

    Using getVirtualMachineInterface

    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 getVirtualMachineInterface(args: GetVirtualMachineInterfaceArgs, opts?: InvokeOptions): Promise<GetVirtualMachineInterfaceResult>
    function getVirtualMachineInterfaceOutput(args: GetVirtualMachineInterfaceOutputArgs, opts?: InvokeOutputOptions): Output<GetVirtualMachineInterfaceResult>
    def get_virtual_machine_interface(bridge_id: Optional[float] = None,
                                      cluster_id: Optional[float] = None,
                                      cluster_name: Optional[str] = None,
                                      created: Optional[str] = None,
                                      custom_field_filters: Optional[Mapping[str, str]] = None,
                                      description: Optional[str] = None,
                                      enabled: Optional[bool] = None,
                                      id: Optional[float] = None,
                                      l2vpn: Optional[float] = None,
                                      l2vpn_id: Optional[float] = None,
                                      last_updated: Optional[str] = None,
                                      mac_address: Optional[str] = None,
                                      mode: Optional[str] = None,
                                      mtu: Optional[float] = None,
                                      name: Optional[str] = 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,
                                      primary_mac_address: Optional[str] = None,
                                      primary_mac_address_id: Optional[float] = None,
                                      q: Optional[str] = None,
                                      tag_id: Optional[float] = None,
                                      tag_slug: Optional[str] = None,
                                      virtual_machine_id: Optional[float] = None,
                                      virtual_machine_name: Optional[str] = None,
                                      vlan: Optional[str] = None,
                                      vlan_id: Optional[str] = None,
                                      vlan_translation_policy: Optional[str] = None,
                                      vlan_translation_policy_id: Optional[float] = None,
                                      vrf_id: Optional[float] = None,
                                      vrf_rd: Optional[str] = None,
                                      opts: Optional[InvokeOptions] = None) -> GetVirtualMachineInterfaceResult
    def get_virtual_machine_interface_output(bridge_id: pulumi.Input[Optional[float]] = None,
                                      cluster_id: pulumi.Input[Optional[float]] = None,
                                      cluster_name: pulumi.Input[Optional[str]] = 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,
                                      enabled: pulumi.Input[Optional[bool]] = None,
                                      id: pulumi.Input[Optional[float]] = None,
                                      l2vpn: pulumi.Input[Optional[float]] = None,
                                      l2vpn_id: pulumi.Input[Optional[float]] = None,
                                      last_updated: pulumi.Input[Optional[str]] = None,
                                      mac_address: pulumi.Input[Optional[str]] = None,
                                      mode: pulumi.Input[Optional[str]] = None,
                                      mtu: pulumi.Input[Optional[float]] = None,
                                      name: pulumi.Input[Optional[str]] = 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,
                                      primary_mac_address: pulumi.Input[Optional[str]] = None,
                                      primary_mac_address_id: pulumi.Input[Optional[float]] = None,
                                      q: pulumi.Input[Optional[str]] = None,
                                      tag_id: pulumi.Input[Optional[float]] = None,
                                      tag_slug: pulumi.Input[Optional[str]] = None,
                                      virtual_machine_id: pulumi.Input[Optional[float]] = None,
                                      virtual_machine_name: pulumi.Input[Optional[str]] = 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_id: pulumi.Input[Optional[float]] = None,
                                      vrf_rd: pulumi.Input[Optional[str]] = None,
                                      opts: Optional[InvokeOutputOptions] = None) -> Output[GetVirtualMachineInterfaceResult]
    func LookupVirtualMachineInterface(ctx *Context, args *LookupVirtualMachineInterfaceArgs, opts ...InvokeOption) (*LookupVirtualMachineInterfaceResult, error)
    func LookupVirtualMachineInterfaceOutput(ctx *Context, args *LookupVirtualMachineInterfaceOutputArgs, opts ...InvokeOption) LookupVirtualMachineInterfaceResultOutput

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

    public static class GetVirtualMachineInterface 
    {
        public static Task<GetVirtualMachineInterfaceResult> InvokeAsync(GetVirtualMachineInterfaceArgs args, InvokeOptions? opts = null)
        public static Output<GetVirtualMachineInterfaceResult> Invoke(GetVirtualMachineInterfaceInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetVirtualMachineInterfaceResult> Invoke(GetVirtualMachineInterfaceInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetVirtualMachineInterfaceResult> getVirtualMachineInterface(GetVirtualMachineInterfaceArgs args, InvokeOptions options)
    public static Output<GetVirtualMachineInterfaceResult> getVirtualMachineInterface(GetVirtualMachineInterfaceArgs args, InvokeOptions options)
    public static Output<GetVirtualMachineInterfaceResult> getVirtualMachineInterface(GetVirtualMachineInterfaceArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: netbox:index/getVirtualMachineInterface:getVirtualMachineInterface
      arguments:
        # arguments dictionary
    data "netbox_get_virtual_machine_interface" "name" {
        # arguments
    }

    The following arguments are supported:

    BridgeId double
    Id of the bridged interface.
    ClusterId double
    Id of the cluster of the virtual machine.
    ClusterName string
    Name of the cluster of the virtual machine.
    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
    Enabled bool
    Whether the interface is enabled.
    Id double
    NetBox id.
    L2vpn double
    Id of the L2VPN.
    L2vpnId double
    Id of the L2VPN.
    LastUpdated string
    MacAddress string
    MAC address assigned to the interface.
    Mode string
    802.1Q tagging mode. One of: access, tagged, tagged-all, q-in-q.
    Mtu double
    MTU in bytes. Must be a whole number.
    Name string
    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.
    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.
    TagId double
    Id of a tag the object carries.
    TagSlug string
    Slug of a tag the object carries.
    VirtualMachineId double
    Id of the virtual machine.
    VirtualMachineName string
    Name of the virtual machine.
    Vlan string
    Assigned VID.
    VlanId string
    Assigned VLAN.
    VlanTranslationPolicy string
    VLAN Translation Policy.
    VlanTranslationPolicyId double
    Id of the VLAN translation policy.
    VrfId double
    Id of the VRF.
    VrfRd string
    Route distinguisher of the VRF.
    BridgeId float64
    Id of the bridged interface.
    ClusterId float64
    Id of the cluster of the virtual machine.
    ClusterName string
    Name of the cluster of the virtual machine.
    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
    Enabled bool
    Whether the interface is enabled.
    Id float64
    NetBox id.
    L2vpn float64
    Id of the L2VPN.
    L2vpnId float64
    Id of the L2VPN.
    LastUpdated string
    MacAddress string
    MAC address assigned to the interface.
    Mode string
    802.1Q tagging mode. One of: access, tagged, tagged-all, q-in-q.
    Mtu float64
    MTU in bytes. Must be a whole number.
    Name string
    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.
    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.
    TagId float64
    Id of a tag the object carries.
    TagSlug string
    Slug of a tag the object carries.
    VirtualMachineId float64
    Id of the virtual machine.
    VirtualMachineName string
    Name of the virtual machine.
    Vlan string
    Assigned VID.
    VlanId string
    Assigned VLAN.
    VlanTranslationPolicy string
    VLAN Translation Policy.
    VlanTranslationPolicyId float64
    Id of the VLAN translation policy.
    VrfId float64
    Id of the VRF.
    VrfRd string
    Route distinguisher of the VRF.
    bridge_id number
    Id of the bridged interface.
    cluster_id number
    Id of the cluster of the virtual machine.
    cluster_name string
    Name of the cluster of the virtual machine.
    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
    enabled bool
    Whether the interface is enabled.
    id number
    NetBox id.
    l2vpn number
    Id of the L2VPN.
    l2vpn_id number
    Id of the L2VPN.
    last_updated string
    mac_address string
    MAC address assigned to the interface.
    mode string
    802.1Q tagging mode. One of: access, tagged, tagged-all, q-in-q.
    mtu number
    MTU in bytes. Must be a whole number.
    name string
    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.
    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.
    tag_id number
    Id of a tag the object carries.
    tag_slug string
    Slug of a tag the object carries.
    virtual_machine_id number
    Id of the virtual machine.
    virtual_machine_name string
    Name of the virtual machine.
    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_id number
    Id of the VRF.
    vrf_rd string
    Route distinguisher of the VRF.
    bridgeId Double
    Id of the bridged interface.
    clusterId Double
    Id of the cluster of the virtual machine.
    clusterName String
    Name of the cluster of the virtual machine.
    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
    enabled Boolean
    Whether the interface is enabled.
    id Double
    NetBox id.
    l2vpn Double
    Id of the L2VPN.
    l2vpnId Double
    Id of the L2VPN.
    lastUpdated String
    macAddress String
    MAC address assigned to the interface.
    mode String
    802.1Q tagging mode. One of: access, tagged, tagged-all, q-in-q.
    mtu Double
    MTU in bytes. Must be a whole number.
    name String
    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.
    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.
    tagId Double
    Id of a tag the object carries.
    tagSlug String
    Slug of a tag the object carries.
    virtualMachineId Double
    Id of the virtual machine.
    virtualMachineName String
    Name of the virtual machine.
    vlan String
    Assigned VID.
    vlanId String
    Assigned VLAN.
    vlanTranslationPolicy String
    VLAN Translation Policy.
    vlanTranslationPolicyId Double
    Id of the VLAN translation policy.
    vrfId Double
    Id of the VRF.
    vrfRd String
    Route distinguisher of the VRF.
    bridgeId number
    Id of the bridged interface.
    clusterId number
    Id of the cluster of the virtual machine.
    clusterName string
    Name of the cluster of the virtual machine.
    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
    enabled boolean
    Whether the interface is enabled.
    id number
    NetBox id.
    l2vpn number
    Id of the L2VPN.
    l2vpnId number
    Id of the L2VPN.
    lastUpdated string
    macAddress string
    MAC address assigned to the interface.
    mode string
    802.1Q tagging mode. One of: access, tagged, tagged-all, q-in-q.
    mtu number
    MTU in bytes. Must be a whole number.
    name string
    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.
    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.
    tagId number
    Id of a tag the object carries.
    tagSlug string
    Slug of a tag the object carries.
    virtualMachineId number
    Id of the virtual machine.
    virtualMachineName string
    Name of the virtual machine.
    vlan string
    Assigned VID.
    vlanId string
    Assigned VLAN.
    vlanTranslationPolicy string
    VLAN Translation Policy.
    vlanTranslationPolicyId number
    Id of the VLAN translation policy.
    vrfId number
    Id of the VRF.
    vrfRd string
    Route distinguisher of the VRF.
    bridge_id float
    Id of the bridged interface.
    cluster_id float
    Id of the cluster of the virtual machine.
    cluster_name str
    Name of the cluster of the virtual machine.
    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
    enabled bool
    Whether the interface is enabled.
    id float
    NetBox id.
    l2vpn float
    Id of the L2VPN.
    l2vpn_id float
    Id of the L2VPN.
    last_updated str
    mac_address str
    MAC address assigned to the interface.
    mode str
    802.1Q tagging mode. One of: access, tagged, tagged-all, q-in-q.
    mtu float
    MTU in bytes. Must be a whole number.
    name str
    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.
    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.
    tag_id float
    Id of a tag the object carries.
    tag_slug str
    Slug of a tag the object carries.
    virtual_machine_id float
    Id of the virtual machine.
    virtual_machine_name str
    Name of the virtual machine.
    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_id float
    Id of the VRF.
    vrf_rd str
    Route distinguisher of the VRF.
    bridgeId Number
    Id of the bridged interface.
    clusterId Number
    Id of the cluster of the virtual machine.
    clusterName String
    Name of the cluster of the virtual machine.
    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
    enabled Boolean
    Whether the interface is enabled.
    id Number
    NetBox id.
    l2vpn Number
    Id of the L2VPN.
    l2vpnId Number
    Id of the L2VPN.
    lastUpdated String
    macAddress String
    MAC address assigned to the interface.
    mode String
    802.1Q tagging mode. One of: access, tagged, tagged-all, q-in-q.
    mtu Number
    MTU in bytes. Must be a whole number.
    name String
    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.
    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.
    tagId Number
    Id of a tag the object carries.
    tagSlug String
    Slug of a tag the object carries.
    virtualMachineId Number
    Id of the virtual machine.
    virtualMachineName String
    Name of the virtual machine.
    vlan String
    Assigned VID.
    vlanId String
    Assigned VLAN.
    vlanTranslationPolicy String
    VLAN Translation Policy.
    vlanTranslationPolicyId Number
    Id of the VLAN translation policy.
    vrfId Number
    Id of the VRF.
    vrfRd String
    Route distinguisher of the VRF.

    getVirtualMachineInterface Result

    The following output properties are available:

    BridgeId double
    Id of the bridged 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
    Enabled bool
    Whether the interface is enabled.
    Id double
    NetBox id.
    LastUpdated string
    Mode string
    802.1Q tagging mode. One of: access, tagged, tagged-all, q-in-q.
    Mtu double
    MTU in bytes. Must be a whole number.
    Name string
    OwnerId double
    Id of the owner the object is assigned to.
    ParentId double
    Id of the parent interface.
    QinqSvlanId double
    Id of the Q-in-Q service VLAN.
    TaggedVlanIds List<double>
    Ids of the tagged VLANs.
    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.
    UntaggedVlanId double
    Id of the untagged VLAN.
    Url string
    VirtualMachineId double
    Id of the virtual machine.
    VlanTranslationPolicyId double
    Id of the VLAN translation policy.
    VrfId double
    Id of the VRF.
    ClusterId double
    Id of the cluster of the virtual machine.
    ClusterName string
    Name of the cluster of the virtual machine.
    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.
    L2vpn double
    Id of the L2VPN.
    L2vpnId double
    Id of the L2VPN.
    MacAddress string
    MAC address assigned to the interface.
    OwnerGroupId double
    Id of the owner group.
    OwnerGroupName string
    Name of the owner group.
    OwnerName string
    Name of the owner.
    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.
    TagId double
    Id of a tag the object carries.
    TagSlug string
    Slug of a tag the object carries.
    VirtualMachineName string
    Name of the virtual machine.
    Vlan string
    Assigned VID.
    VlanId string
    Assigned VLAN.
    VlanTranslationPolicy string
    VLAN Translation Policy.
    VrfRd string
    Route distinguisher of the VRF.
    BridgeId float64
    Id of the bridged 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
    Enabled bool
    Whether the interface is enabled.
    Id float64
    NetBox id.
    LastUpdated string
    Mode string
    802.1Q tagging mode. One of: access, tagged, tagged-all, q-in-q.
    Mtu float64
    MTU in bytes. Must be a whole number.
    Name string
    OwnerId float64
    Id of the owner the object is assigned to.
    ParentId float64
    Id of the parent interface.
    QinqSvlanId float64
    Id of the Q-in-Q service VLAN.
    TaggedVlanIds []float64
    Ids of the tagged VLANs.
    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.
    UntaggedVlanId float64
    Id of the untagged VLAN.
    Url string
    VirtualMachineId float64
    Id of the virtual machine.
    VlanTranslationPolicyId float64
    Id of the VLAN translation policy.
    VrfId float64
    Id of the VRF.
    ClusterId float64
    Id of the cluster of the virtual machine.
    ClusterName string
    Name of the cluster of the virtual machine.
    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.
    L2vpn float64
    Id of the L2VPN.
    L2vpnId float64
    Id of the L2VPN.
    MacAddress string
    MAC address assigned to the interface.
    OwnerGroupId float64
    Id of the owner group.
    OwnerGroupName string
    Name of the owner group.
    OwnerName string
    Name of the owner.
    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.
    TagId float64
    Id of a tag the object carries.
    TagSlug string
    Slug of a tag the object carries.
    VirtualMachineName string
    Name of the virtual machine.
    Vlan string
    Assigned VID.
    VlanId string
    Assigned VLAN.
    VlanTranslationPolicy string
    VLAN Translation Policy.
    VrfRd string
    Route distinguisher of the VRF.
    bridge_id number
    Id of the bridged 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
    enabled bool
    Whether the interface is enabled.
    id number
    NetBox id.
    last_updated string
    mode string
    802.1Q tagging mode. One of: access, tagged, tagged-all, q-in-q.
    mtu number
    MTU in bytes. Must be a whole number.
    name string
    owner_id number
    Id of the owner the object is assigned to.
    parent_id number
    Id of the parent interface.
    qinq_svlan_id number
    Id of the Q-in-Q service VLAN.
    tagged_vlan_ids list(number)
    Ids of the tagged VLANs.
    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.
    untagged_vlan_id number
    Id of the untagged VLAN.
    url string
    virtual_machine_id number
    Id of the virtual machine.
    vlan_translation_policy_id number
    Id of the VLAN translation policy.
    vrf_id number
    Id of the VRF.
    cluster_id number
    Id of the cluster of the virtual machine.
    cluster_name string
    Name of the cluster of the virtual machine.
    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.
    l2vpn number
    Id of the L2VPN.
    l2vpn_id number
    Id of the L2VPN.
    mac_address string
    MAC address assigned to the interface.
    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.
    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.
    tag_id number
    Id of a tag the object carries.
    tag_slug string
    Slug of a tag the object carries.
    virtual_machine_name string
    Name of the virtual machine.
    vlan string
    Assigned VID.
    vlan_id string
    Assigned VLAN.
    vlan_translation_policy string
    VLAN Translation Policy.
    vrf_rd string
    Route distinguisher of the VRF.
    bridgeId Double
    Id of the bridged 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
    enabled Boolean
    Whether the interface is enabled.
    id Double
    NetBox id.
    lastUpdated String
    mode String
    802.1Q tagging mode. One of: access, tagged, tagged-all, q-in-q.
    mtu Double
    MTU in bytes. Must be a whole number.
    name String
    ownerId Double
    Id of the owner the object is assigned to.
    parentId Double
    Id of the parent interface.
    qinqSvlanId Double
    Id of the Q-in-Q service VLAN.
    taggedVlanIds List<Double>
    Ids of the tagged VLANs.
    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.
    untaggedVlanId Double
    Id of the untagged VLAN.
    url String
    virtualMachineId Double
    Id of the virtual machine.
    vlanTranslationPolicyId Double
    Id of the VLAN translation policy.
    vrfId Double
    Id of the VRF.
    clusterId Double
    Id of the cluster of the virtual machine.
    clusterName String
    Name of the cluster of the virtual machine.
    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.
    l2vpn Double
    Id of the L2VPN.
    l2vpnId Double
    Id of the L2VPN.
    macAddress String
    MAC address assigned to the interface.
    ownerGroupId Double
    Id of the owner group.
    ownerGroupName String
    Name of the owner group.
    ownerName String
    Name of the owner.
    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.
    tagId Double
    Id of a tag the object carries.
    tagSlug String
    Slug of a tag the object carries.
    virtualMachineName String
    Name of the virtual machine.
    vlan String
    Assigned VID.
    vlanId String
    Assigned VLAN.
    vlanTranslationPolicy String
    VLAN Translation Policy.
    vrfRd String
    Route distinguisher of the VRF.
    bridgeId number
    Id of the bridged 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
    enabled boolean
    Whether the interface is enabled.
    id number
    NetBox id.
    lastUpdated string
    mode string
    802.1Q tagging mode. One of: access, tagged, tagged-all, q-in-q.
    mtu number
    MTU in bytes. Must be a whole number.
    name string
    ownerId number
    Id of the owner the object is assigned to.
    parentId number
    Id of the parent interface.
    qinqSvlanId number
    Id of the Q-in-Q service VLAN.
    taggedVlanIds number[]
    Ids of the tagged VLANs.
    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.
    untaggedVlanId number
    Id of the untagged VLAN.
    url string
    virtualMachineId number
    Id of the virtual machine.
    vlanTranslationPolicyId number
    Id of the VLAN translation policy.
    vrfId number
    Id of the VRF.
    clusterId number
    Id of the cluster of the virtual machine.
    clusterName string
    Name of the cluster of the virtual machine.
    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.
    l2vpn number
    Id of the L2VPN.
    l2vpnId number
    Id of the L2VPN.
    macAddress string
    MAC address assigned to the interface.
    ownerGroupId number
    Id of the owner group.
    ownerGroupName string
    Name of the owner group.
    ownerName string
    Name of the owner.
    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.
    tagId number
    Id of a tag the object carries.
    tagSlug string
    Slug of a tag the object carries.
    virtualMachineName string
    Name of the virtual machine.
    vlan string
    Assigned VID.
    vlanId string
    Assigned VLAN.
    vlanTranslationPolicy string
    VLAN Translation Policy.
    vrfRd string
    Route distinguisher of the VRF.
    bridge_id float
    Id of the bridged 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
    enabled bool
    Whether the interface is enabled.
    id float
    NetBox id.
    last_updated str
    mode str
    802.1Q tagging mode. One of: access, tagged, tagged-all, q-in-q.
    mtu float
    MTU in bytes. Must be a whole number.
    name str
    owner_id float
    Id of the owner the object is assigned to.
    parent_id float
    Id of the parent interface.
    qinq_svlan_id float
    Id of the Q-in-Q service VLAN.
    tagged_vlan_ids Sequence[float]
    Ids of the tagged VLANs.
    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.
    untagged_vlan_id float
    Id of the untagged VLAN.
    url str
    virtual_machine_id float
    Id of the virtual machine.
    vlan_translation_policy_id float
    Id of the VLAN translation policy.
    vrf_id float
    Id of the VRF.
    cluster_id float
    Id of the cluster of the virtual machine.
    cluster_name str
    Name of the cluster of the virtual machine.
    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.
    l2vpn float
    Id of the L2VPN.
    l2vpn_id float
    Id of the L2VPN.
    mac_address str
    MAC address assigned to the interface.
    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.
    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.
    tag_id float
    Id of a tag the object carries.
    tag_slug str
    Slug of a tag the object carries.
    virtual_machine_name str
    Name of the virtual machine.
    vlan str
    Assigned VID.
    vlan_id str
    Assigned VLAN.
    vlan_translation_policy str
    VLAN Translation Policy.
    vrf_rd str
    Route distinguisher of the VRF.
    bridgeId Number
    Id of the bridged 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
    enabled Boolean
    Whether the interface is enabled.
    id Number
    NetBox id.
    lastUpdated String
    mode String
    802.1Q tagging mode. One of: access, tagged, tagged-all, q-in-q.
    mtu Number
    MTU in bytes. Must be a whole number.
    name String
    ownerId Number
    Id of the owner the object is assigned to.
    parentId Number
    Id of the parent interface.
    qinqSvlanId Number
    Id of the Q-in-Q service VLAN.
    taggedVlanIds List<Number>
    Ids of the tagged VLANs.
    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.
    untaggedVlanId Number
    Id of the untagged VLAN.
    url String
    virtualMachineId Number
    Id of the virtual machine.
    vlanTranslationPolicyId Number
    Id of the VLAN translation policy.
    vrfId Number
    Id of the VRF.
    clusterId Number
    Id of the cluster of the virtual machine.
    clusterName String
    Name of the cluster of the virtual machine.
    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.
    l2vpn Number
    Id of the L2VPN.
    l2vpnId Number
    Id of the L2VPN.
    macAddress String
    MAC address assigned to the interface.
    ownerGroupId Number
    Id of the owner group.
    ownerGroupName String
    Name of the owner group.
    ownerName String
    Name of the owner.
    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.
    tagId Number
    Id of a tag the object carries.
    tagSlug String
    Slug of a tag the object carries.
    virtualMachineName String
    Name of the virtual machine.
    vlan String
    Assigned VID.
    vlanId String
    Assigned VLAN.
    vlanTranslationPolicy String
    VLAN Translation Policy.
    vrfRd String
    Route distinguisher of the VRF.

    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