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

    A tunnel termination attaching an interface to a tunnel (vpn.tunneltermination).

    From the official documentation:

    NetBox can model private tunnels formed among virtual termination points across your network. Typical tunnel implementations include GRE, IP-in-IP, and IPSec. A tunnel may be terminated to two or more device or virtual machine interfaces. For convenient organization, tunnels may be assigned to user-defined groups.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as netbox from "@pulumi/netbox";
    
    const test = netbox.getVpnTunnelTermination({
        id: 123,
    });
    
    import pulumi
    import pulumi_netbox as netbox
    
    test = netbox.get_vpn_tunnel_termination(id=123)
    
    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.LookupVpnTunnelTermination(ctx, &netbox.LookupVpnTunnelTerminationArgs{
    			Id: pulumi.Float64Ref(123),
    		}, 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.GetVpnTunnelTermination.Invoke(new()
        {
            Id = 123,
        });
    
    });
    
    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.GetVpnTunnelTerminationArgs;
    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.getVpnTunnelTermination(GetVpnTunnelTerminationArgs.builder()
                .id(123)
                .build());
    
        }
    }
    
    variables:
      test:
        fn::invoke:
          function: netbox:getVpnTunnelTermination
          arguments:
            id: 123
    
    Example coming soon!
    

    Using getVpnTunnelTermination

    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 getVpnTunnelTermination(args: GetVpnTunnelTerminationArgs, opts?: InvokeOptions): Promise<GetVpnTunnelTerminationResult>
    function getVpnTunnelTerminationOutput(args: GetVpnTunnelTerminationOutputArgs, opts?: InvokeOutputOptions): Output<GetVpnTunnelTerminationResult>
    def get_vpn_tunnel_termination(created: Optional[str] = None,
                                   custom_field_filters: Optional[Mapping[str, str]] = None,
                                   device_interface_id: Optional[float] = None,
                                   id: Optional[float] = None,
                                   interface_name: Optional[str] = None,
                                   last_updated: Optional[str] = None,
                                   outside_ip_id: Optional[float] = None,
                                   q: Optional[str] = None,
                                   role: Optional[str] = None,
                                   tag_id: Optional[float] = None,
                                   tag_slug: Optional[str] = None,
                                   termination_id: Optional[float] = None,
                                   termination_type: Optional[str] = None,
                                   tunnel_name: Optional[str] = None,
                                   virtual_machine_interface_id: Optional[float] = None,
                                   vminterface_name: Optional[str] = None,
                                   vpn_tunnel_id: Optional[float] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetVpnTunnelTerminationResult
    def get_vpn_tunnel_termination_output(created: pulumi.Input[Optional[str]] = None,
                                   custom_field_filters: pulumi.Input[Optional[Mapping[str, pulumi.Input[str]]]] = None,
                                   device_interface_id: pulumi.Input[Optional[float]] = None,
                                   id: pulumi.Input[Optional[float]] = None,
                                   interface_name: pulumi.Input[Optional[str]] = None,
                                   last_updated: pulumi.Input[Optional[str]] = None,
                                   outside_ip_id: pulumi.Input[Optional[float]] = None,
                                   q: pulumi.Input[Optional[str]] = None,
                                   role: pulumi.Input[Optional[str]] = None,
                                   tag_id: pulumi.Input[Optional[float]] = None,
                                   tag_slug: pulumi.Input[Optional[str]] = None,
                                   termination_id: pulumi.Input[Optional[float]] = None,
                                   termination_type: pulumi.Input[Optional[str]] = None,
                                   tunnel_name: pulumi.Input[Optional[str]] = None,
                                   virtual_machine_interface_id: pulumi.Input[Optional[float]] = None,
                                   vminterface_name: pulumi.Input[Optional[str]] = None,
                                   vpn_tunnel_id: pulumi.Input[Optional[float]] = None,
                                   opts: Optional[InvokeOutputOptions] = None) -> Output[GetVpnTunnelTerminationResult]
    func LookupVpnTunnelTermination(ctx *Context, args *LookupVpnTunnelTerminationArgs, opts ...InvokeOption) (*LookupVpnTunnelTerminationResult, error)
    func LookupVpnTunnelTerminationOutput(ctx *Context, args *LookupVpnTunnelTerminationOutputArgs, opts ...InvokeOption) LookupVpnTunnelTerminationResultOutput

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

    public static class GetVpnTunnelTermination 
    {
        public static Task<GetVpnTunnelTerminationResult> InvokeAsync(GetVpnTunnelTerminationArgs args, InvokeOptions? opts = null)
        public static Output<GetVpnTunnelTerminationResult> Invoke(GetVpnTunnelTerminationInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetVpnTunnelTerminationResult> Invoke(GetVpnTunnelTerminationInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetVpnTunnelTerminationResult> getVpnTunnelTermination(GetVpnTunnelTerminationArgs args, InvokeOptions options)
    public static Output<GetVpnTunnelTerminationResult> getVpnTunnelTermination(GetVpnTunnelTerminationArgs args, InvokeOptions options)
    public static Output<GetVpnTunnelTerminationResult> getVpnTunnelTermination(GetVpnTunnelTerminationArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: netbox:index/getVpnTunnelTermination:getVpnTunnelTermination
      arguments:
        # arguments dictionary
    data "netbox_get_vpn_tunnel_termination" "name" {
        # arguments
    }

    The following arguments are supported:

    Created string
    CustomFieldFilters Dictionary<string, string>
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    DeviceInterfaceId double
    Id of the terminating device interface (terminationtype dcim.interface). Conflicts with virtualmachineinterfaceid and with setting the termination_* pair directly.
    Id double
    NetBox id.
    InterfaceName string
    Name of the interface.
    LastUpdated string
    OutsideIpId double
    Id of the outside IP.
    Q string
    Search term, matched against the fields NetBox searches for this object type.
    Role string
    Role of the termination in the tunnel topology. One of: peer, hub, spoke.
    TagId double
    Id of a tag the object carries.
    TagSlug string
    Slug of a tag the object carries.
    TerminationId double
    Id of the terminating interface (see termination_type).
    TerminationType string
    Content type of the terminating interface. Derived from deviceinterfaceid or virtualmachineinterfaceid when one of those is set; set it together with terminationid otherwise. One assignment is required. One of: dcim.interface, virtualization.vminterface.
    TunnelName string
    Name of the tunnel.
    VirtualMachineInterfaceId double
    Id of the terminating virtual machine interface (terminationtype virtualization.vminterface). Conflicts with deviceinterface*id and with setting the termination** pair directly.
    VminterfaceName string
    Name of the VM interface.
    VpnTunnelId double
    Id of the tunnel.
    Created string
    CustomFieldFilters map[string]string
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    DeviceInterfaceId float64
    Id of the terminating device interface (terminationtype dcim.interface). Conflicts with virtualmachineinterfaceid and with setting the termination_* pair directly.
    Id float64
    NetBox id.
    InterfaceName string
    Name of the interface.
    LastUpdated string
    OutsideIpId float64
    Id of the outside IP.
    Q string
    Search term, matched against the fields NetBox searches for this object type.
    Role string
    Role of the termination in the tunnel topology. One of: peer, hub, spoke.
    TagId float64
    Id of a tag the object carries.
    TagSlug string
    Slug of a tag the object carries.
    TerminationId float64
    Id of the terminating interface (see termination_type).
    TerminationType string
    Content type of the terminating interface. Derived from deviceinterfaceid or virtualmachineinterfaceid when one of those is set; set it together with terminationid otherwise. One assignment is required. One of: dcim.interface, virtualization.vminterface.
    TunnelName string
    Name of the tunnel.
    VirtualMachineInterfaceId float64
    Id of the terminating virtual machine interface (terminationtype virtualization.vminterface). Conflicts with deviceinterface*id and with setting the termination** pair directly.
    VminterfaceName string
    Name of the VM interface.
    VpnTunnelId float64
    Id of the tunnel.
    created string
    custom_field_filters map(string)
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    device_interface_id number
    Id of the terminating device interface (terminationtype dcim.interface). Conflicts with virtualmachineinterfaceid and with setting the termination_* pair directly.
    id number
    NetBox id.
    interface_name string
    Name of the interface.
    last_updated string
    outside_ip_id number
    Id of the outside IP.
    q string
    Search term, matched against the fields NetBox searches for this object type.
    role string
    Role of the termination in the tunnel topology. One of: peer, hub, spoke.
    tag_id number
    Id of a tag the object carries.
    tag_slug string
    Slug of a tag the object carries.
    termination_id number
    Id of the terminating interface (see termination_type).
    termination_type string
    Content type of the terminating interface. Derived from deviceinterfaceid or virtualmachineinterfaceid when one of those is set; set it together with terminationid otherwise. One assignment is required. One of: dcim.interface, virtualization.vminterface.
    tunnel_name string
    Name of the tunnel.
    virtual_machine_interface_id number
    Id of the terminating virtual machine interface (terminationtype virtualization.vminterface). Conflicts with deviceinterface*id and with setting the termination** pair directly.
    vminterface_name string
    Name of the VM interface.
    vpn_tunnel_id number
    Id of the tunnel.
    created String
    customFieldFilters Map<String,String>
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    deviceInterfaceId Double
    Id of the terminating device interface (terminationtype dcim.interface). Conflicts with virtualmachineinterfaceid and with setting the termination_* pair directly.
    id Double
    NetBox id.
    interfaceName String
    Name of the interface.
    lastUpdated String
    outsideIpId Double
    Id of the outside IP.
    q String
    Search term, matched against the fields NetBox searches for this object type.
    role String
    Role of the termination in the tunnel topology. One of: peer, hub, spoke.
    tagId Double
    Id of a tag the object carries.
    tagSlug String
    Slug of a tag the object carries.
    terminationId Double
    Id of the terminating interface (see termination_type).
    terminationType String
    Content type of the terminating interface. Derived from deviceinterfaceid or virtualmachineinterfaceid when one of those is set; set it together with terminationid otherwise. One assignment is required. One of: dcim.interface, virtualization.vminterface.
    tunnelName String
    Name of the tunnel.
    virtualMachineInterfaceId Double
    Id of the terminating virtual machine interface (terminationtype virtualization.vminterface). Conflicts with deviceinterface*id and with setting the termination** pair directly.
    vminterfaceName String
    Name of the VM interface.
    vpnTunnelId Double
    Id of the tunnel.
    created string
    customFieldFilters {[key: string]: string}
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    deviceInterfaceId number
    Id of the terminating device interface (terminationtype dcim.interface). Conflicts with virtualmachineinterfaceid and with setting the termination_* pair directly.
    id number
    NetBox id.
    interfaceName string
    Name of the interface.
    lastUpdated string
    outsideIpId number
    Id of the outside IP.
    q string
    Search term, matched against the fields NetBox searches for this object type.
    role string
    Role of the termination in the tunnel topology. One of: peer, hub, spoke.
    tagId number
    Id of a tag the object carries.
    tagSlug string
    Slug of a tag the object carries.
    terminationId number
    Id of the terminating interface (see termination_type).
    terminationType string
    Content type of the terminating interface. Derived from deviceinterfaceid or virtualmachineinterfaceid when one of those is set; set it together with terminationid otherwise. One assignment is required. One of: dcim.interface, virtualization.vminterface.
    tunnelName string
    Name of the tunnel.
    virtualMachineInterfaceId number
    Id of the terminating virtual machine interface (terminationtype virtualization.vminterface). Conflicts with deviceinterface*id and with setting the termination** pair directly.
    vminterfaceName string
    Name of the VM interface.
    vpnTunnelId number
    Id of the tunnel.
    created str
    custom_field_filters Mapping[str, str]
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    device_interface_id float
    Id of the terminating device interface (terminationtype dcim.interface). Conflicts with virtualmachineinterfaceid and with setting the termination_* pair directly.
    id float
    NetBox id.
    interface_name str
    Name of the interface.
    last_updated str
    outside_ip_id float
    Id of the outside IP.
    q str
    Search term, matched against the fields NetBox searches for this object type.
    role str
    Role of the termination in the tunnel topology. One of: peer, hub, spoke.
    tag_id float
    Id of a tag the object carries.
    tag_slug str
    Slug of a tag the object carries.
    termination_id float
    Id of the terminating interface (see termination_type).
    termination_type str
    Content type of the terminating interface. Derived from deviceinterfaceid or virtualmachineinterfaceid when one of those is set; set it together with terminationid otherwise. One assignment is required. One of: dcim.interface, virtualization.vminterface.
    tunnel_name str
    Name of the tunnel.
    virtual_machine_interface_id float
    Id of the terminating virtual machine interface (terminationtype virtualization.vminterface). Conflicts with deviceinterface*id and with setting the termination** pair directly.
    vminterface_name str
    Name of the VM interface.
    vpn_tunnel_id float
    Id of the tunnel.
    created String
    customFieldFilters Map<String>
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    deviceInterfaceId Number
    Id of the terminating device interface (terminationtype dcim.interface). Conflicts with virtualmachineinterfaceid and with setting the termination_* pair directly.
    id Number
    NetBox id.
    interfaceName String
    Name of the interface.
    lastUpdated String
    outsideIpId Number
    Id of the outside IP.
    q String
    Search term, matched against the fields NetBox searches for this object type.
    role String
    Role of the termination in the tunnel topology. One of: peer, hub, spoke.
    tagId Number
    Id of a tag the object carries.
    tagSlug String
    Slug of a tag the object carries.
    terminationId Number
    Id of the terminating interface (see termination_type).
    terminationType String
    Content type of the terminating interface. Derived from deviceinterfaceid or virtualmachineinterfaceid when one of those is set; set it together with terminationid otherwise. One assignment is required. One of: dcim.interface, virtualization.vminterface.
    tunnelName String
    Name of the tunnel.
    virtualMachineInterfaceId Number
    Id of the terminating virtual machine interface (terminationtype virtualization.vminterface). Conflicts with deviceinterface*id and with setting the termination** pair directly.
    vminterfaceName String
    Name of the VM interface.
    vpnTunnelId Number
    Id of the tunnel.

    getVpnTunnelTermination Result

    The following output properties are available:

    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 (terminationtype dcim.interface). Conflicts with virtualmachineinterfaceid and with setting the termination_* pair directly.
    Id double
    NetBox id.
    LastUpdated string
    OutsideIpAddressId double
    Id of the outside IP address of the termination.
    Role string
    Role of the termination in the tunnel topology. One of: peer, hub, spoke.
    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.
    TerminationId double
    Id of the terminating interface (see termination_type).
    TerminationType string
    Content type of the terminating interface. Derived from deviceinterfaceid or virtualmachineinterfaceid when one of those is set; set it together with terminationid otherwise. One assignment is required. One of: dcim.interface, virtualization.vminterface.
    Url string
    VirtualMachineInterfaceId double
    Id of the terminating virtual machine interface (terminationtype virtualization.vminterface). Conflicts with deviceinterface*id and with setting the termination** pair directly.
    VpnTunnelId double
    Id of the tunnel.
    CustomFieldFilters Dictionary<string, string>
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    InterfaceName string
    Name of the interface.
    OutsideIpId double
    Id of the outside IP.
    Q string
    Search term, matched against the fields NetBox searches for this object type.
    TagId double
    Id of a tag the object carries.
    TagSlug string
    Slug of a tag the object carries.
    TunnelName string
    Name of the tunnel.
    VminterfaceName string
    Name of the VM 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).
    DeviceInterfaceId float64
    Id of the terminating device interface (terminationtype dcim.interface). Conflicts with virtualmachineinterfaceid and with setting the termination_* pair directly.
    Id float64
    NetBox id.
    LastUpdated string
    OutsideIpAddressId float64
    Id of the outside IP address of the termination.
    Role string
    Role of the termination in the tunnel topology. One of: peer, hub, spoke.
    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.
    TerminationId float64
    Id of the terminating interface (see termination_type).
    TerminationType string
    Content type of the terminating interface. Derived from deviceinterfaceid or virtualmachineinterfaceid when one of those is set; set it together with terminationid otherwise. One assignment is required. One of: dcim.interface, virtualization.vminterface.
    Url string
    VirtualMachineInterfaceId float64
    Id of the terminating virtual machine interface (terminationtype virtualization.vminterface). Conflicts with deviceinterface*id and with setting the termination** pair directly.
    VpnTunnelId float64
    Id of the tunnel.
    CustomFieldFilters map[string]string
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    InterfaceName string
    Name of the interface.
    OutsideIpId float64
    Id of the outside IP.
    Q string
    Search term, matched against the fields NetBox searches for this object type.
    TagId float64
    Id of a tag the object carries.
    TagSlug string
    Slug of a tag the object carries.
    TunnelName string
    Name of the tunnel.
    VminterfaceName string
    Name of the VM 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).
    device_interface_id number
    Id of the terminating device interface (terminationtype dcim.interface). Conflicts with virtualmachineinterfaceid and with setting the termination_* pair directly.
    id number
    NetBox id.
    last_updated string
    outside_ip_address_id number
    Id of the outside IP address of the termination.
    role string
    Role of the termination in the tunnel topology. One of: peer, hub, spoke.
    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.
    termination_id number
    Id of the terminating interface (see termination_type).
    termination_type string
    Content type of the terminating interface. Derived from deviceinterfaceid or virtualmachineinterfaceid when one of those is set; set it together with terminationid otherwise. One assignment is required. One of: dcim.interface, virtualization.vminterface.
    url string
    virtual_machine_interface_id number
    Id of the terminating virtual machine interface (terminationtype virtualization.vminterface). Conflicts with deviceinterface*id and with setting the termination** pair directly.
    vpn_tunnel_id number
    Id of the tunnel.
    custom_field_filters map(string)
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    interface_name string
    Name of the interface.
    outside_ip_id number
    Id of the outside IP.
    q string
    Search term, matched against the fields NetBox searches for this object type.
    tag_id number
    Id of a tag the object carries.
    tag_slug string
    Slug of a tag the object carries.
    tunnel_name string
    Name of the tunnel.
    vminterface_name string
    Name of the VM 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).
    deviceInterfaceId Double
    Id of the terminating device interface (terminationtype dcim.interface). Conflicts with virtualmachineinterfaceid and with setting the termination_* pair directly.
    id Double
    NetBox id.
    lastUpdated String
    outsideIpAddressId Double
    Id of the outside IP address of the termination.
    role String
    Role of the termination in the tunnel topology. One of: peer, hub, spoke.
    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.
    terminationId Double
    Id of the terminating interface (see termination_type).
    terminationType String
    Content type of the terminating interface. Derived from deviceinterfaceid or virtualmachineinterfaceid when one of those is set; set it together with terminationid otherwise. One assignment is required. One of: dcim.interface, virtualization.vminterface.
    url String
    virtualMachineInterfaceId Double
    Id of the terminating virtual machine interface (terminationtype virtualization.vminterface). Conflicts with deviceinterface*id and with setting the termination** pair directly.
    vpnTunnelId Double
    Id of the tunnel.
    customFieldFilters Map<String,String>
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    interfaceName String
    Name of the interface.
    outsideIpId Double
    Id of the outside IP.
    q String
    Search term, matched against the fields NetBox searches for this object type.
    tagId Double
    Id of a tag the object carries.
    tagSlug String
    Slug of a tag the object carries.
    tunnelName String
    Name of the tunnel.
    vminterfaceName String
    Name of the VM 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).
    deviceInterfaceId number
    Id of the terminating device interface (terminationtype dcim.interface). Conflicts with virtualmachineinterfaceid and with setting the termination_* pair directly.
    id number
    NetBox id.
    lastUpdated string
    outsideIpAddressId number
    Id of the outside IP address of the termination.
    role string
    Role of the termination in the tunnel topology. One of: peer, hub, spoke.
    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.
    terminationId number
    Id of the terminating interface (see termination_type).
    terminationType string
    Content type of the terminating interface. Derived from deviceinterfaceid or virtualmachineinterfaceid when one of those is set; set it together with terminationid otherwise. One assignment is required. One of: dcim.interface, virtualization.vminterface.
    url string
    virtualMachineInterfaceId number
    Id of the terminating virtual machine interface (terminationtype virtualization.vminterface). Conflicts with deviceinterface*id and with setting the termination** pair directly.
    vpnTunnelId number
    Id of the tunnel.
    customFieldFilters {[key: string]: string}
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    interfaceName string
    Name of the interface.
    outsideIpId number
    Id of the outside IP.
    q string
    Search term, matched against the fields NetBox searches for this object type.
    tagId number
    Id of a tag the object carries.
    tagSlug string
    Slug of a tag the object carries.
    tunnelName string
    Name of the tunnel.
    vminterfaceName string
    Name of the VM 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).
    device_interface_id float
    Id of the terminating device interface (terminationtype dcim.interface). Conflicts with virtualmachineinterfaceid and with setting the termination_* pair directly.
    id float
    NetBox id.
    last_updated str
    outside_ip_address_id float
    Id of the outside IP address of the termination.
    role str
    Role of the termination in the tunnel topology. One of: peer, hub, spoke.
    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.
    termination_id float
    Id of the terminating interface (see termination_type).
    termination_type str
    Content type of the terminating interface. Derived from deviceinterfaceid or virtualmachineinterfaceid when one of those is set; set it together with terminationid otherwise. One assignment is required. One of: dcim.interface, virtualization.vminterface.
    url str
    virtual_machine_interface_id float
    Id of the terminating virtual machine interface (terminationtype virtualization.vminterface). Conflicts with deviceinterface*id and with setting the termination** pair directly.
    vpn_tunnel_id float
    Id of the tunnel.
    custom_field_filters Mapping[str, str]
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    interface_name str
    Name of the interface.
    outside_ip_id float
    Id of the outside IP.
    q str
    Search term, matched against the fields NetBox searches for this object type.
    tag_id float
    Id of a tag the object carries.
    tag_slug str
    Slug of a tag the object carries.
    tunnel_name str
    Name of the tunnel.
    vminterface_name str
    Name of the VM 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).
    deviceInterfaceId Number
    Id of the terminating device interface (terminationtype dcim.interface). Conflicts with virtualmachineinterfaceid and with setting the termination_* pair directly.
    id Number
    NetBox id.
    lastUpdated String
    outsideIpAddressId Number
    Id of the outside IP address of the termination.
    role String
    Role of the termination in the tunnel topology. One of: peer, hub, spoke.
    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.
    terminationId Number
    Id of the terminating interface (see termination_type).
    terminationType String
    Content type of the terminating interface. Derived from deviceinterfaceid or virtualmachineinterfaceid when one of those is set; set it together with terminationid otherwise. One assignment is required. One of: dcim.interface, virtualization.vminterface.
    url String
    virtualMachineInterfaceId Number
    Id of the terminating virtual machine interface (terminationtype virtualization.vminterface). Conflicts with deviceinterface*id and with setting the termination** pair directly.
    vpnTunnelId Number
    Id of the tunnel.
    customFieldFilters Map<String>
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    interfaceName String
    Name of the interface.
    outsideIpId Number
    Id of the outside IP.
    q String
    Search term, matched against the fields NetBox searches for this object type.
    tagId Number
    Id of a tag the object carries.
    tagSlug String
    Slug of a tag the object carries.
    tunnelName String
    Name of the tunnel.
    vminterfaceName String
    Name of the VM interface.

    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