1. Packages
  2. Packages
  3. Nsxt Provider
  4. API Docs
  5. getPolicyIpsecVpnDpdProfile
Viewing docs for nsxt 3.12.0
published on Monday, May 18, 2026 by vmware
Viewing docs for nsxt 3.12.0
published on Monday, May 18, 2026 by vmware

    This data source provides information about policy IPSec VPN Dead Peer Detection Profile configured on NSX.

    This data source is applicable to NSX Policy Manager and VMC.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as nsxt from "@pulumi/nsxt";
    
    const test = nsxt.getPolicyIpsecVpnDpdProfile({
        displayName: "ipsec_vpn_dpd_profile",
    });
    
    import pulumi
    import pulumi_nsxt as nsxt
    
    test = nsxt.get_policy_ipsec_vpn_dpd_profile(display_name="ipsec_vpn_dpd_profile")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/nsxt/v3/nsxt"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := nsxt.LookupPolicyIpsecVpnDpdProfile(ctx, &nsxt.LookupPolicyIpsecVpnDpdProfileArgs{
    			DisplayName: pulumi.StringRef("ipsec_vpn_dpd_profile"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Nsxt = Pulumi.Nsxt;
    
    return await Deployment.RunAsync(() => 
    {
        var test = Nsxt.GetPolicyIpsecVpnDpdProfile.Invoke(new()
        {
            DisplayName = "ipsec_vpn_dpd_profile",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.nsxt.NsxtFunctions;
    import com.pulumi.nsxt.inputs.GetPolicyIpsecVpnDpdProfileArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var test = NsxtFunctions.getPolicyIpsecVpnDpdProfile(GetPolicyIpsecVpnDpdProfileArgs.builder()
                .displayName("ipsec_vpn_dpd_profile")
                .build());
    
        }
    }
    
    variables:
      test:
        fn::invoke:
          function: nsxt:getPolicyIpsecVpnDpdProfile
          arguments:
            displayName: ipsec_vpn_dpd_profile
    
    Example coming soon!
    

    Using getPolicyIpsecVpnDpdProfile

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getPolicyIpsecVpnDpdProfile(args: GetPolicyIpsecVpnDpdProfileArgs, opts?: InvokeOptions): Promise<GetPolicyIpsecVpnDpdProfileResult>
    function getPolicyIpsecVpnDpdProfileOutput(args: GetPolicyIpsecVpnDpdProfileOutputArgs, opts?: InvokeOptions): Output<GetPolicyIpsecVpnDpdProfileResult>
    def get_policy_ipsec_vpn_dpd_profile(description: Optional[str] = None,
                                         display_name: Optional[str] = None,
                                         id: Optional[str] = None,
                                         opts: Optional[InvokeOptions] = None) -> GetPolicyIpsecVpnDpdProfileResult
    def get_policy_ipsec_vpn_dpd_profile_output(description: pulumi.Input[Optional[str]] = None,
                                         display_name: pulumi.Input[Optional[str]] = None,
                                         id: pulumi.Input[Optional[str]] = None,
                                         opts: Optional[InvokeOptions] = None) -> Output[GetPolicyIpsecVpnDpdProfileResult]
    func LookupPolicyIpsecVpnDpdProfile(ctx *Context, args *LookupPolicyIpsecVpnDpdProfileArgs, opts ...InvokeOption) (*LookupPolicyIpsecVpnDpdProfileResult, error)
    func LookupPolicyIpsecVpnDpdProfileOutput(ctx *Context, args *LookupPolicyIpsecVpnDpdProfileOutputArgs, opts ...InvokeOption) LookupPolicyIpsecVpnDpdProfileResultOutput

    > Note: This function is named LookupPolicyIpsecVpnDpdProfile in the Go SDK.

    public static class GetPolicyIpsecVpnDpdProfile 
    {
        public static Task<GetPolicyIpsecVpnDpdProfileResult> InvokeAsync(GetPolicyIpsecVpnDpdProfileArgs args, InvokeOptions? opts = null)
        public static Output<GetPolicyIpsecVpnDpdProfileResult> Invoke(GetPolicyIpsecVpnDpdProfileInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetPolicyIpsecVpnDpdProfileResult> getPolicyIpsecVpnDpdProfile(GetPolicyIpsecVpnDpdProfileArgs args, InvokeOptions options)
    public static Output<GetPolicyIpsecVpnDpdProfileResult> getPolicyIpsecVpnDpdProfile(GetPolicyIpsecVpnDpdProfileArgs args, InvokeOptions options)
    
    fn::invoke:
      function: nsxt:index/getPolicyIpsecVpnDpdProfile:getPolicyIpsecVpnDpdProfile
      arguments:
        # arguments dictionary
    data "nsxt_getpolicyipsecvpndpdprofile" "name" {
        # arguments
    }

    The following arguments are supported:

    Description string
    The description of the resource.
    DisplayName string
    The Display Name of the IPSec VPN DPD profile.
    Id string
    The ID of IPSec VPN DPD profile to retrieve.
    Description string
    The description of the resource.
    DisplayName string
    The Display Name of the IPSec VPN DPD profile.
    Id string
    The ID of IPSec VPN DPD profile to retrieve.
    description string
    The description of the resource.
    display_name string
    The Display Name of the IPSec VPN DPD profile.
    id string
    The ID of IPSec VPN DPD profile to retrieve.
    description String
    The description of the resource.
    displayName String
    The Display Name of the IPSec VPN DPD profile.
    id String
    The ID of IPSec VPN DPD profile to retrieve.
    description string
    The description of the resource.
    displayName string
    The Display Name of the IPSec VPN DPD profile.
    id string
    The ID of IPSec VPN DPD profile to retrieve.
    description str
    The description of the resource.
    display_name str
    The Display Name of the IPSec VPN DPD profile.
    id str
    The ID of IPSec VPN DPD profile to retrieve.
    description String
    The description of the resource.
    displayName String
    The Display Name of the IPSec VPN DPD profile.
    id String
    The ID of IPSec VPN DPD profile to retrieve.

    getPolicyIpsecVpnDpdProfile Result

    The following output properties are available:

    DisplayName string
    Id string
    Path string
    The NSX path of the policy resource.
    Description string
    The description of the resource.
    DisplayName string
    Id string
    Path string
    The NSX path of the policy resource.
    Description string
    The description of the resource.
    display_name string
    id string
    path string
    The NSX path of the policy resource.
    description string
    The description of the resource.
    displayName String
    id String
    path String
    The NSX path of the policy resource.
    description String
    The description of the resource.
    displayName string
    id string
    path string
    The NSX path of the policy resource.
    description string
    The description of the resource.
    display_name str
    id str
    path str
    The NSX path of the policy resource.
    description str
    The description of the resource.
    displayName String
    id String
    path String
    The NSX path of the policy resource.
    description String
    The description of the resource.

    Package Details

    Repository
    nsxt vmware/terraform-provider-nsxt
    License
    Notes
    This Pulumi package is based on the nsxt Terraform Provider.
    Viewing docs for nsxt 3.12.0
    published on Monday, May 18, 2026 by vmware

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial