1. Packages
  2. Vcd Provider
  3. API Docs
  4. getNsxtSegmentIpDiscoveryProfile
vcd 3.14.1 published on Monday, Apr 14, 2025 by vmware

vcd.getNsxtSegmentIpDiscoveryProfile

Explore with Pulumi AI

vcd logo
vcd 3.14.1 published on Monday, Apr 14, 2025 by vmware

    Provides a VMware Cloud Director NSX-T IP Discovery Profile data source. This can be used to read NSX-T Segment Profile definitions.

    Supported in provider v3.11+.

    Example Usage

    IP Discovery Profile)

    import * as pulumi from "@pulumi/pulumi";
    import * as vcd from "@pulumi/vcd";
    
    const nsxt = vcd.getNsxtManager({
        name: "nsxManager1",
    });
    const first = nsxt.then(nsxt => vcd.getNsxtSegmentIpDiscoveryProfile({
        name: "ip-discovery-profile-0",
        nsxtManagerId: nsxt.id,
    }));
    
    import pulumi
    import pulumi_vcd as vcd
    
    nsxt = vcd.get_nsxt_manager(name="nsxManager1")
    first = vcd.get_nsxt_segment_ip_discovery_profile(name="ip-discovery-profile-0",
        nsxt_manager_id=nsxt.id)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/vcd/v3/vcd"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		nsxt, err := vcd.GetNsxtManager(ctx, &vcd.GetNsxtManagerArgs{
    			Name: "nsxManager1",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		_, err = vcd.GetNsxtSegmentIpDiscoveryProfile(ctx, &vcd.GetNsxtSegmentIpDiscoveryProfileArgs{
    			Name:          "ip-discovery-profile-0",
    			NsxtManagerId: pulumi.StringRef(nsxt.Id),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Vcd = Pulumi.Vcd;
    
    return await Deployment.RunAsync(() => 
    {
        var nsxt = Vcd.GetNsxtManager.Invoke(new()
        {
            Name = "nsxManager1",
        });
    
        var first = Vcd.GetNsxtSegmentIpDiscoveryProfile.Invoke(new()
        {
            Name = "ip-discovery-profile-0",
            NsxtManagerId = nsxt.Apply(getNsxtManagerResult => getNsxtManagerResult.Id),
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.vcd.VcdFunctions;
    import com.pulumi.vcd.inputs.GetNsxtManagerArgs;
    import com.pulumi.vcd.inputs.GetNsxtSegmentIpDiscoveryProfileArgs;
    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 nsxt = VcdFunctions.getNsxtManager(GetNsxtManagerArgs.builder()
                .name("nsxManager1")
                .build());
    
            final var first = VcdFunctions.getNsxtSegmentIpDiscoveryProfile(GetNsxtSegmentIpDiscoveryProfileArgs.builder()
                .name("ip-discovery-profile-0")
                .nsxtManagerId(nsxt.applyValue(getNsxtManagerResult -> getNsxtManagerResult.id()))
                .build());
    
        }
    }
    
    variables:
      nsxt:
        fn::invoke:
          function: vcd:getNsxtManager
          arguments:
            name: nsxManager1
      first:
        fn::invoke:
          function: vcd:getNsxtSegmentIpDiscoveryProfile
          arguments:
            name: ip-discovery-profile-0
            nsxtManagerId: ${nsxt.id}
    

    Using getNsxtSegmentIpDiscoveryProfile

    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 getNsxtSegmentIpDiscoveryProfile(args: GetNsxtSegmentIpDiscoveryProfileArgs, opts?: InvokeOptions): Promise<GetNsxtSegmentIpDiscoveryProfileResult>
    function getNsxtSegmentIpDiscoveryProfileOutput(args: GetNsxtSegmentIpDiscoveryProfileOutputArgs, opts?: InvokeOptions): Output<GetNsxtSegmentIpDiscoveryProfileResult>
    def get_nsxt_segment_ip_discovery_profile(id: Optional[str] = None,
                                              name: Optional[str] = None,
                                              nsxt_manager_id: Optional[str] = None,
                                              vdc_group_id: Optional[str] = None,
                                              vdc_id: Optional[str] = None,
                                              opts: Optional[InvokeOptions] = None) -> GetNsxtSegmentIpDiscoveryProfileResult
    def get_nsxt_segment_ip_discovery_profile_output(id: Optional[pulumi.Input[str]] = None,
                                              name: Optional[pulumi.Input[str]] = None,
                                              nsxt_manager_id: Optional[pulumi.Input[str]] = None,
                                              vdc_group_id: Optional[pulumi.Input[str]] = None,
                                              vdc_id: Optional[pulumi.Input[str]] = None,
                                              opts: Optional[InvokeOptions] = None) -> Output[GetNsxtSegmentIpDiscoveryProfileResult]
    func GetNsxtSegmentIpDiscoveryProfile(ctx *Context, args *GetNsxtSegmentIpDiscoveryProfileArgs, opts ...InvokeOption) (*GetNsxtSegmentIpDiscoveryProfileResult, error)
    func GetNsxtSegmentIpDiscoveryProfileOutput(ctx *Context, args *GetNsxtSegmentIpDiscoveryProfileOutputArgs, opts ...InvokeOption) GetNsxtSegmentIpDiscoveryProfileResultOutput

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

    public static class GetNsxtSegmentIpDiscoveryProfile 
    {
        public static Task<GetNsxtSegmentIpDiscoveryProfileResult> InvokeAsync(GetNsxtSegmentIpDiscoveryProfileArgs args, InvokeOptions? opts = null)
        public static Output<GetNsxtSegmentIpDiscoveryProfileResult> Invoke(GetNsxtSegmentIpDiscoveryProfileInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetNsxtSegmentIpDiscoveryProfileResult> getNsxtSegmentIpDiscoveryProfile(GetNsxtSegmentIpDiscoveryProfileArgs args, InvokeOptions options)
    public static Output<GetNsxtSegmentIpDiscoveryProfileResult> getNsxtSegmentIpDiscoveryProfile(GetNsxtSegmentIpDiscoveryProfileArgs args, InvokeOptions options)
    
    fn::invoke:
      function: vcd:index/getNsxtSegmentIpDiscoveryProfile:getNsxtSegmentIpDiscoveryProfile
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    The name of Segment Profile
    Id string
    NsxtManagerId string
    Segment Profile search context. Use when searching by NSX-T manager
    VdcGroupId string

    Segment Profile search context. Use when searching by VDC group

    Note: only one of nsxt_manager_id, vdc_id, vdc_group_id can be used

    VdcId string
    Segment Profile search context. Use when searching by VDC
    Name string
    The name of Segment Profile
    Id string
    NsxtManagerId string
    Segment Profile search context. Use when searching by NSX-T manager
    VdcGroupId string

    Segment Profile search context. Use when searching by VDC group

    Note: only one of nsxt_manager_id, vdc_id, vdc_group_id can be used

    VdcId string
    Segment Profile search context. Use when searching by VDC
    name String
    The name of Segment Profile
    id String
    nsxtManagerId String
    Segment Profile search context. Use when searching by NSX-T manager
    vdcGroupId String

    Segment Profile search context. Use when searching by VDC group

    Note: only one of nsxt_manager_id, vdc_id, vdc_group_id can be used

    vdcId String
    Segment Profile search context. Use when searching by VDC
    name string
    The name of Segment Profile
    id string
    nsxtManagerId string
    Segment Profile search context. Use when searching by NSX-T manager
    vdcGroupId string

    Segment Profile search context. Use when searching by VDC group

    Note: only one of nsxt_manager_id, vdc_id, vdc_group_id can be used

    vdcId string
    Segment Profile search context. Use when searching by VDC
    name str
    The name of Segment Profile
    id str
    nsxt_manager_id str
    Segment Profile search context. Use when searching by NSX-T manager
    vdc_group_id str

    Segment Profile search context. Use when searching by VDC group

    Note: only one of nsxt_manager_id, vdc_id, vdc_group_id can be used

    vdc_id str
    Segment Profile search context. Use when searching by VDC
    name String
    The name of Segment Profile
    id String
    nsxtManagerId String
    Segment Profile search context. Use when searching by NSX-T manager
    vdcGroupId String

    Segment Profile search context. Use when searching by VDC group

    Note: only one of nsxt_manager_id, vdc_id, vdc_group_id can be used

    vdcId String
    Segment Profile search context. Use when searching by VDC

    getNsxtSegmentIpDiscoveryProfile Result

    The following output properties are available:

    ArpBindingLimit double
    Indicates the number of ARP snooped IP addresses to be remembered per logical port
    ArpBindingTimeout double
    ARP and ND (Neighbor Discovery) cache timeout (in minutes)
    Description string
    Description of IP Discovery Profile
    Id string
    IsArpSnoopingEnabled bool
    Defines whether ARP snooping is enabled
    IsDhcpSnoopingV4Enabled bool
    Defines whether DHCP snooping for IPv4 is enabled
    IsDhcpSnoopingV6Enabled bool
    Defines whether DHCP snooping for IPv6 is enabled
    IsDuplicateIpDetectionEnabled bool
    Defines whether duplicate IP detection is enabled. Duplicate IP detection is used to determine if there is any IP conflict with any other port on the same logical switch. If a conflict is detected, then the IP is marked as a duplicate on the port where the IP was discovered last
    IsNdSnoopingEnabled bool
    Defines whether ND (Neighbor Discovery) snooping is enabled. If true, this method will snoop the NS (Neighbor Solicitation) and NA (Neighbor Advertisement) messages in the ND (Neighbor Discovery Protocol) family of messages which are transmitted by a VM. From the NS messages, we will learn about the source which sent this NS message. From the NA message, we will learn the resolved address in the message which the VM is a recipient of. Addresses snooped by this method are subject to TOFU
    IsTofuEnabled bool
    Defines whether Trust on First Use(TOFU) paradigm is enabled
    IsVmtoolsV4Enabled bool
    Defines whether fetching IPv4 address using vm-tools is enabled. This option is only supported on ESX where vm-tools is installed
    IsVmtoolsV6Enabled bool
    Defines whether fetching IPv6 address using vm-tools is enabled. This will learn the IPv6 addresses which are configured on interfaces of a VM with the help of the VMTools software
    Name string
    NdSnoopingLimit double
    Maximum number of ND (Neighbor Discovery Protocol) snooped IPv6 addresses
    NsxtManagerId string
    VdcGroupId string
    VdcId string
    ArpBindingLimit float64
    Indicates the number of ARP snooped IP addresses to be remembered per logical port
    ArpBindingTimeout float64
    ARP and ND (Neighbor Discovery) cache timeout (in minutes)
    Description string
    Description of IP Discovery Profile
    Id string
    IsArpSnoopingEnabled bool
    Defines whether ARP snooping is enabled
    IsDhcpSnoopingV4Enabled bool
    Defines whether DHCP snooping for IPv4 is enabled
    IsDhcpSnoopingV6Enabled bool
    Defines whether DHCP snooping for IPv6 is enabled
    IsDuplicateIpDetectionEnabled bool
    Defines whether duplicate IP detection is enabled. Duplicate IP detection is used to determine if there is any IP conflict with any other port on the same logical switch. If a conflict is detected, then the IP is marked as a duplicate on the port where the IP was discovered last
    IsNdSnoopingEnabled bool
    Defines whether ND (Neighbor Discovery) snooping is enabled. If true, this method will snoop the NS (Neighbor Solicitation) and NA (Neighbor Advertisement) messages in the ND (Neighbor Discovery Protocol) family of messages which are transmitted by a VM. From the NS messages, we will learn about the source which sent this NS message. From the NA message, we will learn the resolved address in the message which the VM is a recipient of. Addresses snooped by this method are subject to TOFU
    IsTofuEnabled bool
    Defines whether Trust on First Use(TOFU) paradigm is enabled
    IsVmtoolsV4Enabled bool
    Defines whether fetching IPv4 address using vm-tools is enabled. This option is only supported on ESX where vm-tools is installed
    IsVmtoolsV6Enabled bool
    Defines whether fetching IPv6 address using vm-tools is enabled. This will learn the IPv6 addresses which are configured on interfaces of a VM with the help of the VMTools software
    Name string
    NdSnoopingLimit float64
    Maximum number of ND (Neighbor Discovery Protocol) snooped IPv6 addresses
    NsxtManagerId string
    VdcGroupId string
    VdcId string
    arpBindingLimit Double
    Indicates the number of ARP snooped IP addresses to be remembered per logical port
    arpBindingTimeout Double
    ARP and ND (Neighbor Discovery) cache timeout (in minutes)
    description String
    Description of IP Discovery Profile
    id String
    isArpSnoopingEnabled Boolean
    Defines whether ARP snooping is enabled
    isDhcpSnoopingV4Enabled Boolean
    Defines whether DHCP snooping for IPv4 is enabled
    isDhcpSnoopingV6Enabled Boolean
    Defines whether DHCP snooping for IPv6 is enabled
    isDuplicateIpDetectionEnabled Boolean
    Defines whether duplicate IP detection is enabled. Duplicate IP detection is used to determine if there is any IP conflict with any other port on the same logical switch. If a conflict is detected, then the IP is marked as a duplicate on the port where the IP was discovered last
    isNdSnoopingEnabled Boolean
    Defines whether ND (Neighbor Discovery) snooping is enabled. If true, this method will snoop the NS (Neighbor Solicitation) and NA (Neighbor Advertisement) messages in the ND (Neighbor Discovery Protocol) family of messages which are transmitted by a VM. From the NS messages, we will learn about the source which sent this NS message. From the NA message, we will learn the resolved address in the message which the VM is a recipient of. Addresses snooped by this method are subject to TOFU
    isTofuEnabled Boolean
    Defines whether Trust on First Use(TOFU) paradigm is enabled
    isVmtoolsV4Enabled Boolean
    Defines whether fetching IPv4 address using vm-tools is enabled. This option is only supported on ESX where vm-tools is installed
    isVmtoolsV6Enabled Boolean
    Defines whether fetching IPv6 address using vm-tools is enabled. This will learn the IPv6 addresses which are configured on interfaces of a VM with the help of the VMTools software
    name String
    ndSnoopingLimit Double
    Maximum number of ND (Neighbor Discovery Protocol) snooped IPv6 addresses
    nsxtManagerId String
    vdcGroupId String
    vdcId String
    arpBindingLimit number
    Indicates the number of ARP snooped IP addresses to be remembered per logical port
    arpBindingTimeout number
    ARP and ND (Neighbor Discovery) cache timeout (in minutes)
    description string
    Description of IP Discovery Profile
    id string
    isArpSnoopingEnabled boolean
    Defines whether ARP snooping is enabled
    isDhcpSnoopingV4Enabled boolean
    Defines whether DHCP snooping for IPv4 is enabled
    isDhcpSnoopingV6Enabled boolean
    Defines whether DHCP snooping for IPv6 is enabled
    isDuplicateIpDetectionEnabled boolean
    Defines whether duplicate IP detection is enabled. Duplicate IP detection is used to determine if there is any IP conflict with any other port on the same logical switch. If a conflict is detected, then the IP is marked as a duplicate on the port where the IP was discovered last
    isNdSnoopingEnabled boolean
    Defines whether ND (Neighbor Discovery) snooping is enabled. If true, this method will snoop the NS (Neighbor Solicitation) and NA (Neighbor Advertisement) messages in the ND (Neighbor Discovery Protocol) family of messages which are transmitted by a VM. From the NS messages, we will learn about the source which sent this NS message. From the NA message, we will learn the resolved address in the message which the VM is a recipient of. Addresses snooped by this method are subject to TOFU
    isTofuEnabled boolean
    Defines whether Trust on First Use(TOFU) paradigm is enabled
    isVmtoolsV4Enabled boolean
    Defines whether fetching IPv4 address using vm-tools is enabled. This option is only supported on ESX where vm-tools is installed
    isVmtoolsV6Enabled boolean
    Defines whether fetching IPv6 address using vm-tools is enabled. This will learn the IPv6 addresses which are configured on interfaces of a VM with the help of the VMTools software
    name string
    ndSnoopingLimit number
    Maximum number of ND (Neighbor Discovery Protocol) snooped IPv6 addresses
    nsxtManagerId string
    vdcGroupId string
    vdcId string
    arp_binding_limit float
    Indicates the number of ARP snooped IP addresses to be remembered per logical port
    arp_binding_timeout float
    ARP and ND (Neighbor Discovery) cache timeout (in minutes)
    description str
    Description of IP Discovery Profile
    id str
    is_arp_snooping_enabled bool
    Defines whether ARP snooping is enabled
    is_dhcp_snooping_v4_enabled bool
    Defines whether DHCP snooping for IPv4 is enabled
    is_dhcp_snooping_v6_enabled bool
    Defines whether DHCP snooping for IPv6 is enabled
    is_duplicate_ip_detection_enabled bool
    Defines whether duplicate IP detection is enabled. Duplicate IP detection is used to determine if there is any IP conflict with any other port on the same logical switch. If a conflict is detected, then the IP is marked as a duplicate on the port where the IP was discovered last
    is_nd_snooping_enabled bool
    Defines whether ND (Neighbor Discovery) snooping is enabled. If true, this method will snoop the NS (Neighbor Solicitation) and NA (Neighbor Advertisement) messages in the ND (Neighbor Discovery Protocol) family of messages which are transmitted by a VM. From the NS messages, we will learn about the source which sent this NS message. From the NA message, we will learn the resolved address in the message which the VM is a recipient of. Addresses snooped by this method are subject to TOFU
    is_tofu_enabled bool
    Defines whether Trust on First Use(TOFU) paradigm is enabled
    is_vmtools_v4_enabled bool
    Defines whether fetching IPv4 address using vm-tools is enabled. This option is only supported on ESX where vm-tools is installed
    is_vmtools_v6_enabled bool
    Defines whether fetching IPv6 address using vm-tools is enabled. This will learn the IPv6 addresses which are configured on interfaces of a VM with the help of the VMTools software
    name str
    nd_snooping_limit float
    Maximum number of ND (Neighbor Discovery Protocol) snooped IPv6 addresses
    nsxt_manager_id str
    vdc_group_id str
    vdc_id str
    arpBindingLimit Number
    Indicates the number of ARP snooped IP addresses to be remembered per logical port
    arpBindingTimeout Number
    ARP and ND (Neighbor Discovery) cache timeout (in minutes)
    description String
    Description of IP Discovery Profile
    id String
    isArpSnoopingEnabled Boolean
    Defines whether ARP snooping is enabled
    isDhcpSnoopingV4Enabled Boolean
    Defines whether DHCP snooping for IPv4 is enabled
    isDhcpSnoopingV6Enabled Boolean
    Defines whether DHCP snooping for IPv6 is enabled
    isDuplicateIpDetectionEnabled Boolean
    Defines whether duplicate IP detection is enabled. Duplicate IP detection is used to determine if there is any IP conflict with any other port on the same logical switch. If a conflict is detected, then the IP is marked as a duplicate on the port where the IP was discovered last
    isNdSnoopingEnabled Boolean
    Defines whether ND (Neighbor Discovery) snooping is enabled. If true, this method will snoop the NS (Neighbor Solicitation) and NA (Neighbor Advertisement) messages in the ND (Neighbor Discovery Protocol) family of messages which are transmitted by a VM. From the NS messages, we will learn about the source which sent this NS message. From the NA message, we will learn the resolved address in the message which the VM is a recipient of. Addresses snooped by this method are subject to TOFU
    isTofuEnabled Boolean
    Defines whether Trust on First Use(TOFU) paradigm is enabled
    isVmtoolsV4Enabled Boolean
    Defines whether fetching IPv4 address using vm-tools is enabled. This option is only supported on ESX where vm-tools is installed
    isVmtoolsV6Enabled Boolean
    Defines whether fetching IPv6 address using vm-tools is enabled. This will learn the IPv6 addresses which are configured on interfaces of a VM with the help of the VMTools software
    name String
    ndSnoopingLimit Number
    Maximum number of ND (Neighbor Discovery Protocol) snooped IPv6 addresses
    nsxtManagerId String
    vdcGroupId String
    vdcId String

    Package Details

    Repository
    vcd vmware/terraform-provider-vcd
    License
    Notes
    This Pulumi package is based on the vcd Terraform Provider.
    vcd logo
    vcd 3.14.1 published on Monday, Apr 14, 2025 by vmware