1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Core
  5. getIpsecAlgorithm
Oracle Cloud Infrastructure v2.29.0 published on Wednesday, Apr 9, 2025 by Pulumi

oci.Core.getIpsecAlgorithm

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.29.0 published on Wednesday, Apr 9, 2025 by Pulumi

This data source provides details about a specific Ipsec Algorithm resource in Oracle Cloud Infrastructure Core service.

The parameters allowed for IKE IPSec tunnels.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testIpsecAlgorithm = oci.Core.getIpsecAlgorithm({});
Copy
import pulumi
import pulumi_oci as oci

test_ipsec_algorithm = oci.Core.get_ipsec_algorithm()
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.GetIpsecAlgorithm(ctx, map[string]interface{}{}, 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 testIpsecAlgorithm = Oci.Core.GetIpsecAlgorithm.Invoke();

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Core.CoreFunctions;
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 testIpsecAlgorithm = CoreFunctions.getIpsecAlgorithm(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);

    }
}
Copy
variables:
  testIpsecAlgorithm:
    fn::invoke:
      function: oci:Core:getIpsecAlgorithm
      arguments: {}
Copy

Using getIpsecAlgorithm

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 getIpsecAlgorithm(opts?: InvokeOptions): Promise<GetIpsecAlgorithmResult>
function getIpsecAlgorithmOutput(opts?: InvokeOptions): Output<GetIpsecAlgorithmResult>
Copy
def get_ipsec_algorithm(opts: Optional[InvokeOptions] = None) -> GetIpsecAlgorithmResult
def get_ipsec_algorithm_output(opts: Optional[InvokeOptions] = None) -> Output[GetIpsecAlgorithmResult]
Copy
func GetIpsecAlgorithm(ctx *Context, opts ...InvokeOption) (*GetIpsecAlgorithmResult, error)
func GetIpsecAlgorithmOutput(ctx *Context, opts ...InvokeOption) GetIpsecAlgorithmResultOutput
Copy

> Note: This function is named GetIpsecAlgorithm in the Go SDK.

