Oracle Cloud Infrastructure v2.30.0 published on Monday, Apr 14, 2025 by Pulumi
oci.Core.getIpsecConnectionTunnelError
Explore with Pulumi AI
This data source provides details about a specific Ipsec Connection Tunnel Error resource in Oracle Cloud Infrastructure Core service.
Gets the identified error for the specified IPSec tunnel ID.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testIpsecConnectionTunnelError = oci.Core.getIpsecConnectionTunnelError({
    ipsecId: testIpsec.id,
    tunnelId: testTunnel.id,
});
import pulumi
import pulumi_oci as oci
test_ipsec_connection_tunnel_error = oci.Core.get_ipsec_connection_tunnel_error(ipsec_id=test_ipsec["id"],
    tunnel_id=test_tunnel["id"])
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/core"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := core.GetIpsecConnectionTunnelError(ctx, &core.GetIpsecConnectionTunnelErrorArgs{
			IpsecId:  testIpsec.Id,
			TunnelId: testTunnel.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() => 
{
    var testIpsecConnectionTunnelError = Oci.Core.GetIpsecConnectionTunnelError.Invoke(new()
    {
        IpsecId = testIpsec.Id,
        TunnelId = testTunnel.Id,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Core.CoreFunctions;
import com.pulumi.oci.Core.inputs.GetIpsecConnectionTunnelErrorArgs;
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 testIpsecConnectionTunnelError = CoreFunctions.getIpsecConnectionTunnelError(GetIpsecConnectionTunnelErrorArgs.builder()
            .ipsecId(testIpsec.id())
            .tunnelId(testTunnel.id())
            .build());
    }
}
variables:
  testIpsecConnectionTunnelError:
    fn::invoke:
      function: oci:Core:getIpsecConnectionTunnelError
      arguments:
        ipsecId: ${testIpsec.id}
        tunnelId: ${testTunnel.id}
Using getIpsecConnectionTunnelError
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 getIpsecConnectionTunnelError(args: GetIpsecConnectionTunnelErrorArgs, opts?: InvokeOptions): Promise<GetIpsecConnectionTunnelErrorResult>
function getIpsecConnectionTunnelErrorOutput(args: GetIpsecConnectionTunnelErrorOutputArgs, opts?: InvokeOptions): Output<GetIpsecConnectionTunnelErrorResult>def get_ipsec_connection_tunnel_error(ipsec_id: Optional[str] = None,
                                      tunnel_id: Optional[str] = None,
                                      opts: Optional[InvokeOptions] = None) -> GetIpsecConnectionTunnelErrorResult
def get_ipsec_connection_tunnel_error_output(ipsec_id: Optional[pulumi.Input[str]] = None,
                                      tunnel_id: Optional[pulumi.Input[str]] = None,
                                      opts: Optional[InvokeOptions] = None) -> Output[GetIpsecConnectionTunnelErrorResult]func GetIpsecConnectionTunnelError(ctx *Context, args *GetIpsecConnectionTunnelErrorArgs, opts ...InvokeOption) (*GetIpsecConnectionTunnelErrorResult, error)
func GetIpsecConnectionTunnelErrorOutput(ctx *Context, args *GetIpsecConnectionTunnelErrorOutputArgs, opts ...InvokeOption) GetIpsecConnectionTunnelErrorResultOutput> Note: This function is named GetIpsecConnectionTunnelError in the Go SDK.
public static class GetIpsecConnectionTunnelError 
{
    public static Task<GetIpsecConnectionTunnelErrorResult> InvokeAsync(GetIpsecConnectionTunnelErrorArgs args, InvokeOptions? opts = null)
    public static Output<GetIpsecConnectionTunnelErrorResult> Invoke(GetIpsecConnectionTunnelErrorInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetIpsecConnectionTunnelErrorResult> getIpsecConnectionTunnelError(GetIpsecConnectionTunnelErrorArgs args, InvokeOptions options)
public static Output<GetIpsecConnectionTunnelErrorResult> getIpsecConnectionTunnelError(GetIpsecConnectionTunnelErrorArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Core/getIpsecConnectionTunnelError:getIpsecConnectionTunnelError
  arguments:
    # arguments dictionaryThe following arguments are supported:
getIpsecConnectionTunnelError Result
The following output properties are available:
- Error
Code string - Unique code describes the error type.
 - Error
Description string - A detailed description of the error.
 - Id string
 - The provider-assigned unique ID for this managed resource.
 - Ipsec
Id string - Oci
Resources stringLink  - Link to more Oracle resources or relevant documentation.
 - Solution string
 - Resolution for the error.
 - Timestamp string
 - Timestamp when the error occurred.
 - Tunnel
Id string 
- Error
Code string - Unique code describes the error type.
 - Error
Description string - A detailed description of the error.
 - Id string
 - The provider-assigned unique ID for this managed resource.
 - Ipsec
Id string - Oci
Resources stringLink  - Link to more Oracle resources or relevant documentation.
 - Solution string
 - Resolution for the error.
 - Timestamp string
 - Timestamp when the error occurred.
 - Tunnel
Id string 
- error
Code String - Unique code describes the error type.
 - error
Description String - A detailed description of the error.
 - id String
 - The provider-assigned unique ID for this managed resource.
 - ipsec
Id String - oci
Resources StringLink  - Link to more Oracle resources or relevant documentation.
 - solution String
 - Resolution for the error.
 - timestamp String
 - Timestamp when the error occurred.
 - tunnel
Id String 
- error
Code string - Unique code describes the error type.
 - error
Description string - A detailed description of the error.
 - id string
 - The provider-assigned unique ID for this managed resource.
 - ipsec
Id string - oci
Resources stringLink  - Link to more Oracle resources or relevant documentation.
 - solution string
 - Resolution for the error.
 - timestamp string
 - Timestamp when the error occurred.
 - tunnel
Id string 
- error_
code str - Unique code describes the error type.
 - error_
description str - A detailed description of the error.
 - id str
 - The provider-assigned unique ID for this managed resource.
 - ipsec_
id str - oci_
resources_ strlink  - Link to more Oracle resources or relevant documentation.
 - solution str
 - Resolution for the error.
 - timestamp str
 - Timestamp when the error occurred.
 - tunnel_
id str 
- error
Code String - Unique code describes the error type.
 - error
Description String - A detailed description of the error.
 - id String
 - The provider-assigned unique ID for this managed resource.
 - ipsec
Id String - oci
Resources StringLink  - Link to more Oracle resources or relevant documentation.
 - solution String
 - Resolution for the error.
 - timestamp String
 - Timestamp when the error occurred.
 - tunnel
Id String 
Package Details
- Repository
 - oci pulumi/pulumi-oci
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
ociTerraform Provider.