nsxt.PolicyIpsecVpnDpdProfile
Explore with Pulumi AI
Create PolicyIpsecVpnDpdProfile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PolicyIpsecVpnDpdProfile(name: string, args: PolicyIpsecVpnDpdProfileArgs, opts?: CustomResourceOptions);
@overload
def PolicyIpsecVpnDpdProfile(resource_name: str,
args: PolicyIpsecVpnDpdProfileArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PolicyIpsecVpnDpdProfile(resource_name: str,
opts: Optional[ResourceOptions] = None,
display_name: Optional[str] = None,
description: Optional[str] = None,
dpd_probe_interval: Optional[float] = None,
dpd_probe_mode: Optional[str] = None,
enabled: Optional[bool] = None,
nsx_id: Optional[str] = None,
policy_ipsec_vpn_dpd_profile_id: Optional[str] = None,
retry_count: Optional[float] = None,
tags: Optional[Sequence[PolicyIpsecVpnDpdProfileTagArgs]] = None)
func NewPolicyIpsecVpnDpdProfile(ctx *Context, name string, args PolicyIpsecVpnDpdProfileArgs, opts ...ResourceOption) (*PolicyIpsecVpnDpdProfile, error)
public PolicyIpsecVpnDpdProfile(string name, PolicyIpsecVpnDpdProfileArgs args, CustomResourceOptions? opts = null)
public PolicyIpsecVpnDpdProfile(String name, PolicyIpsecVpnDpdProfileArgs args)
public PolicyIpsecVpnDpdProfile(String name, PolicyIpsecVpnDpdProfileArgs args, CustomResourceOptions options)
type: nsxt:PolicyIpsecVpnDpdProfile
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 PolicyIpsecVpnDpdProfileArgs
- 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 PolicyIpsecVpnDpdProfileArgs
- 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 PolicyIpsecVpnDpdProfileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PolicyIpsecVpnDpdProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PolicyIpsecVpnDpdProfileArgs
- 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 policyIpsecVpnDpdProfileResource = new Nsxt.PolicyIpsecVpnDpdProfile("policyIpsecVpnDpdProfileResource", new()
{
DisplayName = "string",
Description = "string",
DpdProbeInterval = 0,
DpdProbeMode = "string",
Enabled = false,
NsxId = "string",
PolicyIpsecVpnDpdProfileId = "string",
RetryCount = 0,
Tags = new[]
{
new Nsxt.Inputs.PolicyIpsecVpnDpdProfileTagArgs
{
Scope = "string",
Tag = "string",
},
},
});
example, err := nsxt.NewPolicyIpsecVpnDpdProfile(ctx, "policyIpsecVpnDpdProfileResource", &nsxt.PolicyIpsecVpnDpdProfileArgs{
DisplayName: pulumi.String("string"),
Description: pulumi.String("string"),
DpdProbeInterval: pulumi.Float64(0),
DpdProbeMode: pulumi.String("string"),
Enabled: pulumi.Bool(false),
NsxId: pulumi.String("string"),
PolicyIpsecVpnDpdProfileId: pulumi.String("string"),
RetryCount: pulumi.Float64(0),
Tags: nsxt.PolicyIpsecVpnDpdProfileTagArray{
&nsxt.PolicyIpsecVpnDpdProfileTagArgs{
Scope: pulumi.String("string"),
Tag: pulumi.String("string"),
},
},
})
var policyIpsecVpnDpdProfileResource = new PolicyIpsecVpnDpdProfile("policyIpsecVpnDpdProfileResource", PolicyIpsecVpnDpdProfileArgs.builder()
.displayName("string")
.description("string")
.dpdProbeInterval(0)
.dpdProbeMode("string")
.enabled(false)
.nsxId("string")
.policyIpsecVpnDpdProfileId("string")
.retryCount(0)
.tags(PolicyIpsecVpnDpdProfileTagArgs.builder()
.scope("string")
.tag("string")
.build())
.build());
policy_ipsec_vpn_dpd_profile_resource = nsxt.PolicyIpsecVpnDpdProfile("policyIpsecVpnDpdProfileResource",
display_name="string",
description="string",
dpd_probe_interval=0,
dpd_probe_mode="string",
enabled=False,
nsx_id="string",
policy_ipsec_vpn_dpd_profile_id="string",
retry_count=0,
tags=[{
"scope": "string",
"tag": "string",
}])
const policyIpsecVpnDpdProfileResource = new nsxt.PolicyIpsecVpnDpdProfile("policyIpsecVpnDpdProfileResource", {
displayName: "string",
description: "string",
dpdProbeInterval: 0,
dpdProbeMode: "string",
enabled: false,
nsxId: "string",
policyIpsecVpnDpdProfileId: "string",
retryCount: 0,
tags: [{
scope: "string",
tag: "string",
}],
});
type: nsxt:PolicyIpsecVpnDpdProfile
properties:
description: string
displayName: string
dpdProbeInterval: 0
dpdProbeMode: string
enabled: false
nsxId: string
policyIpsecVpnDpdProfileId: string
retryCount: 0
tags:
- scope: string
tag: string
PolicyIpsecVpnDpdProfile 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 PolicyIpsecVpnDpdProfile resource accepts the following input properties:
- Display
Name string - Display name of the resource.
- Description string
- Description of the resource.
- Dpd
Probe doubleInterval - Probe interval in seconds. Default is 60.
- Dpd
Probe stringMode - DPD Probe Mode, one of
PERIODIC
,ON_DEMAND
. Periodic mode is used to query the liveliness of the peer at regular intervals (dpd_probe_interval
seconds). On-demand mode would trigger DPD message if there is traffic to send to the peer AND the peer was idle fordpd_probe_interval
seconds. Default isPERIODIC
. - Enabled bool
- Enabled Dead Peer Detection. 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 Dpd Profile Id - ID of the resource.
- Retry
Count double - Maximum number of DPD retry attempts. Default is 10.
- List<Policy
Ipsec Vpn Dpd Profile Tag> - A list of scope + tag pairs to associate with this resource.
- Display
Name string - Display name of the resource.
- Description string
- Description of the resource.
- Dpd
Probe float64Interval - Probe interval in seconds. Default is 60.
- Dpd
Probe stringMode - DPD Probe Mode, one of
PERIODIC
,ON_DEMAND
. Periodic mode is used to query the liveliness of the peer at regular intervals (dpd_probe_interval
seconds). On-demand mode would trigger DPD message if there is traffic to send to the peer AND the peer was idle fordpd_probe_interval
seconds. Default isPERIODIC
. - Enabled bool
- Enabled Dead Peer Detection. 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 Dpd Profile Id - ID of the resource.
- Retry
Count float64 - Maximum number of DPD retry attempts. Default is 10.
- []Policy
Ipsec Vpn Dpd Profile Tag Args - A list of scope + tag pairs to associate with this resource.
- display
Name String - Display name of the resource.
- description String
- Description of the resource.
- dpd
Probe DoubleInterval - Probe interval in seconds. Default is 60.
- dpd
Probe StringMode - DPD Probe Mode, one of
PERIODIC
,ON_DEMAND
. Periodic mode is used to query the liveliness of the peer at regular intervals (dpd_probe_interval
seconds). On-demand mode would trigger DPD message if there is traffic to send to the peer AND the peer was idle fordpd_probe_interval
seconds. Default isPERIODIC
. - enabled Boolean
- Enabled Dead Peer Detection. 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 Dpd Profile Id - ID of the resource.
- retry
Count Double - Maximum number of DPD retry attempts. Default is 10.
- List<Policy
Ipsec Vpn Dpd Profile Tag> - A list of scope + tag pairs to associate with this resource.
- display
Name string - Display name of the resource.
- description string
- Description of the resource.
- dpd
Probe numberInterval - Probe interval in seconds. Default is 60.
- dpd
Probe stringMode - DPD Probe Mode, one of
PERIODIC
,ON_DEMAND
. Periodic mode is used to query the liveliness of the peer at regular intervals (dpd_probe_interval
seconds). On-demand mode would trigger DPD message if there is traffic to send to the peer AND the peer was idle fordpd_probe_interval
seconds. Default isPERIODIC
. - enabled boolean
- Enabled Dead Peer Detection. 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 Dpd Profile Id - ID of the resource.
- retry
Count number - Maximum number of DPD retry attempts. Default is 10.
- Policy
Ipsec Vpn Dpd Profile Tag[] - A list of scope + tag pairs to associate with this resource.
- display_
name str - Display name of the resource.
- description str
- Description of the resource.
- dpd_
probe_ floatinterval - Probe interval in seconds. Default is 60.
- dpd_
probe_ strmode - DPD Probe Mode, one of
PERIODIC
,ON_DEMAND
. Periodic mode is used to query the liveliness of the peer at regular intervals (dpd_probe_interval
seconds). On-demand mode would trigger DPD message if there is traffic to send to the peer AND the peer was idle fordpd_probe_interval
seconds. Default isPERIODIC
. - enabled bool
- Enabled Dead Peer Detection. 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_ dpd_ profile_ id - ID of the resource.
- retry_
count float - Maximum number of DPD retry attempts. Default is 10.
- Sequence[Policy
Ipsec Vpn Dpd Profile Tag Args] - A list of scope + tag pairs to associate with this resource.
- display
Name String - Display name of the resource.
- description String
- Description of the resource.
- dpd
Probe NumberInterval - Probe interval in seconds. Default is 60.
- dpd
Probe StringMode - DPD Probe Mode, one of
PERIODIC
,ON_DEMAND
. Periodic mode is used to query the liveliness of the peer at regular intervals (dpd_probe_interval
seconds). On-demand mode would trigger DPD message if there is traffic to send to the peer AND the peer was idle fordpd_probe_interval
seconds. Default isPERIODIC
. - enabled Boolean
- Enabled Dead Peer Detection. 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 Dpd Profile Id - ID of the resource.
- retry
Count Number - Maximum number of DPD retry attempts. Default is 10.
- 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 PolicyIpsecVpnDpdProfile resource produces the following output properties:
Look up Existing PolicyIpsecVpnDpdProfile Resource
Get an existing PolicyIpsecVpnDpdProfile 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?: PolicyIpsecVpnDpdProfileState, opts?: CustomResourceOptions): PolicyIpsecVpnDpdProfile
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
dpd_probe_interval: Optional[float] = None,
dpd_probe_mode: Optional[str] = None,
enabled: Optional[bool] = None,
nsx_id: Optional[str] = None,
path: Optional[str] = None,
policy_ipsec_vpn_dpd_profile_id: Optional[str] = None,
retry_count: Optional[float] = None,
revision: Optional[float] = None,
tags: Optional[Sequence[PolicyIpsecVpnDpdProfileTagArgs]] = None) -> PolicyIpsecVpnDpdProfile
func GetPolicyIpsecVpnDpdProfile(ctx *Context, name string, id IDInput, state *PolicyIpsecVpnDpdProfileState, opts ...ResourceOption) (*PolicyIpsecVpnDpdProfile, error)
public static PolicyIpsecVpnDpdProfile Get(string name, Input<string> id, PolicyIpsecVpnDpdProfileState? state, CustomResourceOptions? opts = null)
public static PolicyIpsecVpnDpdProfile get(String name, Output<String> id, PolicyIpsecVpnDpdProfileState state, CustomResourceOptions options)
resources: _: type: nsxt:PolicyIpsecVpnDpdProfile 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.
- Display
Name string - Display name of the resource.
- Dpd
Probe doubleInterval - Probe interval in seconds. Default is 60.
- Dpd
Probe stringMode - DPD Probe Mode, one of
PERIODIC
,ON_DEMAND
. Periodic mode is used to query the liveliness of the peer at regular intervals (dpd_probe_interval
seconds). On-demand mode would trigger DPD message if there is traffic to send to the peer AND the peer was idle fordpd_probe_interval
seconds. Default isPERIODIC
. - Enabled bool
- Enabled Dead Peer Detection. Default is True.
- 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 Dpd Profile Id - ID of the resource.
- Retry
Count double - Maximum number of DPD retry attempts. Default is 10.
- Revision double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- List<Policy
Ipsec Vpn Dpd Profile Tag> - A list of scope + tag pairs to associate with this resource.
- Description string
- Description of the resource.
- Display
Name string - Display name of the resource.
- Dpd
Probe float64Interval - Probe interval in seconds. Default is 60.
- Dpd
Probe stringMode - DPD Probe Mode, one of
PERIODIC
,ON_DEMAND
. Periodic mode is used to query the liveliness of the peer at regular intervals (dpd_probe_interval
seconds). On-demand mode would trigger DPD message if there is traffic to send to the peer AND the peer was idle fordpd_probe_interval
seconds. Default isPERIODIC
. - Enabled bool
- Enabled Dead Peer Detection. Default is True.
- 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 Dpd Profile Id - ID of the resource.
- Retry
Count float64 - Maximum number of DPD retry attempts. Default is 10.
- Revision float64
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- []Policy
Ipsec Vpn Dpd Profile Tag Args - A list of scope + tag pairs to associate with this resource.
- description String
- Description of the resource.
- display
Name String - Display name of the resource.
- dpd
Probe DoubleInterval - Probe interval in seconds. Default is 60.
- dpd
Probe StringMode - DPD Probe Mode, one of
PERIODIC
,ON_DEMAND
. Periodic mode is used to query the liveliness of the peer at regular intervals (dpd_probe_interval
seconds). On-demand mode would trigger DPD message if there is traffic to send to the peer AND the peer was idle fordpd_probe_interval
seconds. Default isPERIODIC
. - enabled Boolean
- Enabled Dead Peer Detection. Default is True.
- 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 Dpd Profile Id - ID of the resource.
- retry
Count Double - Maximum number of DPD retry attempts. Default is 10.
- revision Double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- List<Policy
Ipsec Vpn Dpd Profile Tag> - A list of scope + tag pairs to associate with this resource.
- description string
- Description of the resource.
- display
Name string - Display name of the resource.
- dpd
Probe numberInterval - Probe interval in seconds. Default is 60.
- dpd
Probe stringMode - DPD Probe Mode, one of
PERIODIC
,ON_DEMAND
. Periodic mode is used to query the liveliness of the peer at regular intervals (dpd_probe_interval
seconds). On-demand mode would trigger DPD message if there is traffic to send to the peer AND the peer was idle fordpd_probe_interval
seconds. Default isPERIODIC
. - enabled boolean
- Enabled Dead Peer Detection. Default is True.
- 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 Dpd Profile Id - ID of the resource.
- retry
Count number - Maximum number of DPD retry attempts. Default is 10.
- revision number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- Policy
Ipsec Vpn Dpd Profile Tag[] - A list of scope + tag pairs to associate with this resource.
- description str
- Description of the resource.
- display_
name str - Display name of the resource.
- dpd_
probe_ floatinterval - Probe interval in seconds. Default is 60.
- dpd_
probe_ strmode - DPD Probe Mode, one of
PERIODIC
,ON_DEMAND
. Periodic mode is used to query the liveliness of the peer at regular intervals (dpd_probe_interval
seconds). On-demand mode would trigger DPD message if there is traffic to send to the peer AND the peer was idle fordpd_probe_interval
seconds. Default isPERIODIC
. - enabled bool
- Enabled Dead Peer Detection. Default is True.
- 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_ dpd_ profile_ id - ID of the resource.
- retry_
count float - Maximum number of DPD retry attempts. Default is 10.
- revision float
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- Sequence[Policy
Ipsec Vpn Dpd Profile Tag Args] - A list of scope + tag pairs to associate with this resource.
- description String
- Description of the resource.
- display
Name String - Display name of the resource.
- dpd
Probe NumberInterval - Probe interval in seconds. Default is 60.
- dpd
Probe StringMode - DPD Probe Mode, one of
PERIODIC
,ON_DEMAND
. Periodic mode is used to query the liveliness of the peer at regular intervals (dpd_probe_interval
seconds). On-demand mode would trigger DPD message if there is traffic to send to the peer AND the peer was idle fordpd_probe_interval
seconds. Default isPERIODIC
. - enabled Boolean
- Enabled Dead Peer Detection. Default is True.
- 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 Dpd Profile Id - ID of the resource.
- retry
Count Number - Maximum number of DPD retry attempts. Default is 10.
- revision Number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- List<Property Map>
- A list of scope + tag pairs to associate with this resource.
Supporting Types
PolicyIpsecVpnDpdProfileTag, PolicyIpsecVpnDpdProfileTagArgs
Package Details
- Repository
- nsxt vmware/terraform-provider-nsxt
- License
- Notes
- This Pulumi package is based on the
nsxt
Terraform Provider.