nsxt.PolicyIpsecVpnIkeProfile
Explore with Pulumi AI
Create PolicyIpsecVpnIkeProfile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PolicyIpsecVpnIkeProfile(name: string, args: PolicyIpsecVpnIkeProfileArgs, opts?: CustomResourceOptions);
@overload
def PolicyIpsecVpnIkeProfile(resource_name: str,
args: PolicyIpsecVpnIkeProfileArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PolicyIpsecVpnIkeProfile(resource_name: str,
opts: Optional[ResourceOptions] = None,
dh_groups: Optional[Sequence[str]] = None,
display_name: Optional[str] = None,
encryption_algorithms: Optional[Sequence[str]] = None,
description: Optional[str] = None,
digest_algorithms: Optional[Sequence[str]] = None,
ike_version: Optional[str] = None,
nsx_id: Optional[str] = None,
policy_ipsec_vpn_ike_profile_id: Optional[str] = None,
sa_life_time: Optional[float] = None,
tags: Optional[Sequence[PolicyIpsecVpnIkeProfileTagArgs]] = None)
func NewPolicyIpsecVpnIkeProfile(ctx *Context, name string, args PolicyIpsecVpnIkeProfileArgs, opts ...ResourceOption) (*PolicyIpsecVpnIkeProfile, error)
public PolicyIpsecVpnIkeProfile(string name, PolicyIpsecVpnIkeProfileArgs args, CustomResourceOptions? opts = null)
public PolicyIpsecVpnIkeProfile(String name, PolicyIpsecVpnIkeProfileArgs args)
public PolicyIpsecVpnIkeProfile(String name, PolicyIpsecVpnIkeProfileArgs args, CustomResourceOptions options)
type: nsxt:PolicyIpsecVpnIkeProfile
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 PolicyIpsecVpnIkeProfileArgs
- 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 PolicyIpsecVpnIkeProfileArgs
- 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 PolicyIpsecVpnIkeProfileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PolicyIpsecVpnIkeProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PolicyIpsecVpnIkeProfileArgs
- 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 policyIpsecVpnIkeProfileResource = new Nsxt.PolicyIpsecVpnIkeProfile("policyIpsecVpnIkeProfileResource", new()
{
DhGroups = new[]
{
"string",
},
DisplayName = "string",
EncryptionAlgorithms = new[]
{
"string",
},
Description = "string",
DigestAlgorithms = new[]
{
"string",
},
IkeVersion = "string",
NsxId = "string",
PolicyIpsecVpnIkeProfileId = "string",
SaLifeTime = 0,
Tags = new[]
{
new Nsxt.Inputs.PolicyIpsecVpnIkeProfileTagArgs
{
Scope = "string",
Tag = "string",
},
},
});
example, err := nsxt.NewPolicyIpsecVpnIkeProfile(ctx, "policyIpsecVpnIkeProfileResource", &nsxt.PolicyIpsecVpnIkeProfileArgs{
DhGroups: pulumi.StringArray{
pulumi.String("string"),
},
DisplayName: pulumi.String("string"),
EncryptionAlgorithms: pulumi.StringArray{
pulumi.String("string"),
},
Description: pulumi.String("string"),
DigestAlgorithms: pulumi.StringArray{
pulumi.String("string"),
},
IkeVersion: pulumi.String("string"),
NsxId: pulumi.String("string"),
PolicyIpsecVpnIkeProfileId: pulumi.String("string"),
SaLifeTime: pulumi.Float64(0),
Tags: nsxt.PolicyIpsecVpnIkeProfileTagArray{
&nsxt.PolicyIpsecVpnIkeProfileTagArgs{
Scope: pulumi.String("string"),
Tag: pulumi.String("string"),
},
},
})
var policyIpsecVpnIkeProfileResource = new PolicyIpsecVpnIkeProfile("policyIpsecVpnIkeProfileResource", PolicyIpsecVpnIkeProfileArgs.builder()
.dhGroups("string")
.displayName("string")
.encryptionAlgorithms("string")
.description("string")
.digestAlgorithms("string")
.ikeVersion("string")
.nsxId("string")
.policyIpsecVpnIkeProfileId("string")
.saLifeTime(0)
.tags(PolicyIpsecVpnIkeProfileTagArgs.builder()
.scope("string")
.tag("string")
.build())
.build());
policy_ipsec_vpn_ike_profile_resource = nsxt.PolicyIpsecVpnIkeProfile("policyIpsecVpnIkeProfileResource",
dh_groups=["string"],
display_name="string",
encryption_algorithms=["string"],
description="string",
digest_algorithms=["string"],
ike_version="string",
nsx_id="string",
policy_ipsec_vpn_ike_profile_id="string",
sa_life_time=0,
tags=[{
"scope": "string",
"tag": "string",
}])
const policyIpsecVpnIkeProfileResource = new nsxt.PolicyIpsecVpnIkeProfile("policyIpsecVpnIkeProfileResource", {
dhGroups: ["string"],
displayName: "string",
encryptionAlgorithms: ["string"],
description: "string",
digestAlgorithms: ["string"],
ikeVersion: "string",
nsxId: "string",
policyIpsecVpnIkeProfileId: "string",
saLifeTime: 0,
tags: [{
scope: "string",
tag: "string",
}],
});
type: nsxt:PolicyIpsecVpnIkeProfile
properties:
description: string
dhGroups:
- string
digestAlgorithms:
- string
displayName: string
encryptionAlgorithms:
- string
ikeVersion: string
nsxId: string
policyIpsecVpnIkeProfileId: string
saLifeTime: 0
tags:
- scope: string
tag: string
PolicyIpsecVpnIkeProfile Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The PolicyIpsecVpnIkeProfile resource accepts the following input properties:
- Dh
Groups List<string> - Diffie-Hellman group to be used if PFS is enabled. Default is GROUP14.
- Display
Name string - Display name of the resource.
- Encryption
Algorithms List<string> - Set of encryption algorithms to be used during IKE negotiation.
- Description string
- Description of the resource.
- Digest
Algorithms List<string> - Set of algorithms to be used for message digest during IKE negotiation. Default is
SHA2_256
. - Ike
Version string - Internet Key Exchange(IKE) protocol version to be used, one of
IKE_V1
,IKE_V2
,IKE_FLEX
.IKE_FLEX
will initiate IKE-V2 and respond to bothIKE_V1
andIKE_V2
. - Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- Policy
Ipsec stringVpn Ike Profile Id - ID of the resource.
- Sa
Life doubleTime - Life time for security association.
- List<Policy
Ipsec Vpn Ike Profile Tag> - A list of scope + tag pairs to associate with this resource.
- Dh
Groups []string - Diffie-Hellman group to be used if PFS is enabled. Default is GROUP14.
- Display
Name string - Display name of the resource.
- Encryption
Algorithms []string - Set of encryption algorithms to be used during IKE negotiation.
- Description string
- Description of the resource.
- Digest
Algorithms []string - Set of algorithms to be used for message digest during IKE negotiation. Default is
SHA2_256
. - Ike
Version string - Internet Key Exchange(IKE) protocol version to be used, one of
IKE_V1
,IKE_V2
,IKE_FLEX
.IKE_FLEX
will initiate IKE-V2 and respond to bothIKE_V1
andIKE_V2
. - Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- Policy
Ipsec stringVpn Ike Profile Id - ID of the resource.
- Sa
Life float64Time - Life time for security association.
- []Policy
Ipsec Vpn Ike Profile Tag Args - A list of scope + tag pairs to associate with this resource.
- dh
Groups List<String> - Diffie-Hellman group to be used if PFS is enabled. Default is GROUP14.
- display
Name String - Display name of the resource.
- encryption
Algorithms List<String> - Set of encryption algorithms to be used during IKE negotiation.
- description String
- Description of the resource.
- digest
Algorithms List<String> - Set of algorithms to be used for message digest during IKE negotiation. Default is
SHA2_256
. - ike
Version String - Internet Key Exchange(IKE) protocol version to be used, one of
IKE_V1
,IKE_V2
,IKE_FLEX
.IKE_FLEX
will initiate IKE-V2 and respond to bothIKE_V1
andIKE_V2
. - nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the resource.
- policy
Ipsec StringVpn Ike Profile Id - ID of the resource.
- sa
Life DoubleTime - Life time for security association.
- List<Policy
Ipsec Vpn Ike Profile Tag> - A list of scope + tag pairs to associate with this resource.
- dh
Groups string[] - Diffie-Hellman group to be used if PFS is enabled. Default is GROUP14.
- display
Name string - Display name of the resource.
- encryption
Algorithms string[] - Set of encryption algorithms to be used during IKE negotiation.
- description string
- Description of the resource.
- digest
Algorithms string[] - Set of algorithms to be used for message digest during IKE negotiation. Default is
SHA2_256
. - ike
Version string - Internet Key Exchange(IKE) protocol version to be used, one of
IKE_V1
,IKE_V2
,IKE_FLEX
.IKE_FLEX
will initiate IKE-V2 and respond to bothIKE_V1
andIKE_V2
. - nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- policy
Ipsec stringVpn Ike Profile Id - ID of the resource.
- sa
Life numberTime - Life time for security association.
- Policy
Ipsec Vpn Ike Profile Tag[] - A list of scope + tag pairs to associate with this resource.
- dh_
groups Sequence[str] - Diffie-Hellman group to be used if PFS is enabled. Default is GROUP14.
- display_
name str - Display name of the resource.
- encryption_
algorithms Sequence[str] - Set of encryption algorithms to be used during IKE negotiation.
- description str
- Description of the resource.
- digest_
algorithms Sequence[str] - Set of algorithms to be used for message digest during IKE negotiation. Default is
SHA2_256
. - ike_
version str - Internet Key Exchange(IKE) protocol version to be used, one of
IKE_V1
,IKE_V2
,IKE_FLEX
.IKE_FLEX
will initiate IKE-V2 and respond to bothIKE_V1
andIKE_V2
. - nsx_
id str - The NSX ID of this resource. If set, this ID will be used to create the resource.
- policy_
ipsec_ strvpn_ ike_ profile_ id - ID of the resource.
- sa_
life_ floattime - Life time for security association.
- Sequence[Policy
Ipsec Vpn Ike Profile Tag Args] - A list of scope + tag pairs to associate with this resource.
- dh
Groups List<String> - Diffie-Hellman group to be used if PFS is enabled. Default is GROUP14.
- display
Name String - Display name of the resource.
- encryption
Algorithms List<String> - Set of encryption algorithms to be used during IKE negotiation.
- description String
- Description of the resource.
- digest
Algorithms List<String> - Set of algorithms to be used for message digest during IKE negotiation. Default is
SHA2_256
. - ike
Version String - Internet Key Exchange(IKE) protocol version to be used, one of
IKE_V1
,IKE_V2
,IKE_FLEX
.IKE_FLEX
will initiate IKE-V2 and respond to bothIKE_V1
andIKE_V2
. - nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the resource.
- policy
Ipsec StringVpn Ike Profile Id - ID of the resource.
- sa
Life NumberTime - Life time for security association.
- List<Property Map>
- A list of scope + tag pairs to associate with this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the PolicyIpsecVpnIkeProfile resource produces the following output properties:
Look up Existing PolicyIpsecVpnIkeProfile Resource
Get an existing PolicyIpsecVpnIkeProfile 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?: PolicyIpsecVpnIkeProfileState, opts?: CustomResourceOptions): PolicyIpsecVpnIkeProfile
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
dh_groups: Optional[Sequence[str]] = None,
digest_algorithms: Optional[Sequence[str]] = None,
display_name: Optional[str] = None,
encryption_algorithms: Optional[Sequence[str]] = None,
ike_version: Optional[str] = None,
nsx_id: Optional[str] = None,
path: Optional[str] = None,
policy_ipsec_vpn_ike_profile_id: Optional[str] = None,
revision: Optional[float] = None,
sa_life_time: Optional[float] = None,
tags: Optional[Sequence[PolicyIpsecVpnIkeProfileTagArgs]] = None) -> PolicyIpsecVpnIkeProfile
func GetPolicyIpsecVpnIkeProfile(ctx *Context, name string, id IDInput, state *PolicyIpsecVpnIkeProfileState, opts ...ResourceOption) (*PolicyIpsecVpnIkeProfile, error)
public static PolicyIpsecVpnIkeProfile Get(string name, Input<string> id, PolicyIpsecVpnIkeProfileState? state, CustomResourceOptions? opts = null)
public static PolicyIpsecVpnIkeProfile get(String name, Output<String> id, PolicyIpsecVpnIkeProfileState state, CustomResourceOptions options)
resources: _: type: nsxt:PolicyIpsecVpnIkeProfile get: id: ${id}
- 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.
- Description string
- Description of the resource.
- Dh
Groups List<string> - Diffie-Hellman group to be used if PFS is enabled. Default is GROUP14.
- Digest
Algorithms List<string> - Set of algorithms to be used for message digest during IKE negotiation. Default is
SHA2_256
. - Display
Name string - Display name of the resource.
- Encryption
Algorithms List<string> - Set of encryption algorithms to be used during IKE negotiation.
- Ike
Version string - Internet Key Exchange(IKE) protocol version to be used, one of
IKE_V1
,IKE_V2
,IKE_FLEX
.IKE_FLEX
will initiate IKE-V2 and respond to bothIKE_V1
andIKE_V2
. - Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- Path string
- The NSX path of the policy resource.
- Policy
Ipsec stringVpn Ike Profile Id - ID of the resource.
- Revision double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- Sa
Life doubleTime - Life time for security association.
- List<Policy
Ipsec Vpn Ike Profile Tag> - A list of scope + tag pairs to associate with this resource.
- Description string
- Description of the resource.
- Dh
Groups []string - Diffie-Hellman group to be used if PFS is enabled. Default is GROUP14.
- Digest
Algorithms []string - Set of algorithms to be used for message digest during IKE negotiation. Default is
SHA2_256
. - Display
Name string - Display name of the resource.
- Encryption
Algorithms []string - Set of encryption algorithms to be used during IKE negotiation.
- Ike
Version string - Internet Key Exchange(IKE) protocol version to be used, one of
IKE_V1
,IKE_V2
,IKE_FLEX
.IKE_FLEX
will initiate IKE-V2 and respond to bothIKE_V1
andIKE_V2
. - Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- Path string
- The NSX path of the policy resource.
- Policy
Ipsec stringVpn Ike Profile Id - ID of the resource.
- Revision float64
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- Sa
Life float64Time - Life time for security association.
- []Policy
Ipsec Vpn Ike Profile Tag Args - A list of scope + tag pairs to associate with this resource.
- description String
- Description of the resource.
- dh
Groups List<String> - Diffie-Hellman group to be used if PFS is enabled. Default is GROUP14.
- digest
Algorithms List<String> - Set of algorithms to be used for message digest during IKE negotiation. Default is
SHA2_256
. - display
Name String - Display name of the resource.
- encryption
Algorithms List<String> - Set of encryption algorithms to be used during IKE negotiation.
- ike
Version String - Internet Key Exchange(IKE) protocol version to be used, one of
IKE_V1
,IKE_V2
,IKE_FLEX
.IKE_FLEX
will initiate IKE-V2 and respond to bothIKE_V1
andIKE_V2
. - nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the resource.
- path String
- The NSX path of the policy resource.
- policy
Ipsec StringVpn Ike Profile Id - ID of the resource.
- revision Double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- sa
Life DoubleTime - Life time for security association.
- List<Policy
Ipsec Vpn Ike Profile Tag> - A list of scope + tag pairs to associate with this resource.
- description string
- Description of the resource.
- dh
Groups string[] - Diffie-Hellman group to be used if PFS is enabled. Default is GROUP14.
- digest
Algorithms string[] - Set of algorithms to be used for message digest during IKE negotiation. Default is
SHA2_256
. - display
Name string - Display name of the resource.
- encryption
Algorithms string[] - Set of encryption algorithms to be used during IKE negotiation.
- ike
Version string - Internet Key Exchange(IKE) protocol version to be used, one of
IKE_V1
,IKE_V2
,IKE_FLEX
.IKE_FLEX
will initiate IKE-V2 and respond to bothIKE_V1
andIKE_V2
. - nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- path string
- The NSX path of the policy resource.
- policy
Ipsec stringVpn Ike Profile Id - ID of the resource.
- revision number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- sa
Life numberTime - Life time for security association.
- Policy
Ipsec Vpn Ike Profile Tag[] - A list of scope + tag pairs to associate with this resource.
- description str
- Description of the resource.
- dh_
groups Sequence[str] - Diffie-Hellman group to be used if PFS is enabled. Default is GROUP14.
- digest_
algorithms Sequence[str] - Set of algorithms to be used for message digest during IKE negotiation. Default is
SHA2_256
. - display_
name str - Display name of the resource.
- encryption_
algorithms Sequence[str] - Set of encryption algorithms to be used during IKE negotiation.
- ike_
version str - Internet Key Exchange(IKE) protocol version to be used, one of
IKE_V1
,IKE_V2
,IKE_FLEX
.IKE_FLEX
will initiate IKE-V2 and respond to bothIKE_V1
andIKE_V2
. - nsx_
id str - The NSX ID of this resource. If set, this ID will be used to create the resource.
- path str
- The NSX path of the policy resource.
- policy_
ipsec_ strvpn_ ike_ profile_ id - ID of the resource.
- revision float
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- sa_
life_ floattime - Life time for security association.
- Sequence[Policy
Ipsec Vpn Ike Profile Tag Args] - A list of scope + tag pairs to associate with this resource.
- description String
- Description of the resource.
- dh
Groups List<String> - Diffie-Hellman group to be used if PFS is enabled. Default is GROUP14.
- digest
Algorithms List<String> - Set of algorithms to be used for message digest during IKE negotiation. Default is
SHA2_256
. - display
Name String - Display name of the resource.
- encryption
Algorithms List<String> - Set of encryption algorithms to be used during IKE negotiation.
- ike
Version String - Internet Key Exchange(IKE) protocol version to be used, one of
IKE_V1
,IKE_V2
,IKE_FLEX
.IKE_FLEX
will initiate IKE-V2 and respond to bothIKE_V1
andIKE_V2
. - nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the resource.
- path String
- The NSX path of the policy resource.
- policy
Ipsec StringVpn Ike Profile Id - ID of the resource.
- revision Number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- sa
Life NumberTime - Life time for security association.
- List<Property Map>
- A list of scope + tag pairs to associate with this resource.
Supporting Types
PolicyIpsecVpnIkeProfileTag, PolicyIpsecVpnIkeProfileTagArgs
Package Details
- Repository
- nsxt vmware/terraform-provider-nsxt
- License
- Notes
- This Pulumi package is based on the
nsxt
Terraform Provider.