iosxe.CryptoIkev2Profile
Explore with Pulumi AI
This resource can manage the Crypto IKEv2 Profile configuration.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Iosxe = Lbrlabs.PulumiPackage.Iosxe;
return await Deployment.RunAsync(() =>
{
var example = new Iosxe.CryptoIkev2Profile("example", new()
{
AuthenticationLocalPreShare = true,
AuthenticationRemotePreShare = true,
ConfigExchangeRequest = false,
Description = "My description",
DpdInterval = 10,
DpdQuery = "periodic",
DpdRetry = 2,
IdentityLocalKeyId = "key1",
KeyringLocal = "test",
MatchAddressLocalIp = "1.2.3.4",
MatchFvrfAny = true,
MatchIdentityRemoteIpv4Addresses = new[]
{
new Iosxe.Inputs.CryptoIkev2ProfileMatchIdentityRemoteIpv4AddressArgs
{
Address = "1.2.3.4",
Mask = "255.255.255.0",
},
},
MatchIdentityRemoteKeys = new[]
{
"key1",
},
});
});
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.NewCryptoIkev2Profile(ctx, "example", &iosxe.CryptoIkev2ProfileArgs{
AuthenticationLocalPreShare: pulumi.Bool(true),
AuthenticationRemotePreShare: pulumi.Bool(true),
ConfigExchangeRequest: pulumi.Bool(false),
Description: pulumi.String("My description"),
DpdInterval: pulumi.Int(10),
DpdQuery: pulumi.String("periodic"),
DpdRetry: pulumi.Int(2),
IdentityLocalKeyId: pulumi.String("key1"),
KeyringLocal: pulumi.String("test"),
MatchAddressLocalIp: pulumi.String("1.2.3.4"),
MatchFvrfAny: pulumi.Bool(true),
MatchIdentityRemoteIpv4Addresses: iosxe.CryptoIkev2ProfileMatchIdentityRemoteIpv4AddressArray{
&iosxe.CryptoIkev2ProfileMatchIdentityRemoteIpv4AddressArgs{
Address: pulumi.String("1.2.3.4"),
Mask: pulumi.String("255.255.255.0"),
},
},
MatchIdentityRemoteKeys: pulumi.StringArray{
pulumi.String("key1"),
},
})
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.CryptoIkev2Profile;
import com.pulumi.iosxe.CryptoIkev2ProfileArgs;
import com.pulumi.iosxe.inputs.CryptoIkev2ProfileMatchIdentityRemoteIpv4AddressArgs;
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) {
var example = new CryptoIkev2Profile("example", CryptoIkev2ProfileArgs.builder()
.authenticationLocalPreShare(true)
.authenticationRemotePreShare(true)
.configExchangeRequest(false)
.description("My description")
.dpdInterval(10)
.dpdQuery("periodic")
.dpdRetry(2)
.identityLocalKeyId("key1")
.keyringLocal("test")
.matchAddressLocalIp("1.2.3.4")
.matchFvrfAny(true)
.matchIdentityRemoteIpv4Addresses(CryptoIkev2ProfileMatchIdentityRemoteIpv4AddressArgs.builder()
.address("1.2.3.4")
.mask("255.255.255.0")
.build())
.matchIdentityRemoteKeys("key1")
.build());
}
}
import pulumi
import lbrlabs_pulumi_iosxe as iosxe
example = iosxe.CryptoIkev2Profile("example",
authentication_local_pre_share=True,
authentication_remote_pre_share=True,
config_exchange_request=False,
description="My description",
dpd_interval=10,
dpd_query="periodic",
dpd_retry=2,
identity_local_key_id="key1",
keyring_local="test",
match_address_local_ip="1.2.3.4",
match_fvrf_any=True,
match_identity_remote_ipv4_addresses=[iosxe.CryptoIkev2ProfileMatchIdentityRemoteIpv4AddressArgs(
address="1.2.3.4",
mask="255.255.255.0",
)],
match_identity_remote_keys=["key1"])
import * as pulumi from "@pulumi/pulumi";
import * as iosxe from "@lbrlabs/pulumi-iosxe";
const example = new iosxe.CryptoIkev2Profile("example", {
authenticationLocalPreShare: true,
authenticationRemotePreShare: true,
configExchangeRequest: false,
description: "My description",
dpdInterval: 10,
dpdQuery: "periodic",
dpdRetry: 2,
identityLocalKeyId: "key1",
keyringLocal: "test",
matchAddressLocalIp: "1.2.3.4",
matchFvrfAny: true,
matchIdentityRemoteIpv4Addresses: [{
address: "1.2.3.4",
mask: "255.255.255.0",
}],
matchIdentityRemoteKeys: ["key1"],
});
resources:
example:
type: iosxe:CryptoIkev2Profile
properties:
authenticationLocalPreShare: true
authenticationRemotePreShare: true
configExchangeRequest: false
description: My description
dpdInterval: 10
dpdQuery: periodic
dpdRetry: 2
identityLocalKeyId: key1
keyringLocal: test
matchAddressLocalIp: 1.2.3.4
matchFvrfAny: true
matchIdentityRemoteIpv4Addresses:
- address: 1.2.3.4
mask: 255.255.255.0
matchIdentityRemoteKeys:
- key1
Create CryptoIkev2Profile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CryptoIkev2Profile(name: string, args?: CryptoIkev2ProfileArgs, opts?: CustomResourceOptions);
@overload
def CryptoIkev2Profile(resource_name: str,
args: Optional[CryptoIkev2ProfileArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def CryptoIkev2Profile(resource_name: str,
opts: Optional[ResourceOptions] = None,
authentication_local_pre_share: Optional[bool] = None,
authentication_remote_pre_share: Optional[bool] = None,
config_exchange_request: Optional[bool] = None,
delete_mode: Optional[str] = None,
description: Optional[str] = None,
device: Optional[str] = None,
dpd_interval: Optional[int] = None,
dpd_query: Optional[str] = None,
dpd_retry: Optional[int] = None,
identity_local_address: Optional[str] = None,
identity_local_key_id: Optional[str] = None,
keyring_local: Optional[str] = None,
match_address_local_ip: Optional[str] = None,
match_fvrf: Optional[str] = None,
match_fvrf_any: Optional[bool] = None,
match_identity_remote_ipv4_addresses: Optional[Sequence[CryptoIkev2ProfileMatchIdentityRemoteIpv4AddressArgs]] = None,
match_identity_remote_ipv6_prefixes: Optional[Sequence[str]] = None,
match_identity_remote_keys: Optional[Sequence[str]] = None,
match_inbound_only: Optional[bool] = None,
name: Optional[str] = None)
func NewCryptoIkev2Profile(ctx *Context, name string, args *CryptoIkev2ProfileArgs, opts ...ResourceOption) (*CryptoIkev2Profile, error)
public CryptoIkev2Profile(string name, CryptoIkev2ProfileArgs? args = null, CustomResourceOptions? opts = null)
public CryptoIkev2Profile(String name, CryptoIkev2ProfileArgs args)
public CryptoIkev2Profile(String name, CryptoIkev2ProfileArgs args, CustomResourceOptions options)
type: iosxe:CryptoIkev2Profile
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args CryptoIkev2ProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args CryptoIkev2ProfileArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args CryptoIkev2ProfileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CryptoIkev2ProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CryptoIkev2ProfileArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var cryptoIkev2ProfileResource = new Iosxe.CryptoIkev2Profile("cryptoIkev2ProfileResource", new()
{
AuthenticationLocalPreShare = false,
AuthenticationRemotePreShare = false,
ConfigExchangeRequest = false,
DeleteMode = "string",
Description = "string",
Device = "string",
DpdInterval = 0,
DpdQuery = "string",
DpdRetry = 0,
IdentityLocalAddress = "string",
IdentityLocalKeyId = "string",
KeyringLocal = "string",
MatchAddressLocalIp = "string",
MatchFvrf = "string",
MatchFvrfAny = false,
MatchIdentityRemoteIpv4Addresses = new[]
{
new Iosxe.Inputs.CryptoIkev2ProfileMatchIdentityRemoteIpv4AddressArgs
{
Address = "string",
Mask = "string",
},
},
MatchIdentityRemoteIpv6Prefixes = new[]
{
"string",
},
MatchIdentityRemoteKeys = new[]
{
"string",
},
MatchInboundOnly = false,
Name = "string",
});
example, err := iosxe.NewCryptoIkev2Profile(ctx, "cryptoIkev2ProfileResource", &iosxe.CryptoIkev2ProfileArgs{
AuthenticationLocalPreShare: pulumi.Bool(false),
AuthenticationRemotePreShare: pulumi.Bool(false),
ConfigExchangeRequest: pulumi.Bool(false),
DeleteMode: pulumi.String("string"),
Description: pulumi.String("string"),
Device: pulumi.String("string"),
DpdInterval: pulumi.Int(0),
DpdQuery: pulumi.String("string"),
DpdRetry: pulumi.Int(0),
IdentityLocalAddress: pulumi.String("string"),
IdentityLocalKeyId: pulumi.String("string"),
KeyringLocal: pulumi.String("string"),
MatchAddressLocalIp: pulumi.String("string"),
MatchFvrf: pulumi.String("string"),
MatchFvrfAny: pulumi.Bool(false),
MatchIdentityRemoteIpv4Addresses: iosxe.CryptoIkev2ProfileMatchIdentityRemoteIpv4AddressArray{
&iosxe.CryptoIkev2ProfileMatchIdentityRemoteIpv4AddressArgs{
Address: pulumi.String("string"),
Mask: pulumi.String("string"),
},
},
MatchIdentityRemoteIpv6Prefixes: pulumi.StringArray{
pulumi.String("string"),
},
MatchIdentityRemoteKeys: pulumi.StringArray{
pulumi.String("string"),
},
MatchInboundOnly: pulumi.Bool(false),
Name: pulumi.String("string"),
})
var cryptoIkev2ProfileResource = new CryptoIkev2Profile("cryptoIkev2ProfileResource", CryptoIkev2ProfileArgs.builder()
.authenticationLocalPreShare(false)
.authenticationRemotePreShare(false)
.configExchangeRequest(false)
.deleteMode("string")
.description("string")
.device("string")
.dpdInterval(0)
.dpdQuery("string")
.dpdRetry(0)
.identityLocalAddress("string")
.identityLocalKeyId("string")
.keyringLocal("string")
.matchAddressLocalIp("string")
.matchFvrf("string")
.matchFvrfAny(false)
.matchIdentityRemoteIpv4Addresses(CryptoIkev2ProfileMatchIdentityRemoteIpv4AddressArgs.builder()
.address("string")
.mask("string")
.build())
.matchIdentityRemoteIpv6Prefixes("string")
.matchIdentityRemoteKeys("string")
.matchInboundOnly(false)
.name("string")
.build());
crypto_ikev2_profile_resource = iosxe.CryptoIkev2Profile("cryptoIkev2ProfileResource",
authentication_local_pre_share=False,
authentication_remote_pre_share=False,
config_exchange_request=False,
delete_mode="string",
description="string",
device="string",
dpd_interval=0,
dpd_query="string",
dpd_retry=0,
identity_local_address="string",
identity_local_key_id="string",
keyring_local="string",
match_address_local_ip="string",
match_fvrf="string",
match_fvrf_any=False,
match_identity_remote_ipv4_addresses=[iosxe.CryptoIkev2ProfileMatchIdentityRemoteIpv4AddressArgs(
address="string",
mask="string",
)],
match_identity_remote_ipv6_prefixes=["string"],
match_identity_remote_keys=["string"],
match_inbound_only=False,
name="string")
const cryptoIkev2ProfileResource = new iosxe.CryptoIkev2Profile("cryptoIkev2ProfileResource", {
authenticationLocalPreShare: false,
authenticationRemotePreShare: false,
configExchangeRequest: false,
deleteMode: "string",
description: "string",
device: "string",
dpdInterval: 0,
dpdQuery: "string",
dpdRetry: 0,
identityLocalAddress: "string",
identityLocalKeyId: "string",
keyringLocal: "string",
matchAddressLocalIp: "string",
matchFvrf: "string",
matchFvrfAny: false,
matchIdentityRemoteIpv4Addresses: [{
address: "string",
mask: "string",
}],
matchIdentityRemoteIpv6Prefixes: ["string"],
matchIdentityRemoteKeys: ["string"],
matchInboundOnly: false,
name: "string",
});
type: iosxe:CryptoIkev2Profile
properties:
authenticationLocalPreShare: false
authenticationRemotePreShare: false
configExchangeRequest: false
deleteMode: string
description: string
device: string
dpdInterval: 0
dpdQuery: string
dpdRetry: 0
identityLocalAddress: string
identityLocalKeyId: string
keyringLocal: string
matchAddressLocalIp: string
matchFvrf: string
matchFvrfAny: false
matchIdentityRemoteIpv4Addresses:
- address: string
mask: string
matchIdentityRemoteIpv6Prefixes:
- string
matchIdentityRemoteKeys:
- string
matchInboundOnly: false
name: string
CryptoIkev2Profile Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The CryptoIkev2Profile resource accepts the following input properties:
- bool
- Pre-Shared Key
- bool
- Pre-Shared Key
- Config
Exchange boolRequest - enable config-exchange request
- Delete
Mode string - Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being
managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is.
Default value is
all
. - Choices:all
,attributes
- Description string
- Specify a description of this profile
- Device string
- A device name from the provider configuration.
- Dpd
Interval int - Range:
10
-3600
- Range:
- Dpd
Query string - Choices:
on-demand
,periodic
- Choices:
- Dpd
Retry int - Range:
2
-60
- Range:
- 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. Inputs. 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
- bool
- Pre-Shared Key
- bool
- Pre-Shared Key
- Config
Exchange boolRequest - enable config-exchange request
- Delete
Mode string - Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being
managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is.
Default value is
all
. - Choices:all
,attributes
- Description string
- Specify a description of this profile
- Device string
- A device name from the provider configuration.
- Dpd
Interval int - Range:
10
-3600
- Range:
- Dpd
Query string - Choices:
on-demand
,periodic
- Choices:
- Dpd
Retry int - Range:
2
-60
- Range:
- 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 []CryptoRemote Ipv4Addresses Ikev2Profile Match Identity Remote Ipv4Address Args - Match
Identity []stringRemote Ipv6Prefixes - Match
Identity []stringRemote Keys - key-id opaque string
- Match
Inbound boolOnly - Match the profile for incoming connections only
- Name string
- Boolean
- Pre-Shared Key
- Boolean
- Pre-Shared Key
- config
Exchange BooleanRequest - enable config-exchange request
- delete
Mode String - Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being
managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is.
Default value is
all
. - Choices:all
,attributes
- description String
- Specify a description of this profile
- device String
- A device name from the provider configuration.
- dpd
Interval Integer - Range:
10
-3600
- Range:
- dpd
Query String - Choices:
on-demand
,periodic
- Choices:
- dpd
Retry Integer - Range:
2
-60
- Range:
- 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<CryptoRemote Ipv4Addresses 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
- boolean
- Pre-Shared Key
- boolean
- Pre-Shared Key
- config
Exchange booleanRequest - enable config-exchange request
- delete
Mode string - Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being
managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is.
Default value is
all
. - Choices:all
,attributes
- description string
- Specify a description of this profile
- device string
- A device name from the provider configuration.
- dpd
Interval number - Range:
10
-3600
- Range:
- dpd
Query string - Choices:
on-demand
,periodic
- Choices:
- dpd
Retry number - Range:
2
-60
- Range:
- 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 CryptoRemote Ipv4Addresses 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
- bool
- Pre-Shared Key
- bool
- Pre-Shared Key
- config_
exchange_ boolrequest - enable config-exchange request
- delete_
mode str - Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being
managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is.
Default value is
all
. - Choices:all
,attributes
- description str
- Specify a description of this profile
- device str
- A device name from the provider configuration.
- dpd_
interval int - Range:
10
-3600
- Range:
- dpd_
query str - Choices:
on-demand
,periodic
- Choices:
- dpd_
retry int - Range:
2
-60
- Range:
- 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[Cryptoremote_ ipv4_ addresses Ikev2Profile Match Identity Remote Ipv4Address Args] - 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
- Boolean
- Pre-Shared Key
- Boolean
- Pre-Shared Key
- config
Exchange BooleanRequest - enable config-exchange request
- delete
Mode String - Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being
managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is.
Default value is
all
. - Choices:all
,attributes
- description String
- Specify a description of this profile
- device String
- A device name from the provider configuration.
- dpd
Interval Number - Range:
10
-3600
- Range:
- dpd
Query String - Choices:
on-demand
,periodic
- Choices:
- dpd
Retry Number - Range:
2
-60
- Range:
- 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
Outputs
All input properties are implicitly available as output properties. Additionally, the CryptoIkev2Profile resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing CryptoIkev2Profile Resource
Get an existing CryptoIkev2Profile resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: CryptoIkev2ProfileState, opts?: CustomResourceOptions): CryptoIkev2Profile
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
authentication_local_pre_share: Optional[bool] = None,
authentication_remote_pre_share: Optional[bool] = None,
config_exchange_request: Optional[bool] = None,
delete_mode: Optional[str] = None,
description: Optional[str] = None,
device: Optional[str] = None,
dpd_interval: Optional[int] = None,
dpd_query: Optional[str] = None,
dpd_retry: Optional[int] = None,
identity_local_address: Optional[str] = None,
identity_local_key_id: Optional[str] = None,
keyring_local: Optional[str] = None,
match_address_local_ip: Optional[str] = None,
match_fvrf: Optional[str] = None,
match_fvrf_any: Optional[bool] = None,
match_identity_remote_ipv4_addresses: Optional[Sequence[CryptoIkev2ProfileMatchIdentityRemoteIpv4AddressArgs]] = None,
match_identity_remote_ipv6_prefixes: Optional[Sequence[str]] = None,
match_identity_remote_keys: Optional[Sequence[str]] = None,
match_inbound_only: Optional[bool] = None,
name: Optional[str] = None) -> CryptoIkev2Profile
func GetCryptoIkev2Profile(ctx *Context, name string, id IDInput, state *CryptoIkev2ProfileState, opts ...ResourceOption) (*CryptoIkev2Profile, error)
public static CryptoIkev2Profile Get(string name, Input<string> id, CryptoIkev2ProfileState? state, CustomResourceOptions? opts = null)
public static CryptoIkev2Profile get(String name, Output<String> id, CryptoIkev2ProfileState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- bool
- Pre-Shared Key
- bool
- Pre-Shared Key
- Config
Exchange boolRequest - enable config-exchange request
- Delete
Mode string - Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being
managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is.
Default value is
all
. - Choices:all
,attributes
- Description string
- Specify a description of this profile
- Device string
- A device name from the provider configuration.
- Dpd
Interval int - Range:
10
-3600
- Range:
- Dpd
Query string - Choices:
on-demand
,periodic
- Choices:
- Dpd
Retry int - Range:
2
-60
- Range:
- 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. Inputs. 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
- bool
- Pre-Shared Key
- bool
- Pre-Shared Key
- Config
Exchange boolRequest - enable config-exchange request
- Delete
Mode string - Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being
managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is.
Default value is
all
. - Choices:all
,attributes
- Description string
- Specify a description of this profile
- Device string
- A device name from the provider configuration.
- Dpd
Interval int - Range:
10
-3600
- Range:
- Dpd
Query string - Choices:
on-demand
,periodic
- Choices:
- Dpd
Retry int - Range:
2
-60
- Range:
- 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 []CryptoRemote Ipv4Addresses Ikev2Profile Match Identity Remote Ipv4Address Args - Match
Identity []stringRemote Ipv6Prefixes - Match
Identity []stringRemote Keys - key-id opaque string
- Match
Inbound boolOnly - Match the profile for incoming connections only
- Name string
- Boolean
- Pre-Shared Key
- Boolean
- Pre-Shared Key
- config
Exchange BooleanRequest - enable config-exchange request
- delete
Mode String - Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being
managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is.
Default value is
all
. - Choices:all
,attributes
- description String
- Specify a description of this profile
- device String
- A device name from the provider configuration.
- dpd
Interval Integer - Range:
10
-3600
- Range:
- dpd
Query String - Choices:
on-demand
,periodic
- Choices:
- dpd
Retry Integer - Range:
2
-60
- Range:
- 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<CryptoRemote Ipv4Addresses 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
- boolean
- Pre-Shared Key
- boolean
- Pre-Shared Key
- config
Exchange booleanRequest - enable config-exchange request
- delete
Mode string - Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being
managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is.
Default value is
all
. - Choices:all
,attributes
- description string
- Specify a description of this profile
- device string
- A device name from the provider configuration.
- dpd
Interval number - Range:
10
-3600
- Range:
- dpd
Query string - Choices:
on-demand
,periodic
- Choices:
- dpd
Retry number - Range:
2
-60
- Range:
- 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 CryptoRemote Ipv4Addresses 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
- bool
- Pre-Shared Key
- bool
- Pre-Shared Key
- config_
exchange_ boolrequest - enable config-exchange request
- delete_
mode str - Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being
managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is.
Default value is
all
. - Choices:all
,attributes
- description str
- Specify a description of this profile
- device str
- A device name from the provider configuration.
- dpd_
interval int - Range:
10
-3600
- Range:
- dpd_
query str - Choices:
on-demand
,periodic
- Choices:
- dpd_
retry int - Range:
2
-60
- Range:
- 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[Cryptoremote_ ipv4_ addresses Ikev2Profile Match Identity Remote Ipv4Address Args] - 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
- Boolean
- Pre-Shared Key
- Boolean
- Pre-Shared Key
- config
Exchange BooleanRequest - enable config-exchange request
- delete
Mode String - Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being
managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is.
Default value is
all
. - Choices:all
,attributes
- description String
- Specify a description of this profile
- device String
- A device name from the provider configuration.
- dpd
Interval Number - Range:
10
-3600
- Range:
- dpd
Query String - Choices:
on-demand
,periodic
- Choices:
- dpd
Retry Number - Range:
2
-60
- Range:
- 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
Supporting Types
CryptoIkev2ProfileMatchIdentityRemoteIpv4Address, CryptoIkev2ProfileMatchIdentityRemoteIpv4AddressArgs
Import
$ pulumi import iosxe:index/cryptoIkev2Profile:CryptoIkev2Profile example "Cisco-IOS-XE-native:native/crypto/Cisco-IOS-XE-crypto:ikev2/profile=profile1"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- iosxe lbrlabs/pulumi-iosxe
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
iosxe
Terraform Provider.