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 dictionary
The 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 This property is required. List<GetIpsec Tunnel Auto Key Ike Gateway> - The IkeGateways param.
- Ipsec
Crypto Profile This property is required. string - The IpsecCryptoProfile param.
- Proxy
Id V6s This property is required. List<GetIpsec Tunnel Auto Key Proxy Id V6> - IPv6 type of proxy*id values.
- Proxy
Ids This property is required. List<GetIpsec Tunnel Auto Key Proxy Id> - IPv4 type of proxy*id values.
- Ike
Gateways This property is required. []GetIpsec Tunnel Auto Key Ike Gateway - The IkeGateways param.
- Ipsec
Crypto Profile This property is required. string - The IpsecCryptoProfile param.
- Proxy
Id V6s This property is required. []GetIpsec Tunnel Auto Key Proxy Id V6 - IPv6 type of proxy*id values.
- Proxy
Ids This property is required. []GetIpsec Tunnel Auto Key Proxy Id - IPv4 type of proxy*id values.
- ike
Gateways This property is required. List<GetIpsec Tunnel Auto Key Ike Gateway> - The IkeGateways param.
- ipsec
Crypto Profile This property is required. String - The IpsecCryptoProfile param.
- proxy
Id V6s This property is required. List<GetIpsec Tunnel Auto Key Proxy Id V6> - IPv6 type of proxy*id values.
- proxy
Ids This property is required. List<GetIpsec Tunnel Auto Key Proxy Id> - IPv4 type of proxy*id values.
- ike
Gateways This property is required. GetIpsec Tunnel Auto Key Ike Gateway[] - The IkeGateways param.
- ipsec
Crypto Profile This property is required. string - The IpsecCryptoProfile param.
- proxy
Id V6s This property is required. GetIpsec Tunnel Auto Key Proxy Id V6[] - IPv6 type of proxy*id values.
- proxy
Ids This property is required. GetIpsec Tunnel Auto Key Proxy Id[] - IPv4 type of proxy*id values.
- ike_
gateways This property is required. Sequence[GetIpsec Tunnel Auto Key Ike Gateway] - The IkeGateways param.
- ipsec_
crypto_ profile This property is required. str - The IpsecCryptoProfile param.
- proxy_
id_ v6s This property is required. Sequence[GetIpsec Tunnel Auto Key Proxy Id V6] - IPv6 type of proxy*id values.
- proxy_
ids This property is required. Sequence[GetIpsec Tunnel Auto Key Proxy Id] - IPv4 type of proxy*id values.
- ike
Gateways This property is required. List<Property Map> - The IkeGateways param.
- ipsec
Crypto Profile This property is required. String - The IpsecCryptoProfile param.
- proxy
Id V6s This property is required. List<Property Map> - IPv6 type of proxy*id values.
- proxy
Ids 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. GetIpsec Tunnel Auto Key Proxy Id Protocol - 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. GetIpsec Tunnel Auto Key Proxy Id Protocol - 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. GetIpsec Tunnel Auto Key Proxy Id Protocol - 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. GetIpsec Tunnel Auto Key Proxy Id Protocol - 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. GetIpsec Tunnel Auto Key Proxy Id Protocol - 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. GetIpsec Tunnel Auto Key Proxy Id Protocol Tcp - The Tcp param.
- Udp
This property is required. GetIpsec Tunnel Auto Key Proxy Id Protocol Udp - The Udp param.
- Number
This property is required. int - IP protocol number. Value must be between 1 and 254.
- Tcp
This property is required. GetIpsec Tunnel Auto Key Proxy Id Protocol Tcp - The Tcp param.
- Udp
This property is required. GetIpsec Tunnel Auto Key Proxy Id Protocol Udp - The Udp param.
- number
This property is required. Integer - IP protocol number. Value must be between 1 and 254.
- tcp
This property is required. GetIpsec Tunnel Auto Key Proxy Id Protocol Tcp - The Tcp param.
- udp
This property is required. GetIpsec Tunnel Auto Key Proxy Id Protocol Udp - The Udp param.
- number
This property is required. number - IP protocol number. Value must be between 1 and 254.
- tcp
This property is required. GetIpsec Tunnel Auto Key Proxy Id Protocol Tcp - The Tcp param.
- udp
This property is required. GetIpsec Tunnel Auto Key Proxy Id Protocol Udp - The Udp param.
- number
This property is required. int - IP protocol number. Value must be between 1 and 254.
- tcp
This property is required. GetIpsec Tunnel Auto Key Proxy Id Protocol Tcp - The Tcp param.
- udp
This property is required. GetIpsec Tunnel Auto Key Proxy Id Protocol Udp - 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
- 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
.
- 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
.
- local
Port This property is required. Integer - The LocalPort param. Value must be between 0 and 65535. Default:
0
. - remote
Port This property is required. Integer - The RemotePort param. Value must be between 0 and 65535. Default:
0
.
- local
Port This property is required. number - The LocalPort param. Value must be between 0 and 65535. Default:
0
. - remote
Port 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
.
- local
Port This property is required. Number - The LocalPort param. Value must be between 0 and 65535. Default:
0
. - remote
Port This property is required. Number - The RemotePort param. Value must be between 0 and 65535. Default:
0
.
GetIpsecTunnelAutoKeyProxyIdProtocolUdp
- 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
.
- 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
.
- local
Port This property is required. Integer - The LocalPort param. Value must be between 0 and 65535. Default:
0
. - remote
Port This property is required. Integer - The RemotePort param. Value must be between 0 and 65535. Default:
0
.
- local
Port This property is required. number - The LocalPort param. Value must be between 0 and 65535. Default:
0
. - remote
Port 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
.
- local
Port This property is required. Number - The LocalPort param. Value must be between 0 and 65535. Default:
0
. - remote
Port 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. GetIpsec Tunnel Auto Key Proxy Id V6Protocol - 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. GetIpsec Tunnel Auto Key Proxy Id V6Protocol - 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. GetIpsec Tunnel Auto Key Proxy Id V6Protocol - 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. GetIpsec Tunnel Auto Key Proxy Id V6Protocol - 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. GetIpsec Tunnel Auto Key Proxy Id V6Protocol - 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. GetIpsec Tunnel Auto Key Proxy Id V6Protocol Tcp - The Tcp param.
- Udp
This property is required. GetIpsec Tunnel Auto Key Proxy Id V6Protocol Udp - The Udp param.
- Number
This property is required. int - IP protocol number. Value must be between 1 and 254.
- Tcp
This property is required. GetIpsec Tunnel Auto Key Proxy Id V6Protocol Tcp - The Tcp param.
- Udp
This property is required. GetIpsec Tunnel Auto Key Proxy Id V6Protocol Udp - The Udp param.
- number
This property is required. Integer - IP protocol number. Value must be between 1 and 254.
- tcp
This property is required. GetIpsec Tunnel Auto Key Proxy Id V6Protocol Tcp - The Tcp param.
- udp
This property is required. GetIpsec Tunnel Auto Key Proxy Id V6Protocol Udp - The Udp param.
- number
This property is required. number - IP protocol number. Value must be between 1 and 254.
- tcp
This property is required. GetIpsec Tunnel Auto Key Proxy Id V6Protocol Tcp - The Tcp param.
- udp
This property is required. GetIpsec Tunnel Auto Key Proxy Id V6Protocol Udp - The Udp param.
- number
This property is required. int - IP protocol number. Value must be between 1 and 254.
- tcp
This property is required. GetIpsec Tunnel Auto Key Proxy Id V6Protocol Tcp - The Tcp param.
- udp
This property is required. GetIpsec Tunnel Auto Key Proxy Id V6Protocol Udp - 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
- 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
.
- 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
.
- local
Port This property is required. Integer - The LocalPort param. Value must be between 0 and 65535. Default:
0
. - remote
Port This property is required. Integer - The RemotePort param. Value must be between 0 and 65535. Default:
0
.
- local
Port This property is required. number - The LocalPort param. Value must be between 0 and 65535. Default:
0
. - remote
Port 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
.
- local
Port This property is required. Number - The LocalPort param. Value must be between 0 and 65535. Default:
0
. - remote
Port This property is required. Number - The RemotePort param. Value must be between 0 and 65535. Default:
0
.
GetIpsecTunnelAutoKeyProxyIdV6ProtocolUdp
- 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
.
- 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
.
- local
Port This property is required. Integer - The LocalPort param. Value must be between 0 and 65535. Default:
0
. - remote
Port This property is required. Integer - The RemotePort param. Value must be between 0 and 65535. Default:
0
.
- local
Port This property is required. number - The LocalPort param. Value must be between 0 and 65535. Default:
0
. - remote
Port 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
.
- local
Port This property is required. Number - The LocalPort param. Value must be between 0 and 65535. Default:
0
. - remote
Port This property is required. Number - The RemotePort param. Value must be between 0 and 65535. Default:
0
.
GetIpsecTunnelTunnelMonitor
- Destination
Ip 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
. - Proxy
Id This property is required. string - Which proxy-id (or proxy-id-v6) the monitoring traffic will use.
- Destination
Ip 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
. - Proxy
Id This property is required. string - Which proxy-id (or proxy-id-v6) the monitoring traffic will use.
- destination
Ip 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
. - proxy
Id This property is required. String - Which proxy-id (or proxy-id-v6) the monitoring traffic will use.
- destination
Ip 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
. - proxy
Id 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.
- destination
Ip 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
. - proxy
Id 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.