Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 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, nil, 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:
- Allowed
Phase List<GetOne Parameters Ipsec Algorithm Allowed Phase One Parameter> - Allowed phase one parameters.
- Allowed
Phase List<GetTwo Parameters Ipsec Algorithm Allowed Phase Two Parameter> - Allowed phase two parameters.
- Default
Phase List<GetOne Parameters Ipsec Algorithm Default Phase One Parameter> - Default phase one parameters.
- Default
Phase List<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 []GetOne Parameters Ipsec Algorithm Allowed Phase One Parameter - Allowed phase one parameters.
- Allowed
Phase []GetTwo Parameters Ipsec Algorithm Allowed Phase Two Parameter - Allowed phase two parameters.
- Default
Phase []GetOne Parameters Ipsec Algorithm Default Phase One Parameter - Default phase one parameters.
- Default
Phase []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 List<GetOne Parameters Ipsec Algorithm Allowed Phase One Parameter> - Allowed phase one parameters.
- allowed
Phase List<GetTwo Parameters Ipsec Algorithm Allowed Phase Two Parameter> - Allowed phase two parameters.
- default
Phase List<GetOne Parameters Ipsec Algorithm Default Phase One Parameter> - Default phase one parameters.
- default
Phase List<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 GetOne Parameters Ipsec Algorithm Allowed Phase One Parameter[] - Allowed phase one parameters.
- allowed
Phase GetTwo Parameters Ipsec Algorithm Allowed Phase Two Parameter[] - Allowed phase two parameters.
- default
Phase GetOne Parameters Ipsec Algorithm Default Phase One Parameter[] - Default phase one parameters.
- default
Phase 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.
- allowed
Phase List<Property Map>One Parameters - Allowed phase one parameters.
- allowed
Phase List<Property Map>Two Parameters - Allowed phase two parameters.
- default
Phase List<Property Map>One Parameters - Default phase one parameters.
- default
Phase List<Property Map>Two Parameters - Default phase two parameters.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
GetIpsecAlgorithmAllowedPhaseOneParameter
- Authentication
Algorithms List<string> - Allowed phase two authentication algorithms.
- Dh
Groups List<string> - Allowed phase one Diffie-Hellman groups.
- Encryption
Algorithms List<string> - Allowed phase two encryption algorithms.
- Authentication
Algorithms []string - Allowed phase two authentication algorithms.
- Dh
Groups []string - Allowed phase one Diffie-Hellman groups.
- Encryption
Algorithms []string - Allowed phase two encryption algorithms.
- authentication
Algorithms List<String> - Allowed phase two authentication algorithms.
- dh
Groups List<String> - Allowed phase one Diffie-Hellman groups.
- encryption
Algorithms List<String> - Allowed phase two encryption algorithms.
- authentication
Algorithms string[] - Allowed phase two authentication algorithms.
- dh
Groups string[] - Allowed phase one Diffie-Hellman groups.
- encryption
Algorithms 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.
- authentication
Algorithms List<String> - Allowed phase two authentication algorithms.
- dh
Groups List<String> - Allowed phase one Diffie-Hellman groups.
- encryption
Algorithms List<String> - Allowed phase two encryption algorithms.
GetIpsecAlgorithmAllowedPhaseTwoParameter
- Authentication
Algorithms List<string> - Allowed phase two authentication algorithms.
- Encryption
Algorithms List<string> - Allowed phase two encryption algorithms.
- Pfs
Dh List<string>Groups - Allowed perfect forward secrecy Diffie-Hellman groups.
- Authentication
Algorithms []string - Allowed phase two authentication algorithms.
- Encryption
Algorithms []string - Allowed phase two encryption algorithms.
- Pfs
Dh []stringGroups - Allowed perfect forward secrecy Diffie-Hellman groups.
- authentication
Algorithms List<String> - Allowed phase two authentication algorithms.
- encryption
Algorithms List<String> - Allowed phase two encryption algorithms.
- pfs
Dh List<String>Groups - Allowed perfect forward secrecy Diffie-Hellman groups.
- authentication
Algorithms string[] - Allowed phase two authentication algorithms.
- encryption
Algorithms string[] - Allowed phase two encryption algorithms.
- pfs
Dh 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.
- authentication
Algorithms List<String> - Allowed phase two authentication algorithms.
- encryption
Algorithms List<String> - Allowed phase two encryption algorithms.
- pfs
Dh List<String>Groups - Allowed perfect forward secrecy Diffie-Hellman groups.
GetIpsecAlgorithmDefaultPhaseOneParameter
- Default
Authentication List<string>Algorithms - Default phase two authentication algorithms.
- Default
Dh List<string>Groups - Default phase one Diffie-Hellman groups.
- Default
Encryption List<string>Algorithms - Default phase two encryption algorithms.
- Default
Authentication []stringAlgorithms - Default phase two authentication algorithms.
- Default
Dh []stringGroups - Default phase one Diffie-Hellman groups.
- Default
Encryption []stringAlgorithms - Default phase two encryption algorithms.
- default
Authentication List<String>Algorithms - Default phase two authentication algorithms.
- default
Dh List<String>Groups - Default phase one Diffie-Hellman groups.
- default
Encryption List<String>Algorithms - Default phase two encryption algorithms.
- default
Authentication string[]Algorithms - Default phase two authentication algorithms.
- default
Dh string[]Groups - Default phase one Diffie-Hellman groups.
- default
Encryption 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.
- default
Authentication List<String>Algorithms - Default phase two authentication algorithms.
- default
Dh List<String>Groups - Default phase one Diffie-Hellman groups.
- default
Encryption List<String>Algorithms - Default phase two encryption algorithms.
GetIpsecAlgorithmDefaultPhaseTwoParameter
- Default
Authentication List<string>Algorithms - Default phase two authentication algorithms.
- Default
Encryption List<string>Algorithms - Default phase two encryption algorithms.
- Default
Pfs stringDh Group - Default perfect forward secrecy Diffie-Hellman groups.
- Default
Authentication []stringAlgorithms - Default phase two authentication algorithms.
- Default
Encryption []stringAlgorithms - Default phase two encryption algorithms.
- Default
Pfs stringDh Group - Default perfect forward secrecy Diffie-Hellman groups.
- default
Authentication List<String>Algorithms - Default phase two authentication algorithms.
- default
Encryption List<String>Algorithms - Default phase two encryption algorithms.
- default
Pfs StringDh Group - Default perfect forward secrecy Diffie-Hellman groups.
- default
Authentication string[]Algorithms - Default phase two authentication algorithms.
- default
Encryption string[]Algorithms - Default phase two encryption algorithms.
- default
Pfs 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.
- default
Authentication List<String>Algorithms - Default phase two authentication algorithms.
- default
Encryption List<String>Algorithms - Default phase two encryption algorithms.
- default
Pfs 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
oci
Terraform Provider.