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

    A 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,
                                      custom_field_filters: Optional[Mapping[str, str]] = None,
                                      description: Optional[str] = None,
                                      enabled: Optional[bool] = None,
                                      id: Optional[float] = None,
                                      mac_address: Optional[str] = None,
                                      mode: Optional[str] = None,
                                      mtu: Optional[float] = None,
                                      name: Optional[str] = None,
                                      owner_id: Optional[float] = None,
                                      parent_id: Optional[float] = None,
                                      tag_slug: Optional[str] = None,
                                      virtual_machine_id: Optional[float] = None,
                                      virtual_machine_name: Optional[str] = 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,
                                      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,
                                      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_id: pulumi.Input[Optional[float]] = None,
                                      parent_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,
                                      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.
    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.
    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
    OwnerId double
    Id of the owner the object is assigned to.
    ParentId double
    Id of the parent interface.
    TagSlug string
    Slug of a tag the object carries.
    VirtualMachineId double
    Id of the virtual machine.
    VirtualMachineName string
    Name of the virtual machine.
    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.
    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.
    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
    OwnerId float64
    Id of the owner the object is assigned to.
    ParentId float64
    Id of the parent interface.
    TagSlug string
    Slug of a tag the object carries.
    VirtualMachineId float64
    Id of the virtual machine.
    VirtualMachineName string
    Name of the virtual machine.
    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.
    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.
    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_id number
    Id of the owner the object is assigned to.
    parent_id number
    Id of the parent interface.
    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.
    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.
    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.
    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
    ownerId Double
    Id of the owner the object is assigned to.
    parentId Double
    Id of the parent interface.
    tagSlug String
    Slug of a tag the object carries.
    virtualMachineId Double
    Id of the virtual machine.
    virtualMachineName String
    Name of the virtual machine.
    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.
    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.
    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
    ownerId number
    Id of the owner the object is assigned to.
    parentId number
    Id of the parent interface.
    tagSlug string
    Slug of a tag the object carries.
    virtualMachineId number
    Id of the virtual machine.
    virtualMachineName string
    Name of the virtual machine.
    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.
    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.
    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_id float
    Id of the owner the object is assigned to.
    parent_id float
    Id of the parent interface.
    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.
    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.
    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.
    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
    ownerId Number
    Id of the owner the object is assigned to.
    parentId Number
    Id of the parent interface.
    tagSlug String
    Slug of a tag the object carries.
    virtualMachineId Number
    Id of the virtual machine.
    virtualMachineName String
    Name of the virtual machine.
    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.
    MacAddress string
    MAC address assigned to the interface.
    TagSlug string
    Slug of a tag the object carries.
    VirtualMachineName string
    Name of the virtual machine.
    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.
    MacAddress string
    MAC address assigned to the interface.
    TagSlug string
    Slug of a tag the object carries.
    VirtualMachineName string
    Name of the virtual machine.
    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.
    mac_address string
    MAC address assigned to the interface.
    tag_slug string
    Slug of a tag the object carries.
    virtual_machine_name string
    Name of the virtual machine.
    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.
    macAddress String
    MAC address assigned to the interface.
    tagSlug String
    Slug of a tag the object carries.
    virtualMachineName String
    Name of the virtual machine.
    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.
    macAddress string
    MAC address assigned to the interface.
    tagSlug string
    Slug of a tag the object carries.
    virtualMachineName string
    Name of the virtual machine.
    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.
    mac_address str
    MAC address assigned to the interface.
    tag_slug str
    Slug of a tag the object carries.
    virtual_machine_name str
    Name of the virtual machine.
    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.
    macAddress String
    MAC address assigned to the interface.
    tagSlug String
    Slug of a tag the object carries.
    virtualMachineName String
    Name of the virtual machine.
    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.0
    published on Wednesday, Nov 4, 2026 by e-breuninger

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial