nsxt.PolicyIpsecVpnTunnelProfile
Explore with Pulumi AI
Create PolicyIpsecVpnTunnelProfile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PolicyIpsecVpnTunnelProfile(name: string, args: PolicyIpsecVpnTunnelProfileArgs, opts?: CustomResourceOptions);
@overload
def PolicyIpsecVpnTunnelProfile(resource_name: str,
args: PolicyIpsecVpnTunnelProfileArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PolicyIpsecVpnTunnelProfile(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,
df_policy: Optional[str] = None,
digest_algorithms: Optional[Sequence[str]] = None,
enable_perfect_forward_secrecy: Optional[bool] = None,
nsx_id: Optional[str] = None,
policy_ipsec_vpn_tunnel_profile_id: Optional[str] = None,
sa_life_time: Optional[float] = None,
tags: Optional[Sequence[PolicyIpsecVpnTunnelProfileTagArgs]] = None)
func NewPolicyIpsecVpnTunnelProfile(ctx *Context, name string, args PolicyIpsecVpnTunnelProfileArgs, opts ...ResourceOption) (*PolicyIpsecVpnTunnelProfile, error)
public PolicyIpsecVpnTunnelProfile(string name, PolicyIpsecVpnTunnelProfileArgs args, CustomResourceOptions? opts = null)
public PolicyIpsecVpnTunnelProfile(String name, PolicyIpsecVpnTunnelProfileArgs args)
public PolicyIpsecVpnTunnelProfile(String name, PolicyIpsecVpnTunnelProfileArgs args, CustomResourceOptions options)
type: nsxt:PolicyIpsecVpnTunnelProfile
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 PolicyIpsecVpnTunnelProfileArgs
- 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 PolicyIpsecVpnTunnelProfileArgs
- 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 PolicyIpsecVpnTunnelProfileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PolicyIpsecVpnTunnelProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PolicyIpsecVpnTunnelProfileArgs
- 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 policyIpsecVpnTunnelProfileResource = new Nsxt.PolicyIpsecVpnTunnelProfile("policyIpsecVpnTunnelProfileResource", new()
{
DhGroups = new[]
{
"string",
},
DisplayName = "string",
EncryptionAlgorithms = new[]
{
"string",
},
Description = "string",
DfPolicy = "string",
DigestAlgorithms = new[]
{
"string",
},
EnablePerfectForwardSecrecy = false,
NsxId = "string",
PolicyIpsecVpnTunnelProfileId = "string",
SaLifeTime = 0,
Tags = new[]
{
new Nsxt.Inputs.PolicyIpsecVpnTunnelProfileTagArgs
{
Scope = "string",
Tag = "string",
},
},
});
example, err := nsxt.NewPolicyIpsecVpnTunnelProfile(ctx, "policyIpsecVpnTunnelProfileResource", &nsxt.PolicyIpsecVpnTunnelProfileArgs{
DhGroups: pulumi.StringArray{
pulumi.String("string"),
},
DisplayName: pulumi.String("string"),
EncryptionAlgorithms: pulumi.StringArray{
pulumi.String("string"),
},
Description: pulumi.String("string"),
DfPolicy: pulumi.String("string"),
DigestAlgorithms: pulumi.StringArray{
pulumi.String("string"),
},
EnablePerfectForwardSecrecy: pulumi.Bool(false),
NsxId: pulumi.String("string"),
PolicyIpsecVpnTunnelProfileId: pulumi.String("string"),
SaLifeTime: pulumi.Float64(0),
Tags: nsxt.PolicyIpsecVpnTunnelProfileTagArray{
&nsxt.PolicyIpsecVpnTunnelProfileTagArgs{
Scope: pulumi.String("string"),
Tag: pulumi.String("string"),
},
},
})
var policyIpsecVpnTunnelProfileResource = new PolicyIpsecVpnTunnelProfile("policyIpsecVpnTunnelProfileResource", PolicyIpsecVpnTunnelProfileArgs.builder()
.dhGroups("string")
.displayName("string")
.encryptionAlgorithms("string")
.description("string")
.dfPolicy("string")
.digestAlgorithms("string")
.enablePerfectForwardSecrecy(false)
.nsxId("string")
.policyIpsecVpnTunnelProfileId("string")
.saLifeTime(0)
.tags(PolicyIpsecVpnTunnelProfileTagArgs.builder()
.scope("string")
.tag("string")
.build())
.build());
policy_ipsec_vpn_tunnel_profile_resource = nsxt.PolicyIpsecVpnTunnelProfile("policyIpsecVpnTunnelProfileResource",
dh_groups=["string"],
display_name="string",
encryption_algorithms=["string"],
description="string",
df_policy="string",
digest_algorithms=["string"],
enable_perfect_forward_secrecy=False,
nsx_id="string",
policy_ipsec_vpn_tunnel_profile_id="string",
sa_life_time=0,
tags=[{
"scope": "string",
"tag": "string",
}])
const policyIpsecVpnTunnelProfileResource = new nsxt.PolicyIpsecVpnTunnelProfile("policyIpsecVpnTunnelProfileResource", {
dhGroups: ["string"],
displayName: "string",
encryptionAlgorithms: ["string"],
description: "string",
dfPolicy: "string",
digestAlgorithms: ["string"],
enablePerfectForwardSecrecy: false,
nsxId: "string",
policyIpsecVpnTunnelProfileId: "string",
saLifeTime: 0,
tags: [{
scope: "string",
tag: "string",
}],
});
type: nsxt:PolicyIpsecVpnTunnelProfile
properties:
description: string
dfPolicy: string
dhGroups:
- string
digestAlgorithms:
- string
displayName: string
enablePerfectForwardSecrecy: false
encryptionAlgorithms:
- string
nsxId: string
policyIpsecVpnTunnelProfileId: string
saLifeTime: 0
tags:
- scope: string
tag: string
PolicyIpsecVpnTunnelProfile 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 PolicyIpsecVpnTunnelProfile 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.
- Df
Policy string - Defragmentation policy, one of
COPY
orCLEAR
.COPY
copies the defragmentation bit from the inner IP packet into the outer packet.CLEAR
ignores the defragmentation bit present in the inner packet. Default isCOPY
. - Digest
Algorithms List<string> - Set of algorithms to be used for message digest during IKE negotiation. Default is
SHA2_256
. - Enable
Perfect boolForward Secrecy - Enable perfect forward secrecy. Default is True.
- Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- Policy
Ipsec stringVpn Tunnel Profile Id - ID of the resource.
- Sa
Life doubleTime - SA lifetime specifies the expiry time of security association. Default is 3600.
- List<Policy
Ipsec Vpn Tunnel 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.
- Df
Policy string - Defragmentation policy, one of
COPY
orCLEAR
.COPY
copies the defragmentation bit from the inner IP packet into the outer packet.CLEAR
ignores the defragmentation bit present in the inner packet. Default isCOPY
. - Digest
Algorithms []string - Set of algorithms to be used for message digest during IKE negotiation. Default is
SHA2_256
. - Enable
Perfect boolForward Secrecy - Enable perfect forward secrecy. Default is True.
- Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- Policy
Ipsec stringVpn Tunnel Profile Id - ID of the resource.
- Sa
Life float64Time - SA lifetime specifies the expiry time of security association. Default is 3600.
- []Policy
Ipsec Vpn Tunnel 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.
- df
Policy String - Defragmentation policy, one of
COPY
orCLEAR
.COPY
copies the defragmentation bit from the inner IP packet into the outer packet.CLEAR
ignores the defragmentation bit present in the inner packet. Default isCOPY
. - digest
Algorithms List<String> - Set of algorithms to be used for message digest during IKE negotiation. Default is
SHA2_256
. - enable
Perfect BooleanForward Secrecy - Enable perfect forward secrecy. Default is True.
- nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the resource.
- policy
Ipsec StringVpn Tunnel Profile Id - ID of the resource.
- sa
Life DoubleTime - SA lifetime specifies the expiry time of security association. Default is 3600.
- List<Policy
Ipsec Vpn Tunnel 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.
- df
Policy string - Defragmentation policy, one of
COPY
orCLEAR
.COPY
copies the defragmentation bit from the inner IP packet into the outer packet.CLEAR
ignores the defragmentation bit present in the inner packet. Default isCOPY
. - digest
Algorithms string[] - Set of algorithms to be used for message digest during IKE negotiation. Default is
SHA2_256
. - enable
Perfect booleanForward Secrecy - Enable perfect forward secrecy. Default is True.
- nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- policy
Ipsec stringVpn Tunnel Profile Id - ID of the resource.
- sa
Life numberTime - SA lifetime specifies the expiry time of security association. Default is 3600.
- Policy
Ipsec Vpn Tunnel 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.
- df_
policy str - Defragmentation policy, one of
COPY
orCLEAR
.COPY
copies the defragmentation bit from the inner IP packet into the outer packet.CLEAR
ignores the defragmentation bit present in the inner packet. Default isCOPY
. - digest_
algorithms Sequence[str] - Set of algorithms to be used for message digest during IKE negotiation. Default is
SHA2_256
. - enable_
perfect_ boolforward_ secrecy - Enable perfect forward secrecy. Default is True.
- nsx_
id str - The NSX ID of this resource. If set, this ID will be used to create the resource.
- policy_
ipsec_ strvpn_ tunnel_ profile_ id - ID of the resource.
- sa_
life_ floattime - SA lifetime specifies the expiry time of security association. Default is 3600.
- Sequence[Policy
Ipsec Vpn Tunnel 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.
- df
Policy String - Defragmentation policy, one of
COPY
orCLEAR
.COPY
copies the defragmentation bit from the inner IP packet into the outer packet.CLEAR
ignores the defragmentation bit present in the inner packet. Default isCOPY
. - digest
Algorithms List<String> - Set of algorithms to be used for message digest during IKE negotiation. Default is
SHA2_256
. - enable
Perfect BooleanForward Secrecy - Enable perfect forward secrecy. Default is True.
- nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the resource.
- policy
Ipsec StringVpn Tunnel Profile Id - ID of the resource.
- sa
Life NumberTime - SA lifetime specifies the expiry time of security association. Default is 3600.
- 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 PolicyIpsecVpnTunnelProfile resource produces the following output properties:
Look up Existing PolicyIpsecVpnTunnelProfile Resource
Get an existing PolicyIpsecVpnTunnelProfile 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?: PolicyIpsecVpnTunnelProfileState, opts?: CustomResourceOptions): PolicyIpsecVpnTunnelProfile
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
df_policy: Optional[str] = None,
dh_groups: Optional[Sequence[str]] = None,
digest_algorithms: Optional[Sequence[str]] = None,
display_name: Optional[str] = None,
enable_perfect_forward_secrecy: Optional[bool] = None,
encryption_algorithms: Optional[Sequence[str]] = None,
nsx_id: Optional[str] = None,
path: Optional[str] = None,
policy_ipsec_vpn_tunnel_profile_id: Optional[str] = None,
revision: Optional[float] = None,
sa_life_time: Optional[float] = None,
tags: Optional[Sequence[PolicyIpsecVpnTunnelProfileTagArgs]] = None) -> PolicyIpsecVpnTunnelProfile
func GetPolicyIpsecVpnTunnelProfile(ctx *Context, name string, id IDInput, state *PolicyIpsecVpnTunnelProfileState, opts ...ResourceOption) (*PolicyIpsecVpnTunnelProfile, error)
public static PolicyIpsecVpnTunnelProfile Get(string name, Input<string> id, PolicyIpsecVpnTunnelProfileState? state, CustomResourceOptions? opts = null)
public static PolicyIpsecVpnTunnelProfile get(String name, Output<String> id, PolicyIpsecVpnTunnelProfileState state, CustomResourceOptions options)
resources: _: type: nsxt:PolicyIpsecVpnTunnelProfile 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.
- Df
Policy string - Defragmentation policy, one of
COPY
orCLEAR
.COPY
copies the defragmentation bit from the inner IP packet into the outer packet.CLEAR
ignores the defragmentation bit present in the inner packet. Default isCOPY
. - 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.
- Enable
Perfect boolForward Secrecy - Enable perfect forward secrecy. Default is True.
- Encryption
Algorithms List<string> - Set of encryption algorithms to be used during IKE negotiation.
- 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 Tunnel 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 - SA lifetime specifies the expiry time of security association. Default is 3600.
- List<Policy
Ipsec Vpn Tunnel Profile Tag> - A list of scope + tag pairs to associate with this resource.
- Description string
- Description of the resource.
- Df
Policy string - Defragmentation policy, one of
COPY
orCLEAR
.COPY
copies the defragmentation bit from the inner IP packet into the outer packet.CLEAR
ignores the defragmentation bit present in the inner packet. Default isCOPY
. - 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.
- Enable
Perfect boolForward Secrecy - Enable perfect forward secrecy. Default is True.
- Encryption
Algorithms []string - Set of encryption algorithms to be used during IKE negotiation.
- 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 Tunnel 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 - SA lifetime specifies the expiry time of security association. Default is 3600.
- []Policy
Ipsec Vpn Tunnel Profile Tag Args - A list of scope + tag pairs to associate with this resource.
- description String
- Description of the resource.
- df
Policy String - Defragmentation policy, one of
COPY
orCLEAR
.COPY
copies the defragmentation bit from the inner IP packet into the outer packet.CLEAR
ignores the defragmentation bit present in the inner packet. Default isCOPY
. - 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.
- enable
Perfect BooleanForward Secrecy - Enable perfect forward secrecy. Default is True.
- encryption
Algorithms List<String> - Set of encryption algorithms to be used during IKE negotiation.
- 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 Tunnel 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 - SA lifetime specifies the expiry time of security association. Default is 3600.
- List<Policy
Ipsec Vpn Tunnel Profile Tag> - A list of scope + tag pairs to associate with this resource.
- description string
- Description of the resource.
- df
Policy string - Defragmentation policy, one of
COPY
orCLEAR
.COPY
copies the defragmentation bit from the inner IP packet into the outer packet.CLEAR
ignores the defragmentation bit present in the inner packet. Default isCOPY
. - 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.
- enable
Perfect booleanForward Secrecy - Enable perfect forward secrecy. Default is True.
- encryption
Algorithms string[] - Set of encryption algorithms to be used during IKE negotiation.
- 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 Tunnel 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 - SA lifetime specifies the expiry time of security association. Default is 3600.
- Policy
Ipsec Vpn Tunnel Profile Tag[] - A list of scope + tag pairs to associate with this resource.
- description str
- Description of the resource.
- df_
policy str - Defragmentation policy, one of
COPY
orCLEAR
.COPY
copies the defragmentation bit from the inner IP packet into the outer packet.CLEAR
ignores the defragmentation bit present in the inner packet. Default isCOPY
. - 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.
- enable_
perfect_ boolforward_ secrecy - Enable perfect forward secrecy. Default is True.
- encryption_
algorithms Sequence[str] - Set of encryption algorithms to be used during IKE negotiation.
- 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_ tunnel_ 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 - SA lifetime specifies the expiry time of security association. Default is 3600.
- Sequence[Policy
Ipsec Vpn Tunnel Profile Tag Args] - A list of scope + tag pairs to associate with this resource.
- description String
- Description of the resource.
- df
Policy String - Defragmentation policy, one of
COPY
orCLEAR
.COPY
copies the defragmentation bit from the inner IP packet into the outer packet.CLEAR
ignores the defragmentation bit present in the inner packet. Default isCOPY
. - 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.
- enable
Perfect BooleanForward Secrecy - Enable perfect forward secrecy. Default is True.
- encryption
Algorithms List<String> - Set of encryption algorithms to be used during IKE negotiation.
- 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 Tunnel 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 - SA lifetime specifies the expiry time of security association. Default is 3600.
- List<Property Map>
- A list of scope + tag pairs to associate with this resource.
Supporting Types
PolicyIpsecVpnTunnelProfileTag, PolicyIpsecVpnTunnelProfileTagArgs
Package Details
- Repository
- nsxt vmware/terraform-provider-nsxt
- License
- Notes
- This Pulumi package is based on the
nsxt
Terraform Provider.