Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs
iosxe.getCryptoIkev2Profile
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 * as pulumi from "@pulumi/pulumi";
import * as iosxe from "@pulumi/iosxe";
const example = iosxe.getCryptoIkev2Profile({
name: "profile1",
});
import pulumi
import pulumi_iosxe as iosxe
example = iosxe.get_crypto_ikev2_profile(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)
public static Output<GetCryptoIkev2ProfileResult> getCryptoIkev2Profile(GetCryptoIkev2ProfileArgs args, InvokeOptions options)
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
- Config
Exchange boolRequest - enable config-exchange request
- Description string
- Specify a description of this profile
- Dpd
Interval int - Dpd
Query string - Dpd
Retry int - Id string
- The path of the retrieved object.
- Identity
Local stringAddress - address
- Identity
Local stringKey Id - key-id opaque string - proprietary types of identification key-id string
- Keyring
Local string - Keyring name
- Match
Address stringLocal Ip - Match
Fvrf string - Match
Fvrf boolAny - Any fvrf
- Match
Identity List<Lbrlabs.Remote Ipv4Addresses Pulumi Package. Iosxe. Outputs. Get Crypto Ikev2Profile Match Identity Remote Ipv4Address> - Match
Identity List<string>Remote Ipv6Prefixes - Match
Identity List<string>Remote Keys - key-id opaque string
- Match
Inbound 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
- Config
Exchange boolRequest - enable config-exchange request
- Description string
- Specify a description of this profile
- Dpd
Interval int - Dpd
Query string - Dpd
Retry int - Id string
- The path of the retrieved object.
- Identity
Local stringAddress - address
- Identity
Local stringKey Id - key-id opaque string - proprietary types of identification key-id string
- Keyring
Local string - Keyring name
- Match
Address stringLocal Ip - Match
Fvrf string - Match
Fvrf boolAny - Any fvrf
- Match
Identity []GetRemote Ipv4Addresses Crypto Ikev2Profile Match Identity Remote Ipv4Address - Match
Identity []stringRemote Ipv6Prefixes - Match
Identity []stringRemote Keys - key-id opaque string
- Match
Inbound 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
- config
Exchange BooleanRequest - enable config-exchange request
- description String
- Specify a description of this profile
- dpd
Interval Integer - dpd
Query String - dpd
Retry Integer - id String
- The path of the retrieved object.
- identity
Local StringAddress - address
- identity
Local StringKey Id - key-id opaque string - proprietary types of identification key-id string
- keyring
Local String - Keyring name
- match
Address StringLocal Ip - match
Fvrf String - match
Fvrf BooleanAny - Any fvrf
- match
Identity List<GetRemote Ipv4Addresses Crypto Ikev2Profile Match Identity Remote Ipv4Address> - match
Identity List<String>Remote Ipv6Prefixes - match
Identity List<String>Remote Keys - key-id opaque string
- match
Inbound 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
- config
Exchange booleanRequest - enable config-exchange request
- description string
- Specify a description of this profile
- dpd
Interval number - dpd
Query string - dpd
Retry number - id string
- The path of the retrieved object.
- identity
Local stringAddress - address
- identity
Local stringKey Id - key-id opaque string - proprietary types of identification key-id string
- keyring
Local string - Keyring name
- match
Address stringLocal Ip - match
Fvrf string - match
Fvrf booleanAny - Any fvrf
- match
Identity GetRemote Ipv4Addresses Crypto Ikev2Profile Match Identity Remote Ipv4Address[] - match
Identity string[]Remote Ipv6Prefixes - match
Identity string[]Remote Keys - key-id opaque string
- match
Inbound 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
- config
Exchange BooleanRequest - enable config-exchange request
- description String
- Specify a description of this profile
- dpd
Interval Number - dpd
Query String - dpd
Retry Number - id String
- The path of the retrieved object.
- identity
Local StringAddress - address
- identity
Local StringKey Id - key-id opaque string - proprietary types of identification key-id string
- keyring
Local String - Keyring name
- match
Address StringLocal Ip - match
Fvrf String - match
Fvrf BooleanAny - Any fvrf
- match
Identity List<Property Map>Remote Ipv4Addresses - match
Identity List<String>Remote Ipv6Prefixes - match
Identity List<String>Remote Keys - key-id opaque string
- match
Inbound 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.
