1. Registry
  2. Packages
  3. Strata Cloud Manager Provider
  4. API Docs
  5. getIpsecCryptoProfile
Viewing docs for Strata Cloud Manager v1.2.1
published on Friday, Oct 16, 2026 by Pulumi
scm logo Strata Cloud Manager
Viewing docs for Strata Cloud Manager v1.2.1
published on Friday, Oct 16, 2026 by Pulumi

    IpsecCryptoProfile data source

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as scm from "@pulumi/scm";
    
    // Example of looking up an individual IPsec Crypto Profile by its ID.
    const scmIpsecCryptoProfileDs = scm.getIpsecCryptoProfile({
        id: "b89e8fe1-9e92-46fa-8a67-de84313128c9",
    });
    export const ipsecProfileById = scmIpsecCryptoProfileDs;
    
    import pulumi
    import pulumi_scm as scm
    
    # Example of looking up an individual IPsec Crypto Profile by its ID.
    scm_ipsec_crypto_profile_ds = scm.get_ipsec_crypto_profile(id="b89e8fe1-9e92-46fa-8a67-de84313128c9")
    pulumi.export("ipsecProfileById", scm_ipsec_crypto_profile_ds)
    
    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 {
    		// Example of looking up an individual IPsec Crypto Profile by its ID.
    		scmIpsecCryptoProfileDs, err := scm.GetIpsecCryptoProfile(ctx, &scm.LookupIpsecCryptoProfileArgs{
    			Id: "b89e8fe1-9e92-46fa-8a67-de84313128c9",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("ipsecProfileById", scmIpsecCryptoProfileDs)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scm = Pulumi.Scm;
    
    return await Deployment.RunAsync(() => 
    {
        // Example of looking up an individual IPsec Crypto Profile by its ID.
        var scmIpsecCryptoProfileDs = Scm.GetIpsecCryptoProfile.Invoke(new()
        {
            Id = "b89e8fe1-9e92-46fa-8a67-de84313128c9",
        });
    
        return new Dictionary<string, object?>
        {
            ["ipsecProfileById"] = scmIpsecCryptoProfileDs,
        };
    });
    
    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.ArrayList;
    import java.util.Arrays;
    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) {
            // Example of looking up an individual IPsec Crypto Profile by its ID.
            final var scmIpsecCryptoProfileDs = ScmFunctions.getIpsecCryptoProfile(GetIpsecCryptoProfileArgs.builder()
                .id("b89e8fe1-9e92-46fa-8a67-de84313128c9")
                .build());
    
            ctx.export("ipsecProfileById", scmIpsecCryptoProfileDs);
        }
    }
    
    variables:
      # Example of looking up an individual IPsec Crypto Profile by its ID.
      scmIpsecCryptoProfileDs:
        fn::invoke:
          function: scm:getIpsecCryptoProfile
          arguments:
            id: b89e8fe1-9e92-46fa-8a67-de84313128c9
    outputs:
      # Outputs to display the results of the function lookups.
      ipsecProfileById: ${scmIpsecCryptoProfileDs}
    
    terraform {
      required_providers {
        scm = {
          source = "pulumi/scm"
        }
      }
    }
    
    data "scm_ipsec_crypto_profile" "scmIpsecCryptoProfileDs" {
      id = "b89e8fe1-9e92-46fa-8a67-de84313128c9"
    }
    
    # Example of looking up an individual IPsec Crypto Profile by its ID.
    # Outputs to display the results of the function lookups.
    output "ipsecProfileById" {
      value = data.scm_ipsec_crypto_profile.scmIpsecCryptoProfileDs
    }
    

    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?: InvokeOutputOptions): Output<GetIpsecCryptoProfileResult>
    def get_ipsec_crypto_profile(device: Optional[str] = None,
                                 folder: Optional[str] = None,
                                 id: Optional[str] = None,
                                 name: Optional[str] = None,
                                 snippet: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetIpsecCryptoProfileResult
    def get_ipsec_crypto_profile_output(device: pulumi.Input[Optional[str]] = None,
                                 folder: pulumi.Input[Optional[str]] = None,
                                 id: pulumi.Input[Optional[str]] = None,
                                 name: pulumi.Input[Optional[str]] = None,
                                 snippet: pulumi.Input[Optional[str]] = None,
                                 opts: Optional[InvokeOutputOptions] = 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 Output<GetIpsecCryptoProfileResult> Invoke(GetIpsecCryptoProfileInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetIpsecCryptoProfileResult> getIpsecCryptoProfile(GetIpsecCryptoProfileArgs args, InvokeOptions options)
    public static Output<GetIpsecCryptoProfileResult> getIpsecCryptoProfile(GetIpsecCryptoProfileArgs args, InvokeOptions options)
    public static Output<GetIpsecCryptoProfileResult> getIpsecCryptoProfile(GetIpsecCryptoProfileArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: scm:index/getIpsecCryptoProfile:getIpsecCryptoProfile
      arguments:
        # arguments dictionary
    data "scm_get_ipsec_crypto_profile" "name" {
        # arguments
    }

    The following arguments are supported:

    Id string
    UUID of the resource
    Device string
    The device in which the resource is defined
    Folder string
    The folder in which the resource is defined
    Name string
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    Snippet string
    The snippet in which the resource is defined
    Id string
    UUID of the resource
    Device string
    The device in which the resource is defined
    Folder string
    The folder in which the resource is defined
    Name string
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    Snippet string
    The snippet in which the resource is defined
    id string
    UUID of the resource
    device string
    The device in which the resource is defined
    folder string
    The folder in which the resource is defined
    name string
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    snippet string
    The snippet in which the resource is defined
    id String
    UUID of the resource
    device String
    The device in which the resource is defined
    folder String
    The folder in which the resource is defined
    name String
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    snippet String
    The snippet in which the resource is defined
    id string
    UUID of the resource
    device string
    The device in which the resource is defined
    folder string
    The folder in which the resource is defined
    name string
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    snippet string
    The snippet in which the resource is defined
    id str
    UUID of the resource
    device str
    The device in which the resource is defined
    folder str
    The folder in which the resource is defined
    name str
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    snippet str
    The snippet in which the resource is defined
    id String
    UUID of the resource
    device String
    The device in which the resource is defined
    folder String
    The folder in which the resource is defined
    name String
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    snippet String
    The snippet in which the resource is defined

    getIpsecCryptoProfile Result

    The following output properties are available:

    Ah GetIpsecCryptoProfileAh
    Ah
    Device string
    The device in which the resource is defined
    DhGroup string
    phase-2 DH group (PFS DH group). Possible values are no-pfs, group1, group2, group5, group14, group19, group20, group21, ml-kem-512, ml-kem-768 and ml-kem-1024.
    Esp GetIpsecCryptoProfileEsp
    Esp
    Folder string
    The folder in which the resource is defined
    Id string
    UUID of the resource
    Lifesize GetIpsecCryptoProfileLifesize
    Lifesize
    Lifetime GetIpsecCryptoProfileLifetime
    Ipsec crypto profile lifetime
    Name string
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    Snippet string
    The snippet in which the resource is defined
    Tfid string
    The Terraform ID.
    Ah GetIpsecCryptoProfileAh
    Ah
    Device string
    The device in which the resource is defined
    DhGroup string
    phase-2 DH group (PFS DH group). Possible values are no-pfs, group1, group2, group5, group14, group19, group20, group21, ml-kem-512, ml-kem-768 and ml-kem-1024.
    Esp GetIpsecCryptoProfileEsp
    Esp
    Folder string
    The folder in which the resource is defined
    Id string
    UUID of the resource
    Lifesize GetIpsecCryptoProfileLifesize
    Lifesize
    Lifetime GetIpsecCryptoProfileLifetime
    Ipsec crypto profile lifetime
    Name string
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    Snippet string
    The snippet in which the resource is defined
    Tfid string
    The Terraform ID.
    ah object
    Ah
    device string
    The device in which the resource is defined
    dh_group string
    phase-2 DH group (PFS DH group). Possible values are no-pfs, group1, group2, group5, group14, group19, group20, group21, ml-kem-512, ml-kem-768 and ml-kem-1024.
    esp object
    Esp
    folder string
    The folder in which the resource is defined
    id string
    UUID of the resource
    lifesize object
    Lifesize
    lifetime object
    Ipsec crypto profile lifetime
    name string
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    snippet string
    The snippet in which the resource is defined
    tfid string
    The Terraform ID.
    ah GetIpsecCryptoProfileAh
    Ah
    device String
    The device in which the resource is defined
    dhGroup String
    phase-2 DH group (PFS DH group). Possible values are no-pfs, group1, group2, group5, group14, group19, group20, group21, ml-kem-512, ml-kem-768 and ml-kem-1024.
    esp GetIpsecCryptoProfileEsp
    Esp
    folder String
    The folder in which the resource is defined
    id String
    UUID of the resource
    lifesize GetIpsecCryptoProfileLifesize
    Lifesize
    lifetime GetIpsecCryptoProfileLifetime
    Ipsec crypto profile lifetime
    name String
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    snippet String
    The snippet in which the resource is defined
    tfid String
    The Terraform ID.
    ah GetIpsecCryptoProfileAh
    Ah
    device string
    The device in which the resource is defined
    dhGroup string
    phase-2 DH group (PFS DH group). Possible values are no-pfs, group1, group2, group5, group14, group19, group20, group21, ml-kem-512, ml-kem-768 and ml-kem-1024.
    esp GetIpsecCryptoProfileEsp
    Esp
    folder string
    The folder in which the resource is defined
    id string
    UUID of the resource
    lifesize GetIpsecCryptoProfileLifesize
    Lifesize
    lifetime GetIpsecCryptoProfileLifetime
    Ipsec crypto profile lifetime
    name string
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    snippet string
    The snippet in which the resource is defined
    tfid string
    The Terraform ID.
    ah GetIpsecCryptoProfileAh
    Ah
    device str
    The device in which the resource is defined
    dh_group str
    phase-2 DH group (PFS DH group). Possible values are no-pfs, group1, group2, group5, group14, group19, group20, group21, ml-kem-512, ml-kem-768 and ml-kem-1024.
    esp GetIpsecCryptoProfileEsp
    Esp
    folder str
    The folder in which the resource is defined
    id str
    UUID of the resource
    lifesize GetIpsecCryptoProfileLifesize
    Lifesize
    lifetime GetIpsecCryptoProfileLifetime
    Ipsec crypto profile lifetime
    name str
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    snippet str
    The snippet in which the resource is defined
    tfid str
    The Terraform ID.
    ah Property Map
    Ah
    device String
    The device in which the resource is defined
    dhGroup String
    phase-2 DH group (PFS DH group). Possible values are no-pfs, group1, group2, group5, group14, group19, group20, group21, ml-kem-512, ml-kem-768 and ml-kem-1024.
    esp Property Map
    Esp
    folder String
    The folder in which the resource is defined
    id String
    UUID of the resource
    lifesize Property Map
    Lifesize
    lifetime Property Map
    Ipsec crypto profile lifetime
    name String
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    snippet String
    The snippet in which the resource is defined
    tfid String
    The Terraform ID.

    Supporting Types

    GetIpsecCryptoProfileAh

    Authentications List<string>
    Authentication. Possible values are md5, sha1, sha256, sha384 and sha512.
    Authentications []string
    Authentication. Possible values are md5, sha1, sha256, sha384 and sha512.
    authentications list(string)
    Authentication. Possible values are md5, sha1, sha256, sha384 and sha512.
    authentications List<String>
    Authentication. Possible values are md5, sha1, sha256, sha384 and sha512.
    authentications string[]
    Authentication. Possible values are md5, sha1, sha256, sha384 and sha512.
    authentications Sequence[str]
    Authentication. Possible values are md5, sha1, sha256, sha384 and sha512.
    authentications List<String>
    Authentication. Possible values are md5, sha1, sha256, sha384 and sha512.

    GetIpsecCryptoProfileEsp

    Authentications List<string>
    Authentication algorithm
    Encryptions List<string>
    Encryption algorithm. Possible values are des, 3des, aes-128-cbc, aes-192-cbc, aes-256-cbc, aes-128-gcm, aes-256-gcm and null.
    Authentications []string
    Authentication algorithm
    Encryptions []string
    Encryption algorithm. Possible values are des, 3des, aes-128-cbc, aes-192-cbc, aes-256-cbc, aes-128-gcm, aes-256-gcm and null.
    authentications list(string)
    Authentication algorithm
    encryptions list(string)
    Encryption algorithm. Possible values are des, 3des, aes-128-cbc, aes-192-cbc, aes-256-cbc, aes-128-gcm, aes-256-gcm and null.
    authentications List<String>
    Authentication algorithm
    encryptions List<String>
    Encryption algorithm. Possible values are des, 3des, aes-128-cbc, aes-192-cbc, aes-256-cbc, aes-128-gcm, aes-256-gcm and null.
    authentications string[]
    Authentication algorithm
    encryptions string[]
    Encryption algorithm. Possible values are des, 3des, aes-128-cbc, aes-192-cbc, aes-256-cbc, aes-128-gcm, aes-256-gcm and null.
    authentications Sequence[str]
    Authentication algorithm
    encryptions Sequence[str]
    Encryption algorithm. Possible values are des, 3des, aes-128-cbc, aes-192-cbc, aes-256-cbc, aes-128-gcm, aes-256-gcm and null.
    authentications List<String>
    Authentication algorithm
    encryptions List<String>
    Encryption algorithm. Possible values are des, 3des, aes-128-cbc, aes-192-cbc, aes-256-cbc, aes-128-gcm, aes-256-gcm and null.

    GetIpsecCryptoProfileLifesize

    Gb int
    specify lifesize in gigabytes(GB)
    Kb int
    specify lifesize in kilobytes(KB)
    Mb int
    specify lifesize in megabytes(MB)
    Tb int
    specify lifesize in terabytes(TB)
    Gb int
    specify lifesize in gigabytes(GB)
    Kb int
    specify lifesize in kilobytes(KB)
    Mb int
    specify lifesize in megabytes(MB)
    Tb int
    specify lifesize in terabytes(TB)
    gb number
    specify lifesize in gigabytes(GB)
    kb number
    specify lifesize in kilobytes(KB)
    mb number
    specify lifesize in megabytes(MB)
    tb number
    specify lifesize in terabytes(TB)
    gb Integer
    specify lifesize in gigabytes(GB)
    kb Integer
    specify lifesize in kilobytes(KB)
    mb Integer
    specify lifesize in megabytes(MB)
    tb Integer
    specify lifesize in terabytes(TB)
    gb number
    specify lifesize in gigabytes(GB)
    kb number
    specify lifesize in kilobytes(KB)
    mb number
    specify lifesize in megabytes(MB)
    tb number
    specify lifesize in terabytes(TB)
    gb int
    specify lifesize in gigabytes(GB)
    kb int
    specify lifesize in kilobytes(KB)
    mb int
    specify lifesize in megabytes(MB)
    tb int
    specify lifesize in terabytes(TB)
    gb Number
    specify lifesize in gigabytes(GB)
    kb Number
    specify lifesize in kilobytes(KB)
    mb Number
    specify lifesize in megabytes(MB)
    tb Number
    specify lifesize in terabytes(TB)

    GetIpsecCryptoProfileLifetime

    Days int
    specify lifetime in days
    Hours int
    specify lifetime in hours
    Minutes int
    specify lifetime in minutes
    Seconds int
    specify lifetime in seconds
    Days int
    specify lifetime in days
    Hours int
    specify lifetime in hours
    Minutes int
    specify lifetime in minutes
    Seconds int
    specify lifetime in seconds
    days number
    specify lifetime in days
    hours number
    specify lifetime in hours
    minutes number
    specify lifetime in minutes
    seconds number
    specify lifetime in seconds
    days Integer
    specify lifetime in days
    hours Integer
    specify lifetime in hours
    minutes Integer
    specify lifetime in minutes
    seconds Integer
    specify lifetime in seconds
    days number
    specify lifetime in days
    hours number
    specify lifetime in hours
    minutes number
    specify lifetime in minutes
    seconds number
    specify lifetime in seconds
    days int
    specify lifetime in days
    hours int
    specify lifetime in hours
    minutes int
    specify lifetime in minutes
    seconds int
    specify lifetime in seconds
    days Number
    specify lifetime in days
    hours Number
    specify lifetime in hours
    minutes Number
    specify lifetime in minutes
    seconds Number
    specify lifetime in seconds

    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
    Viewing docs for Strata Cloud Manager v1.2.1
    published on Friday, Oct 16, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial