Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi
oci.Core.getIpsecAlgorithm
Explore with Pulumi AI
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({});
import pulumi
import pulumi_oci as oci
test_ipsec_algorithm = oci.Core.get_ipsec_algorithm()
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
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() => 
{
    var testIpsecAlgorithm = Oci.Core.GetIpsecAlgorithm.Invoke();
});
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();
    }
}
variables:
  testIpsecAlgorithm:
    fn::invoke:
      function: oci:Core:getIpsecAlgorithm
      arguments: {}
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>def get_ipsec_algorithm(opts: Optional[InvokeOptions] = None) -> GetIpsecAlgorithmResult
def get_ipsec_algorithm_output(opts: Optional[InvokeOptions] = None) -> Output[GetIpsecAlgorithmResult]func GetIpsecAlgorithm(ctx *Context, opts ...InvokeOption) (*GetIpsecAlgorithmResult, error)
func GetIpsecAlgorithmOutput(ctx *Context, opts ...InvokeOption) GetIpsecAlgorithmResultOutput> 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)
}public static CompletableFuture<GetIpsecAlgorithmResult> getIpsecAlgorithm(InvokeOptions options)
public static Output<GetIpsecAlgorithmResult> getIpsecAlgorithm(InvokeOptions options)
fn::invoke:
  function: oci:Core/getIpsecAlgorithm:getIpsecAlgorithm
  arguments:
    # arguments dictionarygetIpsecAlgorithm Result
