1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Core
  5. getIpsecAlgorithm
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.Core.getIpsecAlgorithm

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 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({});
    
    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:Core/getIpsecAlgorithm:getIpsecAlgorithm
      arguments:
        # arguments dictionary

    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 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.
    PfsDhGroups List<string>
    Allowed perfect forward secrecy Diffie-Hellman groups.
    AuthenticationAlgorithms []string
    Allowed phase two authentication algorithms.
    EncryptionAlgorithms []string
    Allowed phase two encryption algorithms.
    PfsDhGroups []string
    Allowed perfect forward secrecy Diffie-Hellman groups.
    authenticationAlgorithms List<String>
    Allowed phase two authentication algorithms.
    encryptionAlgorithms List<String>
    Allowed phase two encryption algorithms.
    pfsDhGroups List<String>
    Allowed perfect forward secrecy Diffie-Hellman groups.
    authenticationAlgorithms string[]
    Allowed phase two authentication algorithms.
    encryptionAlgorithms string[]
    Allowed phase two encryption algorithms.
    pfsDhGroups string[]
    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_groups Sequence[str]
    Allowed perfect forward secrecy Diffie-Hellman groups.
    authenticationAlgorithms List<String>
    Allowed phase two authentication algorithms.
    encryptionAlgorithms List<String>
    Allowed phase two encryption algorithms.
    pfsDhGroups List<String>
    Allowed perfect forward secrecy Diffie-Hellman groups.

    GetIpsecAlgorithmDefaultPhaseOneParameter

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

    GetIpsecAlgorithmDefaultPhaseTwoParameter

    DefaultAuthenticationAlgorithms List<string>
    Default phase two authentication algorithms.
    DefaultEncryptionAlgorithms List<string>
    Default phase two encryption algorithms.
    DefaultPfsDhGroup string
    Default perfect forward secrecy Diffie-Hellman groups.
    DefaultAuthenticationAlgorithms []string
    Default phase two authentication algorithms.
    DefaultEncryptionAlgorithms []string
    Default phase two encryption algorithms.
    DefaultPfsDhGroup string
    Default perfect forward secrecy Diffie-Hellman groups.
    defaultAuthenticationAlgorithms List<String>
    Default phase two authentication algorithms.
    defaultEncryptionAlgorithms List<String>
    Default phase two encryption algorithms.
    defaultPfsDhGroup String
    Default perfect forward secrecy Diffie-Hellman groups.
    defaultAuthenticationAlgorithms string[]
    Default phase two authentication algorithms.
    defaultEncryptionAlgorithms string[]
    Default phase two encryption algorithms.
    defaultPfsDhGroup string
    Default perfect forward secrecy Diffie-Hellman groups.
    default_authentication_algorithms Sequence[str]
    Default phase two authentication algorithms.
    default_encryption_algorithms Sequence[str]
    Default phase two encryption algorithms.
    default_pfs_dh_group str
    Default perfect forward secrecy Diffie-Hellman groups.
    defaultAuthenticationAlgorithms List<String>
    Default phase two authentication algorithms.
    defaultEncryptionAlgorithms List<String>
    Default phase two encryption algorithms.
    defaultPfsDhGroup 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.
    oci logo
    Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi