1. Packages
  2. Strata Cloud Manager
  3. API Docs
  4. getIpsecTunnel
Strata Cloud Manager v0.1.1 published on Friday, May 31, 2024 by Pulumi

scm.getIpsecTunnel

Explore with Pulumi AI

scm logo
Strata Cloud Manager v0.1.1 published on Friday, May 31, 2024 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",
    });
    
    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: scm:index/getIpsecTunnel:getIpsecTunnel
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The Id param.
    Folder string
    The Folder param.
    Id string
    The Id param.
    Folder string
    The Folder param.
    id String
    The Id param.
    folder String
    The Folder param.
    id string
    The Id param.
    folder string
    The Folder param.
    id str
    The Id param.
    folder str
    The Folder param.
    id 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 List<GetIpsecTunnelAutoKeyIkeGateway>
    The IkeGateways param.
    IpsecCryptoProfile string
    The IpsecCryptoProfile param.
    ProxyIdV6s List<GetIpsecTunnelAutoKeyProxyIdV6>
    IPv6 type of proxy*id values.
    ProxyIds List<GetIpsecTunnelAutoKeyProxyId>
    IPv4 type of proxy*id values.
    IkeGateways []GetIpsecTunnelAutoKeyIkeGateway
    The IkeGateways param.
    IpsecCryptoProfile string
    The IpsecCryptoProfile param.
    ProxyIdV6s []GetIpsecTunnelAutoKeyProxyIdV6
    IPv6 type of proxy*id values.
    ProxyIds []GetIpsecTunnelAutoKeyProxyId
    IPv4 type of proxy*id values.
    ikeGateways List<GetIpsecTunnelAutoKeyIkeGateway>
    The IkeGateways param.
    ipsecCryptoProfile String
    The IpsecCryptoProfile param.
    proxyIdV6s List<GetIpsecTunnelAutoKeyProxyIdV6>
    IPv6 type of proxy*id values.
    proxyIds List<GetIpsecTunnelAutoKeyProxyId>
    IPv4 type of proxy*id values.
    ikeGateways GetIpsecTunnelAutoKeyIkeGateway[]
    The IkeGateways param.
    ipsecCryptoProfile string
    The IpsecCryptoProfile param.
    proxyIdV6s GetIpsecTunnelAutoKeyProxyIdV6[]
    IPv6 type of proxy*id values.
    proxyIds GetIpsecTunnelAutoKeyProxyId[]
    IPv4 type of proxy*id values.
    ike_gateways Sequence[GetIpsecTunnelAutoKeyIkeGateway]
    The IkeGateways param.
    ipsec_crypto_profile str
    The IpsecCryptoProfile param.
    proxy_id_v6s Sequence[GetIpsecTunnelAutoKeyProxyIdV6]
    IPv6 type of proxy*id values.
    proxy_ids Sequence[GetIpsecTunnelAutoKeyProxyId]
    IPv4 type of proxy*id values.
    ikeGateways List<Property Map>
    The IkeGateways param.
    ipsecCryptoProfile String
    The IpsecCryptoProfile param.
    proxyIdV6s List<Property Map>
    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 GetIpsecTunnelAutoKeyProxyIdProtocol
    The Protocol param.
    Remote string
    The Remote param.
    Local string
    The Local param.
    Name string
    The Name param.
    Protocol GetIpsecTunnelAutoKeyProxyIdProtocol
    The Protocol param.
    Remote string
    The Remote param.
    local String
    The Local param.
    name String
    The Name param.
    protocol GetIpsecTunnelAutoKeyProxyIdProtocol
    The Protocol param.
    remote String
    The Remote param.
    local string
    The Local param.
    name string
    The Name param.
    protocol GetIpsecTunnelAutoKeyProxyIdProtocol
    The Protocol param.
    remote string
    The Remote param.
    local str
    The Local param.
    name str
    The Name param.
    protocol GetIpsecTunnelAutoKeyProxyIdProtocol
    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 GetIpsecTunnelAutoKeyProxyIdProtocolTcp
    The Tcp param.
    Udp GetIpsecTunnelAutoKeyProxyIdProtocolUdp
    The Udp param.
    Number int
    IP protocol number. Value must be between 1 and 254.
    Tcp GetIpsecTunnelAutoKeyProxyIdProtocolTcp
    The Tcp param.
    Udp GetIpsecTunnelAutoKeyProxyIdProtocolUdp
    The Udp param.
    number Integer
    IP protocol number. Value must be between 1 and 254.
    tcp GetIpsecTunnelAutoKeyProxyIdProtocolTcp
    The Tcp param.
    udp GetIpsecTunnelAutoKeyProxyIdProtocolUdp
    The Udp param.
    number number
    IP protocol number. Value must be between 1 and 254.
    tcp GetIpsecTunnelAutoKeyProxyIdProtocolTcp
    The Tcp param.
    udp GetIpsecTunnelAutoKeyProxyIdProtocolUdp
    The Udp param.
    number int
    IP protocol number. Value must be between 1 and 254.
    tcp GetIpsecTunnelAutoKeyProxyIdProtocolTcp
    The Tcp param.
    udp GetIpsecTunnelAutoKeyProxyIdProtocolUdp
    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 GetIpsecTunnelAutoKeyProxyIdV6Protocol
    The Protocol param.
    Remote string
    The Remote param.
    Local string
    The Local param.
    Name string
    The Name param.
    Protocol GetIpsecTunnelAutoKeyProxyIdV6Protocol
    The Protocol param.
    Remote string
    The Remote param.
    local String
    The Local param.
    name String
    The Name param.
    protocol GetIpsecTunnelAutoKeyProxyIdV6Protocol
    The Protocol param.
    remote String
    The Remote param.
    local string
    The Local param.
    name string
    The Name param.
    protocol GetIpsecTunnelAutoKeyProxyIdV6Protocol
    The Protocol param.
    remote string
    The Remote param.
    local str
    The Local param.
    name str
    The Name param.
    protocol GetIpsecTunnelAutoKeyProxyIdV6Protocol
    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 GetIpsecTunnelAutoKeyProxyIdV6ProtocolTcp
    The Tcp param.
    Udp GetIpsecTunnelAutoKeyProxyIdV6ProtocolUdp
    The Udp param.
    Number int
    IP protocol number. Value must be between 1 and 254.
    Tcp GetIpsecTunnelAutoKeyProxyIdV6ProtocolTcp
    The Tcp param.
    Udp GetIpsecTunnelAutoKeyProxyIdV6ProtocolUdp
    The Udp param.
    number Integer
    IP protocol number. Value must be between 1 and 254.
    tcp GetIpsecTunnelAutoKeyProxyIdV6ProtocolTcp
    The Tcp param.
    udp GetIpsecTunnelAutoKeyProxyIdV6ProtocolUdp
    The Udp param.
    number number
    IP protocol number. Value must be between 1 and 254.
    tcp GetIpsecTunnelAutoKeyProxyIdV6ProtocolTcp
    The Tcp param.
    udp GetIpsecTunnelAutoKeyProxyIdV6ProtocolUdp
    The Udp param.
    number int
    IP protocol number. Value must be between 1 and 254.
    tcp GetIpsecTunnelAutoKeyProxyIdV6ProtocolTcp
    The Tcp param.
    udp GetIpsecTunnelAutoKeyProxyIdV6ProtocolUdp
    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 scm Terraform Provider.
    scm logo
    Strata Cloud Manager v0.1.1 published on Friday, May 31, 2024 by Pulumi