The following output properties are available:
- AllowedPhase List<GetOne Parameters Ipsec Algorithm Allowed Phase One Parameter> 
- Allowed phase one parameters.
- AllowedPhase List<GetTwo Parameters Ipsec Algorithm Allowed Phase Two Parameter> 
- Allowed phase two parameters.
- DefaultPhase List<GetOne Parameters Ipsec Algorithm Default Phase One Parameter> 
- Default phase one parameters.
- DefaultPhase List<GetTwo Parameters Ipsec Algorithm Default Phase Two Parameter> 
- Default phase two parameters.
- Id string
- The provider-assigned unique ID for this managed resource.
- AllowedPhase []GetOne Parameters Ipsec Algorithm Allowed Phase One Parameter 
- Allowed phase one parameters.
- AllowedPhase []GetTwo Parameters Ipsec Algorithm Allowed Phase Two Parameter 
- Allowed phase two parameters.
- DefaultPhase []GetOne Parameters Ipsec Algorithm Default Phase One Parameter 
- Default phase one parameters.
- DefaultPhase []GetTwo Parameters Ipsec Algorithm Default Phase Two Parameter 
- Default phase two parameters.
- Id string
- The provider-assigned unique ID for this managed resource.
- allowedPhase List<GetOne Parameters Ipsec Algorithm Allowed Phase One Parameter> 
- Allowed phase one parameters.
- allowedPhase List<GetTwo Parameters Ipsec Algorithm Allowed Phase Two Parameter> 
- Allowed phase two parameters.
- defaultPhase List<GetOne Parameters Ipsec Algorithm Default Phase One Parameter> 
- Default phase one parameters.
- defaultPhase List<GetTwo Parameters Ipsec Algorithm Default Phase Two Parameter> 
- Default phase two parameters.
- id String
- The provider-assigned unique ID for this managed resource.
- allowedPhase GetOne Parameters Ipsec Algorithm Allowed Phase One Parameter[] 
- Allowed phase one parameters.
- allowedPhase GetTwo Parameters Ipsec Algorithm Allowed Phase Two Parameter[] 
- Allowed phase two parameters.
- defaultPhase GetOne Parameters Ipsec Algorithm Default Phase One Parameter[] 
- Default phase one parameters.
- defaultPhase GetTwo Parameters Ipsec Algorithm Default Phase Two Parameter[] 
- Default phase two parameters.
- id string
- The provider-assigned unique ID for this managed resource.
- allowed_phase_ Sequence[core.one_ parameters Get Ipsec Algorithm Allowed Phase One Parameter] 
- Allowed phase one parameters.
- allowed_phase_ Sequence[core.two_ parameters Get Ipsec Algorithm Allowed Phase Two Parameter] 
- Allowed phase two parameters.
- default_phase_ Sequence[core.one_ parameters Get Ipsec Algorithm Default Phase One Parameter] 
- Default phase one parameters.
- default_phase_ Sequence[core.two_ parameters Get Ipsec Algorithm Default Phase Two Parameter] 
- Default phase two parameters.
- id str
- The provider-assigned unique ID for this managed resource.
- allowedPhase List<Property Map>One Parameters 
- Allowed phase one parameters.
- allowedPhase List<Property Map>Two Parameters 
- Allowed phase two parameters.
- defaultPhase List<Property Map>One Parameters 
- Default phase one parameters.
- defaultPhase List<Property Map>Two Parameters 
- Default phase two parameters.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
GetIpsecAlgorithmAllowedPhaseOneParameter      
- AuthenticationAlgorithms List<string>
- Allowed phase two authentication algorithms.
- DhGroups List<string>
- Allowed phase one Diffie-Hellman groups.
- EncryptionAlgorithms List<string>
- Allowed phase two encryption algorithms.
- AuthenticationAlgorithms []string
- Allowed phase two authentication algorithms.
- DhGroups []string
- Allowed phase one Diffie-Hellman groups.
- EncryptionAlgorithms []string
- Allowed phase two encryption algorithms.
- authenticationAlgorithms List<String>
- Allowed phase two authentication algorithms.
- dhGroups List<String>
- Allowed phase one Diffie-Hellman groups.
- encryptionAlgorithms List<String>
- Allowed phase two encryption algorithms.
- authenticationAlgorithms string[]
- Allowed phase two authentication algorithms.
- dhGroups string[]
- Allowed phase one Diffie-Hellman groups.
- encryptionAlgorithms string[]
- Allowed phase two encryption algorithms.
- authentication_algorithms Sequence[str]
- Allowed phase two authentication algorithms.
- dh_groups Sequence[str]
- Allowed phase one Diffie-Hellman groups.
- encryption_algorithms Sequence[str]
- Allowed phase two encryption algorithms.
- authenticationAlgorithms List<String>
- Allowed phase two authentication algorithms.
- dhGroups List<String>
- Allowed phase one Diffie-Hellman groups.
- encryptionAlgorithms List<String>
- Allowed phase two encryption algorithms.
GetIpsecAlgorithmAllowedPhaseTwoParameter      
- AuthenticationAlgorithms List<string>
- Allowed phase two authentication algorithms.
- EncryptionAlgorithms List<string>
- Allowed phase two encryption algorithms.
- PfsDh List<string>Groups 
- Allowed perfect forward secrecy Diffie-Hellman groups.
- AuthenticationAlgorithms []string
- Allowed phase two authentication algorithms.
- EncryptionAlgorithms []string
- Allowed phase two encryption algorithms.
- PfsDh []stringGroups 
- Allowed perfect forward secrecy Diffie-Hellman groups.
- authenticationAlgorithms List<String>
- Allowed phase two authentication algorithms.
- encryptionAlgorithms List<String>
- Allowed phase two encryption algorithms.
- pfsDh List<String>Groups 
- Allowed perfect forward secrecy Diffie-Hellman groups.
- authenticationAlgorithms string[]
- Allowed phase two authentication algorithms.
- encryptionAlgorithms string[]
- Allowed phase two encryption algorithms.
- pfsDh string[]Groups 
- Allowed perfect forward secrecy Diffie-Hellman groups.
- authentication_algorithms Sequence[str]
- Allowed phase two authentication algorithms.
- encryption_algorithms Sequence[str]
- Allowed phase two encryption algorithms.
- pfs_dh_ Sequence[str]groups 
- Allowed perfect forward secrecy Diffie-Hellman groups.
- authenticationAlgorithms List<String>
- Allowed phase two authentication algorithms.
- encryptionAlgorithms List<String>
- Allowed phase two encryption algorithms.
- pfsDh List<String>Groups 
- Allowed perfect forward secrecy Diffie-Hellman groups.
GetIpsecAlgorithmDefaultPhaseOneParameter      
- DefaultAuthentication List<string>Algorithms 
- Default phase two authentication algorithms.
- DefaultDh List<string>Groups 
- Default phase one Diffie-Hellman groups.
- DefaultEncryption List<string>Algorithms 
- Default phase two encryption algorithms.
- DefaultAuthentication []stringAlgorithms 
- Default phase two authentication algorithms.
- DefaultDh []stringGroups 
- Default phase one Diffie-Hellman groups.
- DefaultEncryption []stringAlgorithms 
- Default phase two encryption algorithms.
- defaultAuthentication List<String>Algorithms 
- Default phase two authentication algorithms.
- defaultDh List<String>Groups 
- Default phase one Diffie-Hellman groups.
- defaultEncryption List<String>Algorithms 
- Default phase two encryption algorithms.
- defaultAuthentication string[]Algorithms 
- Default phase two authentication algorithms.
- defaultDh string[]Groups 
- Default phase one Diffie-Hellman groups.
- defaultEncryption string[]Algorithms 
- Default phase two encryption algorithms.
- default_authentication_ Sequence[str]algorithms 
- Default phase two authentication algorithms.
- default_dh_ Sequence[str]groups 
- Default phase one Diffie-Hellman groups.
- default_encryption_ Sequence[str]algorithms 
- Default phase two encryption algorithms.
- defaultAuthentication List<String>Algorithms 
- Default phase two authentication algorithms.
- defaultDh List<String>Groups 
- Default phase one Diffie-Hellman groups.
- defaultEncryption List<String>Algorithms 
- Default phase two encryption algorithms.
GetIpsecAlgorithmDefaultPhaseTwoParameter      
- DefaultAuthentication List<string>Algorithms 
- Default phase two authentication algorithms.
- DefaultEncryption List<string>Algorithms 
- Default phase two encryption algorithms.
- DefaultPfs stringDh Group 
- Default perfect forward secrecy Diffie-Hellman groups.
- DefaultAuthentication []stringAlgorithms 
- Default phase two authentication algorithms.
- DefaultEncryption []stringAlgorithms 
- Default phase two encryption algorithms.
- DefaultPfs stringDh Group 
- Default perfect forward secrecy Diffie-Hellman groups.
- defaultAuthentication List<String>Algorithms 
- Default phase two authentication algorithms.
- defaultEncryption List<String>Algorithms 
- Default phase two encryption algorithms.
- defaultPfs StringDh Group 
- Default perfect forward secrecy Diffie-Hellman groups.
- defaultAuthentication string[]Algorithms 
- Default phase two authentication algorithms.
- defaultEncryption string[]Algorithms 
- Default phase two encryption algorithms.
- defaultPfs stringDh Group 
- Default perfect forward secrecy Diffie-Hellman groups.
- default_authentication_ Sequence[str]algorithms 
- Default phase two authentication algorithms.
- default_encryption_ Sequence[str]algorithms 
- Default phase two encryption algorithms.
- default_pfs_ strdh_ group 
- Default perfect forward secrecy Diffie-Hellman groups.
- defaultAuthentication List<String>Algorithms 
- Default phase two authentication algorithms.
- defaultEncryption List<String>Algorithms 
- Default phase two encryption algorithms.
- defaultPfs StringDh Group 
- 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 ociTerraform Provider.