Oracle Cloud Infrastructure

v0.5.0 published on Monday, Sep 12, 2022 by Pulumi

getIpsecAlgorithm

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

using System.Collections.Generic;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testIpsecAlgorithm = Oci.Core.GetIpsecAlgorithm.Invoke();

});
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/go/oci/Core"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Core.GetIpsecAlgorithm(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
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();

    }
}
import pulumi
import pulumi_oci as oci

test_ipsec_algorithm = oci.Core.get_ipsec_algorithm()
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testIpsecAlgorithm = pulumi.output(oci.Core.getIpsecAlgorithm());
variables:
  testIpsecAlgorithm:
    Fn::Invoke:
      Function: oci:Core:getIpsecAlgorithm
      Arguments: {}

Using getIpsecAlgorithm

function getIpsecAlgorithm(opts?: InvokeOptions): Promise<GetIpsecAlgorithmResult>
def get_ipsec_algorithm(opts: Optional[InvokeOptions] = None) -> GetIpsecAlgorithmResult
func GetIpsecAlgorithm(ctx *Context, opts ...InvokeOption) (*GetIpsecAlgorithmResult, error)

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

public static class GetIpsecAlgorithm 
{
    public static Task<GetIpsecAlgorithmResult> InvokeAsync(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
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.