public static class GetIpsecAlgorithm 
{
    public static Task<GetIpsecAlgorithmResult> InvokeAsync(InvokeOptions? opts = null)
    public static Output<GetIpsecAlgorithmResult> Invoke(InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetIpsecAlgorithmResult> getIpsecAlgorithm(InvokeOptions options)
public static Output<GetIpsecAlgorithmResult> getIpsecAlgorithm(InvokeOptions options)
Copy
fn::invoke:
  function: oci:Core/getIpsecAlgorithm:getIpsecAlgorithm
  arguments:
    # arguments dictionary
Copy

getIpsecAlgorithm Result

The following output properties are available:

AllowedPhaseOneParameters []GetIpsecAlgorithmAllowedPhaseOneParameter
Allowed phase one parameters.
AllowedPhaseTwoParameters []GetIpsecAlgorithmAllowedPhaseTwoParameter
Allowed phase two parameters.
DefaultPhaseOneParameters []GetIpsecAlgorithmDefaultPhaseOneParameter
Default phase one parameters.
DefaultPhaseTwoParameters []GetIpsecAlgorithmDefaultPhaseTwoParameter
Default phase two parameters.
Id string
The provider-assigned unique ID for this managed resource.
allowedPhaseOneParameters GetIpsecAlgorithmAllowedPhaseOneParameter[]
Allowed phase one parameters.
allowedPhaseTwoParameters GetIpsecAlgorithmAllowedPhaseTwoParameter[]
Allowed phase two parameters.
defaultPhaseOneParameters GetIpsecAlgorithmDefaultPhaseOneParameter[]
Default phase one parameters.
defaultPhaseTwoParameters GetIpsecAlgorithmDefaultPhaseTwoParameter[]
Default phase two parameters.
id string
The provider-assigned unique ID for this managed resource.
allowedPhaseOneParameters List<Property Map>
Allowed phase one parameters.
allowedPhaseTwoParameters List<Property Map>
Allowed phase two parameters.
defaultPhaseOneParameters List<Property Map>
Default phase one parameters.
defaultPhaseTwoParameters List<Property Map>
Default phase two parameters.
id String
The provider-assigned unique ID for this managed resource.

Supporting Types

GetIpsecAlgorithmAllowedPhaseOneParameter

AuthenticationAlgorithms This property is required. List<string>
Allowed phase two authentication algorithms.
DhGroups This property is required. List<string>
Allowed phase one Diffie-Hellman groups.
EncryptionAlgorithms This property is required. List<string>
Allowed phase two encryption algorithms.
AuthenticationAlgorithms This property is required. []string
Allowed phase two authentication algorithms.
DhGroups This property is required. []string
Allowed phase one Diffie-Hellman groups.
EncryptionAlgorithms This property is required. []string
Allowed phase two encryption algorithms.
authenticationAlgorithms This property is required. List<String>
Allowed phase two authentication algorithms.
dhGroups This property is required. List<String>
Allowed phase one Diffie-Hellman groups.
encryptionAlgorithms This property is required. List<String>
Allowed phase two encryption algorithms.
authenticationAlgorithms This property is required. string[]
Allowed phase two authentication algorithms.
dhGroups This property is required. string[]
Allowed phase one Diffie-Hellman groups.
encryptionAlgorithms This property is required. string[]
Allowed phase two encryption algorithms.
authentication_algorithms This property is required. Sequence[str]
Allowed phase two authentication algorithms.
dh_groups This property is required. Sequence[str]
Allowed phase one Diffie-Hellman groups.
encryption_algorithms This property is required. Sequence[str]
Allowed phase two encryption algorithms.
authenticationAlgorithms This property is required. List<String>
Allowed phase two authentication algorithms.
dhGroups This property is required. List<String>
Allowed phase one Diffie-Hellman groups.
encryptionAlgorithms This property is required. List<String>
Allowed phase two encryption algorithms.

GetIpsecAlgorithmAllowedPhaseTwoParameter

AuthenticationAlgorithms This property is required. List<string>
Allowed phase two authentication algorithms.
EncryptionAlgorithms This property is required. List<string>
Allowed phase two encryption algorithms.
PfsDhGroups This property is required. List<string>
Allowed perfect forward secrecy Diffie-Hellman groups.
AuthenticationAlgorithms This property is required. []string
Allowed phase two authentication algorithms.
EncryptionAlgorithms This property is required. []string
Allowed phase two encryption algorithms.
PfsDhGroups This property is required. []string
Allowed perfect forward secrecy Diffie-Hellman groups.
authenticationAlgorithms This property is required. List<String>
Allowed phase two authentication algorithms.
encryptionAlgorithms This property is required. List<String>
Allowed phase two encryption algorithms.
pfsDhGroups This property is required. List<String>
Allowed perfect forward secrecy Diffie-Hellman groups.
authenticationAlgorithms This property is required. string[]
Allowed phase two authentication algorithms.
encryptionAlgorithms This property is required. string[]
Allowed phase two encryption algorithms.
pfsDhGroups This property is required. string[]
Allowed perfect forward secrecy Diffie-Hellman groups.
authentication_algorithms This property is required. Sequence[str]
Allowed phase two authentication algorithms.
encryption_algorithms This property is required. Sequence[str]
Allowed phase two encryption algorithms.
pfs_dh_groups This property is required. Sequence[str]
Allowed perfect forward secrecy Diffie-Hellman groups.
authenticationAlgorithms This property is required. List<String>
Allowed phase two authentication algorithms.
encryptionAlgorithms This property is required. List<String>
Allowed phase two encryption algorithms.
pfsDhGroups This property is required. List<String>
Allowed perfect forward secrecy Diffie-Hellman groups.

GetIpsecAlgorithmDefaultPhaseOneParameter

DefaultAuthenticationAlgorithms This property is required. List<string>
Default phase two authentication algorithms.
DefaultDhGroups This property is required. List<string>
Default phase one Diffie-Hellman groups.
DefaultEncryptionAlgorithms This property is required. List<string>
Default phase two encryption algorithms.
DefaultAuthenticationAlgorithms This property is required. []string
Default phase two authentication algorithms.
DefaultDhGroups This property is required. []string
Default phase one Diffie-Hellman groups.
DefaultEncryptionAlgorithms This property is required. []string
Default phase two encryption algorithms.
defaultAuthenticationAlgorithms This property is required. List<String>
Default phase two authentication algorithms.
defaultDhGroups This property is required. List<String>
Default phase one Diffie-Hellman groups.
defaultEncryptionAlgorithms This property is required. List<String>
Default phase two encryption algorithms.
defaultAuthenticationAlgorithms This property is required. string[]
Default phase two authentication algorithms.
defaultDhGroups This property is required. string[]
Default phase one Diffie-Hellman groups.
defaultEncryptionAlgorithms This property is required. string[]
Default phase two encryption algorithms.
default_authentication_algorithms This property is required. Sequence[str]
Default phase two authentication algorithms.
default_dh_groups This property is required. Sequence[str]
Default phase one Diffie-Hellman groups.
default_encryption_algorithms This property is required. Sequence[str]
Default phase two encryption algorithms.
defaultAuthenticationAlgorithms This property is required. List<String>
Default phase two authentication algorithms.
defaultDhGroups This property is required. List<String>
Default phase one Diffie-Hellman groups.
defaultEncryptionAlgorithms This property is required. List<String>
Default phase two encryption algorithms.

GetIpsecAlgorithmDefaultPhaseTwoParameter

DefaultAuthenticationAlgorithms This property is required. List<string>
Default phase two authentication algorithms.
DefaultEncryptionAlgorithms This property is required. List<string>
Default phase two encryption algorithms.
DefaultPfsDhGroup This property is required. string
Default perfect forward secrecy Diffie-Hellman groups.
DefaultAuthenticationAlgorithms This property is required. []string
Default phase two authentication algorithms.
DefaultEncryptionAlgorithms This property is required. []string
Default phase two encryption algorithms.
DefaultPfsDhGroup This property is required. string
Default perfect forward secrecy Diffie-Hellman groups.
defaultAuthenticationAlgorithms This property is required. List<String>
Default phase two authentication algorithms.
defaultEncryptionAlgorithms This property is required. List<String>
Default phase two encryption algorithms.
defaultPfsDhGroup This property is required. String
Default perfect forward secrecy Diffie-Hellman groups.
defaultAuthenticationAlgorithms This property is required. string[]
Default phase two authentication algorithms.
defaultEncryptionAlgorithms This property is required. string[]
Default phase two encryption algorithms.
defaultPfsDhGroup This property is required. string
Default perfect forward secrecy Diffie-Hellman groups.
default_authentication_algorithms This property is required. Sequence[str]
Default phase two authentication algorithms.
default_encryption_algorithms This property is required. Sequence[str]
Default phase two encryption algorithms.
default_pfs_dh_group This property is required. str
Default perfect forward secrecy Diffie-Hellman groups.
defaultAuthenticationAlgorithms This property is required. List<String>
Default phase two authentication algorithms.
defaultEncryptionAlgorithms This property is required. List<String>
Default phase two encryption algorithms.
defaultPfsDhGroup This property is required. String
Default perfect forward secrecy Diffie-Hellman groups.

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.29.0 published on Wednesday, Apr 9, 2025 by Pulumi