1. Packages
  2. Strata Cloud Manager
  3. API Docs
  4. getIpsecCryptoProfile
Strata Cloud Manager v0.1.1 published on Friday, May 31, 2024 by Pulumi

scm.getIpsecCryptoProfile

Explore with Pulumi AI

scm logo
Strata Cloud Manager v0.1.1 published on Friday, May 31, 2024 by Pulumi

    Retrieves a config item.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as scm from "@pulumi/scm";
    
    const example = scm.getIpsecCryptoProfile({
        id: "1234-56-789",
    });
    
    import pulumi
    import pulumi_scm as scm
    
    example = scm.get_ipsec_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.LookupIpsecCryptoProfile(ctx, &scm.LookupIpsecCryptoProfileArgs{
    			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.GetIpsecCryptoProfile.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.GetIpsecCryptoProfileArgs;
    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.getIpsecCryptoProfile(GetIpsecCryptoProfileArgs.builder()
                .id("1234-56-789")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: scm:getIpsecCryptoProfile
          Arguments:
            id: 1234-56-789
    

    Using getIpsecCryptoProfile

    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 getIpsecCryptoProfile(args: GetIpsecCryptoProfileArgs, opts?: InvokeOptions): Promise<GetIpsecCryptoProfileResult>
    function getIpsecCryptoProfileOutput(args: GetIpsecCryptoProfileOutputArgs, opts?: InvokeOptions): Output<GetIpsecCryptoProfileResult>
    def get_ipsec_crypto_profile(device: Optional[str] = None,
                                 folder: Optional[str] = None,
                                 id: Optional[str] = None,
                                 snippet: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetIpsecCryptoProfileResult
    def get_ipsec_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[GetIpsecCryptoProfileResult]
    func LookupIpsecCryptoProfile(ctx *Context, args *LookupIpsecCryptoProfileArgs, opts ...InvokeOption) (*LookupIpsecCryptoProfileResult, error)
    func LookupIpsecCryptoProfileOutput(ctx *Context, args *LookupIpsecCryptoProfileOutputArgs, opts ...InvokeOption) LookupIpsecCryptoProfileResultOutput

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

    public static class GetIpsecCryptoProfile 
    {
        public static Task<GetIpsecCryptoProfileResult> InvokeAsync(GetIpsecCryptoProfileArgs args, InvokeOptions? opts = null)
        public static Output<GetIpsecCryptoProfileResult> Invoke(GetIpsecCryptoProfileInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetIpsecCryptoProfileResult> getIpsecCryptoProfile(GetIpsecCryptoProfileArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: scm:index/getIpsecCryptoProfile:getIpsecCryptoProfile
      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.

    getIpsecCryptoProfile Result

    The following output properties are available:

    Ah GetIpsecCryptoProfileAh
    The Ah param.
    DhGroup string
    phase-2 DH group (PFS DH group). String must be one of these: "no-pfs", "group1", "group2", "group5", "group14", "group19", "group20". Default: "group2".
    Esp GetIpsecCryptoProfileEsp
    The Esp param.
    Id string
    The Id param.
    Lifesize GetIpsecCryptoProfileLifesize
    The Lifesize param.
    Lifetime GetIpsecCryptoProfileLifetime
    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.
    Ah GetIpsecCryptoProfileAh
    The Ah param.
    DhGroup string
    phase-2 DH group (PFS DH group). String must be one of these: "no-pfs", "group1", "group2", "group5", "group14", "group19", "group20". Default: "group2".
    Esp GetIpsecCryptoProfileEsp
    The Esp param.
    Id string
    The Id param.
    Lifesize GetIpsecCryptoProfileLifesize
    The Lifesize param.
    Lifetime GetIpsecCryptoProfileLifetime
    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.
    ah GetIpsecCryptoProfileAh
    The Ah param.
    dhGroup String
    phase-2 DH group (PFS DH group). String must be one of these: "no-pfs", "group1", "group2", "group5", "group14", "group19", "group20". Default: "group2".
    esp GetIpsecCryptoProfileEsp
    The Esp param.
    id String
    The Id param.
    lifesize GetIpsecCryptoProfileLifesize
    The Lifesize param.
    lifetime GetIpsecCryptoProfileLifetime
    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.
    ah GetIpsecCryptoProfileAh
    The Ah param.
    dhGroup string
    phase-2 DH group (PFS DH group). String must be one of these: "no-pfs", "group1", "group2", "group5", "group14", "group19", "group20". Default: "group2".
    esp GetIpsecCryptoProfileEsp
    The Esp param.
    id string
    The Id param.
    lifesize GetIpsecCryptoProfileLifesize
    The Lifesize param.
    lifetime GetIpsecCryptoProfileLifetime
    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.
    ah GetIpsecCryptoProfileAh
    The Ah param.
    dh_group str
    phase-2 DH group (PFS DH group). String must be one of these: "no-pfs", "group1", "group2", "group5", "group14", "group19", "group20". Default: "group2".
    esp GetIpsecCryptoProfileEsp
    The Esp param.
    id str
    The Id param.
    lifesize GetIpsecCryptoProfileLifesize
    The Lifesize param.
    lifetime GetIpsecCryptoProfileLifetime
    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.
    ah Property Map
    The Ah param.
    dhGroup String
    phase-2 DH group (PFS DH group). String must be one of these: "no-pfs", "group1", "group2", "group5", "group14", "group19", "group20". Default: "group2".
    esp Property Map
    The Esp param.
    id String
    The Id param.
    lifesize Property Map
    The Lifesize 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

    GetIpsecCryptoProfileAh

    Authentications List<string>
    The Authentications param. Individual elements in this list are subject to additional validation. String must be one of these: "md5", "sha1", "sha256", "sha384", "sha512".
    Authentications []string
    The Authentications param. Individual elements in this list are subject to additional validation. String must be one of these: "md5", "sha1", "sha256", "sha384", "sha512".
    authentications List<String>
    The Authentications param. Individual elements in this list are subject to additional validation. String must be one of these: "md5", "sha1", "sha256", "sha384", "sha512".
    authentications string[]
    The Authentications param. Individual elements in this list are subject to additional validation. String must be one of these: "md5", "sha1", "sha256", "sha384", "sha512".
    authentications Sequence[str]
    The Authentications param. Individual elements in this list are subject to additional validation. String must be one of these: "md5", "sha1", "sha256", "sha384", "sha512".
    authentications List<String>
    The Authentications param. Individual elements in this list are subject to additional validation. String must be one of these: "md5", "sha1", "sha256", "sha384", "sha512".

    GetIpsecCryptoProfileEsp

    Authentications List<string>
    Authentication algorithm.
    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", "null".
    Authentications []string
    Authentication algorithm.
    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", "null".
    authentications List<String>
    Authentication algorithm.
    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", "null".
    authentications string[]
    Authentication algorithm.
    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", "null".
    authentications Sequence[str]
    Authentication algorithm.
    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", "null".
    authentications List<String>
    Authentication algorithm.
    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", "null".

    GetIpsecCryptoProfileLifesize

    Gb int
    specify lifesize in gigabytes(GB). Value must be between 1 and 65535.
    Kb int
    specify lifesize in kilobytes(KB). Value must be between 1 and 65535.
    Mb int
    specify lifesize in megabytes(MB). Value must be between 1 and 65535.
    Tb int
    specify lifesize in terabytes(TB). Value must be between 1 and 65535.
    Gb int
    specify lifesize in gigabytes(GB). Value must be between 1 and 65535.
    Kb int
    specify lifesize in kilobytes(KB). Value must be between 1 and 65535.
    Mb int
    specify lifesize in megabytes(MB). Value must be between 1 and 65535.
    Tb int
    specify lifesize in terabytes(TB). Value must be between 1 and 65535.
    gb Integer
    specify lifesize in gigabytes(GB). Value must be between 1 and 65535.
    kb Integer
    specify lifesize in kilobytes(KB). Value must be between 1 and 65535.
    mb Integer
    specify lifesize in megabytes(MB). Value must be between 1 and 65535.
    tb Integer
    specify lifesize in terabytes(TB). Value must be between 1 and 65535.
    gb number
    specify lifesize in gigabytes(GB). Value must be between 1 and 65535.
    kb number
    specify lifesize in kilobytes(KB). Value must be between 1 and 65535.
    mb number
    specify lifesize in megabytes(MB). Value must be between 1 and 65535.
    tb number
    specify lifesize in terabytes(TB). Value must be between 1 and 65535.
    gb int
    specify lifesize in gigabytes(GB). Value must be between 1 and 65535.
    kb int
    specify lifesize in kilobytes(KB). Value must be between 1 and 65535.
    mb int
    specify lifesize in megabytes(MB). Value must be between 1 and 65535.
    tb int
    specify lifesize in terabytes(TB). Value must be between 1 and 65535.
    gb Number
    specify lifesize in gigabytes(GB). Value must be between 1 and 65535.
    kb Number
    specify lifesize in kilobytes(KB). Value must be between 1 and 65535.
    mb Number
    specify lifesize in megabytes(MB). Value must be between 1 and 65535.
    tb Number
    specify lifesize in terabytes(TB). Value must be between 1 and 65535.

    GetIpsecCryptoProfileLifetime

    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.1 published on Friday, May 31, 2024 by Pulumi