1. Packages
  2. Scm Provider
  3. API Docs
  4. getIkeCryptoProfile
Strata Cloud Manager v0.1.6 published on Wednesday, Oct 16, 2024 by Pulumi

scm.getIkeCryptoProfile

Explore with Pulumi AI

scm logo
Strata Cloud Manager v0.1.6 published on Wednesday, Oct 16, 2024 by Pulumi

    Retrieves a config item.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as scm from "@pulumi/scm";
    
    const example = scm.getIkeCryptoProfile({
        id: "1234-56-789",
    });
    
    import pulumi
    import pulumi_scm as scm
    
    example = scm.get_ike_crypto_profile(id="1234-56-789")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-scm/sdk/go/scm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := scm.LookupIkeCryptoProfile(ctx, &scm.LookupIkeCryptoProfileArgs{
    			Id: "1234-56-789",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scm = Pulumi.Scm;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Scm.GetIkeCryptoProfile.Invoke(new()
        {
            Id = "1234-56-789",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scm.ScmFunctions;
    import com.pulumi.scm.inputs.GetIkeCryptoProfileArgs;
    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 example = ScmFunctions.getIkeCryptoProfile(GetIkeCryptoProfileArgs.builder()
                .id("1234-56-789")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: scm:getIkeCryptoProfile
          Arguments:
            id: 1234-56-789
    

    Using getIkeCryptoProfile

    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 getIkeCryptoProfile(args: GetIkeCryptoProfileArgs, opts?: InvokeOptions): Promise<GetIkeCryptoProfileResult>
    function getIkeCryptoProfileOutput(args: GetIkeCryptoProfileOutputArgs, opts?: InvokeOptions): Output<GetIkeCryptoProfileResult>
    def get_ike_crypto_profile(device: Optional[str] = None,
                               folder: Optional[str] = None,
                               id: Optional[str] = None,
                               snippet: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetIkeCryptoProfileResult
    def get_ike_crypto_profile_output(device: Optional[pulumi.Input[str]] = None,
                               folder: Optional[pulumi.Input[str]] = None,
                               id: Optional[pulumi.Input[str]] = None,
                               snippet: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetIkeCryptoProfileResult]
    func LookupIkeCryptoProfile(ctx *Context, args *LookupIkeCryptoProfileArgs, opts ...InvokeOption) (*LookupIkeCryptoProfileResult, error)
    func LookupIkeCryptoProfileOutput(ctx *Context, args *LookupIkeCryptoProfileOutputArgs, opts ...InvokeOption) LookupIkeCryptoProfileResultOutput

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

    public static class GetIkeCryptoProfile 
    {
        public static Task<GetIkeCryptoProfileResult> InvokeAsync(GetIkeCryptoProfileArgs args, InvokeOptions? opts = null)
        public static Output<GetIkeCryptoProfileResult> Invoke(GetIkeCryptoProfileInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetIkeCryptoProfileResult> getIkeCryptoProfile(GetIkeCryptoProfileArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: scm:index/getIkeCryptoProfile:getIkeCryptoProfile
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The Id param.
    Device string
    The Device param.
    Folder string
    The Folder param.
    Snippet string
    The Snippet param.
    Id string
    The Id param.
    Device string
    The Device param.
    Folder string
    The Folder param.
    Snippet string
    The Snippet param.
    id String
    The Id param.
    device String
    The Device param.
    folder String
    The Folder param.
    snippet String
    The Snippet param.
    id string
    The Id param.
    device string
    The Device param.
    folder string
    The Folder param.
    snippet string
    The Snippet param.
    id str
    The Id param.
    device str
    The Device param.
    folder str
    The Folder param.
    snippet str
    The Snippet param.
    id String
    The Id param.
    device String
    The Device param.
    folder String
    The Folder param.
    snippet String
    The Snippet param.

    getIkeCryptoProfile Result

    The following output properties are available:

    AuthenticationMultiple int
    IKEv2 SA reauthentication interval equals authetication-multiple * rekey-lifetime; 0 means reauthentication disabled. Value must be less than or equal to 50. Default: 0.
    DhGroups List<string>
    The DhGroups param. Individual elements in this list are subject to additional validation. String must be one of these: "group1", "group2", "group5", "group14", "group19", "group20".
    Encryptions List<string>
    Encryption algorithm. Individual elements in this list are subject to additional validation. String must be one of these: "des", "3des", "aes-128-cbc", "aes-192-cbc", "aes-256-cbc", "aes-128-gcm", "aes-256-gcm".
    Hashes List<string>
    The Hashes param. Individual elements in this list are subject to additional validation. String must be one of these: "md5", "sha1", "sha256", "sha384", "sha512".
    Id string
    The Id param.
    Lifetime GetIkeCryptoProfileLifetime
    The Lifetime param.
    Name string
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]. String length must not exceed 31 characters.
    Tfid string
    Device string
    The Device param.
    Folder string
    The Folder param.
    Snippet string
    The Snippet param.
    AuthenticationMultiple int
    IKEv2 SA reauthentication interval equals authetication-multiple * rekey-lifetime; 0 means reauthentication disabled. Value must be less than or equal to 50. Default: 0.
    DhGroups []string
    The DhGroups param. Individual elements in this list are subject to additional validation. String must be one of these: "group1", "group2", "group5", "group14", "group19", "group20".
    Encryptions []string
    Encryption algorithm. Individual elements in this list are subject to additional validation. String must be one of these: "des", "3des", "aes-128-cbc", "aes-192-cbc", "aes-256-cbc", "aes-128-gcm", "aes-256-gcm".
    Hashes []string
    The Hashes param. Individual elements in this list are subject to additional validation. String must be one of these: "md5", "sha1", "sha256", "sha384", "sha512".
    Id string
    The Id param.
    Lifetime GetIkeCryptoProfileLifetime
    The Lifetime param.
    Name string
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]. String length must not exceed 31 characters.
    Tfid string
    Device string
    The Device param.
    Folder string
    The Folder param.
    Snippet string
    The Snippet param.
    authenticationMultiple Integer
    IKEv2 SA reauthentication interval equals authetication-multiple * rekey-lifetime; 0 means reauthentication disabled. Value must be less than or equal to 50. Default: 0.
    dhGroups List<String>
    The DhGroups param. Individual elements in this list are subject to additional validation. String must be one of these: "group1", "group2", "group5", "group14", "group19", "group20".
    encryptions List<String>
    Encryption algorithm. Individual elements in this list are subject to additional validation. String must be one of these: "des", "3des", "aes-128-cbc", "aes-192-cbc", "aes-256-cbc", "aes-128-gcm", "aes-256-gcm".
    hashes List<String>
    The Hashes param. Individual elements in this list are subject to additional validation. String must be one of these: "md5", "sha1", "sha256", "sha384", "sha512".
    id String
    The Id param.
    lifetime GetIkeCryptoProfileLifetime
    The Lifetime param.
    name String
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]. String length must not exceed 31 characters.
    tfid String
    device String
    The Device param.
    folder String
    The Folder param.
    snippet String
    The Snippet param.
    authenticationMultiple number
    IKEv2 SA reauthentication interval equals authetication-multiple * rekey-lifetime; 0 means reauthentication disabled. Value must be less than or equal to 50. Default: 0.
    dhGroups string[]
    The DhGroups param. Individual elements in this list are subject to additional validation. String must be one of these: "group1", "group2", "group5", "group14", "group19", "group20".
    encryptions string[]
    Encryption algorithm. Individual elements in this list are subject to additional validation. String must be one of these: "des", "3des", "aes-128-cbc", "aes-192-cbc", "aes-256-cbc", "aes-128-gcm", "aes-256-gcm".
    hashes string[]
    The Hashes param. Individual elements in this list are subject to additional validation. String must be one of these: "md5", "sha1", "sha256", "sha384", "sha512".
    id string
    The Id param.
    lifetime GetIkeCryptoProfileLifetime
    The Lifetime param.
    name string
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]. String length must not exceed 31 characters.
    tfid string
    device string
    The Device param.
    folder string
    The Folder param.
    snippet string
    The Snippet param.
    authentication_multiple int
    IKEv2 SA reauthentication interval equals authetication-multiple * rekey-lifetime; 0 means reauthentication disabled. Value must be less than or equal to 50. Default: 0.
    dh_groups Sequence[str]
    The DhGroups param. Individual elements in this list are subject to additional validation. String must be one of these: "group1", "group2", "group5", "group14", "group19", "group20".
    encryptions Sequence[str]
    Encryption algorithm. Individual elements in this list are subject to additional validation. String must be one of these: "des", "3des", "aes-128-cbc", "aes-192-cbc", "aes-256-cbc", "aes-128-gcm", "aes-256-gcm".
    hashes Sequence[str]
    The Hashes param. Individual elements in this list are subject to additional validation. String must be one of these: "md5", "sha1", "sha256", "sha384", "sha512".
    id str
    The Id param.
    lifetime GetIkeCryptoProfileLifetime
    The Lifetime param.
    name str
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]. String length must not exceed 31 characters.
    tfid str
    device str
    The Device param.
    folder str
    The Folder param.
    snippet str
    The Snippet param.
    authenticationMultiple Number
    IKEv2 SA reauthentication interval equals authetication-multiple * rekey-lifetime; 0 means reauthentication disabled. Value must be less than or equal to 50. Default: 0.
    dhGroups List<String>
    The DhGroups param. Individual elements in this list are subject to additional validation. String must be one of these: "group1", "group2", "group5", "group14", "group19", "group20".
    encryptions List<String>
    Encryption algorithm. Individual elements in this list are subject to additional validation. String must be one of these: "des", "3des", "aes-128-cbc", "aes-192-cbc", "aes-256-cbc", "aes-128-gcm", "aes-256-gcm".
    hashes List<String>
    The Hashes param. Individual elements in this list are subject to additional validation. String must be one of these: "md5", "sha1", "sha256", "sha384", "sha512".
    id String
    The Id param.
    lifetime Property Map
    The Lifetime param.
    name String
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]. String length must not exceed 31 characters.
    tfid String
    device String
    The Device param.
    folder String
    The Folder param.
    snippet String
    The Snippet param.

    Supporting Types

    GetIkeCryptoProfileLifetime

    Days int
    specify lifetime in days. Value must be between 1 and 365.
    Hours int
    specify lifetime in hours. Value must be between 1 and 65535.
    Minutes int
    specify lifetime in minutes. Value must be between 3 and 65535.
    Seconds int
    specify lifetime in seconds. Value must be between 180 and 65535.
    Days int
    specify lifetime in days. Value must be between 1 and 365.
    Hours int
    specify lifetime in hours. Value must be between 1 and 65535.
    Minutes int
    specify lifetime in minutes. Value must be between 3 and 65535.
    Seconds int
    specify lifetime in seconds. Value must be between 180 and 65535.
    days Integer
    specify lifetime in days. Value must be between 1 and 365.
    hours Integer
    specify lifetime in hours. Value must be between 1 and 65535.
    minutes Integer
    specify lifetime in minutes. Value must be between 3 and 65535.
    seconds Integer
    specify lifetime in seconds. Value must be between 180 and 65535.
    days number
    specify lifetime in days. Value must be between 1 and 365.
    hours number
    specify lifetime in hours. Value must be between 1 and 65535.
    minutes number
    specify lifetime in minutes. Value must be between 3 and 65535.
    seconds number
    specify lifetime in seconds. Value must be between 180 and 65535.
    days int
    specify lifetime in days. Value must be between 1 and 365.
    hours int
    specify lifetime in hours. Value must be between 1 and 65535.
    minutes int
    specify lifetime in minutes. Value must be between 3 and 65535.
    seconds int
    specify lifetime in seconds. Value must be between 180 and 65535.
    days Number
    specify lifetime in days. Value must be between 1 and 365.
    hours Number
    specify lifetime in hours. Value must be between 1 and 65535.
    minutes Number
    specify lifetime in minutes. Value must be between 3 and 65535.
    seconds Number
    specify lifetime in seconds. Value must be between 180 and 65535.

    Package Details

    Repository
    scm pulumi/pulumi-scm
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the scm Terraform Provider.
    scm logo
    Strata Cloud Manager v0.1.6 published on Wednesday, Oct 16, 2024 by Pulumi