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.LookupIpsecCryptoProfile(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.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) {
// 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 data source lookups.
ipsecProfileById: ${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?: InvokeOptions): Output<GetIpsecCryptoProfileResult>def get_ipsec_crypto_profile(id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIpsecCryptoProfileResult
def get_ipsec_crypto_profile_output(id: Optional[pulumi.Input[str]] = None,
name: 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)
public static Output<GetIpsecCryptoProfileResult> getIpsecCryptoProfile(GetIpsecCryptoProfileArgs args, InvokeOptions options)
fn::invoke:
function: scm:index/getIpsecCryptoProfile:getIpsecCryptoProfile
arguments:
# arguments dictionaryThe following arguments are supported:
getIpsecCryptoProfile Result
The following output properties are available:
- Ah
Get
Ipsec Crypto Profile Ah - Ah
- Device string
- Dh
Group string - Esp
Get
Ipsec Crypto Profile Esp - Folder string
- Id string
- UUID of the resource
- Lifesize
Get
Ipsec Crypto Profile Lifesize - Lifetime
Get
Ipsec Crypto Profile Lifetime - Name string
- Alphanumeric string begin with letter: [0-9a-zA-Z._-]
- Snippet string
- Tfid string
- Ah
Get
Ipsec Crypto Profile Ah - Ah
- Device string
- Dh
Group string - Esp
Get
Ipsec Crypto Profile Esp - Folder string
- Id string
- UUID of the resource
- Lifesize
Get
Ipsec Crypto Profile Lifesize - Lifetime
Get
Ipsec Crypto Profile Lifetime - Name string
- Alphanumeric string begin with letter: [0-9a-zA-Z._-]
- Snippet string
- Tfid string
- ah
Get
Ipsec Crypto Profile Ah - Ah
- device String
- dh
Group String - esp
Get
Ipsec Crypto Profile Esp - folder String
- id String
- UUID of the resource
- lifesize
Get
Ipsec Crypto Profile Lifesize - lifetime
Get
Ipsec Crypto Profile Lifetime - name String
- Alphanumeric string begin with letter: [0-9a-zA-Z._-]
- snippet String
- tfid String
- ah
Get
Ipsec Crypto Profile Ah - Ah
- device string
- dh
Group string - esp
Get
Ipsec Crypto Profile Esp - folder string
- id string
- UUID of the resource
- lifesize
Get
Ipsec Crypto Profile Lifesize - lifetime
Get
Ipsec Crypto Profile Lifetime - name string
- Alphanumeric string begin with letter: [0-9a-zA-Z._-]
- snippet string
- tfid string
- ah
Get
Ipsec Crypto Profile Ah - Ah
- device str
- dh_
group str - esp
Get
Ipsec Crypto Profile Esp - folder str
- id str
- UUID of the resource
- lifesize
Get
Ipsec Crypto Profile Lifesize - lifetime
Get
Ipsec Crypto Profile Lifetime - name str
- Alphanumeric string begin with letter: [0-9a-zA-Z._-]
- snippet str
- tfid str
- ah Property Map
- Ah
- device String
- dh
Group String - esp Property Map
- folder String
- id String
- UUID of the resource
- lifesize Property Map
- lifetime Property Map
- name String
- Alphanumeric string begin with letter: [0-9a-zA-Z._-]
- snippet String
- tfid String
Supporting Types
GetIpsecCryptoProfileAh
- Authentications List<string>
- Authentication
- Authentications []string
- Authentication
- authentications List<String>
- Authentication
- authentications string[]
- Authentication
- authentications Sequence[str]
- Authentication
- authentications List<String>
- Authentication
GetIpsecCryptoProfileEsp
- Authentications List<string>
- Authentication algorithm
- Encryptions List<string>
- Encryption algorithm
- Authentications []string
- Authentication algorithm
- Encryptions []string
- Encryption algorithm
- authentications List<String>
- Authentication algorithm
- encryptions List<String>
- Encryption algorithm
- authentications string[]
- Authentication algorithm
- encryptions string[]
- Encryption algorithm
- authentications Sequence[str]
- Authentication algorithm
- encryptions Sequence[str]
- Encryption algorithm
- authentications List<String>
- Authentication algorithm
- encryptions List<String>
- Encryption algorithm
GetIpsecCryptoProfileLifesize
- Gb int
- specify lifesize in gigabytes(GB)
- Kb int
specify lifesize in kilobytes(KB)
ℹ️ Note: You must specify exactly one of
gb,kb,mb, andtb.- Mb int
specify lifesize in megabytes(MB)
ℹ️ Note: You must specify exactly one of
gb,kb,mb, andtb.- Tb int
specify lifesize in terabytes(TB)
ℹ️ Note: You must specify exactly one of
gb,kb,mb, andtb.
- Gb int
- specify lifesize in gigabytes(GB)
- Kb int
specify lifesize in kilobytes(KB)
ℹ️ Note: You must specify exactly one of
gb,kb,mb, andtb.- Mb int
specify lifesize in megabytes(MB)
ℹ️ Note: You must specify exactly one of
gb,kb,mb, andtb.- Tb int
specify lifesize in terabytes(TB)
ℹ️ Note: You must specify exactly one of
gb,kb,mb, andtb.
- gb Integer
- specify lifesize in gigabytes(GB)
- kb Integer
specify lifesize in kilobytes(KB)
ℹ️ Note: You must specify exactly one of
gb,kb,mb, andtb.- mb Integer
specify lifesize in megabytes(MB)
ℹ️ Note: You must specify exactly one of
gb,kb,mb, andtb.- tb Integer
specify lifesize in terabytes(TB)
ℹ️ Note: You must specify exactly one of
gb,kb,mb, andtb.
- gb number
- specify lifesize in gigabytes(GB)
- kb number
specify lifesize in kilobytes(KB)
ℹ️ Note: You must specify exactly one of
gb,kb,mb, andtb.- mb number
specify lifesize in megabytes(MB)
ℹ️ Note: You must specify exactly one of
gb,kb,mb, andtb.- tb number
specify lifesize in terabytes(TB)
ℹ️ Note: You must specify exactly one of
gb,kb,mb, andtb.
- gb int
- specify lifesize in gigabytes(GB)
- kb int
specify lifesize in kilobytes(KB)
ℹ️ Note: You must specify exactly one of
gb,kb,mb, andtb.- mb int
specify lifesize in megabytes(MB)
ℹ️ Note: You must specify exactly one of
gb,kb,mb, andtb.- tb int
specify lifesize in terabytes(TB)
ℹ️ Note: You must specify exactly one of
gb,kb,mb, andtb.
- gb Number
- specify lifesize in gigabytes(GB)
- kb Number
specify lifesize in kilobytes(KB)
ℹ️ Note: You must specify exactly one of
gb,kb,mb, andtb.- mb Number
specify lifesize in megabytes(MB)
ℹ️ Note: You must specify exactly one of
gb,kb,mb, andtb.- tb Number
specify lifesize in terabytes(TB)
ℹ️ Note: You must specify exactly one of
gb,kb,mb, andtb.
GetIpsecCryptoProfileLifetime
- Days int
- specify lifetime in days
- Hours int
specify lifetime in hours
ℹ️ Note: You must specify exactly one of
days,hours,minutes, andseconds.- Minutes int
specify lifetime in minutes
ℹ️ Note: You must specify exactly one of
days,hours,minutes, andseconds.- Seconds int
specify lifetime in seconds
ℹ️ Note: You must specify exactly one of
days,hours,minutes, andseconds.
- Days int
- specify lifetime in days
- Hours int
specify lifetime in hours
ℹ️ Note: You must specify exactly one of
days,hours,minutes, andseconds.- Minutes int
specify lifetime in minutes
ℹ️ Note: You must specify exactly one of
days,hours,minutes, andseconds.- Seconds int
specify lifetime in seconds
ℹ️ Note: You must specify exactly one of
days,hours,minutes, andseconds.
- days Integer
- specify lifetime in days
- hours Integer
specify lifetime in hours
ℹ️ Note: You must specify exactly one of
days,hours,minutes, andseconds.- minutes Integer
specify lifetime in minutes
ℹ️ Note: You must specify exactly one of
days,hours,minutes, andseconds.- seconds Integer
specify lifetime in seconds
ℹ️ Note: You must specify exactly one of
days,hours,minutes, andseconds.
- days number
- specify lifetime in days
- hours number
specify lifetime in hours
ℹ️ Note: You must specify exactly one of
days,hours,minutes, andseconds.- minutes number
specify lifetime in minutes
ℹ️ Note: You must specify exactly one of
days,hours,minutes, andseconds.- seconds number
specify lifetime in seconds
ℹ️ Note: You must specify exactly one of
days,hours,minutes, andseconds.
- days int
- specify lifetime in days
- hours int
specify lifetime in hours
ℹ️ Note: You must specify exactly one of
days,hours,minutes, andseconds.- minutes int
specify lifetime in minutes
ℹ️ Note: You must specify exactly one of
days,hours,minutes, andseconds.- seconds int
specify lifetime in seconds
ℹ️ Note: You must specify exactly one of
days,hours,minutes, andseconds.
- days Number
- specify lifetime in days
- hours Number
specify lifetime in hours
ℹ️ Note: You must specify exactly one of
days,hours,minutes, andseconds.- minutes Number
specify lifetime in minutes
ℹ️ Note: You must specify exactly one of
days,hours,minutes, andseconds.- seconds Number
specify lifetime in seconds
ℹ️ Note: You must specify exactly one of
days,hours,minutes, andseconds.
Package Details
- Repository
- scm pulumi/pulumi-scm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scmTerraform Provider.
