Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs
iosxe.getCryptoIpsecTransformSet
Explore with Pulumi AI
This data source can read the Crypto IPSec Transform Set configuration.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Iosxe = Pulumi.Iosxe;
return await Deployment.RunAsync(() =>
{
var example = Iosxe.GetCryptoIpsecTransformSet.Invoke(new()
{
Name = "TEST",
});
});
package main
import (
"github.com/lbrlabs/pulumi-iosxe/sdk/go/iosxe"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := iosxe.LookupCryptoIpsecTransformSet(ctx, &iosxe.LookupCryptoIpsecTransformSetArgs{
Name: "TEST",
}, nil)
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.iosxe.IosxeFunctions;
import com.pulumi.iosxe.inputs.GetCryptoIpsecTransformSetArgs;
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 = IosxeFunctions.getCryptoIpsecTransformSet(GetCryptoIpsecTransformSetArgs.builder()
.name("TEST")
.build());
}
}
import pulumi
import pulumi_iosxe as iosxe
example = iosxe.get_crypto_ipsec_transform_set(name="TEST")
import * as pulumi from "@pulumi/pulumi";
import * as iosxe from "@pulumi/iosxe";
const example = iosxe.getCryptoIpsecTransformSet({
name: "TEST",
});
variables:
example:
fn::invoke:
Function: iosxe:getCryptoIpsecTransformSet
Arguments:
name: TEST
Using getCryptoIpsecTransformSet
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 getCryptoIpsecTransformSet(args: GetCryptoIpsecTransformSetArgs, opts?: InvokeOptions): Promise<GetCryptoIpsecTransformSetResult>
function getCryptoIpsecTransformSetOutput(args: GetCryptoIpsecTransformSetOutputArgs, opts?: InvokeOptions): Output<GetCryptoIpsecTransformSetResult>
def get_crypto_ipsec_transform_set(device: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCryptoIpsecTransformSetResult
def get_crypto_ipsec_transform_set_output(device: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCryptoIpsecTransformSetResult]
func LookupCryptoIpsecTransformSet(ctx *Context, args *LookupCryptoIpsecTransformSetArgs, opts ...InvokeOption) (*LookupCryptoIpsecTransformSetResult, error)
func LookupCryptoIpsecTransformSetOutput(ctx *Context, args *LookupCryptoIpsecTransformSetOutputArgs, opts ...InvokeOption) LookupCryptoIpsecTransformSetResultOutput
> Note: This function is named LookupCryptoIpsecTransformSet
in the Go SDK.
public static class GetCryptoIpsecTransformSet
{
public static Task<GetCryptoIpsecTransformSetResult> InvokeAsync(GetCryptoIpsecTransformSetArgs args, InvokeOptions? opts = null)
public static Output<GetCryptoIpsecTransformSetResult> Invoke(GetCryptoIpsecTransformSetInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCryptoIpsecTransformSetResult> getCryptoIpsecTransformSet(GetCryptoIpsecTransformSetArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: iosxe:index/getCryptoIpsecTransformSet:getCryptoIpsecTransformSet
arguments:
# arguments dictionary
The following arguments are supported:
getCryptoIpsecTransformSet Result
The following output properties are available:
Package Details
- Repository
- iosxe lbrlabs/pulumi-iosxe
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
iosxe
Terraform Provider.