Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
scm.getIpsecTunnel
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 dictionaryThe following arguments are supported:
getIpsecTunnel Result
The following output properties are available:
- Anti
Replay bool - Enable Anti-Replay check on this tunnel
- Auto
Key GetIpsec Tunnel Auto Key - Auto key
- Copy
Tos bool - Copy IP TOS bits from inner packet to IPSec packet (not recommended)
- Device string
- The device in which the resource is defined
- Enable
Gre boolEncapsulation - 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
- Tunnel
Interface string - Tunnel interface variable or hardcoded tunnel. Default will be tunnels.
- Tunnel
Monitor GetIpsec Tunnel Tunnel Monitor - Tunnel monitor
- Anti
Replay bool - Enable Anti-Replay check on this tunnel
- Auto
Key GetIpsec Tunnel Auto Key - Auto key
- Copy
Tos bool - Copy IP TOS bits from inner packet to IPSec packet (not recommended)
- Device string
- The device in which the resource is defined
- Enable
Gre boolEncapsulation - 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
- Tunnel
Interface string - Tunnel interface variable or hardcoded tunnel. Default will be tunnels.
- Tunnel
Monitor GetIpsec Tunnel Tunnel Monitor - Tunnel monitor
- anti
Replay Boolean - Enable Anti-Replay check on this tunnel
- auto
Key GetIpsec Tunnel Auto Key - Auto key
- copy
Tos Boolean - Copy IP TOS bits from inner packet to IPSec packet (not recommended)
- device String
- The device in which the resource is defined
- enable
Gre BooleanEncapsulation - 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
- tunnel
Interface String - Tunnel interface variable or hardcoded tunnel. Default will be tunnels.
- tunnel
Monitor GetIpsec Tunnel Tunnel Monitor - Tunnel monitor
- anti
Replay boolean - Enable Anti-Replay check on this tunnel
- auto
Key GetIpsec Tunnel Auto Key - Auto key
- copy
Tos boolean - Copy IP TOS bits from inner packet to IPSec packet (not recommended)
- device string
- The device in which the resource is defined
- enable
Gre booleanEncapsulation - 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
- tunnel
Interface string - Tunnel interface variable or hardcoded tunnel. Default will be tunnels.
- tunnel
Monitor GetIpsec Tunnel Tunnel Monitor - Tunnel monitor
- anti_
replay bool - Enable Anti-Replay check on this tunnel
- auto_
key GetIpsec Tunnel Auto Key - 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_ boolencapsulation - 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 GetIpsec Tunnel Tunnel Monitor - Tunnel monitor
- anti
Replay Boolean - Enable Anti-Replay check on this tunnel
- auto
Key Property Map - Auto key
- copy
Tos Boolean - Copy IP TOS bits from inner packet to IPSec packet (not recommended)
- device String
- The device in which the resource is defined
- enable
Gre BooleanEncapsulation - 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
- tunnel
Interface String - Tunnel interface variable or hardcoded tunnel. Default will be tunnels.
- tunnel
Monitor Property Map - Tunnel monitor
Supporting Types
GetIpsecTunnelAutoKey
- Ike
Gateways List<GetIpsec Tunnel Auto Key Ike Gateway> - Ike gateway
- Ipsec
Crypto stringProfile - Ipsec crypto profile
- Proxy
Id List<GetV6s Ipsec Tunnel Auto Key Proxy Id V6> - IPv6 type of proxy*id values
- Proxy
Ids List<GetIpsec Tunnel Auto Key Proxy Id> - IPv4 type of proxy*id values
- Ike
Gateways []GetIpsec Tunnel Auto Key Ike Gateway - Ike gateway
- Ipsec
Crypto stringProfile - Ipsec crypto profile
- Proxy
Id []GetV6s Ipsec Tunnel Auto Key Proxy Id V6 - IPv6 type of proxy*id values
- Proxy
Ids []GetIpsec Tunnel Auto Key Proxy Id - IPv4 type of proxy*id values
- ike
Gateways List<GetIpsec Tunnel Auto Key Ike Gateway> - Ike gateway
- ipsec
Crypto StringProfile - Ipsec crypto profile
- proxy
Id List<GetV6s Ipsec Tunnel Auto Key Proxy Id V6> - IPv6 type of proxy*id values
- proxy
Ids List<GetIpsec Tunnel Auto Key Proxy Id> - IPv4 type of proxy*id values
- ike
Gateways GetIpsec Tunnel Auto Key Ike Gateway[] - Ike gateway
- ipsec
Crypto stringProfile - Ipsec crypto profile
- proxy
Id GetV6s Ipsec Tunnel Auto Key Proxy Id V6[] - IPv6 type of proxy*id values
- proxy
Ids GetIpsec Tunnel Auto Key Proxy Id[] - IPv4 type of proxy*id values
- ike_
gateways Sequence[GetIpsec Tunnel Auto Key Ike Gateway] - Ike gateway
- ipsec_
crypto_ strprofile - Ipsec crypto profile
- proxy_
id_ Sequence[Getv6s Ipsec Tunnel Auto Key Proxy Id V6] - IPv6 type of proxy*id values
- proxy_
ids Sequence[GetIpsec Tunnel Auto Key Proxy Id] - IPv4 type of proxy*id values
- ike
Gateways List<Property Map> - Ike gateway
- ipsec
Crypto StringProfile - Ipsec crypto profile
- proxy
Id List<Property Map>V6s - IPv6 type of proxy*id values
- proxy
Ids 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
Get
Ipsec Tunnel Auto Key Proxy Id Protocol - IPv4 type of proxy*id protocol values for TCP protocol
- Remote string
- Remote
- Local string
- Local
- Name string
- Name
- Protocol
Get
Ipsec Tunnel Auto Key Proxy Id Protocol - IPv4 type of proxy*id protocol values for TCP protocol
- Remote string
- Remote
- local String
- Local
- name String
- Name
- protocol
Get
Ipsec Tunnel Auto Key Proxy Id Protocol - IPv4 type of proxy*id protocol values for TCP protocol
- remote String
- Remote
- local string
- Local
- name string
- Name
- protocol
Get
Ipsec Tunnel Auto Key Proxy Id Protocol - IPv4 type of proxy*id protocol values for TCP protocol
- remote string
- Remote
- local str
- Local
- name str
- Name
- protocol
Get
Ipsec Tunnel Auto Key Proxy Id Protocol - 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
Get
Ipsec Tunnel Auto Key Proxy Id Protocol Tcp - IPv4 type of proxy*id protocol values for TCP protocol
- Udp
Get
Ipsec Tunnel Auto Key Proxy Id Protocol Udp - IPv6 type of proxy*id protocol values for UDP protocol
- Number int
- IP protocol number
- Tcp
Get
Ipsec Tunnel Auto Key Proxy Id Protocol Tcp - IPv4 type of proxy*id protocol values for TCP protocol
- Udp
Get
Ipsec Tunnel Auto Key Proxy Id Protocol Udp - IPv6 type of proxy*id protocol values for UDP protocol
- number Integer
- IP protocol number
- tcp
Get
Ipsec Tunnel Auto Key Proxy Id Protocol Tcp - IPv4 type of proxy*id protocol values for TCP protocol
- udp
Get
Ipsec Tunnel Auto Key Proxy Id Protocol Udp - IPv6 type of proxy*id protocol values for UDP protocol
- number number
- IP protocol number
- tcp
Get
Ipsec Tunnel Auto Key Proxy Id Protocol Tcp - IPv4 type of proxy*id protocol values for TCP protocol
- udp
Get
Ipsec Tunnel Auto Key Proxy Id Protocol Udp - IPv6 type of proxy*id protocol values for UDP protocol
- number int
- IP protocol number
- tcp
Get
Ipsec Tunnel Auto Key Proxy Id Protocol Tcp - IPv4 type of proxy*id protocol values for TCP protocol
- udp
Get
Ipsec Tunnel Auto Key Proxy Id Protocol Udp - 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
- Local
Port int - Local port
- Remote
Port int - Remote port
- Local
Port int - Local port
- Remote
Port int - Remote port
- local
Port Integer - Local port
- remote
Port Integer - Remote port
- local
Port number - Local port
- remote
Port number - Remote port
- local_
port int - Local port
- remote_
port int - Remote port
- local
Port Number - Local port
- remote
Port Number - Remote port
GetIpsecTunnelAutoKeyProxyIdProtocolUdp
- Local
Port int - Local port
- Remote
Port int - Remote port
- Local
Port int - Local port
- Remote
Port int - Remote port
- local
Port Integer - Local port
- remote
Port Integer - Remote port
- local
Port number - Local port
- remote
Port number - Remote port
- local_
port int - Local port
- remote_
port int - Remote port
- local
Port Number - Local port
- remote
Port Number - Remote port
GetIpsecTunnelAutoKeyProxyIdV6
- Local string
- Local
- Name string
- Name
- Protocol
Get
Ipsec Tunnel Auto Key Proxy Id V6Protocol - IPv6 type of proxy*id protocol values for protocol
- Remote string
- Remote
- Local string
- Local
- Name string
- Name
- Protocol
Get
Ipsec Tunnel Auto Key Proxy Id V6Protocol - IPv6 type of proxy*id protocol values for protocol
- Remote string
- Remote
- local String
- Local
- name String
- Name
- protocol
Get
Ipsec Tunnel Auto Key Proxy Id V6Protocol - IPv6 type of proxy*id protocol values for protocol
- remote String
- Remote
- local string
- Local
- name string
- Name
- protocol
Get
Ipsec Tunnel Auto Key Proxy Id V6Protocol - IPv6 type of proxy*id protocol values for protocol
- remote string
- Remote
- local str
- Local
- name str
- Name
- protocol
Get
Ipsec Tunnel Auto Key Proxy Id V6Protocol - 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
Get
Ipsec Tunnel Auto Key Proxy Id V6Protocol Tcp - IPv6 type of proxy*id protocol values for TCP protocol
- Udp
Get
Ipsec Tunnel Auto Key Proxy Id V6Protocol Udp - IPv6 type of proxy*id protocol values for UDP protocol
- Number int
- IP protocol number
- Tcp
Get
Ipsec Tunnel Auto Key Proxy Id V6Protocol Tcp - IPv6 type of proxy*id protocol values for TCP protocol
- Udp
Get
Ipsec Tunnel Auto Key Proxy Id V6Protocol Udp - IPv6 type of proxy*id protocol values for UDP protocol
- number Integer
- IP protocol number
- tcp
Get
Ipsec Tunnel Auto Key Proxy Id V6Protocol Tcp - IPv6 type of proxy*id protocol values for TCP protocol
- udp
Get
Ipsec Tunnel Auto Key Proxy Id V6Protocol Udp - IPv6 type of proxy*id protocol values for UDP protocol
- number number
- IP protocol number
- tcp
Get
Ipsec Tunnel Auto Key Proxy Id V6Protocol Tcp - IPv6 type of proxy*id protocol values for TCP protocol
- udp
Get
Ipsec Tunnel Auto Key Proxy Id V6Protocol Udp - IPv6 type of proxy*id protocol values for UDP protocol
- number int
- IP protocol number
- tcp
Get
Ipsec Tunnel Auto Key Proxy Id V6Protocol Tcp - IPv6 type of proxy*id protocol values for TCP protocol
- udp
Get
Ipsec Tunnel Auto Key Proxy Id V6Protocol Udp - 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
- Local
Port int - Local port
- Remote
Port int - Remote port
- Local
Port int - Local port
- Remote
Port int - Remote port
- local
Port Integer - Local port
- remote
Port Integer - Remote port
- local
Port number - Local port
- remote
Port number - Remote port
- local_
port int - Local port
- remote_
port int - Remote port
- local
Port Number - Local port
- remote
Port Number - Remote port
GetIpsecTunnelAutoKeyProxyIdV6ProtocolUdp
- Local
Port int - Local port
- Remote
Port int - Remote port
- Local
Port int - Local port
- Remote
Port int - Remote port
- local
Port Integer - Local port
- remote
Port Integer - Remote port
- local
Port number - Local port
- remote
Port number - Remote port
- local_
port int - Local port
- remote_
port int - Remote port
- local
Port Number - Local port
- remote
Port Number - Remote port
GetIpsecTunnelTunnelMonitor
- Destination
Ip string - Destination IP to send ICMP probe
- Enable bool
- Enable tunnel monitoring on this tunnel
- Proxy
Id string - Which proxy-id (or proxy-id-v6) the monitoring traffic will use
- Destination
Ip string - Destination IP to send ICMP probe
- Enable bool
- Enable tunnel monitoring on this tunnel
- Proxy
Id string - Which proxy-id (or proxy-id-v6) the monitoring traffic will use
- destination
Ip String - Destination IP to send ICMP probe
- enable Boolean
- Enable tunnel monitoring on this tunnel
- proxy
Id String - Which proxy-id (or proxy-id-v6) the monitoring traffic will use
- destination
Ip string - Destination IP to send ICMP probe
- enable boolean
- Enable tunnel monitoring on this tunnel
- proxy
Id 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
- destination
Ip String - Destination IP to send ICMP probe
- enable Boolean
- Enable tunnel monitoring on this tunnel
- proxy
Id 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
scmTerraform Provider.
Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
