1. Packages
  2. Strata Cloud Manager Provider
  3. API Docs
  4. getIpsecTunnel
Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
scm logo
Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi

    IpsecTunnel data source

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as scm from "@pulumi/scm";
    
    // Example of looking up an individual IPsec Tunnel by its ID.
    const scmIpsecTunnelDs = scm.getIpsecTunnel({
        id: "7c237a82-8c11-4f09-bdbf-599e159019ce",
    });
    export const ipsecTunnelById = scmIpsecTunnelDs;
    
    import pulumi
    import pulumi_scm as scm
    
    # Example of looking up an individual IPsec Tunnel by its ID.
    scm_ipsec_tunnel_ds = scm.get_ipsec_tunnel(id="7c237a82-8c11-4f09-bdbf-599e159019ce")
    pulumi.export("ipsecTunnelById", scm_ipsec_tunnel_ds)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-scm/sdk/go/scm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// Example of looking up an individual IPsec Tunnel by its ID.
    		scmIpsecTunnelDs, err := scm.LookupIpsecTunnel(ctx, &scm.LookupIpsecTunnelArgs{
    			Id: "7c237a82-8c11-4f09-bdbf-599e159019ce",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("ipsecTunnelById", scmIpsecTunnelDs)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scm = Pulumi.Scm;
    
    return await Deployment.RunAsync(() => 
    {
        // Example of looking up an individual IPsec Tunnel by its ID.
        var scmIpsecTunnelDs = Scm.GetIpsecTunnel.Invoke(new()
        {
            Id = "7c237a82-8c11-4f09-bdbf-599e159019ce",
        });
    
        return new Dictionary<string, object?>
        {
            ["ipsecTunnelById"] = scmIpsecTunnelDs,
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scm.ScmFunctions;
    import com.pulumi.scm.inputs.GetIpsecTunnelArgs;
    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) {
            // Example of looking up an individual IPsec Tunnel by its ID.
            final var scmIpsecTunnelDs = ScmFunctions.getIpsecTunnel(GetIpsecTunnelArgs.builder()
                .id("7c237a82-8c11-4f09-bdbf-599e159019ce")
                .build());
    
            ctx.export("ipsecTunnelById", scmIpsecTunnelDs);
        }
    }
    
    variables:
      # Example of looking up an individual IPsec Tunnel by its ID.
      scmIpsecTunnelDs:
        fn::invoke:
          function: scm:getIpsecTunnel
          arguments:
            id: 7c237a82-8c11-4f09-bdbf-599e159019ce
    outputs:
      # Output to display the result of the data source lookup.
      ipsecTunnelById: ${scmIpsecTunnelDs}
    

    Using getIpsecTunnel

    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 getIpsecTunnel(args: GetIpsecTunnelArgs, opts?: InvokeOptions): Promise<GetIpsecTunnelResult>
    function getIpsecTunnelOutput(args: GetIpsecTunnelOutputArgs, opts?: InvokeOptions): Output<GetIpsecTunnelResult>
    def get_ipsec_tunnel(id: Optional[str] = None,
                         name: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetIpsecTunnelResult
    def get_ipsec_tunnel_output(id: Optional[pulumi.Input[str]] = None,
                         name: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetIpsecTunnelResult]
    func LookupIpsecTunnel(ctx *Context, args *LookupIpsecTunnelArgs, opts ...InvokeOption) (*LookupIpsecTunnelResult, error)
    func LookupIpsecTunnelOutput(ctx *Context, args *LookupIpsecTunnelOutputArgs, opts ...InvokeOption) LookupIpsecTunnelResultOutput

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

    public static class GetIpsecTunnel 
    {
        public static Task<GetIpsecTunnelResult> InvokeAsync(GetIpsecTunnelArgs args, InvokeOptions? opts = null)
        public static Output<GetIpsecTunnelResult> Invoke(GetIpsecTunnelInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetIpsecTunnelResult> getIpsecTunnel(GetIpsecTunnelArgs args, InvokeOptions options)
    public static Output<GetIpsecTunnelResult> getIpsecTunnel(GetIpsecTunnelArgs args, InvokeOptions options)
    
    fn::invoke:
      function: scm:index/getIpsecTunnel:getIpsecTunnel
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    UUID of the resource
    Name string
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    Id string
    UUID of the resource
    Name string
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    id String
    UUID of the resource
    name String
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    id string
    UUID of the resource
    name string
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    id str
    UUID of the resource
    name str
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    id String
    UUID of the resource
    name String
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]

    getIpsecTunnel Result

    The following output properties are available:

    AntiReplay bool
    Enable Anti-Replay check on this tunnel
    AutoKey GetIpsecTunnelAutoKey
    Auto key
    CopyTos bool
    Copy IP TOS bits from inner packet to IPSec packet (not recommended)
    Device string
    The device in which the resource is defined
    EnableGreEncapsulation bool
    allow GRE over IPSec
    Folder string
    The folder in which the resource is defined
    Id string
    UUID of the resource
    Name string
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    Snippet string
    The snippet in which the resource is defined
    Tfid string
    TunnelInterface string
    Tunnel interface variable or hardcoded tunnel. Default will be tunnels.
    TunnelMonitor GetIpsecTunnelTunnelMonitor
    Tunnel monitor
    AntiReplay bool
    Enable Anti-Replay check on this tunnel
    AutoKey GetIpsecTunnelAutoKey
    Auto key
    CopyTos bool
    Copy IP TOS bits from inner packet to IPSec packet (not recommended)
    Device string
    The device in which the resource is defined
    EnableGreEncapsulation bool
    allow GRE over IPSec
    Folder string
    The folder in which the resource is defined
    Id string
    UUID of the resource
    Name string
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    Snippet string
    The snippet in which the resource is defined
    Tfid string
    TunnelInterface string
    Tunnel interface variable or hardcoded tunnel. Default will be tunnels.
    TunnelMonitor GetIpsecTunnelTunnelMonitor
    Tunnel monitor
    antiReplay Boolean
    Enable Anti-Replay check on this tunnel
    autoKey GetIpsecTunnelAutoKey
    Auto key
    copyTos Boolean
    Copy IP TOS bits from inner packet to IPSec packet (not recommended)
    device String
    The device in which the resource is defined
    enableGreEncapsulation Boolean
    allow GRE over IPSec
    folder String
    The folder in which the resource is defined
    id String
    UUID of the resource
    name String
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    snippet String
    The snippet in which the resource is defined
    tfid String
    tunnelInterface String
    Tunnel interface variable or hardcoded tunnel. Default will be tunnels.
    tunnelMonitor GetIpsecTunnelTunnelMonitor
    Tunnel monitor
    antiReplay boolean
    Enable Anti-Replay check on this tunnel
    autoKey GetIpsecTunnelAutoKey
    Auto key
    copyTos boolean
    Copy IP TOS bits from inner packet to IPSec packet (not recommended)
    device string
    The device in which the resource is defined
    enableGreEncapsulation boolean
    allow GRE over IPSec
    folder string
    The folder in which the resource is defined
    id string
    UUID of the resource
    name string
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    snippet string
    The snippet in which the resource is defined
    tfid string
    tunnelInterface string
    Tunnel interface variable or hardcoded tunnel. Default will be tunnels.
    tunnelMonitor GetIpsecTunnelTunnelMonitor
    Tunnel monitor
    anti_replay bool
    Enable Anti-Replay check on this tunnel
    auto_key GetIpsecTunnelAutoKey
    Auto key
    copy_tos bool
    Copy IP TOS bits from inner packet to IPSec packet (not recommended)
    device str
    The device in which the resource is defined
    enable_gre_encapsulation bool
    allow GRE over IPSec
    folder str
    The folder in which the resource is defined
    id str
    UUID of the resource
    name str
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    snippet str
    The snippet in which the resource is defined
    tfid str
    tunnel_interface str
    Tunnel interface variable or hardcoded tunnel. Default will be tunnels.
    tunnel_monitor GetIpsecTunnelTunnelMonitor
    Tunnel monitor
    antiReplay Boolean
    Enable Anti-Replay check on this tunnel
    autoKey Property Map
    Auto key
    copyTos Boolean
    Copy IP TOS bits from inner packet to IPSec packet (not recommended)
    device String
    The device in which the resource is defined
    enableGreEncapsulation Boolean
    allow GRE over IPSec
    folder String
    The folder in which the resource is defined
    id String
    UUID of the resource
    name String
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    snippet String
    The snippet in which the resource is defined
    tfid String
    tunnelInterface String
    Tunnel interface variable or hardcoded tunnel. Default will be tunnels.
    tunnelMonitor Property Map
    Tunnel monitor

    Supporting Types

    GetIpsecTunnelAutoKey

    IkeGateways []GetIpsecTunnelAutoKeyIkeGateway
    Ike gateway
    IpsecCryptoProfile string
    Ipsec crypto profile
    ProxyIdV6s []GetIpsecTunnelAutoKeyProxyIdV6
    IPv6 type of proxy*id values
    ProxyIds []GetIpsecTunnelAutoKeyProxyId
    IPv4 type of proxy*id values
    ikeGateways GetIpsecTunnelAutoKeyIkeGateway[]
    Ike gateway
    ipsecCryptoProfile string
    Ipsec crypto profile
    proxyIdV6s GetIpsecTunnelAutoKeyProxyIdV6[]
    IPv6 type of proxy*id values
    proxyIds GetIpsecTunnelAutoKeyProxyId[]
    IPv4 type of proxy*id values
    ikeGateways List<Property Map>
    Ike gateway
    ipsecCryptoProfile String
    Ipsec crypto profile
    proxyIdV6s List<Property Map>
    IPv6 type of proxy*id values
    proxyIds List<Property Map>
    IPv4 type of proxy*id values

    GetIpsecTunnelAutoKeyIkeGateway

    Name string
    Name
    Name string
    Name
    name String
    Name
    name string
    Name
    name str
    Name
    name String
    Name

    GetIpsecTunnelAutoKeyProxyId

    Local string
    Local
    Name string
    Name
    Protocol GetIpsecTunnelAutoKeyProxyIdProtocol
    IPv4 type of proxy*id protocol values for TCP protocol
    Remote string
    Remote
    Local string
    Local
    Name string
    Name
    Protocol GetIpsecTunnelAutoKeyProxyIdProtocol
    IPv4 type of proxy*id protocol values for TCP protocol
    Remote string
    Remote
    local String
    Local
    name String
    Name
    protocol GetIpsecTunnelAutoKeyProxyIdProtocol
    IPv4 type of proxy*id protocol values for TCP protocol
    remote String
    Remote
    local string
    Local
    name string
    Name
    protocol GetIpsecTunnelAutoKeyProxyIdProtocol
    IPv4 type of proxy*id protocol values for TCP protocol
    remote string
    Remote
    local str
    Local
    name str
    Name
    protocol GetIpsecTunnelAutoKeyProxyIdProtocol
    IPv4 type of proxy*id protocol values for TCP protocol
    remote str
    Remote
    local String
    Local
    name String
    Name
    protocol Property Map
    IPv4 type of proxy*id protocol values for TCP protocol
    remote String
    Remote

    GetIpsecTunnelAutoKeyProxyIdProtocol

    Number int
    IP protocol number
    Tcp GetIpsecTunnelAutoKeyProxyIdProtocolTcp
    IPv4 type of proxy*id protocol values for TCP protocol
    Udp GetIpsecTunnelAutoKeyProxyIdProtocolUdp
    IPv6 type of proxy*id protocol values for UDP protocol
    Number int
    IP protocol number
    Tcp GetIpsecTunnelAutoKeyProxyIdProtocolTcp
    IPv4 type of proxy*id protocol values for TCP protocol
    Udp GetIpsecTunnelAutoKeyProxyIdProtocolUdp
    IPv6 type of proxy*id protocol values for UDP protocol
    number Integer
    IP protocol number
    tcp GetIpsecTunnelAutoKeyProxyIdProtocolTcp
    IPv4 type of proxy*id protocol values for TCP protocol
    udp GetIpsecTunnelAutoKeyProxyIdProtocolUdp
    IPv6 type of proxy*id protocol values for UDP protocol
    number number
    IP protocol number
    tcp GetIpsecTunnelAutoKeyProxyIdProtocolTcp
    IPv4 type of proxy*id protocol values for TCP protocol
    udp GetIpsecTunnelAutoKeyProxyIdProtocolUdp
    IPv6 type of proxy*id protocol values for UDP protocol
    number int
    IP protocol number
    tcp GetIpsecTunnelAutoKeyProxyIdProtocolTcp
    IPv4 type of proxy*id protocol values for TCP protocol
    udp GetIpsecTunnelAutoKeyProxyIdProtocolUdp
    IPv6 type of proxy*id protocol values for UDP protocol
    number Number
    IP protocol number
    tcp Property Map
    IPv4 type of proxy*id protocol values for TCP protocol
    udp Property Map
    IPv6 type of proxy*id protocol values for UDP protocol

    GetIpsecTunnelAutoKeyProxyIdProtocolTcp

    LocalPort int
    Local port
    RemotePort int
    Remote port
    LocalPort int
    Local port
    RemotePort int
    Remote port
    localPort Integer
    Local port
    remotePort Integer
    Remote port
    localPort number
    Local port
    remotePort number
    Remote port
    local_port int
    Local port
    remote_port int
    Remote port
    localPort Number
    Local port
    remotePort Number
    Remote port

    GetIpsecTunnelAutoKeyProxyIdProtocolUdp

    LocalPort int
    Local port
    RemotePort int
    Remote port
    LocalPort int
    Local port
    RemotePort int
    Remote port
    localPort Integer
    Local port
    remotePort Integer
    Remote port
    localPort number
    Local port
    remotePort number
    Remote port
    local_port int
    Local port
    remote_port int
    Remote port
    localPort Number
    Local port
    remotePort Number
    Remote port

    GetIpsecTunnelAutoKeyProxyIdV6

    Local string
    Local
    Name string
    Name
    Protocol GetIpsecTunnelAutoKeyProxyIdV6Protocol
    IPv6 type of proxy*id protocol values for protocol
    Remote string
    Remote
    Local string
    Local
    Name string
    Name
    Protocol GetIpsecTunnelAutoKeyProxyIdV6Protocol
    IPv6 type of proxy*id protocol values for protocol
    Remote string
    Remote
    local String
    Local
    name String
    Name
    protocol GetIpsecTunnelAutoKeyProxyIdV6Protocol
    IPv6 type of proxy*id protocol values for protocol
    remote String
    Remote
    local string
    Local
    name string
    Name
    protocol GetIpsecTunnelAutoKeyProxyIdV6Protocol
    IPv6 type of proxy*id protocol values for protocol
    remote string
    Remote
    local str
    Local
    name str
    Name
    protocol GetIpsecTunnelAutoKeyProxyIdV6Protocol
    IPv6 type of proxy*id protocol values for protocol
    remote str
    Remote
    local String
    Local
    name String
    Name
    protocol Property Map
    IPv6 type of proxy*id protocol values for protocol
    remote String
    Remote

    GetIpsecTunnelAutoKeyProxyIdV6Protocol

    Number int
    IP protocol number
    Tcp GetIpsecTunnelAutoKeyProxyIdV6ProtocolTcp
    IPv6 type of proxy*id protocol values for TCP protocol
    Udp GetIpsecTunnelAutoKeyProxyIdV6ProtocolUdp
    IPv6 type of proxy*id protocol values for UDP protocol
    Number int
    IP protocol number
    Tcp GetIpsecTunnelAutoKeyProxyIdV6ProtocolTcp
    IPv6 type of proxy*id protocol values for TCP protocol
    Udp GetIpsecTunnelAutoKeyProxyIdV6ProtocolUdp
    IPv6 type of proxy*id protocol values for UDP protocol
    number Integer
    IP protocol number
    tcp GetIpsecTunnelAutoKeyProxyIdV6ProtocolTcp
    IPv6 type of proxy*id protocol values for TCP protocol
    udp GetIpsecTunnelAutoKeyProxyIdV6ProtocolUdp
    IPv6 type of proxy*id protocol values for UDP protocol
    number number
    IP protocol number
    tcp GetIpsecTunnelAutoKeyProxyIdV6ProtocolTcp
    IPv6 type of proxy*id protocol values for TCP protocol
    udp GetIpsecTunnelAutoKeyProxyIdV6ProtocolUdp
    IPv6 type of proxy*id protocol values for UDP protocol
    number int
    IP protocol number
    tcp GetIpsecTunnelAutoKeyProxyIdV6ProtocolTcp
    IPv6 type of proxy*id protocol values for TCP protocol
    udp GetIpsecTunnelAutoKeyProxyIdV6ProtocolUdp
    IPv6 type of proxy*id protocol values for UDP protocol
    number Number
    IP protocol number
    tcp Property Map
    IPv6 type of proxy*id protocol values for TCP protocol
    udp Property Map
    IPv6 type of proxy*id protocol values for UDP protocol

    GetIpsecTunnelAutoKeyProxyIdV6ProtocolTcp

    LocalPort int
    Local port
    RemotePort int
    Remote port
    LocalPort int
    Local port
    RemotePort int
    Remote port
    localPort Integer
    Local port
    remotePort Integer
    Remote port
    localPort number
    Local port
    remotePort number
    Remote port
    local_port int
    Local port
    remote_port int
    Remote port
    localPort Number
    Local port
    remotePort Number
    Remote port

    GetIpsecTunnelAutoKeyProxyIdV6ProtocolUdp

    LocalPort int
    Local port
    RemotePort int
    Remote port
    LocalPort int
    Local port
    RemotePort int
    Remote port
    localPort Integer
    Local port
    remotePort Integer
    Remote port
    localPort number
    Local port
    remotePort number
    Remote port
    local_port int
    Local port
    remote_port int
    Remote port
    localPort Number
    Local port
    remotePort Number
    Remote port

    GetIpsecTunnelTunnelMonitor

    DestinationIp string
    Destination IP to send ICMP probe
    Enable bool
    Enable tunnel monitoring on this tunnel
    ProxyId string
    Which proxy-id (or proxy-id-v6) the monitoring traffic will use
    DestinationIp string
    Destination IP to send ICMP probe
    Enable bool
    Enable tunnel monitoring on this tunnel
    ProxyId string
    Which proxy-id (or proxy-id-v6) the monitoring traffic will use
    destinationIp String
    Destination IP to send ICMP probe
    enable Boolean
    Enable tunnel monitoring on this tunnel
    proxyId String
    Which proxy-id (or proxy-id-v6) the monitoring traffic will use
    destinationIp string
    Destination IP to send ICMP probe
    enable boolean
    Enable tunnel monitoring on this tunnel
    proxyId string
    Which proxy-id (or proxy-id-v6) the monitoring traffic will use
    destination_ip str
    Destination IP to send ICMP probe
    enable bool
    Enable tunnel monitoring on this tunnel
    proxy_id str
    Which proxy-id (or proxy-id-v6) the monitoring traffic will use
    destinationIp String
    Destination IP to send ICMP probe
    enable Boolean
    Enable tunnel monitoring on this tunnel
    proxyId String
    Which proxy-id (or proxy-id-v6) the monitoring traffic will use

    Package Details

    Repository
    scm pulumi/pulumi-scm
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the scm Terraform Provider.
    scm logo
    Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate