vcd.getNsxtSegmentIpDiscoveryProfile
Explore with Pulumi AI
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
- Nsxt
Manager stringId - Segment Profile search context. Use when searching by NSX-T manager
- Vdc
Group stringId 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 string - Segment Profile search context. Use when searching by VDC
- Name string
- The name of Segment Profile
- Id string
- Nsxt
Manager stringId - Segment Profile search context. Use when searching by NSX-T manager
- Vdc
Group stringId 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 string - Segment Profile search context. Use when searching by VDC
- name String
- The name of Segment Profile
- id String
- nsxt
Manager StringId - Segment Profile search context. Use when searching by NSX-T manager
- vdc
Group StringId 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 String - Segment Profile search context. Use when searching by VDC
- name string
- The name of Segment Profile
- id string
- nsxt
Manager stringId - Segment Profile search context. Use when searching by NSX-T manager
- vdc
Group stringId 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 string - Segment Profile search context. Use when searching by VDC
- name str
- The name of Segment Profile
- id str
- nsxt_
manager_ strid - Segment Profile search context. Use when searching by NSX-T manager
- vdc_
group_ strid 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
- nsxt
Manager StringId - Segment Profile search context. Use when searching by NSX-T manager
- vdc
Group StringId 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 String - Segment Profile search context. Use when searching by VDC
getNsxtSegmentIpDiscoveryProfile Result
The following output properties are available:
- Arp
Binding doubleLimit - Indicates the number of ARP snooped IP addresses to be remembered per logical port
- Arp
Binding doubleTimeout - ARP and ND (Neighbor Discovery) cache timeout (in minutes)
- Description string
- Description of IP Discovery Profile
- Id string
- Is
Arp boolSnooping Enabled - Defines whether ARP snooping is enabled
- Is
Dhcp boolSnooping V4Enabled - Defines whether DHCP snooping for IPv4 is enabled
- Is
Dhcp boolSnooping V6Enabled - Defines whether DHCP snooping for IPv6 is enabled
- Is
Duplicate boolIp Detection Enabled - 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 boolSnooping Enabled - 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 boolEnabled - Defines whether
Trust on First Use(TOFU)
paradigm is enabled - Is
Vmtools boolV4Enabled - Defines whether fetching IPv4 address using vm-tools is enabled. This option is only supported on ESX where vm-tools is installed
- Is
Vmtools boolV6Enabled - 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
- Nd
Snooping doubleLimit - Maximum number of ND (Neighbor Discovery Protocol) snooped IPv6 addresses
- Nsxt
Manager stringId - Vdc
Group stringId - Vdc
Id string
- Arp
Binding float64Limit - Indicates the number of ARP snooped IP addresses to be remembered per logical port
- Arp
Binding float64Timeout - ARP and ND (Neighbor Discovery) cache timeout (in minutes)
- Description string
- Description of IP Discovery Profile
- Id string
- Is
Arp boolSnooping Enabled - Defines whether ARP snooping is enabled
- Is
Dhcp boolSnooping V4Enabled - Defines whether DHCP snooping for IPv4 is enabled
- Is
Dhcp boolSnooping V6Enabled - Defines whether DHCP snooping for IPv6 is enabled
- Is
Duplicate boolIp Detection Enabled - 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 boolSnooping Enabled - 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 boolEnabled - Defines whether
Trust on First Use(TOFU)
paradigm is enabled - Is
Vmtools boolV4Enabled - Defines whether fetching IPv4 address using vm-tools is enabled. This option is only supported on ESX where vm-tools is installed
- Is
Vmtools boolV6Enabled - 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
- Nd
Snooping float64Limit - Maximum number of ND (Neighbor Discovery Protocol) snooped IPv6 addresses
- Nsxt
Manager stringId - Vdc
Group stringId - Vdc
Id string
- arp
Binding DoubleLimit - Indicates the number of ARP snooped IP addresses to be remembered per logical port
- arp
Binding DoubleTimeout - ARP and ND (Neighbor Discovery) cache timeout (in minutes)
- description String
- Description of IP Discovery Profile
- id String
- is
Arp BooleanSnooping Enabled - Defines whether ARP snooping is enabled
- is
Dhcp BooleanSnooping V4Enabled - Defines whether DHCP snooping for IPv4 is enabled
- is
Dhcp BooleanSnooping V6Enabled - Defines whether DHCP snooping for IPv6 is enabled
- is
Duplicate BooleanIp Detection Enabled - 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 BooleanSnooping Enabled - 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 BooleanEnabled - Defines whether
Trust on First Use(TOFU)
paradigm is enabled - is
Vmtools BooleanV4Enabled - Defines whether fetching IPv4 address using vm-tools is enabled. This option is only supported on ESX where vm-tools is installed
- is
Vmtools BooleanV6Enabled - 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
- nd
Snooping DoubleLimit - Maximum number of ND (Neighbor Discovery Protocol) snooped IPv6 addresses
- nsxt
Manager StringId - vdc
Group StringId - vdc
Id String
- arp
Binding numberLimit - Indicates the number of ARP snooped IP addresses to be remembered per logical port
- arp
Binding numberTimeout - ARP and ND (Neighbor Discovery) cache timeout (in minutes)
- description string
- Description of IP Discovery Profile
- id string
- is
Arp booleanSnooping Enabled - Defines whether ARP snooping is enabled
- is
Dhcp booleanSnooping V4Enabled - Defines whether DHCP snooping for IPv4 is enabled
- is
Dhcp booleanSnooping V6Enabled - Defines whether DHCP snooping for IPv6 is enabled
- is
Duplicate booleanIp Detection Enabled - 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 booleanSnooping Enabled - 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 booleanEnabled - Defines whether
Trust on First Use(TOFU)
paradigm is enabled - is
Vmtools booleanV4Enabled - Defines whether fetching IPv4 address using vm-tools is enabled. This option is only supported on ESX where vm-tools is installed
- is
Vmtools booleanV6Enabled - 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
- nd
Snooping numberLimit - Maximum number of ND (Neighbor Discovery Protocol) snooped IPv6 addresses
- nsxt
Manager stringId - vdc
Group stringId - vdc
Id string
- arp_
binding_ floatlimit - Indicates the number of ARP snooped IP addresses to be remembered per logical port
- arp_
binding_ floattimeout - ARP and ND (Neighbor Discovery) cache timeout (in minutes)
- description str
- Description of IP Discovery Profile
- id str
- is_
arp_ boolsnooping_ enabled - Defines whether ARP snooping is enabled
- is_
dhcp_ boolsnooping_ v4_ enabled - Defines whether DHCP snooping for IPv4 is enabled
- is_
dhcp_ boolsnooping_ v6_ enabled - Defines whether DHCP snooping for IPv6 is enabled
- is_
duplicate_ boolip_ detection_ enabled - 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_ boolsnooping_ enabled - 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_ boolenabled - Defines whether
Trust on First Use(TOFU)
paradigm is enabled - is_
vmtools_ boolv4_ enabled - Defines whether fetching IPv4 address using vm-tools is enabled. This option is only supported on ESX where vm-tools is installed
- is_
vmtools_ boolv6_ enabled - 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_ floatlimit - Maximum number of ND (Neighbor Discovery Protocol) snooped IPv6 addresses
- nsxt_
manager_ strid - vdc_
group_ strid - vdc_
id str
- arp
Binding NumberLimit - Indicates the number of ARP snooped IP addresses to be remembered per logical port
- arp
Binding NumberTimeout - ARP and ND (Neighbor Discovery) cache timeout (in minutes)
- description String
- Description of IP Discovery Profile
- id String
- is
Arp BooleanSnooping Enabled - Defines whether ARP snooping is enabled
- is
Dhcp BooleanSnooping V4Enabled - Defines whether DHCP snooping for IPv4 is enabled
- is
Dhcp BooleanSnooping V6Enabled - Defines whether DHCP snooping for IPv6 is enabled
- is
Duplicate BooleanIp Detection Enabled - 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 BooleanSnooping Enabled - 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 BooleanEnabled - Defines whether
Trust on First Use(TOFU)
paradigm is enabled - is
Vmtools BooleanV4Enabled - Defines whether fetching IPv4 address using vm-tools is enabled. This option is only supported on ESX where vm-tools is installed
- is
Vmtools BooleanV6Enabled - 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
- nd
Snooping NumberLimit - Maximum number of ND (Neighbor Discovery Protocol) snooped IPv6 addresses
- nsxt
Manager StringId - vdc
Group StringId - vdc
Id String
Package Details
- Repository
- vcd vmware/terraform-provider-vcd
- License
- Notes
- This Pulumi package is based on the
vcd
Terraform Provider.