1. Registry
  2. Packages
  3. Netbox Provider
  4. API Docs
  5. getL2vpnTerminations
Viewing docs for netbox 6.0.1
published on Monday, Nov 16, 2026 by e-breuninger
netbox
Viewing docs for netbox 6.0.1
published on Monday, Nov 16, 2026 by e-breuninger

    Lists l2vpn_termination objects matching the given filters.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as netbox from "@pulumi/netbox";
    
    const test = netbox.getL2vpnTerminations({
        limit: 10,
    });
    
    import pulumi
    import pulumi_netbox as netbox
    
    test = netbox.get_l2vpn_terminations(limit=10)
    
    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.GetL2vpnTerminations(ctx, &netbox.GetL2vpnTerminationsArgs{
    			Limit: pulumi.Float64Ref(10),
    		}, 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.GetL2vpnTerminations.Invoke(new()
        {
            Limit = 10,
        });
    
    });
    
    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.GetL2vpnTerminationsArgs;
    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.getL2vpnTerminations(GetL2vpnTerminationsArgs.builder()
                .limit(10)
                .build());
    
        }
    }
    
    variables:
      test:
        fn::invoke:
          function: netbox:getL2vpnTerminations
          arguments:
            limit: 10
    
    Example coming soon!
    

    Using getL2vpnTerminations

    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 getL2vpnTerminations(args: GetL2vpnTerminationsArgs, opts?: InvokeOptions): Promise<GetL2vpnTerminationsResult>
    function getL2vpnTerminationsOutput(args: GetL2vpnTerminationsOutputArgs, opts?: InvokeOutputOptions): Output<GetL2vpnTerminationsResult>
    def get_l2vpn_terminations(filters: Optional[Sequence[GetL2vpnTerminationsFilter]] = None,
                               limit: Optional[float] = None,
                               opts: Optional[InvokeOptions] = None) -> GetL2vpnTerminationsResult
    def get_l2vpn_terminations_output(filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetL2vpnTerminationsFilterArgs]]]] = None,
                               limit: pulumi.Input[Optional[float]] = None,
                               opts: Optional[InvokeOutputOptions] = None) -> Output[GetL2vpnTerminationsResult]
    func GetL2vpnTerminations(ctx *Context, args *GetL2vpnTerminationsArgs, opts ...InvokeOption) (*GetL2vpnTerminationsResult, error)
    func GetL2vpnTerminationsOutput(ctx *Context, args *GetL2vpnTerminationsOutputArgs, opts ...InvokeOption) GetL2vpnTerminationsResultOutput

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

    public static class GetL2vpnTerminations 
    {
        public static Task<GetL2vpnTerminationsResult> InvokeAsync(GetL2vpnTerminationsArgs args, InvokeOptions? opts = null)
        public static Output<GetL2vpnTerminationsResult> Invoke(GetL2vpnTerminationsInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetL2vpnTerminationsResult> Invoke(GetL2vpnTerminationsInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetL2vpnTerminationsResult> getL2vpnTerminations(GetL2vpnTerminationsArgs args, InvokeOptions options)
    public static Output<GetL2vpnTerminationsResult> getL2vpnTerminations(GetL2vpnTerminationsArgs args, InvokeOptions options)
    public static Output<GetL2vpnTerminationsResult> getL2vpnTerminations(GetL2vpnTerminationsArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: netbox:index/getL2vpnTerminations:getL2vpnTerminations
      arguments:
        # arguments dictionary
    data "netbox_get_l2vpn_terminations" "name" {
        # arguments
    }

    The following arguments are supported:

    Filters List<GetL2vpnTerminationsFilter>
    Query filters, sent as API list parameters. Supported names: assignedobjectid, assignedobjectidempty, assignedobjectidgt, assignedobjectidgte, assignedobjectidlt, assignedobjectidlte, assignedobjectidn, assignedobjecttype, assignedobjecttypen, assignedobjecttypeid, assignedobjecttypeidn, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, device, devicen, deviceid, deviceidn, id, idempty, idgt, idgte, idlt, idlte, idn, interface, interfacen, interfaceid, interfaceidn, l2vpn, l2vpnn, l2vpnid, l2vpnidn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, q, region, regionid, site, siteid, tag, tagany, tagn, tagid, tagidany, tag_idn, virtualmachine, virtualmachinen, virtualmachineid, virtualmachineidn, vlan, vlann, vlanid, vlanidn, vlanvid, vlanvidempty, vlan_vidgt, vlan_vidgte, vlan_vidlt, vlan_vidlte, vlan_vidn, vminterface, vminterfacen, vminterfaceid, vminterfaceidn. 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 []GetL2vpnTerminationsFilter
    Query filters, sent as API list parameters. Supported names: assignedobjectid, assignedobjectidempty, assignedobjectidgt, assignedobjectidgte, assignedobjectidlt, assignedobjectidlte, assignedobjectidn, assignedobjecttype, assignedobjecttypen, assignedobjecttypeid, assignedobjecttypeidn, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, device, devicen, deviceid, deviceidn, id, idempty, idgt, idgte, idlt, idlte, idn, interface, interfacen, interfaceid, interfaceidn, l2vpn, l2vpnn, l2vpnid, l2vpnidn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, q, region, regionid, site, siteid, tag, tagany, tagn, tagid, tagidany, tag_idn, virtualmachine, virtualmachinen, virtualmachineid, virtualmachineidn, vlan, vlann, vlanid, vlanidn, vlanvid, vlanvidempty, vlan_vidgt, vlan_vidgte, vlan_vidlt, vlan_vidlte, vlan_vidn, vminterface, vminterfacen, vminterfaceid, vminterfaceidn. 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: assignedobjectid, assignedobjectidempty, assignedobjectidgt, assignedobjectidgte, assignedobjectidlt, assignedobjectidlte, assignedobjectidn, assignedobjecttype, assignedobjecttypen, assignedobjecttypeid, assignedobjecttypeidn, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, device, devicen, deviceid, deviceidn, id, idempty, idgt, idgte, idlt, idlte, idn, interface, interfacen, interfaceid, interfaceidn, l2vpn, l2vpnn, l2vpnid, l2vpnidn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, q, region, regionid, site, siteid, tag, tagany, tagn, tagid, tagidany, tag_idn, virtualmachine, virtualmachinen, virtualmachineid, virtualmachineidn, vlan, vlann, vlanid, vlanidn, vlanvid, vlanvidempty, vlan_vidgt, vlan_vidgte, vlan_vidlt, vlan_vidlte, vlan_vidn, vminterface, vminterfacen, vminterfaceid, vminterfaceidn. 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<GetL2vpnTerminationsFilter>
    Query filters, sent as API list parameters. Supported names: assignedobjectid, assignedobjectidempty, assignedobjectidgt, assignedobjectidgte, assignedobjectidlt, assignedobjectidlte, assignedobjectidn, assignedobjecttype, assignedobjecttypen, assignedobjecttypeid, assignedobjecttypeidn, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, device, devicen, deviceid, deviceidn, id, idempty, idgt, idgte, idlt, idlte, idn, interface, interfacen, interfaceid, interfaceidn, l2vpn, l2vpnn, l2vpnid, l2vpnidn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, q, region, regionid, site, siteid, tag, tagany, tagn, tagid, tagidany, tag_idn, virtualmachine, virtualmachinen, virtualmachineid, virtualmachineidn, vlan, vlann, vlanid, vlanidn, vlanvid, vlanvidempty, vlan_vidgt, vlan_vidgte, vlan_vidlt, vlan_vidlte, vlan_vidn, vminterface, vminterfacen, vminterfaceid, vminterfaceidn. 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 GetL2vpnTerminationsFilter[]
    Query filters, sent as API list parameters. Supported names: assignedobjectid, assignedobjectidempty, assignedobjectidgt, assignedobjectidgte, assignedobjectidlt, assignedobjectidlte, assignedobjectidn, assignedobjecttype, assignedobjecttypen, assignedobjecttypeid, assignedobjecttypeidn, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, device, devicen, deviceid, deviceidn, id, idempty, idgt, idgte, idlt, idlte, idn, interface, interfacen, interfaceid, interfaceidn, l2vpn, l2vpnn, l2vpnid, l2vpnidn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, q, region, regionid, site, siteid, tag, tagany, tagn, tagid, tagidany, tag_idn, virtualmachine, virtualmachinen, virtualmachineid, virtualmachineidn, vlan, vlann, vlanid, vlanidn, vlanvid, vlanvidempty, vlan_vidgt, vlan_vidgte, vlan_vidlt, vlan_vidlte, vlan_vidn, vminterface, vminterfacen, vminterfaceid, vminterfaceidn. 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[GetL2vpnTerminationsFilter]
    Query filters, sent as API list parameters. Supported names: assignedobjectid, assignedobjectidempty, assignedobjectidgt, assignedobjectidgte, assignedobjectidlt, assignedobjectidlte, assignedobjectidn, assignedobjecttype, assignedobjecttypen, assignedobjecttypeid, assignedobjecttypeidn, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, device, devicen, deviceid, deviceidn, id, idempty, idgt, idgte, idlt, idlte, idn, interface, interfacen, interfaceid, interfaceidn, l2vpn, l2vpnn, l2vpnid, l2vpnidn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, q, region, regionid, site, siteid, tag, tagany, tagn, tagid, tagidany, tag_idn, virtualmachine, virtualmachinen, virtualmachineid, virtualmachineidn, vlan, vlann, vlanid, vlanidn, vlanvid, vlanvidempty, vlan_vidgt, vlan_vidgte, vlan_vidlt, vlan_vidlte, vlan_vidn, vminterface, vminterfacen, vminterfaceid, vminterfaceidn. 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: assignedobjectid, assignedobjectidempty, assignedobjectidgt, assignedobjectidgte, assignedobjectidlt, assignedobjectidlte, assignedobjectidn, assignedobjecttype, assignedobjecttypen, assignedobjecttypeid, assignedobjecttypeidn, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, device, devicen, deviceid, deviceidn, id, idempty, idgt, idgte, idlt, idlte, idn, interface, interfacen, interfaceid, interfaceidn, l2vpn, l2vpnn, l2vpnid, l2vpnidn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, q, region, regionid, site, siteid, tag, tagany, tagn, tagid, tagidany, tag_idn, virtualmachine, virtualmachinen, virtualmachineid, virtualmachineidn, vlan, vlann, vlanid, vlanidn, vlanvid, vlanvidempty, vlan_vidgt, vlan_vidgte, vlan_vidlt, vlan_vidlte, vlan_vidn, vminterface, vminterfacen, vminterfaceid, vminterfaceidn. 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.

    getL2vpnTerminations Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    L2vpnTerminations List<GetL2vpnTerminationsL2vpnTermination>
    The matching l2vpn*terminations.
    Filters List<GetL2vpnTerminationsFilter>
    Query filters, sent as API list parameters. Supported names: assignedobjectid, assignedobjectidempty, assignedobjectidgt, assignedobjectidgte, assignedobjectidlt, assignedobjectidlte, assignedobjectidn, assignedobjecttype, assignedobjecttypen, assignedobjecttypeid, assignedobjecttypeidn, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, device, devicen, deviceid, deviceidn, id, idempty, idgt, idgte, idlt, idlte, idn, interface, interfacen, interfaceid, interfaceidn, l2vpn, l2vpnn, l2vpnid, l2vpnidn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, q, region, regionid, site, siteid, tag, tagany, tagn, tagid, tagidany, tag_idn, virtualmachine, virtualmachinen, virtualmachineid, virtualmachineidn, vlan, vlann, vlanid, vlanidn, vlanvid, vlanvidempty, vlan_vidgt, vlan_vidgte, vlan_vidlt, vlan_vidlte, vlan_vidn, vminterface, vminterfacen, vminterfaceid, vminterfaceidn. 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.
    L2vpnTerminations []GetL2vpnTerminationsL2vpnTermination
    The matching l2vpn*terminations.
    Filters []GetL2vpnTerminationsFilter
    Query filters, sent as API list parameters. Supported names: assignedobjectid, assignedobjectidempty, assignedobjectidgt, assignedobjectidgte, assignedobjectidlt, assignedobjectidlte, assignedobjectidn, assignedobjecttype, assignedobjecttypen, assignedobjecttypeid, assignedobjecttypeidn, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, device, devicen, deviceid, deviceidn, id, idempty, idgt, idgte, idlt, idlte, idn, interface, interfacen, interfaceid, interfaceidn, l2vpn, l2vpnn, l2vpnid, l2vpnidn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, q, region, regionid, site, siteid, tag, tagany, tagn, tagid, tagidany, tag_idn, virtualmachine, virtualmachinen, virtualmachineid, virtualmachineidn, vlan, vlann, vlanid, vlanidn, vlanvid, vlanvidempty, vlan_vidgt, vlan_vidgte, vlan_vidlt, vlan_vidlte, vlan_vidn, vminterface, vminterfacen, vminterfaceid, vminterfaceidn. 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.
    l2vpn_terminations list(object)
    The matching l2vpn*terminations.
    filters list(object)
    Query filters, sent as API list parameters. Supported names: assignedobjectid, assignedobjectidempty, assignedobjectidgt, assignedobjectidgte, assignedobjectidlt, assignedobjectidlte, assignedobjectidn, assignedobjecttype, assignedobjecttypen, assignedobjecttypeid, assignedobjecttypeidn, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, device, devicen, deviceid, deviceidn, id, idempty, idgt, idgte, idlt, idlte, idn, interface, interfacen, interfaceid, interfaceidn, l2vpn, l2vpnn, l2vpnid, l2vpnidn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, q, region, regionid, site, siteid, tag, tagany, tagn, tagid, tagidany, tag_idn, virtualmachine, virtualmachinen, virtualmachineid, virtualmachineidn, vlan, vlann, vlanid, vlanidn, vlanvid, vlanvidempty, vlan_vidgt, vlan_vidgte, vlan_vidlt, vlan_vidlte, vlan_vidn, vminterface, vminterfacen, vminterfaceid, vminterfaceidn. 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.
    l2vpnTerminations List<GetL2vpnTerminationsL2vpnTermination>
    The matching l2vpn*terminations.
    filters List<GetL2vpnTerminationsFilter>
    Query filters, sent as API list parameters. Supported names: assignedobjectid, assignedobjectidempty, assignedobjectidgt, assignedobjectidgte, assignedobjectidlt, assignedobjectidlte, assignedobjectidn, assignedobjecttype, assignedobjecttypen, assignedobjecttypeid, assignedobjecttypeidn, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, device, devicen, deviceid, deviceidn, id, idempty, idgt, idgte, idlt, idlte, idn, interface, interfacen, interfaceid, interfaceidn, l2vpn, l2vpnn, l2vpnid, l2vpnidn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, q, region, regionid, site, siteid, tag, tagany, tagn, tagid, tagidany, tag_idn, virtualmachine, virtualmachinen, virtualmachineid, virtualmachineidn, vlan, vlann, vlanid, vlanidn, vlanvid, vlanvidempty, vlan_vidgt, vlan_vidgte, vlan_vidlt, vlan_vidlte, vlan_vidn, vminterface, vminterfacen, vminterfaceid, vminterfaceidn. 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.
    l2vpnTerminations GetL2vpnTerminationsL2vpnTermination[]
    The matching l2vpn*terminations.
    filters GetL2vpnTerminationsFilter[]
    Query filters, sent as API list parameters. Supported names: assignedobjectid, assignedobjectidempty, assignedobjectidgt, assignedobjectidgte, assignedobjectidlt, assignedobjectidlte, assignedobjectidn, assignedobjecttype, assignedobjecttypen, assignedobjecttypeid, assignedobjecttypeidn, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, device, devicen, deviceid, deviceidn, id, idempty, idgt, idgte, idlt, idlte, idn, interface, interfacen, interfaceid, interfaceidn, l2vpn, l2vpnn, l2vpnid, l2vpnidn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, q, region, regionid, site, siteid, tag, tagany, tagn, tagid, tagidany, tag_idn, virtualmachine, virtualmachinen, virtualmachineid, virtualmachineidn, vlan, vlann, vlanid, vlanidn, vlanvid, vlanvidempty, vlan_vidgt, vlan_vidgte, vlan_vidlt, vlan_vidlte, vlan_vidn, vminterface, vminterfacen, vminterfaceid, vminterfaceidn. 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.
    l2vpn_terminations Sequence[GetL2vpnTerminationsL2vpnTermination]
    The matching l2vpn*terminations.
    filters Sequence[GetL2vpnTerminationsFilter]
    Query filters, sent as API list parameters. Supported names: assignedobjectid, assignedobjectidempty, assignedobjectidgt, assignedobjectidgte, assignedobjectidlt, assignedobjectidlte, assignedobjectidn, assignedobjecttype, assignedobjecttypen, assignedobjecttypeid, assignedobjecttypeidn, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, device, devicen, deviceid, deviceidn, id, idempty, idgt, idgte, idlt, idlte, idn, interface, interfacen, interfaceid, interfaceidn, l2vpn, l2vpnn, l2vpnid, l2vpnidn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, q, region, regionid, site, siteid, tag, tagany, tagn, tagid, tagidany, tag_idn, virtualmachine, virtualmachinen, virtualmachineid, virtualmachineidn, vlan, vlann, vlanid, vlanidn, vlanvid, vlanvidempty, vlan_vidgt, vlan_vidgte, vlan_vidlt, vlan_vidlte, vlan_vidn, vminterface, vminterfacen, vminterfaceid, vminterfaceidn. 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.
    l2vpnTerminations List<Property Map>
    The matching l2vpn*terminations.
    filters List<Property Map>
    Query filters, sent as API list parameters. Supported names: assignedobjectid, assignedobjectidempty, assignedobjectidgt, assignedobjectidgte, assignedobjectidlt, assignedobjectidlte, assignedobjectidn, assignedobjecttype, assignedobjecttypen, assignedobjecttypeid, assignedobjecttypeidn, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, device, devicen, deviceid, deviceidn, id, idempty, idgt, idgte, idlt, idlte, idn, interface, interfacen, interfaceid, interfaceidn, l2vpn, l2vpnn, l2vpnid, l2vpnidn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, q, region, regionid, site, siteid, tag, tagany, tagn, tagid, tagidany, tag_idn, virtualmachine, virtualmachinen, virtualmachineid, virtualmachineidn, vlan, vlann, vlanid, vlanidn, vlanvid, vlanvidempty, vlan_vidgt, vlan_vidgte, vlan_vidlt, vlan_vidlte, vlan_vidn, vminterface, vminterfacen, vminterfaceid, vminterfaceidn. 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

    GetL2vpnTerminationsFilter

    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.

    GetL2vpnTerminationsL2vpnTermination

    AssignedObjectId double
    Id of the terminating object (see assignedobjecttype).
    AssignedObjectType string
    Content type of the terminating object. Derived from deviceinterfaceid, virtualmachineinterfaceid or vlanid when one of those is set; set it together with assignedobjectid otherwise. One assignment is required. One of: dcim.interface, virtualization.vminterface, ipam.vlan.
    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).
    DeviceInterfaceId double
    Id of the terminating device interface (assignedobjecttype dcim.interface). Conflicts with the other aliases and with setting the assigned*object** pair directly.
    Id double
    NetBox id.
    L2vpnId double
    Id of the L2VPN.
    LastUpdated string
    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.
    Url string
    VirtualMachineInterfaceId double
    Id of the terminating virtual machine interface (assignedobjecttype virtualization.vminterface). Conflicts with the other aliases and with setting the assigned*object** pair directly.
    VlanId double
    Id of the terminating VLAN (assignedobjecttype ipam.vlan). Conflicts with the other aliases and with setting the assigned*object** pair directly.
    AssignedObjectId float64
    Id of the terminating object (see assignedobjecttype).
    AssignedObjectType string
    Content type of the terminating object. Derived from deviceinterfaceid, virtualmachineinterfaceid or vlanid when one of those is set; set it together with assignedobjectid otherwise. One assignment is required. One of: dcim.interface, virtualization.vminterface, ipam.vlan.
    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).
    DeviceInterfaceId float64
    Id of the terminating device interface (assignedobjecttype dcim.interface). Conflicts with the other aliases and with setting the assigned*object** pair directly.
    Id float64
    NetBox id.
    L2vpnId float64
    Id of the L2VPN.
    LastUpdated string
    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.
    Url string
    VirtualMachineInterfaceId float64
    Id of the terminating virtual machine interface (assignedobjecttype virtualization.vminterface). Conflicts with the other aliases and with setting the assigned*object** pair directly.
    VlanId float64
    Id of the terminating VLAN (assignedobjecttype ipam.vlan). Conflicts with the other aliases and with setting the assigned*object** pair directly.
    assigned_object_id number
    Id of the terminating object (see assignedobjecttype).
    assigned_object_type string
    Content type of the terminating object. Derived from deviceinterfaceid, virtualmachineinterfaceid or vlanid when one of those is set; set it together with assignedobjectid otherwise. One assignment is required. One of: dcim.interface, virtualization.vminterface, ipam.vlan.
    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).
    device_interface_id number
    Id of the terminating device interface (assignedobjecttype dcim.interface). Conflicts with the other aliases and with setting the assigned*object** pair directly.
    id number
    NetBox id.
    l2vpn_id number
    Id of the L2VPN.
    last_updated string
    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.
    url string
    virtual_machine_interface_id number
    Id of the terminating virtual machine interface (assignedobjecttype virtualization.vminterface). Conflicts with the other aliases and with setting the assigned*object** pair directly.
    vlan_id number
    Id of the terminating VLAN (assignedobjecttype ipam.vlan). Conflicts with the other aliases and with setting the assigned*object** pair directly.
    assignedObjectId Double
    Id of the terminating object (see assignedobjecttype).
    assignedObjectType String
    Content type of the terminating object. Derived from deviceinterfaceid, virtualmachineinterfaceid or vlanid when one of those is set; set it together with assignedobjectid otherwise. One assignment is required. One of: dcim.interface, virtualization.vminterface, ipam.vlan.
    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).
    deviceInterfaceId Double
    Id of the terminating device interface (assignedobjecttype dcim.interface). Conflicts with the other aliases and with setting the assigned*object** pair directly.
    id Double
    NetBox id.
    l2vpnId Double
    Id of the L2VPN.
    lastUpdated String
    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.
    url String
    virtualMachineInterfaceId Double
    Id of the terminating virtual machine interface (assignedobjecttype virtualization.vminterface). Conflicts with the other aliases and with setting the assigned*object** pair directly.
    vlanId Double
    Id of the terminating VLAN (assignedobjecttype ipam.vlan). Conflicts with the other aliases and with setting the assigned*object** pair directly.
    assignedObjectId number
    Id of the terminating object (see assignedobjecttype).
    assignedObjectType string
    Content type of the terminating object. Derived from deviceinterfaceid, virtualmachineinterfaceid or vlanid when one of those is set; set it together with assignedobjectid otherwise. One assignment is required. One of: dcim.interface, virtualization.vminterface, ipam.vlan.
    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).
    deviceInterfaceId number
    Id of the terminating device interface (assignedobjecttype dcim.interface). Conflicts with the other aliases and with setting the assigned*object** pair directly.
    id number
    NetBox id.
    l2vpnId number
    Id of the L2VPN.
    lastUpdated string
    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.
    url string
    virtualMachineInterfaceId number
    Id of the terminating virtual machine interface (assignedobjecttype virtualization.vminterface). Conflicts with the other aliases and with setting the assigned*object** pair directly.
    vlanId number
    Id of the terminating VLAN (assignedobjecttype ipam.vlan). Conflicts with the other aliases and with setting the assigned*object** pair directly.
    assigned_object_id float
    Id of the terminating object (see assignedobjecttype).
    assigned_object_type str
    Content type of the terminating object. Derived from deviceinterfaceid, virtualmachineinterfaceid or vlanid when one of those is set; set it together with assignedobjectid otherwise. One assignment is required. One of: dcim.interface, virtualization.vminterface, ipam.vlan.
    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).
    device_interface_id float
    Id of the terminating device interface (assignedobjecttype dcim.interface). Conflicts with the other aliases and with setting the assigned*object** pair directly.
    id float
    NetBox id.
    l2vpn_id float
    Id of the L2VPN.
    last_updated str
    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.
    url str
    virtual_machine_interface_id float
    Id of the terminating virtual machine interface (assignedobjecttype virtualization.vminterface). Conflicts with the other aliases and with setting the assigned*object** pair directly.
    vlan_id float
    Id of the terminating VLAN (assignedobjecttype ipam.vlan). Conflicts with the other aliases and with setting the assigned*object** pair directly.
    assignedObjectId Number
    Id of the terminating object (see assignedobjecttype).
    assignedObjectType String
    Content type of the terminating object. Derived from deviceinterfaceid, virtualmachineinterfaceid or vlanid when one of those is set; set it together with assignedobjectid otherwise. One assignment is required. One of: dcim.interface, virtualization.vminterface, ipam.vlan.
    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).
    deviceInterfaceId Number
    Id of the terminating device interface (assignedobjecttype dcim.interface). Conflicts with the other aliases and with setting the assigned*object** pair directly.
    id Number
    NetBox id.
    l2vpnId Number
    Id of the L2VPN.
    lastUpdated String
    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.
    url String
    virtualMachineInterfaceId Number
    Id of the terminating virtual machine interface (assignedobjecttype virtualization.vminterface). Conflicts with the other aliases and with setting the assigned*object** pair directly.
    vlanId Number
    Id of the terminating VLAN (assignedobjecttype ipam.vlan). Conflicts with the other aliases and with setting the assigned*object** pair directly.

    Package Details

    Repository
    netbox e-breuninger/terraform-provider-netbox
    License
    Notes
    This Pulumi package is based on the netbox Terraform Provider.
    netbox
    Viewing docs for netbox 6.0.1
    published on Monday, Nov 16, 2026 by e-breuninger

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial