1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Core
  5. getIpsecConnectionTunnelError
Oracle Cloud Infrastructure v2.30.0 published on Monday, Apr 14, 2025 by Pulumi

oci.Core.getIpsecConnectionTunnelError

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.30.0 published on Monday, Apr 14, 2025 by Pulumi

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,
});
Copy
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"])
Copy
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
	})
}
Copy
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,
    });

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

    }
}
Copy
variables:
  testIpsecConnectionTunnelError:
    fn::invoke:
      function: oci:Core:getIpsecConnectionTunnelError
      arguments:
        ipsecId: ${testIpsec.id}
        tunnelId: ${testTunnel.id}
Copy

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>
Copy
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]
Copy
func GetIpsecConnectionTunnelError(ctx *Context, args *GetIpsecConnectionTunnelErrorArgs, opts ...InvokeOption) (*GetIpsecConnectionTunnelErrorResult, error)
func GetIpsecConnectionTunnelErrorOutput(ctx *Context, args *GetIpsecConnectionTunnelErrorOutputArgs, opts ...InvokeOption) GetIpsecConnectionTunnelErrorResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetIpsecConnectionTunnelErrorResult> getIpsecConnectionTunnelError(GetIpsecConnectionTunnelErrorArgs args, InvokeOptions options)
public static Output<GetIpsecConnectionTunnelErrorResult> getIpsecConnectionTunnelError(GetIpsecConnectionTunnelErrorArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:Core/getIpsecConnectionTunnelError:getIpsecConnectionTunnelError
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

IpsecId This property is required. string
The OCID of the IPSec connection.
TunnelId This property is required. string
The OCID of the tunnel.
IpsecId This property is required. string
The OCID of the IPSec connection.
TunnelId This property is required. string
The OCID of the tunnel.
ipsecId This property is required. String
The OCID of the IPSec connection.
tunnelId This property is required. String
The OCID of the tunnel.
ipsecId This property is required. string
The OCID of the IPSec connection.
tunnelId This property is required. string
The OCID of the tunnel.
ipsec_id This property is required. str
The OCID of the IPSec connection.
tunnel_id This property is required. str
The OCID of the tunnel.
ipsecId This property is required. String
The OCID of the IPSec connection.
tunnelId This property is required. String
The OCID of the tunnel.

getIpsecConnectionTunnelError Result

The following output properties are available:

ErrorCode string
Unique code describes the error type.
ErrorDescription string
A detailed description of the error.
Id string
The provider-assigned unique ID for this managed resource.
IpsecId string
OciResourcesLink string
Link to more Oracle resources or relevant documentation.
Solution string
Resolution for the error.
Timestamp string
Timestamp when the error occurred.
TunnelId string
ErrorCode string
Unique code describes the error type.
ErrorDescription string
A detailed description of the error.
Id string
The provider-assigned unique ID for this managed resource.
IpsecId string
OciResourcesLink string
Link to more Oracle resources or relevant documentation.
Solution string
Resolution for the error.
Timestamp string
Timestamp when the error occurred.
TunnelId string
errorCode String
Unique code describes the error type.
errorDescription String
A detailed description of the error.
id String
The provider-assigned unique ID for this managed resource.
ipsecId String
ociResourcesLink String
Link to more Oracle resources or relevant documentation.
solution String
Resolution for the error.
timestamp String
Timestamp when the error occurred.
tunnelId String
errorCode string
Unique code describes the error type.
errorDescription string
A detailed description of the error.
id string
The provider-assigned unique ID for this managed resource.
ipsecId string
ociResourcesLink string
Link to more Oracle resources or relevant documentation.
solution string
Resolution for the error.
timestamp string
Timestamp when the error occurred.
tunnelId 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_link str
Link to more Oracle resources or relevant documentation.
solution str
Resolution for the error.
timestamp str
Timestamp when the error occurred.
tunnel_id str
errorCode String
Unique code describes the error type.
errorDescription String
A detailed description of the error.
id String
The provider-assigned unique ID for this managed resource.
ipsecId String
ociResourcesLink String
Link to more Oracle resources or relevant documentation.
solution String
Resolution for the error.
timestamp String
Timestamp when the error occurred.
tunnelId String

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.
Oracle Cloud Infrastructure v2.30.0 published on Monday, Apr 14, 2025 by Pulumi