1. Packages
  2. Strata Cloud Manager Provider
  3. API Docs
  4. getIpsecTunnel
Strata Cloud Manager v0.3.1 published on Thursday, Mar 13, 2025 by Pulumi

scm.getIpsecTunnel

Explore with Pulumi AI

Strata Cloud Manager v0.3.1 published on Thursday, Mar 13, 2025 by Pulumi

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",
});
Copy
import pulumi
import pulumi_scm as scm

example = scm.get_ipsec_tunnel(id="1234-56-789")
Copy
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
	})
}
Copy
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",
    });

});
Copy
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());

    }
}
Copy
variables:
  example:
    fn::invoke:
      function: scm:getIpsecTunnel
      arguments:
        id: 1234-56-789
Copy

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>
Copy
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]
Copy
func LookupIpsecTunnel(ctx *Context, args *LookupIpsecTunnelArgs, opts ...InvokeOption) (*LookupIpsecTunnelResult, error)
func LookupIpsecTunnelOutput(ctx *Context, args *LookupIpsecTunnelOutputArgs, opts ...InvokeOption) LookupIpsecTunnelResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetIpsecTunnelResult> getIpsecTunnel(GetIpsecTunnelArgs args, InvokeOptions options)
public static Output<GetIpsecTunnelResult> getIpsecTunnel(GetIpsecTunnelArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: scm:index/getIpsecTunnel:getIpsecTunnel
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Id This property is required. string
The Id param.
Folder string
The Folder param.
Id This property is required. string
The Id param.
Folder string
The Folder param.
id This property is required. String
The Id param.
folder String
The Folder param.
id This property is required. string
The Id param.
folder string
The Folder param.
id This property is required. str
The Id param.
folder str
The Folder param.
id This property is required. String
The Id param.
folder String
The Folder param.

getIpsecTunnel Result

The following output properties are available:

AntiReplay bool
Enable Anti-Replay check on this tunnel.
AutoKey GetIpsecTunnelAutoKey
The AutoKey param.
CopyTos bool
Copy IP TOS bits from inner packet to IPSec packet (not recommended). Default: false.
EnableGreEncapsulation bool
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 GetIpsecTunnelTunnelMonitor
The TunnelMonitor param.
Folder string
The Folder param.
AntiReplay bool
Enable Anti-Replay check on this tunnel.
AutoKey GetIpsecTunnelAutoKey
The AutoKey param.
CopyTos bool
Copy IP TOS bits from inner packet to IPSec packet (not recommended). Default: false.
EnableGreEncapsulation bool
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 GetIpsecTunnelTunnelMonitor
The TunnelMonitor param.
Folder string
The Folder param.
antiReplay Boolean
Enable Anti-Replay check on this tunnel.
autoKey GetIpsecTunnelAutoKey
The AutoKey param.
copyTos Boolean
Copy IP TOS bits from inner packet to IPSec packet (not recommended). Default: false.
enableGreEncapsulation Boolean
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 GetIpsecTunnelTunnelMonitor
The TunnelMonitor param.
folder String
The Folder param.
antiReplay boolean
Enable Anti-Replay check on this tunnel.
autoKey GetIpsecTunnelAutoKey
The AutoKey param.
copyTos boolean
Copy IP TOS bits from inner packet to IPSec packet (not recommended). Default: false.
enableGreEncapsulation boolean
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 GetIpsecTunnelTunnelMonitor
The TunnelMonitor param.
folder string
The Folder param.
anti_replay bool
Enable Anti-Replay check on this tunnel.
auto_key GetIpsecTunnelAutoKey
The AutoKey param.
copy_tos bool
Copy IP TOS bits from inner packet to IPSec packet (not recommended). Default: false.
enable_gre_encapsulation bool
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 GetIpsecTunnelTunnelMonitor
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.
enableGreEncapsulation Boolean
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 This property is required. List<GetIpsecTunnelAutoKeyIkeGateway>
The IkeGateways param.
IpsecCryptoProfile This property is required. string
The IpsecCryptoProfile param.
ProxyIdV6s This property is required. List<GetIpsecTunnelAutoKeyProxyIdV6>
IPv6 type of proxy*id values.
ProxyIds This property is required. List<GetIpsecTunnelAutoKeyProxyId>
IPv4 type of proxy*id values.
IkeGateways This property is required. []GetIpsecTunnelAutoKeyIkeGateway
The IkeGateways param.
IpsecCryptoProfile This property is required. string
The IpsecCryptoProfile param.
ProxyIdV6s This property is required. []GetIpsecTunnelAutoKeyProxyIdV6
IPv6 type of proxy*id values.
ProxyIds This property is required. []GetIpsecTunnelAutoKeyProxyId
IPv4 type of proxy*id values.
ikeGateways This property is required. List<GetIpsecTunnelAutoKeyIkeGateway>
The IkeGateways param.
ipsecCryptoProfile This property is required. String
The IpsecCryptoProfile param.
proxyIdV6s This property is required. List<GetIpsecTunnelAutoKeyProxyIdV6>
IPv6 type of proxy*id values.
proxyIds This property is required. List<GetIpsecTunnelAutoKeyProxyId>
IPv4 type of proxy*id values.
ikeGateways This property is required. GetIpsecTunnelAutoKeyIkeGateway[]
The IkeGateways param.
ipsecCryptoProfile This property is required. string
The IpsecCryptoProfile param.
proxyIdV6s This property is required. GetIpsecTunnelAutoKeyProxyIdV6[]
IPv6 type of proxy*id values.
proxyIds This property is required. GetIpsecTunnelAutoKeyProxyId[]
IPv4 type of proxy*id values.
ike_gateways This property is required. Sequence[GetIpsecTunnelAutoKeyIkeGateway]
The IkeGateways param.
ipsec_crypto_profile This property is required. str
The IpsecCryptoProfile param.
proxy_id_v6s This property is required. Sequence[GetIpsecTunnelAutoKeyProxyIdV6]
IPv6 type of proxy*id values.
proxy_ids This property is required. Sequence[GetIpsecTunnelAutoKeyProxyId]
IPv4 type of proxy*id values.
ikeGateways This property is required. List<Property Map>
The IkeGateways param.
ipsecCryptoProfile This property is required. String
The IpsecCryptoProfile param.
proxyIdV6s This property is required. List<Property Map>
IPv6 type of proxy*id values.
proxyIds This property is required. List<Property Map>
IPv4 type of proxy*id values.

GetIpsecTunnelAutoKeyIkeGateway

Name This property is required. string
The Name param.
Name This property is required. string
The Name param.
name This property is required. String
The Name param.
name This property is required. string
The Name param.
name This property is required. str
The Name param.
name This property is required. String
The Name param.

GetIpsecTunnelAutoKeyProxyId

Local This property is required. string
The Local param.
Name This property is required. string
The Name param.
Protocol This property is required. GetIpsecTunnelAutoKeyProxyIdProtocol
The Protocol param.
Remote This property is required. string
The Remote param.
Local This property is required. string
The Local param.
Name This property is required. string
The Name param.
Protocol This property is required. GetIpsecTunnelAutoKeyProxyIdProtocol
The Protocol param.
Remote This property is required. string
The Remote param.
local This property is required. String
The Local param.
name This property is required. String
The Name param.
protocol This property is required. GetIpsecTunnelAutoKeyProxyIdProtocol
The Protocol param.
remote This property is required. String
The Remote param.
local This property is required. string
The Local param.
name This property is required. string
The Name param.
protocol This property is required. GetIpsecTunnelAutoKeyProxyIdProtocol
The Protocol param.
remote This property is required. string
The Remote param.
local This property is required. str
The Local param.
name This property is required. str
The Name param.
protocol This property is required. GetIpsecTunnelAutoKeyProxyIdProtocol
The Protocol param.
remote This property is required. str
The Remote param.
local This property is required. String
The Local param.
name This property is required. String
The Name param.
protocol This property is required. Property Map
The Protocol param.
remote This property is required. String
The Remote param.

GetIpsecTunnelAutoKeyProxyIdProtocol

Number This property is required. int
IP protocol number. Value must be between 1 and 254.
Tcp This property is required. GetIpsecTunnelAutoKeyProxyIdProtocolTcp
The Tcp param.
Udp This property is required. GetIpsecTunnelAutoKeyProxyIdProtocolUdp
The Udp param.
Number This property is required. int
IP protocol number. Value must be between 1 and 254.
Tcp This property is required. GetIpsecTunnelAutoKeyProxyIdProtocolTcp
The Tcp param.
Udp This property is required. GetIpsecTunnelAutoKeyProxyIdProtocolUdp
The Udp param.
number This property is required. Integer
IP protocol number. Value must be between 1 and 254.
tcp This property is required. GetIpsecTunnelAutoKeyProxyIdProtocolTcp
The Tcp param.
udp This property is required. GetIpsecTunnelAutoKeyProxyIdProtocolUdp
The Udp param.
number This property is required. number
IP protocol number. Value must be between 1 and 254.
tcp This property is required. GetIpsecTunnelAutoKeyProxyIdProtocolTcp
The Tcp param.
udp This property is required. GetIpsecTunnelAutoKeyProxyIdProtocolUdp
The Udp param.
number This property is required. int
IP protocol number. Value must be between 1 and 254.
tcp This property is required. GetIpsecTunnelAutoKeyProxyIdProtocolTcp
The Tcp param.
udp This property is required. GetIpsecTunnelAutoKeyProxyIdProtocolUdp
The Udp param.
number This property is required. Number
IP protocol number. Value must be between 1 and 254.
tcp This property is required. Property Map
The Tcp param.
udp This property is required. Property Map
The Udp param.

GetIpsecTunnelAutoKeyProxyIdProtocolTcp

LocalPort This property is required. int
The LocalPort param. Value must be between 0 and 65535. Default: 0.
RemotePort This property is required. int
The RemotePort param. Value must be between 0 and 65535. Default: 0.
LocalPort This property is required. int
The LocalPort param. Value must be between 0 and 65535. Default: 0.
RemotePort This property is required. int
The RemotePort param. Value must be between 0 and 65535. Default: 0.
localPort This property is required. Integer
The LocalPort param. Value must be between 0 and 65535. Default: 0.
remotePort This property is required. Integer
The RemotePort param. Value must be between 0 and 65535. Default: 0.
localPort This property is required. number
The LocalPort param. Value must be between 0 and 65535. Default: 0.
remotePort This property is required. number
The RemotePort param. Value must be between 0 and 65535. Default: 0.
local_port This property is required. int
The LocalPort param. Value must be between 0 and 65535. Default: 0.
remote_port This property is required. int
The RemotePort param. Value must be between 0 and 65535. Default: 0.
localPort This property is required. Number
The LocalPort param. Value must be between 0 and 65535. Default: 0.
remotePort This property is required. Number
The RemotePort param. Value must be between 0 and 65535. Default: 0.

GetIpsecTunnelAutoKeyProxyIdProtocolUdp

LocalPort This property is required. int
The LocalPort param. Value must be between 0 and 65535. Default: 0.
RemotePort This property is required. int
The RemotePort param. Value must be between 0 and 65535. Default: 0.
LocalPort This property is required. int
The LocalPort param. Value must be between 0 and 65535. Default: 0.
RemotePort This property is required. int
The RemotePort param. Value must be between 0 and 65535. Default: 0.
localPort This property is required. Integer
The LocalPort param. Value must be between 0 and 65535. Default: 0.
remotePort This property is required. Integer
The RemotePort param. Value must be between 0 and 65535. Default: 0.
localPort This property is required. number
The LocalPort param. Value must be between 0 and 65535. Default: 0.
remotePort This property is required. number
The RemotePort param. Value must be between 0 and 65535. Default: 0.
local_port This property is required. int
The LocalPort param. Value must be between 0 and 65535. Default: 0.
remote_port This property is required. int
The RemotePort param. Value must be between 0 and 65535. Default: 0.
localPort This property is required. Number
The LocalPort param. Value must be between 0 and 65535. Default: 0.
remotePort This property is required. Number
The RemotePort param. Value must be between 0 and 65535. Default: 0.

GetIpsecTunnelAutoKeyProxyIdV6

Local This property is required. string
The Local param.
Name This property is required. string
The Name param.
Protocol This property is required. GetIpsecTunnelAutoKeyProxyIdV6Protocol
The Protocol param.
Remote This property is required. string
The Remote param.
Local This property is required. string
The Local param.
Name This property is required. string
The Name param.
Protocol This property is required. GetIpsecTunnelAutoKeyProxyIdV6Protocol
The Protocol param.
Remote This property is required. string
The Remote param.
local This property is required. String
The Local param.
name This property is required. String
The Name param.
protocol This property is required. GetIpsecTunnelAutoKeyProxyIdV6Protocol
The Protocol param.
remote This property is required. String
The Remote param.
local This property is required. string
The Local param.
name This property is required. string
The Name param.
protocol This property is required. GetIpsecTunnelAutoKeyProxyIdV6Protocol
The Protocol param.
remote This property is required. string
The Remote param.
local This property is required. str
The Local param.
name This property is required. str
The Name param.
protocol This property is required. GetIpsecTunnelAutoKeyProxyIdV6Protocol
The Protocol param.
remote This property is required. str
The Remote param.
local This property is required. String
The Local param.
name This property is required. String
The Name param.
protocol This property is required. Property Map
The Protocol param.
remote This property is required. String
The Remote param.

GetIpsecTunnelAutoKeyProxyIdV6Protocol

Number This property is required. int
IP protocol number. Value must be between 1 and 254.
Tcp This property is required. GetIpsecTunnelAutoKeyProxyIdV6ProtocolTcp
The Tcp param.
Udp This property is required. GetIpsecTunnelAutoKeyProxyIdV6ProtocolUdp
The Udp param.
Number This property is required. int
IP protocol number. Value must be between 1 and 254.
Tcp This property is required. GetIpsecTunnelAutoKeyProxyIdV6ProtocolTcp
The Tcp param.
Udp This property is required. GetIpsecTunnelAutoKeyProxyIdV6ProtocolUdp
The Udp param.
number This property is required. Integer
IP protocol number. Value must be between 1 and 254.
tcp This property is required. GetIpsecTunnelAutoKeyProxyIdV6ProtocolTcp
The Tcp param.
udp This property is required. GetIpsecTunnelAutoKeyProxyIdV6ProtocolUdp
The Udp param.
number This property is required. number
IP protocol number. Value must be between 1 and 254.
tcp This property is required. GetIpsecTunnelAutoKeyProxyIdV6ProtocolTcp
The Tcp param.
udp This property is required. GetIpsecTunnelAutoKeyProxyIdV6ProtocolUdp
The Udp param.
number This property is required. int
IP protocol number. Value must be between 1 and 254.
tcp This property is required. GetIpsecTunnelAutoKeyProxyIdV6ProtocolTcp
The Tcp param.
udp This property is required. GetIpsecTunnelAutoKeyProxyIdV6ProtocolUdp
The Udp param.
number This property is required. Number
IP protocol number. Value must be between 1 and 254.
tcp This property is required. Property Map
The Tcp param.
udp This property is required. Property Map
The Udp param.

GetIpsecTunnelAutoKeyProxyIdV6ProtocolTcp

LocalPort This property is required. int
The LocalPort param. Value must be between 0 and 65535. Default: 0.
RemotePort This property is required. int
The RemotePort param. Value must be between 0 and 65535. Default: 0.
LocalPort This property is required. int
The LocalPort param. Value must be between 0 and 65535. Default: 0.
RemotePort This property is required. int
The RemotePort param. Value must be between 0 and 65535. Default: 0.
localPort This property is required. Integer
The LocalPort param. Value must be between 0 and 65535. Default: 0.
remotePort This property is required. Integer
The RemotePort param. Value must be between 0 and 65535. Default: 0.
localPort This property is required. number
The LocalPort param. Value must be between 0 and 65535. Default: 0.
remotePort This property is required. number
The RemotePort param. Value must be between 0 and 65535. Default: 0.
local_port This property is required. int
The LocalPort param. Value must be between 0 and 65535. Default: 0.
remote_port This property is required. int
The RemotePort param. Value must be between 0 and 65535. Default: 0.
localPort This property is required. Number
The LocalPort param. Value must be between 0 and 65535. Default: 0.
remotePort This property is required. Number
The RemotePort param. Value must be between 0 and 65535. Default: 0.

GetIpsecTunnelAutoKeyProxyIdV6ProtocolUdp

LocalPort This property is required. int
The LocalPort param. Value must be between 0 and 65535. Default: 0.
RemotePort This property is required. int
The RemotePort param. Value must be between 0 and 65535. Default: 0.
LocalPort This property is required. int
The LocalPort param. Value must be between 0 and 65535. Default: 0.
RemotePort This property is required. int
The RemotePort param. Value must be between 0 and 65535. Default: 0.
localPort This property is required. Integer
The LocalPort param. Value must be between 0 and 65535. Default: 0.
remotePort This property is required. Integer
The RemotePort param. Value must be between 0 and 65535. Default: 0.
localPort This property is required. number
The LocalPort param. Value must be between 0 and 65535. Default: 0.
remotePort This property is required. number
The RemotePort param. Value must be between 0 and 65535. Default: 0.
local_port This property is required. int
The LocalPort param. Value must be between 0 and 65535. Default: 0.
remote_port This property is required. int
The RemotePort param. Value must be between 0 and 65535. Default: 0.
localPort This property is required. Number
The LocalPort param. Value must be between 0 and 65535. Default: 0.
remotePort This property is required. Number
The RemotePort param. Value must be between 0 and 65535. Default: 0.

GetIpsecTunnelTunnelMonitor

DestinationIp This property is required. string
Destination IP to send ICMP probe.
Enable This property is required. bool
Enable tunnel monitoring on this tunnel. Default: true.
ProxyId This property is required. string
Which proxy-id (or proxy-id-v6) the monitoring traffic will use.
DestinationIp This property is required. string
Destination IP to send ICMP probe.
Enable This property is required. bool
Enable tunnel monitoring on this tunnel. Default: true.
ProxyId This property is required. string
Which proxy-id (or proxy-id-v6) the monitoring traffic will use.
destinationIp This property is required. String
Destination IP to send ICMP probe.
enable This property is required. Boolean
Enable tunnel monitoring on this tunnel. Default: true.
proxyId This property is required. String
Which proxy-id (or proxy-id-v6) the monitoring traffic will use.
destinationIp This property is required. string
Destination IP to send ICMP probe.
enable This property is required. boolean
Enable tunnel monitoring on this tunnel. Default: true.
proxyId This property is required. string
Which proxy-id (or proxy-id-v6) the monitoring traffic will use.
destination_ip This property is required. str
Destination IP to send ICMP probe.
enable This property is required. bool
Enable tunnel monitoring on this tunnel. Default: true.
proxy_id This property is required. str
Which proxy-id (or proxy-id-v6) the monitoring traffic will use.
destinationIp This property is required. String
Destination IP to send ICMP probe.
enable This property is required. Boolean
Enable tunnel monitoring on this tunnel. Default: true.
proxyId This property is required. 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.
Strata Cloud Manager v0.3.1 published on Thursday, Mar 13, 2025 by Pulumi