Strata Cloud Manager v0.3.1 published on Thursday, Mar 13, 2025 by Pulumi
scm.getIpsecTunnel
Explore with Pulumi AI
Retrieves a config item.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";
const example = scm.getIpsecTunnel({
    id: "1234-56-789",
});
import pulumi
import pulumi_scm as scm
example = scm.get_ipsec_tunnel(id="1234-56-789")
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 {
		_, err := scm.LookupIpsecTunnel(ctx, &scm.LookupIpsecTunnelArgs{
			Id: "1234-56-789",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scm = Pulumi.Scm;
return await Deployment.RunAsync(() => 
{
    var example = Scm.GetIpsecTunnel.Invoke(new()
    {
        Id = "1234-56-789",
    });
});
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) {
        final var example = ScmFunctions.getIpsecTunnel(GetIpsecTunnelArgs.builder()
            .id("1234-56-789")
            .build());
    }
}
variables:
  example:
    fn::invoke:
      function: scm:getIpsecTunnel
      arguments:
        id: 1234-56-789
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(folder: Optional[str] = None,
                     id: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetIpsecTunnelResult
def get_ipsec_tunnel_output(folder: Optional[pulumi.Input[str]] = None,
                     id: 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  - The AutoKey param.
 - Copy
Tos bool - Copy IP TOS bits from inner packet to IPSec packet (not recommended). Default: 
false. - Enable
Gre boolEncapsulation  - allow GRE over IPSec. Default: 
false. - Id string
 - The Id param.
 - Name string
 - Alphanumeric string begin with letter: [0-9a-zA-Z._-]. String length must not exceed 63 characters.
 - Tfid string
 - Tunnel
Monitor GetIpsec Tunnel Tunnel Monitor  - The TunnelMonitor param.
 - Folder string
 - The Folder param.
 
- Anti
Replay bool - Enable Anti-Replay check on this tunnel.
 - Auto
Key GetIpsec Tunnel Auto Key  - The AutoKey param.
 - Copy
Tos bool - Copy IP TOS bits from inner packet to IPSec packet (not recommended). Default: 
false. - Enable
Gre boolEncapsulation  - allow GRE over IPSec. Default: 
false. - Id string
 - The Id param.
 - Name string
 - Alphanumeric string begin with letter: [0-9a-zA-Z._-]. String length must not exceed 63 characters.
 - Tfid string
 - Tunnel
Monitor GetIpsec Tunnel Tunnel Monitor  - The TunnelMonitor param.
 - Folder string
 - The Folder param.
 
- anti
Replay Boolean - Enable Anti-Replay check on this tunnel.
 - auto
Key GetIpsec Tunnel Auto Key  - The AutoKey param.
 - copy
Tos Boolean - Copy IP TOS bits from inner packet to IPSec packet (not recommended). Default: 
false. - enable
Gre BooleanEncapsulation  - allow GRE over IPSec. Default: 
false. - id String
 - The Id param.
 - name String
 - Alphanumeric string begin with letter: [0-9a-zA-Z._-]. String length must not exceed 63 characters.
 - tfid String
 - tunnel
Monitor GetIpsec Tunnel Tunnel Monitor  - The TunnelMonitor param.
 - folder String
 - The Folder param.
 
- anti
Replay boolean - Enable Anti-Replay check on this tunnel.
 - auto
Key GetIpsec Tunnel Auto Key  - The AutoKey param.
 - copy
Tos boolean - Copy IP TOS bits from inner packet to IPSec packet (not recommended). Default: 
false. - enable
Gre booleanEncapsulation  - allow GRE over IPSec. Default: 
false. - id string
 - The Id param.
 - name string
 - Alphanumeric string begin with letter: [0-9a-zA-Z._-]. String length must not exceed 63 characters.
 - tfid string
 - tunnel
Monitor GetIpsec Tunnel Tunnel Monitor  - The TunnelMonitor param.
 - folder string
 - The Folder param.
 
- anti_
replay bool - Enable Anti-Replay check on this tunnel.
 - auto_
key GetIpsec Tunnel Auto Key  - The AutoKey param.
 - copy_
tos bool - Copy IP TOS bits from inner packet to IPSec packet (not recommended). Default: 
false. - enable_
gre_ boolencapsulation  - allow GRE over IPSec. Default: 
false. - id str
 - The Id param.
 - name str
 - Alphanumeric string begin with letter: [0-9a-zA-Z._-]. String length must not exceed 63 characters.
 - tfid str
 - tunnel_
monitor GetIpsec Tunnel Tunnel Monitor  - The TunnelMonitor param.
 - folder str
 - The Folder param.
 
- anti
Replay Boolean - Enable Anti-Replay check on this tunnel.
 - auto
Key Property Map - The AutoKey param.
 - copy
Tos Boolean - Copy IP TOS bits from inner packet to IPSec packet (not recommended). Default: 
false. - enable
Gre BooleanEncapsulation  - allow GRE over IPSec. Default: 
false. - id String
 - The Id param.
 - name String
 - Alphanumeric string begin with letter: [0-9a-zA-Z._-]. String length must not exceed 63 characters.
 - tfid String
 - tunnel
Monitor Property Map - The TunnelMonitor param.
 - folder String
 - The Folder param.
 
Supporting Types
GetIpsecTunnelAutoKey    
- Ike
Gateways List<GetIpsec Tunnel Auto Key Ike Gateway>  - The IkeGateways param.
 - Ipsec
Crypto stringProfile  - The IpsecCryptoProfile param.
 - 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  - The IkeGateways param.
 - Ipsec
Crypto stringProfile  - The IpsecCryptoProfile param.
 - 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>  - The IkeGateways param.
 - ipsec
Crypto StringProfile  - The IpsecCryptoProfile param.
 - 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[]  - The IkeGateways param.
 - ipsec
Crypto stringProfile  - The IpsecCryptoProfile param.
 - 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]  - The IkeGateways param.
 - ipsec_
crypto_ strprofile  - The IpsecCryptoProfile param.
 - 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> - The IkeGateways param.
 - ipsec
Crypto StringProfile  - The IpsecCryptoProfile param.
 - 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
 - The Name param.
 
- Name string
 - The Name param.
 
- name String
 - The Name param.
 
- name string
 - The Name param.
 
- name str
 - The Name param.
 
- name String
 - The Name param.
 
GetIpsecTunnelAutoKeyProxyId      
- Local string
 - The Local param.
 - Name string
 - The Name param.
 - Protocol
Get
Ipsec Tunnel Auto Key Proxy Id Protocol  - The Protocol param.
 - Remote string
 - The Remote param.
 
- Local string
 - The Local param.
 - Name string
 - The Name param.
 - Protocol
Get
Ipsec Tunnel Auto Key Proxy Id Protocol  - The Protocol param.
 - Remote string
 - The Remote param.
 
- local String
 - The Local param.
 - name String
 - The Name param.
 - protocol
Get
Ipsec Tunnel Auto Key Proxy Id Protocol  - The Protocol param.
 - remote String
 - The Remote param.
 
- local string
 - The Local param.
 - name string
 - The Name param.
 - protocol
Get
Ipsec Tunnel Auto Key Proxy Id Protocol  - The Protocol param.
 - remote string
 - The Remote param.
 
- local str
 - The Local param.
 - name str
 - The Name param.
 - protocol
Get
Ipsec Tunnel Auto Key Proxy Id Protocol  - The Protocol param.
 - remote str
 - The Remote param.
 
- local String
 - The Local param.
 - name String
 - The Name param.
 - protocol Property Map
 - The Protocol param.
 - remote String
 - The Remote param.
 
GetIpsecTunnelAutoKeyProxyIdProtocol       
- Number int
 - IP protocol number. Value must be between 1 and 254.
 - Tcp
Get
Ipsec Tunnel Auto Key Proxy Id Protocol Tcp  - The Tcp param.
 - Udp
Get
Ipsec Tunnel Auto Key Proxy Id Protocol Udp  - The Udp param.
 
- Number int
 - IP protocol number. Value must be between 1 and 254.
 - Tcp
Get
Ipsec Tunnel Auto Key Proxy Id Protocol Tcp  - The Tcp param.
 - Udp
Get
Ipsec Tunnel Auto Key Proxy Id Protocol Udp  - The Udp param.
 
- number Integer
 - IP protocol number. Value must be between 1 and 254.
 - tcp
Get
Ipsec Tunnel Auto Key Proxy Id Protocol Tcp  - The Tcp param.
 - udp
Get
Ipsec Tunnel Auto Key Proxy Id Protocol Udp  - The Udp param.
 
- number number
 - IP protocol number. Value must be between 1 and 254.
 - tcp
Get
Ipsec Tunnel Auto Key Proxy Id Protocol Tcp  - The Tcp param.
 - udp
Get
Ipsec Tunnel Auto Key Proxy Id Protocol Udp  - The Udp param.
 
- number int
 - IP protocol number. Value must be between 1 and 254.
 - tcp
Get
Ipsec Tunnel Auto Key Proxy Id Protocol Tcp  - The Tcp param.
 - udp
Get
Ipsec Tunnel Auto Key Proxy Id Protocol Udp  - The Udp param.
 
- number Number
 - IP protocol number. Value must be between 1 and 254.
 - tcp Property Map
 - The Tcp param.
 - udp Property Map
 - The Udp param.
 
GetIpsecTunnelAutoKeyProxyIdProtocolTcp        
- Local
Port int - The LocalPort param. Value must be between 0 and 65535. Default: 
0. - Remote
Port int - The RemotePort param. Value must be between 0 and 65535. Default: 
0. 
- Local
Port int - The LocalPort param. Value must be between 0 and 65535. Default: 
0. - Remote
Port int - The RemotePort param. Value must be between 0 and 65535. Default: 
0. 
- local
Port Integer - The LocalPort param. Value must be between 0 and 65535. Default: 
0. - remote
Port Integer - The RemotePort param. Value must be between 0 and 65535. Default: 
0. 
- local
Port number - The LocalPort param. Value must be between 0 and 65535. Default: 
0. - remote
Port number - The RemotePort param. Value must be between 0 and 65535. Default: 
0. 
- local_
port int - The LocalPort param. Value must be between 0 and 65535. Default: 
0. - remote_
port int - The RemotePort param. Value must be between 0 and 65535. Default: 
0. 
- local
Port Number - The LocalPort param. Value must be between 0 and 65535. Default: 
0. - remote
Port Number - The RemotePort param. Value must be between 0 and 65535. Default: 
0. 
GetIpsecTunnelAutoKeyProxyIdProtocolUdp        
- Local
Port int - The LocalPort param. Value must be between 0 and 65535. Default: 
0. - Remote
Port int - The RemotePort param. Value must be between 0 and 65535. Default: 
0. 
- Local
Port int - The LocalPort param. Value must be between 0 and 65535. Default: 
0. - Remote
Port int - The RemotePort param. Value must be between 0 and 65535. Default: 
0. 
- local
Port Integer - The LocalPort param. Value must be between 0 and 65535. Default: 
0. - remote
Port Integer - The RemotePort param. Value must be between 0 and 65535. Default: 
0. 
- local
Port number - The LocalPort param. Value must be between 0 and 65535. Default: 
0. - remote
Port number - The RemotePort param. Value must be between 0 and 65535. Default: 
0. 
- local_
port int - The LocalPort param. Value must be between 0 and 65535. Default: 
0. - remote_
port int - The RemotePort param. Value must be between 0 and 65535. Default: 
0. 
- local
Port Number - The LocalPort param. Value must be between 0 and 65535. Default: 
0. - remote
Port Number - The RemotePort param. Value must be between 0 and 65535. Default: 
0. 
GetIpsecTunnelAutoKeyProxyIdV6       
- Local string
 - The Local param.
 - Name string
 - The Name param.
 - Protocol
Get
Ipsec Tunnel Auto Key Proxy Id V6Protocol  - The Protocol param.
 - Remote string
 - The Remote param.
 
- Local string
 - The Local param.
 - Name string
 - The Name param.
 - Protocol
Get
Ipsec Tunnel Auto Key Proxy Id V6Protocol  - The Protocol param.
 - Remote string
 - The Remote param.
 
- local String
 - The Local param.
 - name String
 - The Name param.
 - protocol
Get
Ipsec Tunnel Auto Key Proxy Id V6Protocol  - The Protocol param.
 - remote String
 - The Remote param.
 
- local string
 - The Local param.
 - name string
 - The Name param.
 - protocol
Get
Ipsec Tunnel Auto Key Proxy Id V6Protocol  - The Protocol param.
 - remote string
 - The Remote param.
 
- local str
 - The Local param.
 - name str
 - The Name param.
 - protocol
Get
Ipsec Tunnel Auto Key Proxy Id V6Protocol  - The Protocol param.
 - remote str
 - The Remote param.
 
- local String
 - The Local param.
 - name String
 - The Name param.
 - protocol Property Map
 - The Protocol param.
 - remote String
 - The Remote param.
 
GetIpsecTunnelAutoKeyProxyIdV6Protocol       
- Number int
 - IP protocol number. Value must be between 1 and 254.
 - Tcp
Get
Ipsec Tunnel Auto Key Proxy Id V6Protocol Tcp  - The Tcp param.
 - Udp
Get
Ipsec Tunnel Auto Key Proxy Id V6Protocol Udp  - The Udp param.
 
- Number int
 - IP protocol number. Value must be between 1 and 254.
 - Tcp
Get
Ipsec Tunnel Auto Key Proxy Id V6Protocol Tcp  - The Tcp param.
 - Udp
Get
Ipsec Tunnel Auto Key Proxy Id V6Protocol Udp  - The Udp param.
 
- number Integer
 - IP protocol number. Value must be between 1 and 254.
 - tcp
Get
Ipsec Tunnel Auto Key Proxy Id V6Protocol Tcp  - The Tcp param.
 - udp
Get
Ipsec Tunnel Auto Key Proxy Id V6Protocol Udp  - The Udp param.
 
- number number
 - IP protocol number. Value must be between 1 and 254.
 - tcp
Get
Ipsec Tunnel Auto Key Proxy Id V6Protocol Tcp  - The Tcp param.
 - udp
Get
Ipsec Tunnel Auto Key Proxy Id V6Protocol Udp  - The Udp param.
 
- number int
 - IP protocol number. Value must be between 1 and 254.
 - tcp
Get
Ipsec Tunnel Auto Key Proxy Id V6Protocol Tcp  - The Tcp param.
 - udp
Get
Ipsec Tunnel Auto Key Proxy Id V6Protocol Udp  - The Udp param.
 
- number Number
 - IP protocol number. Value must be between 1 and 254.
 - tcp Property Map
 - The Tcp param.
 - udp Property Map
 - The Udp param.
 
GetIpsecTunnelAutoKeyProxyIdV6ProtocolTcp        
- Local
Port int - The LocalPort param. Value must be between 0 and 65535. Default: 
0. - Remote
Port int - The RemotePort param. Value must be between 0 and 65535. Default: 
0. 
- Local
Port int - The LocalPort param. Value must be between 0 and 65535. Default: 
0. - Remote
Port int - The RemotePort param. Value must be between 0 and 65535. Default: 
0. 
- local
Port Integer - The LocalPort param. Value must be between 0 and 65535. Default: 
0. - remote
Port Integer - The RemotePort param. Value must be between 0 and 65535. Default: 
0. 
- local
Port number - The LocalPort param. Value must be between 0 and 65535. Default: 
0. - remote
Port number - The RemotePort param. Value must be between 0 and 65535. Default: 
0. 
- local_
port int - The LocalPort param. Value must be between 0 and 65535. Default: 
0. - remote_
port int - The RemotePort param. Value must be between 0 and 65535. Default: 
0. 
- local
Port Number - The LocalPort param. Value must be between 0 and 65535. Default: 
0. - remote
Port Number - The RemotePort param. Value must be between 0 and 65535. Default: 
0. 
GetIpsecTunnelAutoKeyProxyIdV6ProtocolUdp        
- Local
Port int - The LocalPort param. Value must be between 0 and 65535. Default: 
0. - Remote
Port int - The RemotePort param. Value must be between 0 and 65535. Default: 
0. 
- Local
Port int - The LocalPort param. Value must be between 0 and 65535. Default: 
0. - Remote
Port int - The RemotePort param. Value must be between 0 and 65535. Default: 
0. 
- local
Port Integer - The LocalPort param. Value must be between 0 and 65535. Default: 
0. - remote
Port Integer - The RemotePort param. Value must be between 0 and 65535. Default: 
0. 
- local
Port number - The LocalPort param. Value must be between 0 and 65535. Default: 
0. - remote
Port number - The RemotePort param. Value must be between 0 and 65535. Default: 
0. 
- local_
port int - The LocalPort param. Value must be between 0 and 65535. Default: 
0. - remote_
port int - The RemotePort param. Value must be between 0 and 65535. Default: 
0. 
- local
Port Number - The LocalPort param. Value must be between 0 and 65535. Default: 
0. - remote
Port Number - The RemotePort param. Value must be between 0 and 65535. Default: 
0. 
GetIpsecTunnelTunnelMonitor    
- Destination
Ip string - Destination IP to send ICMP probe.
 - Enable bool
 - Enable tunnel monitoring on this tunnel. Default: 
true. - 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. Default: 
true. - 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. Default: 
true. - 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. Default: 
true. - 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. Default: 
true. - 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. Default: 
true. - 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.