Viewing docs for netbox 6.0.1
published on Monday, Nov 16, 2026 by e-breuninger
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
published on Monday, Nov 16, 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 dictionarydata "netbox_get_virtual_machine_interfaces" "name" {
# arguments
}The following arguments are supported:
- Filters
List<Get
Virtual Machine Interfaces Filter> - Query filters, sent as API list parameters. Supported names: bridgeid, bridgeidn, cluster, clustern, clusterid, clusteridn, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, l2vpn, l2vpnn, l2vpnid, l2vpnidn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, macaddress, macaddressic, mac_addressie, mac_addressiew, mac_addressiregex, mac_addressisw, mac_addressn, mac_addressnic, mac_addressnie, mac_addressniew, mac_addressnisw, mac_addressregex, 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, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, parentid, parentidn, primarymacaddress, primarymacaddressn, primarymacaddressid, primarymacaddressidn, q, tag, tagany, tagn, tagid, tagidany, tag_idn, virtualmachine, virtualmachinen, virtualmachineid, virtualmachineidn, vlan, vlanid, vlantranslationpolicy, vlantranslation_policyn, vlantranslationpolicyid, vlantranslationpolicyidn, 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
[]Get
Virtual Machine Interfaces Filter - Query filters, sent as API list parameters. Supported names: bridgeid, bridgeidn, cluster, clustern, clusterid, clusteridn, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, l2vpn, l2vpnn, l2vpnid, l2vpnidn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, macaddress, macaddressic, mac_addressie, mac_addressiew, mac_addressiregex, mac_addressisw, mac_addressn, mac_addressnic, mac_addressnie, mac_addressniew, mac_addressnisw, mac_addressregex, 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, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, parentid, parentidn, primarymacaddress, primarymacaddressn, primarymacaddressid, primarymacaddressidn, q, tag, tagany, tagn, tagid, tagidany, tag_idn, virtualmachine, virtualmachinen, virtualmachineid, virtualmachineidn, vlan, vlanid, vlantranslationpolicy, vlantranslation_policyn, vlantranslationpolicyid, vlantranslationpolicyidn, 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, clustern, clusterid, clusteridn, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, l2vpn, l2vpnn, l2vpnid, l2vpnidn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, macaddress, macaddressic, mac_addressie, mac_addressiew, mac_addressiregex, mac_addressisw, mac_addressn, mac_addressnic, mac_addressnie, mac_addressniew, mac_addressnisw, mac_addressregex, 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, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, parentid, parentidn, primarymacaddress, primarymacaddressn, primarymacaddressid, primarymacaddressidn, q, tag, tagany, tagn, tagid, tagidany, tag_idn, virtualmachine, virtualmachinen, virtualmachineid, virtualmachineidn, vlan, vlanid, vlantranslationpolicy, vlantranslation_policyn, vlantranslationpolicyid, vlantranslationpolicyidn, 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<Get
Virtual Machine Interfaces Filter> - Query filters, sent as API list parameters. Supported names: bridgeid, bridgeidn, cluster, clustern, clusterid, clusteridn, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, l2vpn, l2vpnn, l2vpnid, l2vpnidn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, macaddress, macaddressic, mac_addressie, mac_addressiew, mac_addressiregex, mac_addressisw, mac_addressn, mac_addressnic, mac_addressnie, mac_addressniew, mac_addressnisw, mac_addressregex, 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, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, parentid, parentidn, primarymacaddress, primarymacaddressn, primarymacaddressid, primarymacaddressidn, q, tag, tagany, tagn, tagid, tagidany, tag_idn, virtualmachine, virtualmachinen, virtualmachineid, virtualmachineidn, vlan, vlanid, vlantranslationpolicy, vlantranslation_policyn, vlantranslationpolicyid, vlantranslationpolicyidn, 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
Get
Virtual Machine Interfaces Filter[] - Query filters, sent as API list parameters. Supported names: bridgeid, bridgeidn, cluster, clustern, clusterid, clusteridn, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, l2vpn, l2vpnn, l2vpnid, l2vpnidn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, macaddress, macaddressic, mac_addressie, mac_addressiew, mac_addressiregex, mac_addressisw, mac_addressn, mac_addressnic, mac_addressnie, mac_addressniew, mac_addressnisw, mac_addressregex, 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, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, parentid, parentidn, primarymacaddress, primarymacaddressn, primarymacaddressid, primarymacaddressidn, q, tag, tagany, tagn, tagid, tagidany, tag_idn, virtualmachine, virtualmachinen, virtualmachineid, virtualmachineidn, vlan, vlanid, vlantranslationpolicy, vlantranslation_policyn, vlantranslationpolicyid, vlantranslationpolicyidn, 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[Get
Virtual Machine Interfaces Filter] - Query filters, sent as API list parameters. Supported names: bridgeid, bridgeidn, cluster, clustern, clusterid, clusteridn, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, l2vpn, l2vpnn, l2vpnid, l2vpnidn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, macaddress, macaddressic, mac_addressie, mac_addressiew, mac_addressiregex, mac_addressisw, mac_addressn, mac_addressnic, mac_addressnie, mac_addressniew, mac_addressnisw, mac_addressregex, 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, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, parentid, parentidn, primarymacaddress, primarymacaddressn, primarymacaddressid, primarymacaddressidn, q, tag, tagany, tagn, tagid, tagidany, tag_idn, virtualmachine, virtualmachinen, virtualmachineid, virtualmachineidn, vlan, vlanid, vlantranslationpolicy, vlantranslation_policyn, vlantranslationpolicyid, vlantranslationpolicyidn, 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, clustern, clusterid, clusteridn, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, l2vpn, l2vpnn, l2vpnid, l2vpnidn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, macaddress, macaddressic, mac_addressie, mac_addressiew, mac_addressiregex, mac_addressisw, mac_addressn, mac_addressnic, mac_addressnie, mac_addressniew, mac_addressnisw, mac_addressregex, 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, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, parentid, parentidn, primarymacaddress, primarymacaddressn, primarymacaddressid, primarymacaddressidn, q, tag, tagany, tagn, tagid, tagidany, tag_idn, virtualmachine, virtualmachinen, virtualmachineid, virtualmachineidn, vlan, vlanid, vlantranslationpolicy, vlantranslation_policyn, vlantranslationpolicyid, vlantranslationpolicyidn, 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.
- Virtual
Machine List<GetInterfaces Virtual Machine Interfaces Virtual Machine Interface> - The matching virtualmachineinterfaces.
- Filters
List<Get
Virtual Machine Interfaces Filter> - Query filters, sent as API list parameters. Supported names: bridgeid, bridgeidn, cluster, clustern, clusterid, clusteridn, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, l2vpn, l2vpnn, l2vpnid, l2vpnidn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, macaddress, macaddressic, mac_addressie, mac_addressiew, mac_addressiregex, mac_addressisw, mac_addressn, mac_addressnic, mac_addressnie, mac_addressniew, mac_addressnisw, mac_addressregex, 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, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, parentid, parentidn, primarymacaddress, primarymacaddressn, primarymacaddressid, primarymacaddressidn, q, tag, tagany, tagn, tagid, tagidany, tag_idn, virtualmachine, virtualmachinen, virtualmachineid, virtualmachineidn, vlan, vlanid, vlantranslationpolicy, vlantranslation_policyn, vlantranslationpolicyid, vlantranslationpolicyidn, 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.
- Virtual
Machine []GetInterfaces Virtual Machine Interfaces Virtual Machine Interface - The matching virtualmachineinterfaces.
- Filters
[]Get
Virtual Machine Interfaces Filter - Query filters, sent as API list parameters. Supported names: bridgeid, bridgeidn, cluster, clustern, clusterid, clusteridn, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, l2vpn, l2vpnn, l2vpnid, l2vpnidn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, macaddress, macaddressic, mac_addressie, mac_addressiew, mac_addressiregex, mac_addressisw, mac_addressn, mac_addressnic, mac_addressnie, mac_addressniew, mac_addressnisw, mac_addressregex, 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, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, parentid, parentidn, primarymacaddress, primarymacaddressn, primarymacaddressid, primarymacaddressidn, q, tag, tagany, tagn, tagid, tagidany, tag_idn, virtualmachine, virtualmachinen, virtualmachineid, virtualmachineidn, vlan, vlanid, vlantranslationpolicy, vlantranslation_policyn, vlantranslationpolicyid, vlantranslationpolicyidn, 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_ list(object)interfaces - The matching virtualmachineinterfaces.
- filters list(object)
- Query filters, sent as API list parameters. Supported names: bridgeid, bridgeidn, cluster, clustern, clusterid, clusteridn, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, l2vpn, l2vpnn, l2vpnid, l2vpnidn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, macaddress, macaddressic, mac_addressie, mac_addressiew, mac_addressiregex, mac_addressisw, mac_addressn, mac_addressnic, mac_addressnie, mac_addressniew, mac_addressnisw, mac_addressregex, 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, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, parentid, parentidn, primarymacaddress, primarymacaddressn, primarymacaddressid, primarymacaddressidn, q, tag, tagany, tagn, tagid, tagidany, tag_idn, virtualmachine, virtualmachinen, virtualmachineid, virtualmachineidn, vlan, vlanid, vlantranslationpolicy, vlantranslation_policyn, vlantranslationpolicyid, vlantranslationpolicyidn, 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.
- virtual
Machine List<GetInterfaces Virtual Machine Interfaces Virtual Machine Interface> - The matching virtualmachineinterfaces.
- filters
List<Get
Virtual Machine Interfaces Filter> - Query filters, sent as API list parameters. Supported names: bridgeid, bridgeidn, cluster, clustern, clusterid, clusteridn, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, l2vpn, l2vpnn, l2vpnid, l2vpnidn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, macaddress, macaddressic, mac_addressie, mac_addressiew, mac_addressiregex, mac_addressisw, mac_addressn, mac_addressnic, mac_addressnie, mac_addressniew, mac_addressnisw, mac_addressregex, 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, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, parentid, parentidn, primarymacaddress, primarymacaddressn, primarymacaddressid, primarymacaddressidn, q, tag, tagany, tagn, tagid, tagidany, tag_idn, virtualmachine, virtualmachinen, virtualmachineid, virtualmachineidn, vlan, vlanid, vlantranslationpolicy, vlantranslation_policyn, vlantranslationpolicyid, vlantranslationpolicyidn, 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.
- virtual
Machine GetInterfaces Virtual Machine Interfaces Virtual Machine Interface[] - The matching virtualmachineinterfaces.
- filters
Get
Virtual Machine Interfaces Filter[] - Query filters, sent as API list parameters. Supported names: bridgeid, bridgeidn, cluster, clustern, clusterid, clusteridn, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, l2vpn, l2vpnn, l2vpnid, l2vpnidn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, macaddress, macaddressic, mac_addressie, mac_addressiew, mac_addressiregex, mac_addressisw, mac_addressn, mac_addressnic, mac_addressnie, mac_addressniew, mac_addressnisw, mac_addressregex, 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, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, parentid, parentidn, primarymacaddress, primarymacaddressn, primarymacaddressid, primarymacaddressidn, q, tag, tagany, tagn, tagid, tagidany, tag_idn, virtualmachine, virtualmachinen, virtualmachineid, virtualmachineidn, vlan, vlanid, vlantranslationpolicy, vlantranslation_policyn, vlantranslationpolicyid, vlantranslationpolicyidn, 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_ Sequence[Getinterfaces Virtual Machine Interfaces Virtual Machine Interface] - The matching virtualmachineinterfaces.
- filters
Sequence[Get
Virtual Machine Interfaces Filter] - Query filters, sent as API list parameters. Supported names: bridgeid, bridgeidn, cluster, clustern, clusterid, clusteridn, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, l2vpn, l2vpnn, l2vpnid, l2vpnidn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, macaddress, macaddressic, mac_addressie, mac_addressiew, mac_addressiregex, mac_addressisw, mac_addressn, mac_addressnic, mac_addressnie, mac_addressniew, mac_addressnisw, mac_addressregex, 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, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, parentid, parentidn, primarymacaddress, primarymacaddressn, primarymacaddressid, primarymacaddressidn, q, tag, tagany, tagn, tagid, tagidany, tag_idn, virtualmachine, virtualmachinen, virtualmachineid, virtualmachineidn, vlan, vlanid, vlantranslationpolicy, vlantranslation_policyn, vlantranslationpolicyid, vlantranslationpolicyidn, 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.
- virtual
Machine List<Property Map>Interfaces - The matching virtualmachineinterfaces.
- filters List<Property Map>
- Query filters, sent as API list parameters. Supported names: bridgeid, bridgeidn, cluster, clustern, clusterid, clusteridn, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, l2vpn, l2vpnn, l2vpnid, l2vpnidn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, macaddress, macaddressic, mac_addressie, mac_addressiew, mac_addressiregex, mac_addressisw, mac_addressn, mac_addressnic, mac_addressnie, mac_addressniew, mac_addressnisw, mac_addressregex, 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, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, parentid, parentidn, primarymacaddress, primarymacaddressn, primarymacaddressid, primarymacaddressidn, q, tag, tagany, tagn, tagid, tagidany, tag_idn, virtualmachine, virtualmachinen, virtualmachineid, virtualmachineidn, vlan, vlanid, vlantranslationpolicy, vlantranslation_policyn, vlantranslationpolicyid, vlantranslationpolicyidn, 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
GetVirtualMachineInterfacesVirtualMachineInterface
- Bridge
Id double - Id of the bridged interface.
- Created string
- Custom
Fields Dictionary<string, string> - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- Description string
- Enabled bool
- Whether the interface is enabled.
- Id double
- NetBox id.
- Last
Updated 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
- Owner
Id double - Id of the owner the object is assigned to.
- Parent
Id double - Id of the parent interface.
- Qinq
Svlan doubleId - Id of the Q-in-Q service VLAN.
- Tagged
Vlan List<double>Ids - Ids of the tagged VLANs.
- List<string>
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- List<string>
- Slugs of all tags on the object, including the provider's default_tags.
- Untagged
Vlan doubleId - Id of the untagged VLAN.
- Url string
- Virtual
Machine doubleId - Id of the virtual machine.
- Vlan
Translation doublePolicy Id - Id of the VLAN translation policy.
- Vrf
Id double - Id of the VRF.
- Bridge
Id float64 - Id of the bridged interface.
- Created string
- Custom
Fields map[string]string - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- Description string
- Enabled bool
- Whether the interface is enabled.
- Id float64
- NetBox id.
- Last
Updated 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
- Owner
Id float64 - Id of the owner the object is assigned to.
- Parent
Id float64 - Id of the parent interface.
- Qinq
Svlan float64Id - Id of the Q-in-Q service VLAN.
- Tagged
Vlan []float64Ids - Ids of the tagged VLANs.
- []string
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- []string
- Slugs of all tags on the object, including the provider's default_tags.
- Untagged
Vlan float64Id - Id of the untagged VLAN.
- Url string
- Virtual
Machine float64Id - Id of the virtual machine.
- Vlan
Translation float64Policy Id - Id of the VLAN translation policy.
- Vrf
Id 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_ numberid - Id of the Q-in-Q service VLAN.
- tagged_
vlan_ list(number)ids - Ids of the tagged VLANs.
- list(string)
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- list(string)
- Slugs of all tags on the object, including the provider's default_tags.
- untagged_
vlan_ numberid - Id of the untagged VLAN.
- url string
- virtual_
machine_ numberid - Id of the virtual machine.
- vlan_
translation_ numberpolicy_ id - Id of the VLAN translation policy.
- vrf_
id number - Id of the VRF.
- bridge
Id Double - Id of the bridged interface.
- created String
- custom
Fields Map<String,String> - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- description String
- enabled Boolean
- Whether the interface is enabled.
- id Double
- NetBox id.
- last
Updated 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
- owner
Id Double - Id of the owner the object is assigned to.
- parent
Id Double - Id of the parent interface.
- qinq
Svlan DoubleId - Id of the Q-in-Q service VLAN.
- tagged
Vlan List<Double>Ids - Ids of the tagged VLANs.
- List<String>
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- List<String>
- Slugs of all tags on the object, including the provider's default_tags.
- untagged
Vlan DoubleId - Id of the untagged VLAN.
- url String
- virtual
Machine DoubleId - Id of the virtual machine.
- vlan
Translation DoublePolicy Id - Id of the VLAN translation policy.
- vrf
Id Double - Id of the VRF.
- bridge
Id number - Id of the bridged interface.
- created string
- custom
Fields {[key: string]: string} - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- description string
- enabled boolean
- 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 numberId - Id of the Q-in-Q service VLAN.
- tagged
Vlan number[]Ids - Ids of the tagged VLANs.
- string[]
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- string[]
- Slugs of all tags on the object, including the provider's default_tags.
- untagged
Vlan numberId - Id of the untagged VLAN.
- url string
- virtual
Machine numberId - Id of the virtual machine.
- vlan
Translation numberPolicy Id - Id of the VLAN translation policy.
- vrf
Id 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_ floatid - Id of the Q-in-Q service VLAN.
- tagged_
vlan_ Sequence[float]ids - Ids of the tagged VLANs.
- Sequence[str]
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- Sequence[str]
- Slugs of all tags on the object, including the provider's default_tags.
- untagged_
vlan_ floatid - Id of the untagged VLAN.
- url str
- virtual_
machine_ floatid - Id of the virtual machine.
- vlan_
translation_ floatpolicy_ id - Id of the VLAN translation policy.
- vrf_
id float - 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 Boolean
- 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 NumberId - Id of the Q-in-Q service VLAN.
- tagged
Vlan List<Number>Ids - Ids of the tagged VLANs.
- List<String>
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- List<String>
- Slugs of all tags on the object, including the provider's default_tags.
- untagged
Vlan NumberId - Id of the untagged VLAN.
- url String
- virtual
Machine NumberId - Id of the virtual machine.
- vlan
Translation NumberPolicy Id - Id of the VLAN translation policy.
- vrf
Id Number - Id of the VRF.
Package Details
- Repository
- netbox e-breuninger/terraform-provider-netbox
- License
- Notes
- This Pulumi package is based on the
netboxTerraform Provider.
netbox
Viewing docs for netbox 6.0.1
published on Monday, Nov 16, 2026 by e-breuninger
published on Monday, Nov 16, 2026 by e-breuninger