1. Packages
  2. Cisco IOS XE Resource Provider
  3. API Docs
  4. getCryptoIkev2Proposal
Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs

iosxe.getCryptoIkev2Proposal

Explore with Pulumi AI

Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs

This data source can read the Crypto IKEv2 Proposal configuration.

Example Usage

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Iosxe = Pulumi.Iosxe;

return await Deployment.RunAsync(() => 
{
    var example = Iosxe.GetCryptoIkev2Proposal.Invoke(new()
    {
        Name = "PROPOSAL1",
    });

});
Copy
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.LookupCryptoIkev2Proposal(ctx, &iosxe.LookupCryptoIkev2ProposalArgs{
			Name: "PROPOSAL1",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
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.GetCryptoIkev2ProposalArgs;
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.getCryptoIkev2Proposal(GetCryptoIkev2ProposalArgs.builder()
            .name("PROPOSAL1")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as iosxe from "@pulumi/iosxe";

const example = iosxe.getCryptoIkev2Proposal({
    name: "PROPOSAL1",
});
Copy
import pulumi
import pulumi_iosxe as iosxe

example = iosxe.get_crypto_ikev2_proposal(name="PROPOSAL1")
Copy
variables:
  example:
    fn::invoke:
      Function: iosxe:getCryptoIkev2Proposal
      Arguments:
        name: PROPOSAL1
Copy

Using getCryptoIkev2Proposal

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 getCryptoIkev2Proposal(args: GetCryptoIkev2ProposalArgs, opts?: InvokeOptions): Promise<GetCryptoIkev2ProposalResult>
function getCryptoIkev2ProposalOutput(args: GetCryptoIkev2ProposalOutputArgs, opts?: InvokeOptions): Output<GetCryptoIkev2ProposalResult>
Copy
def get_crypto_ikev2_proposal(device: Optional[str] = None,
                              name: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetCryptoIkev2ProposalResult
def get_crypto_ikev2_proposal_output(device: Optional[pulumi.Input[str]] = None,
                              name: Optional[pulumi.Input[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetCryptoIkev2ProposalResult]
Copy
func LookupCryptoIkev2Proposal(ctx *Context, args *LookupCryptoIkev2ProposalArgs, opts ...InvokeOption) (*LookupCryptoIkev2ProposalResult, error)
func LookupCryptoIkev2ProposalOutput(ctx *Context, args *LookupCryptoIkev2ProposalOutputArgs, opts ...InvokeOption) LookupCryptoIkev2ProposalResultOutput
Copy

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

public static class GetCryptoIkev2Proposal 
{
    public static Task<GetCryptoIkev2ProposalResult> InvokeAsync(GetCryptoIkev2ProposalArgs args, InvokeOptions? opts = null)
    public static Output<GetCryptoIkev2ProposalResult> Invoke(GetCryptoIkev2ProposalInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetCryptoIkev2ProposalResult> getCryptoIkev2Proposal(GetCryptoIkev2ProposalArgs args, InvokeOptions options)
public static Output<GetCryptoIkev2ProposalResult> getCryptoIkev2Proposal(GetCryptoIkev2ProposalArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: iosxe:index/getCryptoIkev2Proposal:getCryptoIkev2Proposal
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Name This property is required. string
Device string
A device name from the provider configuration.
Name This property is required. string
Device string
A device name from the provider configuration.
name This property is required. String
device String
A device name from the provider configuration.
name This property is required. string
device string
A device name from the provider configuration.
name This property is required. str
device str
A device name from the provider configuration.
name This property is required. String
device String
A device name from the provider configuration.

getCryptoIkev2Proposal Result

The following output properties are available:

EncryptionAesCbc128 bool
AES-CBC-128
EncryptionAesCbc192 bool
AES-CBC-192
EncryptionAesCbc256 bool
AES-CBC-256
EncryptionAesGcm128 bool
Combined-mode,128 bit key,16 byte ICV(Authentication Tag)
EncryptionAesGcm256 bool
Combined-mode,256 bit key,16 byte ICV(Authentication Tag)
EncryptionEn3des bool
3DES
GroupFifteen bool
DH 3072 MODP
GroupFourteen bool
DH 2048 MODP
GroupNineteen bool
DH 256 ECP
GroupOne bool
DH 768 MODP
GroupSixteen bool
DH 4096 MODP
GroupTwenty bool
DH 384 ECP
GroupTwentyFour bool
DH 2048 (256 subgroup) MODP
GroupTwentyOne bool
DH 521 ECP
GroupTwo bool
DH 1024 MODP
Id string
The path of the retrieved object.
IntegrityMd5 bool
Message Digest 5
IntegritySha1 bool
Secure Hash Standard
IntegritySha256 bool
Secure Hash Standard 2 (256 bit)
IntegritySha384 bool
Secure Hash Standard 2 (384 bit)
IntegritySha512 bool
Secure Hash Standard 2 (512 bit)
Name string
PrfMd5 bool
Message Digest 5
PrfSha1 bool
Secure Hash Standard
PrfSha256 bool
Secure Hash Standard 2 (256 bit)
PrfSha384 bool
Secure Hash Standard 2 (384 bit)
PrfSha512 bool
Secure Hash Standard 2 (512 bit)
Device string
A device name from the provider configuration.
EncryptionAesCbc128 bool
AES-CBC-128
EncryptionAesCbc192 bool
AES-CBC-192
EncryptionAesCbc256 bool
AES-CBC-256
EncryptionAesGcm128 bool
Combined-mode,128 bit key,16 byte ICV(Authentication Tag)
EncryptionAesGcm256 bool
Combined-mode,256 bit key,16 byte ICV(Authentication Tag)
EncryptionEn3des bool
3DES
GroupFifteen bool
DH 3072 MODP
GroupFourteen bool
DH 2048 MODP
GroupNineteen bool
DH 256 ECP
GroupOne bool
DH 768 MODP
GroupSixteen bool
DH 4096 MODP
GroupTwenty bool
DH 384 ECP
GroupTwentyFour bool
DH 2048 (256 subgroup) MODP
GroupTwentyOne bool
DH 521 ECP
GroupTwo bool
DH 1024 MODP
Id string
The path of the retrieved object.
IntegrityMd5 bool
Message Digest 5
IntegritySha1 bool
Secure Hash Standard
IntegritySha256 bool
Secure Hash Standard 2 (256 bit)
IntegritySha384 bool
Secure Hash Standard 2 (384 bit)
IntegritySha512 bool
Secure Hash Standard 2 (512 bit)
Name string
PrfMd5 bool
Message Digest 5
PrfSha1 bool
Secure Hash Standard
PrfSha256 bool
Secure Hash Standard 2 (256 bit)
PrfSha384 bool
Secure Hash Standard 2 (384 bit)
PrfSha512 bool
Secure Hash Standard 2 (512 bit)
Device string
A device name from the provider configuration.
encryptionAesCbc128 Boolean
AES-CBC-128
encryptionAesCbc192 Boolean
AES-CBC-192
encryptionAesCbc256 Boolean
AES-CBC-256
encryptionAesGcm128 Boolean
Combined-mode,128 bit key,16 byte ICV(Authentication Tag)
encryptionAesGcm256 Boolean
Combined-mode,256 bit key,16 byte ICV(Authentication Tag)
encryptionEn3des Boolean
3DES
groupFifteen Boolean
DH 3072 MODP
groupFourteen Boolean
DH 2048 MODP
groupNineteen Boolean
DH 256 ECP
groupOne Boolean
DH 768 MODP
groupSixteen Boolean
DH 4096 MODP
groupTwenty Boolean
DH 384 ECP
groupTwentyFour Boolean
DH 2048 (256 subgroup) MODP
groupTwentyOne Boolean
DH 521 ECP
groupTwo Boolean
DH 1024 MODP
id String
The path of the retrieved object.
integrityMd5 Boolean
Message Digest 5
integritySha1 Boolean
Secure Hash Standard
integritySha256 Boolean
Secure Hash Standard 2 (256 bit)
integritySha384 Boolean
Secure Hash Standard 2 (384 bit)
integritySha512 Boolean
Secure Hash Standard 2 (512 bit)
name String
prfMd5 Boolean
Message Digest 5
prfSha1 Boolean
Secure Hash Standard
prfSha256 Boolean
Secure Hash Standard 2 (256 bit)
prfSha384 Boolean
Secure Hash Standard 2 (384 bit)
prfSha512 Boolean
Secure Hash Standard 2 (512 bit)
device String
A device name from the provider configuration.
encryptionAesCbc128 boolean
AES-CBC-128
encryptionAesCbc192 boolean
AES-CBC-192
encryptionAesCbc256 boolean
AES-CBC-256
encryptionAesGcm128 boolean
Combined-mode,128 bit key,16 byte ICV(Authentication Tag)
encryptionAesGcm256 boolean
Combined-mode,256 bit key,16 byte ICV(Authentication Tag)
encryptionEn3des boolean
3DES
groupFifteen boolean
DH 3072 MODP
groupFourteen boolean
DH 2048 MODP
groupNineteen boolean
DH 256 ECP
groupOne boolean
DH 768 MODP
groupSixteen boolean
DH 4096 MODP
groupTwenty boolean
DH 384 ECP
groupTwentyFour boolean
DH 2048 (256 subgroup) MODP
groupTwentyOne boolean
DH 521 ECP
groupTwo boolean
DH 1024 MODP
id string
The path of the retrieved object.
integrityMd5 boolean
Message Digest 5
integritySha1 boolean
Secure Hash Standard
integritySha256 boolean
Secure Hash Standard 2 (256 bit)
integritySha384 boolean
Secure Hash Standard 2 (384 bit)
integritySha512 boolean
Secure Hash Standard 2 (512 bit)
name string
prfMd5 boolean
Message Digest 5
prfSha1 boolean
Secure Hash Standard
prfSha256 boolean
Secure Hash Standard 2 (256 bit)
prfSha384 boolean
Secure Hash Standard 2 (384 bit)
prfSha512 boolean
Secure Hash Standard 2 (512 bit)
device string
A device name from the provider configuration.
encryption_aes_cbc128 bool
AES-CBC-128
encryption_aes_cbc192 bool
AES-CBC-192
encryption_aes_cbc256 bool
AES-CBC-256
encryption_aes_gcm128 bool
Combined-mode,128 bit key,16 byte ICV(Authentication Tag)
encryption_aes_gcm256 bool
Combined-mode,256 bit key,16 byte ICV(Authentication Tag)
encryption_en3des bool
3DES
group_fifteen bool
DH 3072 MODP
group_fourteen bool
DH 2048 MODP
group_nineteen bool
DH 256 ECP
group_one bool
DH 768 MODP
group_sixteen bool
DH 4096 MODP
group_twenty bool
DH 384 ECP
group_twenty_four bool
DH 2048 (256 subgroup) MODP
group_twenty_one bool
DH 521 ECP
group_two bool
DH 1024 MODP
id str
The path of the retrieved object.
integrity_md5 bool
Message Digest 5
integrity_sha1 bool
Secure Hash Standard
integrity_sha256 bool
Secure Hash Standard 2 (256 bit)
integrity_sha384 bool
Secure Hash Standard 2 (384 bit)
integrity_sha512 bool
Secure Hash Standard 2 (512 bit)
name str
prf_md5 bool
Message Digest 5
prf_sha1 bool
Secure Hash Standard
prf_sha256 bool
Secure Hash Standard 2 (256 bit)
prf_sha384 bool
Secure Hash Standard 2 (384 bit)
prf_sha512 bool
Secure Hash Standard 2 (512 bit)
device str
A device name from the provider configuration.
encryptionAesCbc128 Boolean
AES-CBC-128
encryptionAesCbc192 Boolean
AES-CBC-192
encryptionAesCbc256 Boolean
AES-CBC-256
encryptionAesGcm128 Boolean
Combined-mode,128 bit key,16 byte ICV(Authentication Tag)
encryptionAesGcm256 Boolean
Combined-mode,256 bit key,16 byte ICV(Authentication Tag)
encryptionEn3des Boolean
3DES
groupFifteen Boolean
DH 3072 MODP
groupFourteen Boolean
DH 2048 MODP
groupNineteen Boolean
DH 256 ECP
groupOne Boolean
DH 768 MODP
groupSixteen Boolean
DH 4096 MODP
groupTwenty Boolean
DH 384 ECP
groupTwentyFour Boolean
DH 2048 (256 subgroup) MODP
groupTwentyOne Boolean
DH 521 ECP
groupTwo Boolean
DH 1024 MODP
id String
The path of the retrieved object.
integrityMd5 Boolean
Message Digest 5
integritySha1 Boolean
Secure Hash Standard
integritySha256 Boolean
Secure Hash Standard 2 (256 bit)
integritySha384 Boolean
Secure Hash Standard 2 (384 bit)
integritySha512 Boolean
Secure Hash Standard 2 (512 bit)
name String
prfMd5 Boolean
Message Digest 5
prfSha1 Boolean
Secure Hash Standard
prfSha256 Boolean
Secure Hash Standard 2 (256 bit)
prfSha384 Boolean
Secure Hash Standard 2 (384 bit)
prfSha512 Boolean
Secure Hash Standard 2 (512 bit)
device String
A device name from the provider configuration.

Package Details

Repository
iosxe lbrlabs/pulumi-iosxe
License
Apache-2.0
Notes
This Pulumi package is based on the iosxe Terraform Provider.
Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs