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

    Lists virtual_machine_interface objects matching the given filters.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as netbox from "@pulumi/netbox";
    
    const test = netbox.getVirtualMachineInterfaces({
        filters: [{
            name: "name",
            value: "test-virtual_machine_interface",
        }],
    });
    
    import pulumi
    import pulumi_netbox as netbox
    
    test = netbox.get_virtual_machine_interfaces(filters=[{
        "name": "name",
        "value": "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.GetVirtualMachineInterfaces(ctx, &netbox.GetVirtualMachineInterfacesArgs{
    			Filters: []netbox.GetVirtualMachineInterfacesFilter{
    				{
    					Name:  "name",
    					Value: "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.GetVirtualMachineInterfaces.Invoke(new()
        {
            Filters = new[]
            {
                new Netbox.Inputs.GetVirtualMachineInterfacesFilterInputArgs
                {
                    Name = "name",
                    Value = "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.GetVirtualMachineInterfacesArgs;
    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.getVirtualMachineInterfaces(GetVirtualMachineInterfacesArgs.builder()
                .filters(GetVirtualMachineInterfacesFilterArgs.builder()
                    .name("name")
                    .value("test-virtual_machine_interface")
                    .build())
                .build());
    
        }
    }
    
    variables:
      test:
        fn::invoke:
          function: netbox:getVirtualMachineInterfaces
          arguments:
            filters:
              - name: name
                value: test-virtual_machine_interface
    
    Example coming soon!
    

    Using getVirtualMachineInterfaces

    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 getVirtualMachineInterfaces(args: GetVirtualMachineInterfacesArgs, opts?: InvokeOptions): Promise<GetVirtualMachineInterfacesResult>
    function getVirtualMachineInterfacesOutput(args: GetVirtualMachineInterfacesOutputArgs, opts?: InvokeOutputOptions): Output<GetVirtualMachineInterfacesResult>
    def get_virtual_machine_interfaces(filters: Optional[Sequence[GetVirtualMachineInterfacesFilter]] = None,
                                       limit: Optional[float] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetVirtualMachineInterfacesResult
    def get_virtual_machine_interfaces_output(filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetVirtualMachineInterfacesFilterArgs]]]] = None,
                                       limit: pulumi.Input[Optional[float]] = None,
                                       opts: Optional[InvokeOutputOptions] = None) -> Output[GetVirtualMachineInterfacesResult]
    func GetVirtualMachineInterfaces(ctx *Context, args *GetVirtualMachineInterfacesArgs, opts ...InvokeOption) (*GetVirtualMachineInterfacesResult, error)
    func GetVirtualMachineInterfacesOutput(ctx *Context, args *GetVirtualMachineInterfacesOutputArgs, opts ...InvokeOption) GetVirtualMachineInterfacesResultOutput

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

    public static class GetVirtualMachineInterfaces 
    {
        public static Task<GetVirtualMachineInterfacesResult> InvokeAsync(GetVirtualMachineInterfacesArgs args, InvokeOptions? opts = null)
        public static Output<GetVirtualMachineInterfacesResult> Invoke(GetVirtualMachineInterfacesInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetVirtualMachineInterfacesResult> Invoke(GetVirtualMachineInterfacesInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetVirtualMachineInterfacesResult> getVirtualMachineInterfaces(GetVirtualMachineInterfacesArgs args, InvokeOptions options)
    public static Output<GetVirtualMachineInterfacesResult> getVirtualMachineInterfaces(GetVirtualMachineInterfacesArgs args, InvokeOptions options)
    public static Output<GetVirtualMachineInterfacesResult> getVirtualMachineInterfaces(GetVirtualMachineInterfacesArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: netbox:index/getVirtualMachineInterfaces:getVirtualMachineInterfaces
      arguments:
        # arguments dictionary
    data "netbox_get_virtual_machine_interfaces" "name" {
        # arguments
    }

    The following arguments are supported:

    Filters List<GetVirtualMachineInterfacesFilter>
    Query filters, sent as API list parameters. Supported names: bridgeid, bridgeidn, cluster, clusterid, clusteridn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, mac_address, mode, modeempty, modeic, modeie, modeiew, modeiregex, modeisw, moden, modenic, modenie, modeniew, modenisw, moderegex, mtu, mtuempty, mtugt, mtugte, mtult, mtulte, mtun, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, parentid, parentidn, tag, tagany, tagn, virtualmachine, virtualmachineid, virtualmachine_idn, vrf, vrfn, vrfid, vrfid_*n. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
    Limit double
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    Filters []GetVirtualMachineInterfacesFilter
    Query filters, sent as API list parameters. Supported names: bridgeid, bridgeidn, cluster, clusterid, clusteridn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, mac_address, mode, modeempty, modeic, modeie, modeiew, modeiregex, modeisw, moden, modenic, modenie, modeniew, modenisw, moderegex, mtu, mtuempty, mtugt, mtugte, mtult, mtulte, mtun, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, parentid, parentidn, tag, tagany, tagn, virtualmachine, virtualmachineid, virtualmachine_idn, vrf, vrfn, vrfid, vrfid_*n. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
    Limit float64
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    filters list(object)
    Query filters, sent as API list parameters. Supported names: bridgeid, bridgeidn, cluster, clusterid, clusteridn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, mac_address, mode, modeempty, modeic, modeie, modeiew, modeiregex, modeisw, moden, modenic, modenie, modeniew, modenisw, moderegex, mtu, mtuempty, mtugt, mtugte, mtult, mtulte, mtun, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, parentid, parentidn, tag, tagany, tagn, virtualmachine, virtualmachineid, virtualmachine_idn, vrf, vrfn, vrfid, vrfid_*n. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
    limit number
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    filters List<GetVirtualMachineInterfacesFilter>
    Query filters, sent as API list parameters. Supported names: bridgeid, bridgeidn, cluster, clusterid, clusteridn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, mac_address, mode, modeempty, modeic, modeie, modeiew, modeiregex, modeisw, moden, modenic, modenie, modeniew, modenisw, moderegex, mtu, mtuempty, mtugt, mtugte, mtult, mtulte, mtun, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, parentid, parentidn, tag, tagany, tagn, virtualmachine, virtualmachineid, virtualmachine_idn, vrf, vrfn, vrfid, vrfid_*n. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
    limit Double
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    filters GetVirtualMachineInterfacesFilter[]
    Query filters, sent as API list parameters. Supported names: bridgeid, bridgeidn, cluster, clusterid, clusteridn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, mac_address, mode, modeempty, modeic, modeie, modeiew, modeiregex, modeisw, moden, modenic, modenie, modeniew, modenisw, moderegex, mtu, mtuempty, mtugt, mtugte, mtult, mtulte, mtun, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, parentid, parentidn, tag, tagany, tagn, virtualmachine, virtualmachineid, virtualmachine_idn, vrf, vrfn, vrfid, vrfid_*n. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
    limit number
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    filters Sequence[GetVirtualMachineInterfacesFilter]
    Query filters, sent as API list parameters. Supported names: bridgeid, bridgeidn, cluster, clusterid, clusteridn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, mac_address, mode, modeempty, modeic, modeie, modeiew, modeiregex, modeisw, moden, modenic, modenie, modeniew, modenisw, moderegex, mtu, mtuempty, mtugt, mtugte, mtult, mtulte, mtun, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, parentid, parentidn, tag, tagany, tagn, virtualmachine, virtualmachineid, virtualmachine_idn, vrf, vrfn, vrfid, vrfid_*n. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
    limit float
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    filters List<Property Map>
    Query filters, sent as API list parameters. Supported names: bridgeid, bridgeidn, cluster, clusterid, clusteridn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, mac_address, mode, modeempty, modeic, modeie, modeiew, modeiregex, modeisw, moden, modenic, modenie, modeniew, modenisw, moderegex, mtu, mtuempty, mtugt, mtugte, mtult, mtulte, mtun, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, parentid, parentidn, tag, tagany, tagn, virtualmachine, virtualmachineid, virtualmachine_idn, vrf, vrfn, vrfid, vrfid_*n. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
    limit Number
    The maximum number of objects to return from the API lookup. Defaults to 1000.

    getVirtualMachineInterfaces Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    VirtualMachineInterfaces List<GetVirtualMachineInterfacesVirtualMachineInterface>
    The matching virtualmachineinterfaces.
    Filters List<GetVirtualMachineInterfacesFilter>
    Query filters, sent as API list parameters. Supported names: bridgeid, bridgeidn, cluster, clusterid, clusteridn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, mac_address, mode, modeempty, modeic, modeie, modeiew, modeiregex, modeisw, moden, modenic, modenie, modeniew, modenisw, moderegex, mtu, mtuempty, mtugt, mtugte, mtult, mtulte, mtun, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, parentid, parentidn, tag, tagany, tagn, virtualmachine, virtualmachineid, virtualmachine_idn, vrf, vrfn, vrfid, vrfid_*n. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
    Limit double
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    Id string
    The provider-assigned unique ID for this managed resource.
    VirtualMachineInterfaces []GetVirtualMachineInterfacesVirtualMachineInterface
    The matching virtualmachineinterfaces.
    Filters []GetVirtualMachineInterfacesFilter
    Query filters, sent as API list parameters. Supported names: bridgeid, bridgeidn, cluster, clusterid, clusteridn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, mac_address, mode, modeempty, modeic, modeie, modeiew, modeiregex, modeisw, moden, modenic, modenie, modeniew, modenisw, moderegex, mtu, mtuempty, mtugt, mtugte, mtult, mtulte, mtun, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, parentid, parentidn, tag, tagany, tagn, virtualmachine, virtualmachineid, virtualmachine_idn, vrf, vrfn, vrfid, vrfid_*n. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
    Limit float64
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    id string
    The provider-assigned unique ID for this managed resource.
    virtual_machine_interfaces list(object)
    The matching virtualmachineinterfaces.
    filters list(object)
    Query filters, sent as API list parameters. Supported names: bridgeid, bridgeidn, cluster, clusterid, clusteridn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, mac_address, mode, modeempty, modeic, modeie, modeiew, modeiregex, modeisw, moden, modenic, modenie, modeniew, modenisw, moderegex, mtu, mtuempty, mtugt, mtugte, mtult, mtulte, mtun, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, parentid, parentidn, tag, tagany, tagn, virtualmachine, virtualmachineid, virtualmachine_idn, vrf, vrfn, vrfid, vrfid_*n. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
    limit number
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    id String
    The provider-assigned unique ID for this managed resource.
    virtualMachineInterfaces List<GetVirtualMachineInterfacesVirtualMachineInterface>
    The matching virtualmachineinterfaces.
    filters List<GetVirtualMachineInterfacesFilter>
    Query filters, sent as API list parameters. Supported names: bridgeid, bridgeidn, cluster, clusterid, clusteridn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, mac_address, mode, modeempty, modeic, modeie, modeiew, modeiregex, modeisw, moden, modenic, modenie, modeniew, modenisw, moderegex, mtu, mtuempty, mtugt, mtugte, mtult, mtulte, mtun, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, parentid, parentidn, tag, tagany, tagn, virtualmachine, virtualmachineid, virtualmachine_idn, vrf, vrfn, vrfid, vrfid_*n. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
    limit Double
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    id string
    The provider-assigned unique ID for this managed resource.
    virtualMachineInterfaces GetVirtualMachineInterfacesVirtualMachineInterface[]
    The matching virtualmachineinterfaces.
    filters GetVirtualMachineInterfacesFilter[]
    Query filters, sent as API list parameters. Supported names: bridgeid, bridgeidn, cluster, clusterid, clusteridn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, mac_address, mode, modeempty, modeic, modeie, modeiew, modeiregex, modeisw, moden, modenic, modenie, modeniew, modenisw, moderegex, mtu, mtuempty, mtugt, mtugte, mtult, mtulte, mtun, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, parentid, parentidn, tag, tagany, tagn, virtualmachine, virtualmachineid, virtualmachine_idn, vrf, vrfn, vrfid, vrfid_*n. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
    limit number
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    id str
    The provider-assigned unique ID for this managed resource.
    virtual_machine_interfaces Sequence[GetVirtualMachineInterfacesVirtualMachineInterface]
    The matching virtualmachineinterfaces.
    filters Sequence[GetVirtualMachineInterfacesFilter]
    Query filters, sent as API list parameters. Supported names: bridgeid, bridgeidn, cluster, clusterid, clusteridn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, mac_address, mode, modeempty, modeic, modeie, modeiew, modeiregex, modeisw, moden, modenic, modenie, modeniew, modenisw, moderegex, mtu, mtuempty, mtugt, mtugte, mtult, mtulte, mtun, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, parentid, parentidn, tag, tagany, tagn, virtualmachine, virtualmachineid, virtualmachine_idn, vrf, vrfn, vrfid, vrfid_*n. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
    limit float
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    id String
    The provider-assigned unique ID for this managed resource.
    virtualMachineInterfaces List<Property Map>
    The matching virtualmachineinterfaces.
    filters List<Property Map>
    Query filters, sent as API list parameters. Supported names: bridgeid, bridgeidn, cluster, clusterid, clusteridn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, mac_address, mode, modeempty, modeic, modeie, modeiew, modeiregex, modeisw, moden, modenic, modenie, modeniew, modenisw, moderegex, mtu, mtuempty, mtugt, mtugte, mtult, mtulte, mtun, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, parentid, parentidn, tag, tagany, tagn, virtualmachine, virtualmachineid, virtualmachine_idn, vrf, vrfn, vrfid, vrfid_*n. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
    limit Number
    The maximum number of objects to return from the API lookup. Defaults to 1000.

    Supporting Types

    GetVirtualMachineInterfacesFilter

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

    GetVirtualMachineInterfacesVirtualMachineInterface

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

    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