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:
- AntiReplay bool
- Enable Anti-Replay check on this tunnel.
- AutoKey GetIpsec Tunnel Auto Key 
- The AutoKey param.
- CopyTos bool
- Copy IP TOS bits from inner packet to IPSec packet (not recommended). Default: false.
- EnableGre 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
- TunnelMonitor GetIpsec Tunnel Tunnel Monitor 
- The TunnelMonitor param.
- Folder string
- The Folder param.
- AntiReplay bool
- Enable Anti-Replay check on this tunnel.
- AutoKey GetIpsec Tunnel Auto Key 
- The AutoKey param.
- CopyTos bool
- Copy IP TOS bits from inner packet to IPSec packet (not recommended). Default: false.
- EnableGre 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
- TunnelMonitor GetIpsec Tunnel Tunnel Monitor 
- The TunnelMonitor param.
- Folder string
- The Folder param.
- antiReplay Boolean
- Enable Anti-Replay check on this tunnel.
- autoKey GetIpsec Tunnel Auto Key 
- The AutoKey param.
- copyTos Boolean
- Copy IP TOS bits from inner packet to IPSec packet (not recommended). Default: false.
- enableGre 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
- tunnelMonitor GetIpsec Tunnel Tunnel Monitor 
- The TunnelMonitor param.
- folder String
- The Folder param.
- antiReplay boolean
- Enable Anti-Replay check on this tunnel.
- autoKey GetIpsec Tunnel Auto Key 
- The AutoKey param.
- copyTos boolean
- Copy IP TOS bits from inner packet to IPSec packet (not recommended). Default: false.
- enableGre 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
- tunnelMonitor 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.
- antiReplay Boolean
- Enable Anti-Replay check on this tunnel.
- autoKey Property Map
- The AutoKey param.
- copyTos Boolean
- Copy IP TOS bits from inner packet to IPSec packet (not recommended). Default: false.
- enableGre 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
- tunnelMonitor Property Map
- The TunnelMonitor param.
- folder String
- The Folder param.
Supporting Types
GetIpsecTunnelAutoKey    
- IkeGateways List<GetIpsec Tunnel Auto Key Ike Gateway> 
- The IkeGateways param.
- IpsecCrypto stringProfile 
- The IpsecCryptoProfile param.
- ProxyId List<GetV6s Ipsec Tunnel Auto Key Proxy Id V6> 
- IPv6 type of proxy*id values.
- ProxyIds List<GetIpsec Tunnel Auto Key Proxy Id> 
- IPv4 type of proxy*id values.
- IkeGateways []GetIpsec Tunnel Auto Key Ike Gateway 
- The IkeGateways param.
- IpsecCrypto stringProfile 
- The IpsecCryptoProfile param.
- ProxyId []GetV6s Ipsec Tunnel Auto Key Proxy Id V6 
- IPv6 type of proxy*id values.
- ProxyIds []GetIpsec Tunnel Auto Key Proxy Id 
- IPv4 type of proxy*id values.
- ikeGateways List<GetIpsec Tunnel Auto Key Ike Gateway> 
- The IkeGateways param.
- ipsecCrypto StringProfile 
- The IpsecCryptoProfile param.
- proxyId List<GetV6s Ipsec Tunnel Auto Key Proxy Id V6> 
- IPv6 type of proxy*id values.
- proxyIds List<GetIpsec Tunnel Auto Key Proxy Id> 
- IPv4 type of proxy*id values.
- ikeGateways GetIpsec Tunnel Auto Key Ike Gateway[] 
- The IkeGateways param.
- ipsecCrypto stringProfile 
- The IpsecCryptoProfile param.
- proxyId GetV6s Ipsec Tunnel Auto Key Proxy Id V6[] 
- IPv6 type of proxy*id values.
- proxyIds 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.
- ikeGateways List<Property Map>
- The IkeGateways param.
- ipsecCrypto StringProfile 
- The IpsecCryptoProfile param.
- proxyId List<Property Map>V6s 
- IPv6 type of proxy*id values.
- proxyIds 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
GetIpsec 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
GetIpsec 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
GetIpsec 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
GetIpsec 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
GetIpsec 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
GetIpsec Tunnel Auto Key Proxy Id Protocol Tcp 
- The Tcp param.
- Udp
GetIpsec Tunnel Auto Key Proxy Id Protocol Udp 
- The Udp param.
- Number int
- IP protocol number. Value must be between 1 and 254.
- Tcp
GetIpsec Tunnel Auto Key Proxy Id Protocol Tcp 
- The Tcp param.
- Udp
GetIpsec Tunnel Auto Key Proxy Id Protocol Udp 
- The Udp param.
- number Integer
- IP protocol number. Value must be between 1 and 254.
- tcp
GetIpsec Tunnel Auto Key Proxy Id Protocol Tcp 
- The Tcp param.
- udp
GetIpsec Tunnel Auto Key Proxy Id Protocol Udp 
- The Udp param.
- number number
- IP protocol number. Value must be between 1 and 254.
- tcp
GetIpsec Tunnel Auto Key Proxy Id Protocol Tcp 
- The Tcp param.
- udp
GetIpsec Tunnel Auto Key Proxy Id Protocol Udp 
- The Udp param.
- number int
- IP protocol number. Value must be between 1 and 254.
- tcp
GetIpsec Tunnel Auto Key Proxy Id Protocol Tcp 
- The Tcp param.
- udp
GetIpsec 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        
- LocalPort int
- The LocalPort param. Value must be between 0 and 65535. Default: 0.
- RemotePort int
- The RemotePort param. Value must be between 0 and 65535. Default: 0.
- LocalPort int
- The LocalPort param. Value must be between 0 and 65535. Default: 0.
- RemotePort int
- The RemotePort param. Value must be between 0 and 65535. Default: 0.
- localPort Integer
- The LocalPort param. Value must be between 0 and 65535. Default: 0.
- remotePort Integer
- The RemotePort param. Value must be between 0 and 65535. Default: 0.
- localPort number
- The LocalPort param. Value must be between 0 and 65535. Default: 0.
- remotePort 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.
- localPort Number
- The LocalPort param. Value must be between 0 and 65535. Default: 0.
- remotePort Number
- The RemotePort param. Value must be between 0 and 65535. Default: 0.
GetIpsecTunnelAutoKeyProxyIdProtocolUdp        
- LocalPort int
- The LocalPort param. Value must be between 0 and 65535. Default: 0.
- RemotePort int
- The RemotePort param. Value must be between 0 and 65535. Default: 0.
- LocalPort int
- The LocalPort param. Value must be between 0 and 65535. Default: 0.
- RemotePort int
- The RemotePort param. Value must be between 0 and 65535. Default: 0.
- localPort Integer
- The LocalPort param. Value must be between 0 and 65535. Default: 0.
- remotePort Integer
- The RemotePort param. Value must be between 0 and 65535. Default: 0.
- localPort number
- The LocalPort param. Value must be between 0 and 65535. Default: 0.
- remotePort 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.
- localPort Number
- The LocalPort param. Value must be between 0 and 65535. Default: 0.
- remotePort 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
GetIpsec 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
GetIpsec 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
GetIpsec 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
GetIpsec 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
GetIpsec 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
GetIpsec Tunnel Auto Key Proxy Id V6Protocol Tcp 
- The Tcp param.
- Udp
GetIpsec Tunnel Auto Key Proxy Id V6Protocol Udp 
- The Udp param.
- Number int
- IP protocol number. Value must be between 1 and 254.
- Tcp
GetIpsec Tunnel Auto Key Proxy Id V6Protocol Tcp 
- The Tcp param.
- Udp
GetIpsec Tunnel Auto Key Proxy Id V6Protocol Udp 
- The Udp param.
- number Integer
- IP protocol number. Value must be between 1 and 254.
- tcp
GetIpsec Tunnel Auto Key Proxy Id V6Protocol Tcp 
- The Tcp param.
- udp
GetIpsec Tunnel Auto Key Proxy Id V6Protocol Udp 
- The Udp param.
- number number
- IP protocol number. Value must be between 1 and 254.
- tcp
GetIpsec Tunnel Auto Key Proxy Id V6Protocol Tcp 
- The Tcp param.
- udp
GetIpsec Tunnel Auto Key Proxy Id V6Protocol Udp 
- The Udp param.
- number int
- IP protocol number. Value must be between 1 and 254.
- tcp
GetIpsec Tunnel Auto Key Proxy Id V6Protocol Tcp 
- The Tcp param.
- udp
GetIpsec 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        
- LocalPort int
- The LocalPort param. Value must be between 0 and 65535. Default: 0.
- RemotePort int
- The RemotePort param. Value must be between 0 and 65535. Default: 0.
- LocalPort int
- The LocalPort param. Value must be between 0 and 65535. Default: 0.
- RemotePort int
- The RemotePort param. Value must be between 0 and 65535. Default: 0.
- localPort Integer
- The LocalPort param. Value must be between 0 and 65535. Default: 0.
- remotePort Integer
- The RemotePort param. Value must be between 0 and 65535. Default: 0.
- localPort number
- The LocalPort param. Value must be between 0 and 65535. Default: 0.
- remotePort 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.
- localPort Number
- The LocalPort param. Value must be between 0 and 65535. Default: 0.
- remotePort Number
- The RemotePort param. Value must be between 0 and 65535. Default: 0.
GetIpsecTunnelAutoKeyProxyIdV6ProtocolUdp        
- LocalPort int
- The LocalPort param. Value must be between 0 and 65535. Default: 0.
- RemotePort int
- The RemotePort param. Value must be between 0 and 65535. Default: 0.
- LocalPort int
- The LocalPort param. Value must be between 0 and 65535. Default: 0.
- RemotePort int
- The RemotePort param. Value must be between 0 and 65535. Default: 0.
- localPort Integer
- The LocalPort param. Value must be between 0 and 65535. Default: 0.
- remotePort Integer
- The RemotePort param. Value must be between 0 and 65535. Default: 0.
- localPort number
- The LocalPort param. Value must be between 0 and 65535. Default: 0.
- remotePort 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.
- localPort Number
- The LocalPort param. Value must be between 0 and 65535. Default: 0.
- remotePort Number
- The RemotePort param. Value must be between 0 and 65535. Default: 0.
GetIpsecTunnelTunnelMonitor    
- DestinationIp string
- Destination IP to send ICMP probe.
- Enable bool
- Enable tunnel monitoring on this tunnel. Default: true.
- 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. Default: true.
- 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. Default: true.
- 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. Default: true.
- 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. Default: true.
- 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. Default: true.
- 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 scmTerraform Provider.
