nsxt.IpDiscoverySwitchingProfile
Explore with Pulumi AI
Create IpDiscoverySwitchingProfile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IpDiscoverySwitchingProfile(name: string, args?: IpDiscoverySwitchingProfileArgs, opts?: CustomResourceOptions);
@overload
def IpDiscoverySwitchingProfile(resource_name: str,
args: Optional[IpDiscoverySwitchingProfileArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def IpDiscoverySwitchingProfile(resource_name: str,
opts: Optional[ResourceOptions] = None,
arp_bindings_limit: Optional[float] = None,
arp_snooping_enabled: Optional[bool] = None,
description: Optional[str] = None,
dhcp_snooping_enabled: Optional[bool] = None,
display_name: Optional[str] = None,
ip_discovery_switching_profile_id: Optional[str] = None,
tags: Optional[Sequence[IpDiscoverySwitchingProfileTagArgs]] = None,
vm_tools_enabled: Optional[bool] = None)
func NewIpDiscoverySwitchingProfile(ctx *Context, name string, args *IpDiscoverySwitchingProfileArgs, opts ...ResourceOption) (*IpDiscoverySwitchingProfile, error)
public IpDiscoverySwitchingProfile(string name, IpDiscoverySwitchingProfileArgs? args = null, CustomResourceOptions? opts = null)
public IpDiscoverySwitchingProfile(String name, IpDiscoverySwitchingProfileArgs args)
public IpDiscoverySwitchingProfile(String name, IpDiscoverySwitchingProfileArgs args, CustomResourceOptions options)
type: nsxt:IpDiscoverySwitchingProfile
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 IpDiscoverySwitchingProfileArgs
- 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 IpDiscoverySwitchingProfileArgs
- 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 IpDiscoverySwitchingProfileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IpDiscoverySwitchingProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IpDiscoverySwitchingProfileArgs
- 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 ipDiscoverySwitchingProfileResource = new Nsxt.IpDiscoverySwitchingProfile("ipDiscoverySwitchingProfileResource", new()
{
ArpBindingsLimit = 0,
ArpSnoopingEnabled = false,
Description = "string",
DhcpSnoopingEnabled = false,
DisplayName = "string",
IpDiscoverySwitchingProfileId = "string",
Tags = new[]
{
new Nsxt.Inputs.IpDiscoverySwitchingProfileTagArgs
{
Scope = "string",
Tag = "string",
},
},
VmToolsEnabled = false,
});
example, err := nsxt.NewIpDiscoverySwitchingProfile(ctx, "ipDiscoverySwitchingProfileResource", &nsxt.IpDiscoverySwitchingProfileArgs{
ArpBindingsLimit: pulumi.Float64(0),
ArpSnoopingEnabled: pulumi.Bool(false),
Description: pulumi.String("string"),
DhcpSnoopingEnabled: pulumi.Bool(false),
DisplayName: pulumi.String("string"),
IpDiscoverySwitchingProfileId: pulumi.String("string"),
Tags: nsxt.IpDiscoverySwitchingProfileTagArray{
&nsxt.IpDiscoverySwitchingProfileTagArgs{
Scope: pulumi.String("string"),
Tag: pulumi.String("string"),
},
},
VmToolsEnabled: pulumi.Bool(false),
})
var ipDiscoverySwitchingProfileResource = new IpDiscoverySwitchingProfile("ipDiscoverySwitchingProfileResource", IpDiscoverySwitchingProfileArgs.builder()
.arpBindingsLimit(0)
.arpSnoopingEnabled(false)
.description("string")
.dhcpSnoopingEnabled(false)
.displayName("string")
.ipDiscoverySwitchingProfileId("string")
.tags(IpDiscoverySwitchingProfileTagArgs.builder()
.scope("string")
.tag("string")
.build())
.vmToolsEnabled(false)
.build());
ip_discovery_switching_profile_resource = nsxt.IpDiscoverySwitchingProfile("ipDiscoverySwitchingProfileResource",
arp_bindings_limit=0,
arp_snooping_enabled=False,
description="string",
dhcp_snooping_enabled=False,
display_name="string",
ip_discovery_switching_profile_id="string",
tags=[{
"scope": "string",
"tag": "string",
}],
vm_tools_enabled=False)
const ipDiscoverySwitchingProfileResource = new nsxt.IpDiscoverySwitchingProfile("ipDiscoverySwitchingProfileResource", {
arpBindingsLimit: 0,
arpSnoopingEnabled: false,
description: "string",
dhcpSnoopingEnabled: false,
displayName: "string",
ipDiscoverySwitchingProfileId: "string",
tags: [{
scope: "string",
tag: "string",
}],
vmToolsEnabled: false,
});
type: nsxt:IpDiscoverySwitchingProfile
properties:
arpBindingsLimit: 0
arpSnoopingEnabled: false
description: string
dhcpSnoopingEnabled: false
displayName: string
ipDiscoverySwitchingProfileId: string
tags:
- scope: string
tag: string
vmToolsEnabled: false
IpDiscoverySwitchingProfile 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 IpDiscoverySwitchingProfile resource accepts the following input properties:
- Arp
Bindings doubleLimit - Limit for the amount of ARP bindings.
- Arp
Snooping boolEnabled - A boolean flag iIndicates whether ARP snooping is enabled.
- Description string
- Description of this resource.
- Dhcp
Snooping boolEnabled - A boolean flag iIndicates whether DHCP snooping is enabled.
- Display
Name string - The display name of this resource. Defaults to ID if not set.
- Ip
Discovery stringSwitching Profile Id - ID of the IP discovery switching profile.
- List<Ip
Discovery Switching Profile Tag> - A list of scope + tag pairs to associate with this IP discovery switching profile.
- Vm
Tools boolEnabled - A boolean flag iIndicates whether VM tools will be enabled. This option is only supported on ESX where vm-tools is installed.
- Arp
Bindings float64Limit - Limit for the amount of ARP bindings.
- Arp
Snooping boolEnabled - A boolean flag iIndicates whether ARP snooping is enabled.
- Description string
- Description of this resource.
- Dhcp
Snooping boolEnabled - A boolean flag iIndicates whether DHCP snooping is enabled.
- Display
Name string - The display name of this resource. Defaults to ID if not set.
- Ip
Discovery stringSwitching Profile Id - ID of the IP discovery switching profile.
- []Ip
Discovery Switching Profile Tag Args - A list of scope + tag pairs to associate with this IP discovery switching profile.
- Vm
Tools boolEnabled - A boolean flag iIndicates whether VM tools will be enabled. This option is only supported on ESX where vm-tools is installed.
- arp
Bindings DoubleLimit - Limit for the amount of ARP bindings.
- arp
Snooping BooleanEnabled - A boolean flag iIndicates whether ARP snooping is enabled.
- description String
- Description of this resource.
- dhcp
Snooping BooleanEnabled - A boolean flag iIndicates whether DHCP snooping is enabled.
- display
Name String - The display name of this resource. Defaults to ID if not set.
- ip
Discovery StringSwitching Profile Id - ID of the IP discovery switching profile.
- List<Ip
Discovery Switching Profile Tag> - A list of scope + tag pairs to associate with this IP discovery switching profile.
- vm
Tools BooleanEnabled - A boolean flag iIndicates whether VM tools will be enabled. This option is only supported on ESX where vm-tools is installed.
- arp
Bindings numberLimit - Limit for the amount of ARP bindings.
- arp
Snooping booleanEnabled - A boolean flag iIndicates whether ARP snooping is enabled.
- description string
- Description of this resource.
- dhcp
Snooping booleanEnabled - A boolean flag iIndicates whether DHCP snooping is enabled.
- display
Name string - The display name of this resource. Defaults to ID if not set.
- ip
Discovery stringSwitching Profile Id - ID of the IP discovery switching profile.
- Ip
Discovery Switching Profile Tag[] - A list of scope + tag pairs to associate with this IP discovery switching profile.
- vm
Tools booleanEnabled - A boolean flag iIndicates whether VM tools will be enabled. This option is only supported on ESX where vm-tools is installed.
- arp_
bindings_ floatlimit - Limit for the amount of ARP bindings.
- arp_
snooping_ boolenabled - A boolean flag iIndicates whether ARP snooping is enabled.
- description str
- Description of this resource.
- dhcp_
snooping_ boolenabled - A boolean flag iIndicates whether DHCP snooping is enabled.
- display_
name str - The display name of this resource. Defaults to ID if not set.
- ip_
discovery_ strswitching_ profile_ id - ID of the IP discovery switching profile.
- Sequence[Ip
Discovery Switching Profile Tag Args] - A list of scope + tag pairs to associate with this IP discovery switching profile.
- vm_
tools_ boolenabled - A boolean flag iIndicates whether VM tools will be enabled. This option is only supported on ESX where vm-tools is installed.
- arp
Bindings NumberLimit - Limit for the amount of ARP bindings.
- arp
Snooping BooleanEnabled - A boolean flag iIndicates whether ARP snooping is enabled.
- description String
- Description of this resource.
- dhcp
Snooping BooleanEnabled - A boolean flag iIndicates whether DHCP snooping is enabled.
- display
Name String - The display name of this resource. Defaults to ID if not set.
- ip
Discovery StringSwitching Profile Id - ID of the IP discovery switching profile.
- List<Property Map>
- A list of scope + tag pairs to associate with this IP discovery switching profile.
- vm
Tools BooleanEnabled - A boolean flag iIndicates whether VM tools will be enabled. This option is only supported on ESX where vm-tools is installed.
Outputs
All input properties are implicitly available as output properties. Additionally, the IpDiscoverySwitchingProfile resource produces the following output properties:
Look up Existing IpDiscoverySwitchingProfile Resource
Get an existing IpDiscoverySwitchingProfile 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?: IpDiscoverySwitchingProfileState, opts?: CustomResourceOptions): IpDiscoverySwitchingProfile
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
arp_bindings_limit: Optional[float] = None,
arp_snooping_enabled: Optional[bool] = None,
description: Optional[str] = None,
dhcp_snooping_enabled: Optional[bool] = None,
display_name: Optional[str] = None,
ip_discovery_switching_profile_id: Optional[str] = None,
revision: Optional[float] = None,
tags: Optional[Sequence[IpDiscoverySwitchingProfileTagArgs]] = None,
vm_tools_enabled: Optional[bool] = None) -> IpDiscoverySwitchingProfile
func GetIpDiscoverySwitchingProfile(ctx *Context, name string, id IDInput, state *IpDiscoverySwitchingProfileState, opts ...ResourceOption) (*IpDiscoverySwitchingProfile, error)
public static IpDiscoverySwitchingProfile Get(string name, Input<string> id, IpDiscoverySwitchingProfileState? state, CustomResourceOptions? opts = null)
public static IpDiscoverySwitchingProfile get(String name, Output<String> id, IpDiscoverySwitchingProfileState state, CustomResourceOptions options)
resources: _: type: nsxt:IpDiscoverySwitchingProfile 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.
- Arp
Bindings doubleLimit - Limit for the amount of ARP bindings.
- Arp
Snooping boolEnabled - A boolean flag iIndicates whether ARP snooping is enabled.
- Description string
- Description of this resource.
- Dhcp
Snooping boolEnabled - A boolean flag iIndicates whether DHCP snooping is enabled.
- Display
Name string - The display name of this resource. Defaults to ID if not set.
- Ip
Discovery stringSwitching Profile Id - ID of the IP discovery switching profile.
- Revision double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- List<Ip
Discovery Switching Profile Tag> - A list of scope + tag pairs to associate with this IP discovery switching profile.
- Vm
Tools boolEnabled - A boolean flag iIndicates whether VM tools will be enabled. This option is only supported on ESX where vm-tools is installed.
- Arp
Bindings float64Limit - Limit for the amount of ARP bindings.
- Arp
Snooping boolEnabled - A boolean flag iIndicates whether ARP snooping is enabled.
- Description string
- Description of this resource.
- Dhcp
Snooping boolEnabled - A boolean flag iIndicates whether DHCP snooping is enabled.
- Display
Name string - The display name of this resource. Defaults to ID if not set.
- Ip
Discovery stringSwitching Profile Id - ID of the IP discovery switching profile.
- Revision float64
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- []Ip
Discovery Switching Profile Tag Args - A list of scope + tag pairs to associate with this IP discovery switching profile.
- Vm
Tools boolEnabled - A boolean flag iIndicates whether VM tools will be enabled. This option is only supported on ESX where vm-tools is installed.
- arp
Bindings DoubleLimit - Limit for the amount of ARP bindings.
- arp
Snooping BooleanEnabled - A boolean flag iIndicates whether ARP snooping is enabled.
- description String
- Description of this resource.
- dhcp
Snooping BooleanEnabled - A boolean flag iIndicates whether DHCP snooping is enabled.
- display
Name String - The display name of this resource. Defaults to ID if not set.
- ip
Discovery StringSwitching Profile Id - ID of the IP discovery switching profile.
- revision Double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- List<Ip
Discovery Switching Profile Tag> - A list of scope + tag pairs to associate with this IP discovery switching profile.
- vm
Tools BooleanEnabled - A boolean flag iIndicates whether VM tools will be enabled. This option is only supported on ESX where vm-tools is installed.
- arp
Bindings numberLimit - Limit for the amount of ARP bindings.
- arp
Snooping booleanEnabled - A boolean flag iIndicates whether ARP snooping is enabled.
- description string
- Description of this resource.
- dhcp
Snooping booleanEnabled - A boolean flag iIndicates whether DHCP snooping is enabled.
- display
Name string - The display name of this resource. Defaults to ID if not set.
- ip
Discovery stringSwitching Profile Id - ID of the IP discovery switching profile.
- revision number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- Ip
Discovery Switching Profile Tag[] - A list of scope + tag pairs to associate with this IP discovery switching profile.
- vm
Tools booleanEnabled - A boolean flag iIndicates whether VM tools will be enabled. This option is only supported on ESX where vm-tools is installed.
- arp_
bindings_ floatlimit - Limit for the amount of ARP bindings.
- arp_
snooping_ boolenabled - A boolean flag iIndicates whether ARP snooping is enabled.
- description str
- Description of this resource.
- dhcp_
snooping_ boolenabled - A boolean flag iIndicates whether DHCP snooping is enabled.
- display_
name str - The display name of this resource. Defaults to ID if not set.
- ip_
discovery_ strswitching_ profile_ id - ID of the IP discovery switching profile.
- revision float
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- Sequence[Ip
Discovery Switching Profile Tag Args] - A list of scope + tag pairs to associate with this IP discovery switching profile.
- vm_
tools_ boolenabled - A boolean flag iIndicates whether VM tools will be enabled. This option is only supported on ESX where vm-tools is installed.
- arp
Bindings NumberLimit - Limit for the amount of ARP bindings.
- arp
Snooping BooleanEnabled - A boolean flag iIndicates whether ARP snooping is enabled.
- description String
- Description of this resource.
- dhcp
Snooping BooleanEnabled - A boolean flag iIndicates whether DHCP snooping is enabled.
- display
Name String - The display name of this resource. Defaults to ID if not set.
- ip
Discovery StringSwitching Profile Id - ID of the IP discovery switching profile.
- 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 IP discovery switching profile.
- vm
Tools BooleanEnabled - A boolean flag iIndicates whether VM tools will be enabled. This option is only supported on ESX where vm-tools is installed.
Supporting Types
IpDiscoverySwitchingProfileTag, IpDiscoverySwitchingProfileTagArgs
Package Details
- Repository
- nsxt vmware/terraform-provider-nsxt
- License
- Notes
- This Pulumi package is based on the
nsxt
Terraform Provider.