Oracle Cloud Infrastructure
getIpsecConnectionTunnel
This data source provides details about a specific Ip Sec Connection Tunnel resource in Oracle Cloud Infrastructure Core service.
Gets the specified IPSec connection’s specified tunnel basic information.
Example Usage
using Pulumi;
using Oci = Pulumi.Oci;
class MyStack : Stack
{
public MyStack()
{
var testIpSecConnectionTunnel = Output.Create(Oci.Core.GetIpsecConnectionTunnel.InvokeAsync(new Oci.Core.GetIpsecConnectionTunnelArgs
{
IpsecId = oci_core_ipsec.Test_ipsec.Id,
TunnelId = data.Oci_core_ipsec_connection_tunnels.Test_ip_sec_connection_tunnels.Ip_sec_connection_tunnels[0].Id,
}));
}
}
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/Core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := Core.GetIpsecConnectionTunnel(ctx, &core.GetIpsecConnectionTunnelArgs{
IpsecId: oci_core_ipsec.Test_ipsec.Id,
TunnelId: data.Oci_core_ipsec_connection_tunnels.Test_ip_sec_connection_tunnels.Ip_sec_connection_tunnels[0].Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_oci as oci
test_ip_sec_connection_tunnel = oci.Core.get_ipsec_connection_tunnel(ipsec_id=oci_core_ipsec["test_ipsec"]["id"],
tunnel_id=data["oci_core_ipsec_connection_tunnels"]["test_ip_sec_connection_tunnels"]["ip_sec_connection_tunnels"][0]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testIpSecConnectionTunnel = oci.Core.getIpsecConnectionTunnel({
ipsecId: oci_core_ipsec.test_ipsec.id,
tunnelId: data.oci_core_ipsec_connection_tunnels.test_ip_sec_connection_tunnels.ip_sec_connection_tunnels[0].id,
});
Coming soon!
Using getIpsecConnectionTunnel
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 getIpsecConnectionTunnel(args: GetIpsecConnectionTunnelArgs, opts?: InvokeOptions): Promise<GetIpsecConnectionTunnelResult>
function getIpsecConnectionTunnelOutput(args: GetIpsecConnectionTunnelOutputArgs, opts?: InvokeOptions): Output<GetIpsecConnectionTunnelResult>
def get_ipsec_connection_tunnel(ipsec_id: Optional[str] = None,
tunnel_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIpsecConnectionTunnelResult
def get_ipsec_connection_tunnel_output(ipsec_id: Optional[pulumi.Input[str]] = None,
tunnel_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIpsecConnectionTunnelResult]
func GetIpsecConnectionTunnel(ctx *Context, args *GetIpsecConnectionTunnelArgs, opts ...InvokeOption) (*GetIpsecConnectionTunnelResult, error)
func GetIpsecConnectionTunnelOutput(ctx *Context, args *GetIpsecConnectionTunnelOutputArgs, opts ...InvokeOption) GetIpsecConnectionTunnelResultOutput
> Note: This function is named GetIpsecConnectionTunnel
in the Go SDK.
public static class GetIpsecConnectionTunnel
{
public static Task<GetIpsecConnectionTunnelResult> InvokeAsync(GetIpsecConnectionTunnelArgs args, InvokeOptions? opts = null)
public static Output<GetIpsecConnectionTunnelResult> Invoke(GetIpsecConnectionTunnelInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetIpsecConnectionTunnelResult> getIpsecConnectionTunnel(GetIpsecConnectionTunnelArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
Function: oci:Core/getIpsecConnectionTunnel:getIpsecConnectionTunnel
Arguments:
# Arguments dictionary
The following arguments are supported:
getIpsecConnectionTunnel Result
The following output properties are available:
- Bgp
Session List<GetInfos Ipsec Connection Tunnel Bgp Session Info> Information needed to establish a BGP Session on an interface.
- Compartment
Id string The OCID of the compartment containing the tunnel.
- Cpe
Ip string The IP address of Cpe headend. Example:
129.146.17.50
- Display
Name string A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Encryption
Domain List<GetConfigs Ipsec Connection Tunnel Encryption Domain Config> Configuration information used by the encryption domain policy.
- Id string
The provider-assigned unique ID for this managed resource.
- Ike
Version string Internet Key Exchange protocol version.
- Ipsec
Id string - Routing string
the routing strategy used for this tunnel, either static route or BGP dynamic routing
- State string
The IPSec connection's tunnel's lifecycle state.
- Status string
The tunnel's current state.
- Time
Created string The date and time the IPSec connection tunnel was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- Time
Status stringUpdated When the status of the tunnel last changed, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- Tunnel
Id string - Vpn
Ip string The IP address of Oracle's VPN headend. Example:
129.146.17.50
- Bgp
Session []GetInfos Ipsec Connection Tunnel Bgp Session Info Information needed to establish a BGP Session on an interface.
- Compartment
Id string The OCID of the compartment containing the tunnel.
- Cpe
Ip string The IP address of Cpe headend. Example:
129.146.17.50
- Display
Name string A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Encryption
Domain []GetConfigs Ipsec Connection Tunnel Encryption Domain Config Configuration information used by the encryption domain policy.
- Id string
The provider-assigned unique ID for this managed resource.
- Ike
Version string Internet Key Exchange protocol version.
- Ipsec
Id string - Routing string
the routing strategy used for this tunnel, either static route or BGP dynamic routing
- State string
The IPSec connection's tunnel's lifecycle state.
- Status string
The tunnel's current state.
- Time
Created string The date and time the IPSec connection tunnel was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- Time
Status stringUpdated When the status of the tunnel last changed, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- Tunnel
Id string - Vpn
Ip string The IP address of Oracle's VPN headend. Example:
129.146.17.50
- bgp
Session List<GetInfos Ipsec Connection Tunnel Bgp Session Info> Information needed to establish a BGP Session on an interface.
- compartment
Id String The OCID of the compartment containing the tunnel.
- cpe
Ip String The IP address of Cpe headend. Example:
129.146.17.50
- display
Name String A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- encryption
Domain List<GetConfigs Ipsec Connection Tunnel Encryption Domain Config> Configuration information used by the encryption domain policy.
- id String
The provider-assigned unique ID for this managed resource.
- ike
Version String Internet Key Exchange protocol version.
- ipsec
Id String - routing String
the routing strategy used for this tunnel, either static route or BGP dynamic routing
- state String
The IPSec connection's tunnel's lifecycle state.
- status String
The tunnel's current state.
- time
Created String The date and time the IPSec connection tunnel was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- time
Status StringUpdated When the status of the tunnel last changed, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- tunnel
Id String - vpn
Ip String The IP address of Oracle's VPN headend. Example:
129.146.17.50
- bgp
Session GetInfos Ipsec Connection Tunnel Bgp Session Info[] Information needed to establish a BGP Session on an interface.
- compartment
Id string The OCID of the compartment containing the tunnel.
- cpe
Ip string The IP address of Cpe headend. Example:
129.146.17.50
- display
Name string A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- encryption
Domain GetConfigs Ipsec Connection Tunnel Encryption Domain Config[] Configuration information used by the encryption domain policy.
- id string
The provider-assigned unique ID for this managed resource.
- ike
Version string Internet Key Exchange protocol version.
- ipsec
Id string - routing string
the routing strategy used for this tunnel, either static route or BGP dynamic routing
- state string
The IPSec connection's tunnel's lifecycle state.
- status string
The tunnel's current state.
- time
Created string The date and time the IPSec connection tunnel was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- time
Status stringUpdated When the status of the tunnel last changed, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- tunnel
Id string - vpn
Ip string The IP address of Oracle's VPN headend. Example:
129.146.17.50
- bgp_
session_ Getinfos Ipsec Connection Tunnel Bgp Session Info] Information needed to establish a BGP Session on an interface.
- compartment_
id str The OCID of the compartment containing the tunnel.
- cpe_
ip str The IP address of Cpe headend. Example:
129.146.17.50
- display_
name str A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- encryption_
domain_ Getconfigs Ipsec Connection Tunnel Encryption Domain Config] Configuration information used by the encryption domain policy.
- id str
The provider-assigned unique ID for this managed resource.
- ike_
version str Internet Key Exchange protocol version.
- ipsec_
id str - routing str
the routing strategy used for this tunnel, either static route or BGP dynamic routing
- state str
The IPSec connection's tunnel's lifecycle state.
- status str
The tunnel's current state.
- time_
created str The date and time the IPSec connection tunnel was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- time_
status_ strupdated When the status of the tunnel last changed, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- tunnel_
id str - vpn_
ip str The IP address of Oracle's VPN headend. Example:
129.146.17.50
- bgp
Session List<Property Map>Infos Information needed to establish a BGP Session on an interface.
- compartment
Id String The OCID of the compartment containing the tunnel.
- cpe
Ip String The IP address of Cpe headend. Example:
129.146.17.50
- display
Name String A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- encryption
Domain List<Property Map>Configs Configuration information used by the encryption domain policy.
- id String
The provider-assigned unique ID for this managed resource.
- ike
Version String Internet Key Exchange protocol version.
- ipsec
Id String - routing String
the routing strategy used for this tunnel, either static route or BGP dynamic routing
- state String
The IPSec connection's tunnel's lifecycle state.
- status String
The tunnel's current state.
- time
Created String The date and time the IPSec connection tunnel was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- time
Status StringUpdated When the status of the tunnel last changed, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- tunnel
Id String - vpn
Ip String The IP address of Oracle's VPN headend. Example:
129.146.17.50
Supporting Types
GetIpsecConnectionTunnelBgpSessionInfo
- Bgp
State string the state of the BGP.
- Customer
Bgp stringAsn This is the value of the remote Bgp ASN in asplain format, as a string. Example: 1587232876 (4 byte ASN) or 12345 (2 byte ASN)
- Customer
Interface stringIp This is the IPv4 Address used in the BGP peering session for the non-Oracle router. Example: 10.0.0.2/31
- Oracle
Bgp stringAsn This is the value of the Oracle Bgp ASN in asplain format, as a string. Example: 1587232876 (4 byte ASN) or 12345 (2 byte ASN)
- Oracle
Interface stringIp This is the IPv4 Address used in the BGP peering session for the Oracle router. Example: 10.0.0.1/31
- Bgp
State string the state of the BGP.
- Customer
Bgp stringAsn This is the value of the remote Bgp ASN in asplain format, as a string. Example: 1587232876 (4 byte ASN) or 12345 (2 byte ASN)
- Customer
Interface stringIp This is the IPv4 Address used in the BGP peering session for the non-Oracle router. Example: 10.0.0.2/31
- Oracle
Bgp stringAsn This is the value of the Oracle Bgp ASN in asplain format, as a string. Example: 1587232876 (4 byte ASN) or 12345 (2 byte ASN)
- Oracle
Interface stringIp This is the IPv4 Address used in the BGP peering session for the Oracle router. Example: 10.0.0.1/31
- bgp
State String the state of the BGP.
- customer
Bgp StringAsn This is the value of the remote Bgp ASN in asplain format, as a string. Example: 1587232876 (4 byte ASN) or 12345 (2 byte ASN)
- customer
Interface StringIp This is the IPv4 Address used in the BGP peering session for the non-Oracle router. Example: 10.0.0.2/31
- oracle
Bgp StringAsn This is the value of the Oracle Bgp ASN in asplain format, as a string. Example: 1587232876 (4 byte ASN) or 12345 (2 byte ASN)
- oracle
Interface StringIp This is the IPv4 Address used in the BGP peering session for the Oracle router. Example: 10.0.0.1/31
- bgp
State string the state of the BGP.
- customer
Bgp stringAsn This is the value of the remote Bgp ASN in asplain format, as a string. Example: 1587232876 (4 byte ASN) or 12345 (2 byte ASN)
- customer
Interface stringIp This is the IPv4 Address used in the BGP peering session for the non-Oracle router. Example: 10.0.0.2/31
- oracle
Bgp stringAsn This is the value of the Oracle Bgp ASN in asplain format, as a string. Example: 1587232876 (4 byte ASN) or 12345 (2 byte ASN)
- oracle
Interface stringIp This is the IPv4 Address used in the BGP peering session for the Oracle router. Example: 10.0.0.1/31
- bgp_
state str the state of the BGP.
- customer_
bgp_ strasn This is the value of the remote Bgp ASN in asplain format, as a string. Example: 1587232876 (4 byte ASN) or 12345 (2 byte ASN)
- customer_
interface_ strip This is the IPv4 Address used in the BGP peering session for the non-Oracle router. Example: 10.0.0.2/31
- oracle_
bgp_ strasn This is the value of the Oracle Bgp ASN in asplain format, as a string. Example: 1587232876 (4 byte ASN) or 12345 (2 byte ASN)
- oracle_
interface_ strip This is the IPv4 Address used in the BGP peering session for the Oracle router. Example: 10.0.0.1/31
- bgp
State String the state of the BGP.
- customer
Bgp StringAsn This is the value of the remote Bgp ASN in asplain format, as a string. Example: 1587232876 (4 byte ASN) or 12345 (2 byte ASN)
- customer
Interface StringIp This is the IPv4 Address used in the BGP peering session for the non-Oracle router. Example: 10.0.0.2/31
- oracle
Bgp StringAsn This is the value of the Oracle Bgp ASN in asplain format, as a string. Example: 1587232876 (4 byte ASN) or 12345 (2 byte ASN)
- oracle
Interface StringIp This is the IPv4 Address used in the BGP peering session for the Oracle router. Example: 10.0.0.1/31
GetIpsecConnectionTunnelEncryptionDomainConfig
- Cpe
Traffic List<string>Selectors Lists IPv4 or IPv6-enabled subnets in your on-premises network.
- Oracle
Traffic List<string>Selectors Lists IPv4 or IPv6-enabled subnets in your Oracle tenancy.
- Cpe
Traffic []stringSelectors Lists IPv4 or IPv6-enabled subnets in your on-premises network.
- Oracle
Traffic []stringSelectors Lists IPv4 or IPv6-enabled subnets in your Oracle tenancy.
- cpe
Traffic List<String>Selectors Lists IPv4 or IPv6-enabled subnets in your on-premises network.
- oracle
Traffic List<String>Selectors Lists IPv4 or IPv6-enabled subnets in your Oracle tenancy.
- cpe
Traffic string[]Selectors Lists IPv4 or IPv6-enabled subnets in your on-premises network.
- oracle
Traffic string[]Selectors Lists IPv4 or IPv6-enabled subnets in your Oracle tenancy.
- cpe_
traffic_ Sequence[str]selectors Lists IPv4 or IPv6-enabled subnets in your on-premises network.
- oracle_
traffic_ Sequence[str]selectors Lists IPv4 or IPv6-enabled subnets in your Oracle tenancy.
- cpe
Traffic List<String>Selectors Lists IPv4 or IPv6-enabled subnets in your on-premises network.
- oracle
Traffic List<String>Selectors Lists IPv4 or IPv6-enabled subnets in your Oracle tenancy.
Package Details
- Repository
- https://github.com/pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
oci
Terraform Provider.