Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs
iosxe.getCryptoIkev2Profile
Explore with Pulumi AI
This data source can read the Crypto IKEv2 Profile configuration.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Iosxe = Pulumi.Iosxe;
return await Deployment.RunAsync(() => 
{
    var example = Iosxe.GetCryptoIkev2Profile.Invoke(new()
    {
        Name = "profile1",
    });
});
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.LookupCryptoIkev2Profile(ctx, &iosxe.LookupCryptoIkev2ProfileArgs{
			Name: "profile1",
		}, 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.GetCryptoIkev2ProfileArgs;
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.getCryptoIkev2Profile(GetCryptoIkev2ProfileArgs.builder()
            .name("profile1")
            .build());
    }
}
import pulumi
import pulumi_iosxe as iosxe
example = iosxe.get_crypto_ikev2_profile(name="profile1")
import * as pulumi from "@pulumi/pulumi";
import * as iosxe from "@pulumi/iosxe";
const example = iosxe.getCryptoIkev2Profile({
    name: "profile1",
});
variables:
  example:
    fn::invoke:
      Function: iosxe:getCryptoIkev2Profile
      Arguments:
        name: profile1
Using getCryptoIkev2Profile
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 getCryptoIkev2Profile(args: GetCryptoIkev2ProfileArgs, opts?: InvokeOptions): Promise<GetCryptoIkev2ProfileResult>
function getCryptoIkev2ProfileOutput(args: GetCryptoIkev2ProfileOutputArgs, opts?: InvokeOptions): Output<GetCryptoIkev2ProfileResult>def get_crypto_ikev2_profile(device: Optional[str] = None,
                             name: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetCryptoIkev2ProfileResult
def get_crypto_ikev2_profile_output(device: Optional[pulumi.Input[str]] = None,
                             name: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetCryptoIkev2ProfileResult]func LookupCryptoIkev2Profile(ctx *Context, args *LookupCryptoIkev2ProfileArgs, opts ...InvokeOption) (*LookupCryptoIkev2ProfileResult, error)
func LookupCryptoIkev2ProfileOutput(ctx *Context, args *LookupCryptoIkev2ProfileOutputArgs, opts ...InvokeOption) LookupCryptoIkev2ProfileResultOutput> Note: This function is named LookupCryptoIkev2Profile in the Go SDK.
public static class GetCryptoIkev2Profile 
{
    public static Task<GetCryptoIkev2ProfileResult> InvokeAsync(GetCryptoIkev2ProfileArgs args, InvokeOptions? opts = null)
    public static Output<GetCryptoIkev2ProfileResult> Invoke(GetCryptoIkev2ProfileInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCryptoIkev2ProfileResult> getCryptoIkev2Profile(GetCryptoIkev2ProfileArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: iosxe:index/getCryptoIkev2Profile:getCryptoIkev2Profile
  arguments:
    # arguments dictionaryThe following arguments are supported:
getCryptoIkev2Profile Result
The following output properties are available:
- bool
- Pre-Shared Key
- bool
- Pre-Shared Key
- ConfigExchange boolRequest 
- enable config-exchange request
- Description string
- Specify a description of this profile
- DpdInterval int
- DpdQuery string
- DpdRetry int
- Id string
- The path of the retrieved object.
- IdentityLocal stringAddress 
- address
- IdentityLocal stringKey Id 
- key-id opaque string - proprietary types of identification key-id string
- KeyringLocal string
- Keyring name
- MatchAddress stringLocal Ip 
- MatchFvrf string
- MatchFvrf boolAny 
- Any fvrf
- MatchIdentity List<Lbrlabs.Remote Ipv4Addresses Pulumi Package. Iosxe. Outputs. Get Crypto Ikev2Profile Match Identity Remote Ipv4Address> 
- MatchIdentity List<string>Remote Ipv6Prefixes 
- MatchIdentity List<string>Remote Keys 
- key-id opaque string
- MatchInbound boolOnly 
- Match the profile for incoming connections only
- Name string
- Device string
- A device name from the provider configuration.
- bool
- Pre-Shared Key
- bool
- Pre-Shared Key
- ConfigExchange boolRequest 
- enable config-exchange request
- Description string
- Specify a description of this profile
- DpdInterval int
- DpdQuery string
- DpdRetry int
- Id string
- The path of the retrieved object.
- IdentityLocal stringAddress 
- address
- IdentityLocal stringKey Id 
- key-id opaque string - proprietary types of identification key-id string
- KeyringLocal string
- Keyring name
- MatchAddress stringLocal Ip 
- MatchFvrf string
- MatchFvrf boolAny 
- Any fvrf
- MatchIdentity []GetRemote Ipv4Addresses Crypto Ikev2Profile Match Identity Remote Ipv4Address 
- MatchIdentity []stringRemote Ipv6Prefixes 
- MatchIdentity []stringRemote Keys 
- key-id opaque string
- MatchInbound boolOnly 
- Match the profile for incoming connections only
- Name string
- Device string
- A device name from the provider configuration.
- Boolean
- Pre-Shared Key
- Boolean
- Pre-Shared Key
- configExchange BooleanRequest 
- enable config-exchange request
- description String
- Specify a description of this profile
- dpdInterval Integer
- dpdQuery String
- dpdRetry Integer
- id String
- The path of the retrieved object.
- identityLocal StringAddress 
- address
- identityLocal StringKey Id 
- key-id opaque string - proprietary types of identification key-id string
- keyringLocal String
- Keyring name
- matchAddress StringLocal Ip 
- matchFvrf String
- matchFvrf BooleanAny 
- Any fvrf
- matchIdentity List<GetRemote Ipv4Addresses Crypto Ikev2Profile Match Identity Remote Ipv4Address> 
- matchIdentity List<String>Remote Ipv6Prefixes 
- matchIdentity List<String>Remote Keys 
- key-id opaque string
- matchInbound BooleanOnly 
- Match the profile for incoming connections only
- name String
- device String
- A device name from the provider configuration.
- boolean
- Pre-Shared Key
- boolean
- Pre-Shared Key
- configExchange booleanRequest 
- enable config-exchange request
- description string
- Specify a description of this profile
- dpdInterval number
- dpdQuery string
- dpdRetry number
- id string
- The path of the retrieved object.
- identityLocal stringAddress 
- address
- identityLocal stringKey Id 
- key-id opaque string - proprietary types of identification key-id string
- keyringLocal string
- Keyring name
- matchAddress stringLocal Ip 
- matchFvrf string
- matchFvrf booleanAny 
- Any fvrf
- matchIdentity GetRemote Ipv4Addresses Crypto Ikev2Profile Match Identity Remote Ipv4Address[] 
- matchIdentity string[]Remote Ipv6Prefixes 
- matchIdentity string[]Remote Keys 
- key-id opaque string
- matchInbound booleanOnly 
- Match the profile for incoming connections only
- name string
- device string
- A device name from the provider configuration.
- bool
- Pre-Shared Key
- bool
- Pre-Shared Key
- config_exchange_ boolrequest 
- enable config-exchange request
- description str
- Specify a description of this profile
- dpd_interval int
- dpd_query str
- dpd_retry int
- id str
- The path of the retrieved object.
- identity_local_ straddress 
- address
- identity_local_ strkey_ id 
- key-id opaque string - proprietary types of identification key-id string
- keyring_local str
- Keyring name
- match_address_ strlocal_ ip 
- match_fvrf str
- match_fvrf_ boolany 
- Any fvrf
- match_identity_ Sequence[Getremote_ ipv4_ addresses Crypto Ikev2Profile Match Identity Remote Ipv4Address] 
- match_identity_ Sequence[str]remote_ ipv6_ prefixes 
- match_identity_ Sequence[str]remote_ keys 
- key-id opaque string
- match_inbound_ boolonly 
- Match the profile for incoming connections only
- name str
- device str
- A device name from the provider configuration.
- Boolean
- Pre-Shared Key
- Boolean
- Pre-Shared Key
- configExchange BooleanRequest 
- enable config-exchange request
- description String
- Specify a description of this profile
- dpdInterval Number
- dpdQuery String
- dpdRetry Number
- id String
- The path of the retrieved object.
- identityLocal StringAddress 
- address
- identityLocal StringKey Id 
- key-id opaque string - proprietary types of identification key-id string
- keyringLocal String
- Keyring name
- matchAddress StringLocal Ip 
- matchFvrf String
- matchFvrf BooleanAny 
- Any fvrf
- matchIdentity List<Property Map>Remote Ipv4Addresses 
- matchIdentity List<String>Remote Ipv6Prefixes 
- matchIdentity List<String>Remote Keys 
- key-id opaque string
- matchInbound BooleanOnly 
- Match the profile for incoming connections only
- name String
- device String
- A device name from the provider configuration.
Supporting Types
GetCryptoIkev2ProfileMatchIdentityRemoteIpv4Address      
Package Details
- Repository
- iosxe lbrlabs/pulumi-iosxe
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the iosxeTerraform Provider.