nsxt.EdgeTransportNodeRtep
Explore with Pulumi AI
Create EdgeTransportNodeRtep Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EdgeTransportNodeRtep(name: string, args: EdgeTransportNodeRtepArgs, opts?: CustomResourceOptions);
@overload
def EdgeTransportNodeRtep(resource_name: str,
args: EdgeTransportNodeRtepArgs,
opts: Optional[ResourceOptions] = None)
@overload
def EdgeTransportNodeRtep(resource_name: str,
opts: Optional[ResourceOptions] = None,
edge_id: Optional[str] = None,
host_switch_name: Optional[str] = None,
ip_assignment: Optional[EdgeTransportNodeRtepIpAssignmentArgs] = None,
rtep_vlan: Optional[float] = None,
edge_transport_node_rtep_id: Optional[str] = None,
named_teaming_policy: Optional[str] = None)
func NewEdgeTransportNodeRtep(ctx *Context, name string, args EdgeTransportNodeRtepArgs, opts ...ResourceOption) (*EdgeTransportNodeRtep, error)
public EdgeTransportNodeRtep(string name, EdgeTransportNodeRtepArgs args, CustomResourceOptions? opts = null)
public EdgeTransportNodeRtep(String name, EdgeTransportNodeRtepArgs args)
public EdgeTransportNodeRtep(String name, EdgeTransportNodeRtepArgs args, CustomResourceOptions options)
type: nsxt:EdgeTransportNodeRtep
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 EdgeTransportNodeRtepArgs
- 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 EdgeTransportNodeRtepArgs
- 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 EdgeTransportNodeRtepArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EdgeTransportNodeRtepArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EdgeTransportNodeRtepArgs
- 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 edgeTransportNodeRtepResource = new Nsxt.EdgeTransportNodeRtep("edgeTransportNodeRtepResource", new()
{
EdgeId = "string",
HostSwitchName = "string",
IpAssignment = new Nsxt.Inputs.EdgeTransportNodeRtepIpAssignmentArgs
{
AssignedByDhcp = false,
NoIpv4 = false,
StaticIp = new Nsxt.Inputs.EdgeTransportNodeRtepIpAssignmentStaticIpArgs
{
DefaultGateway = "string",
IpAddresses = new[]
{
"string",
},
SubnetMask = "string",
},
StaticIpMac = new Nsxt.Inputs.EdgeTransportNodeRtepIpAssignmentStaticIpMacArgs
{
DefaultGateway = "string",
IpMacPairs = new[]
{
new Nsxt.Inputs.EdgeTransportNodeRtepIpAssignmentStaticIpMacIpMacPairArgs
{
IpAddress = "string",
MacAddress = "string",
},
},
SubnetMask = "string",
},
StaticIpPool = "string",
},
RtepVlan = 0,
EdgeTransportNodeRtepId = "string",
NamedTeamingPolicy = "string",
});
example, err := nsxt.NewEdgeTransportNodeRtep(ctx, "edgeTransportNodeRtepResource", &nsxt.EdgeTransportNodeRtepArgs{
EdgeId: pulumi.String("string"),
HostSwitchName: pulumi.String("string"),
IpAssignment: &nsxt.EdgeTransportNodeRtepIpAssignmentArgs{
AssignedByDhcp: pulumi.Bool(false),
NoIpv4: pulumi.Bool(false),
StaticIp: &nsxt.EdgeTransportNodeRtepIpAssignmentStaticIpArgs{
DefaultGateway: pulumi.String("string"),
IpAddresses: pulumi.StringArray{
pulumi.String("string"),
},
SubnetMask: pulumi.String("string"),
},
StaticIpMac: &nsxt.EdgeTransportNodeRtepIpAssignmentStaticIpMacArgs{
DefaultGateway: pulumi.String("string"),
IpMacPairs: nsxt.EdgeTransportNodeRtepIpAssignmentStaticIpMacIpMacPairArray{
&nsxt.EdgeTransportNodeRtepIpAssignmentStaticIpMacIpMacPairArgs{
IpAddress: pulumi.String("string"),
MacAddress: pulumi.String("string"),
},
},
SubnetMask: pulumi.String("string"),
},
StaticIpPool: pulumi.String("string"),
},
RtepVlan: pulumi.Float64(0),
EdgeTransportNodeRtepId: pulumi.String("string"),
NamedTeamingPolicy: pulumi.String("string"),
})
var edgeTransportNodeRtepResource = new EdgeTransportNodeRtep("edgeTransportNodeRtepResource", EdgeTransportNodeRtepArgs.builder()
.edgeId("string")
.hostSwitchName("string")
.ipAssignment(EdgeTransportNodeRtepIpAssignmentArgs.builder()
.assignedByDhcp(false)
.noIpv4(false)
.staticIp(EdgeTransportNodeRtepIpAssignmentStaticIpArgs.builder()
.defaultGateway("string")
.ipAddresses("string")
.subnetMask("string")
.build())
.staticIpMac(EdgeTransportNodeRtepIpAssignmentStaticIpMacArgs.builder()
.defaultGateway("string")
.ipMacPairs(EdgeTransportNodeRtepIpAssignmentStaticIpMacIpMacPairArgs.builder()
.ipAddress("string")
.macAddress("string")
.build())
.subnetMask("string")
.build())
.staticIpPool("string")
.build())
.rtepVlan(0)
.edgeTransportNodeRtepId("string")
.namedTeamingPolicy("string")
.build());
edge_transport_node_rtep_resource = nsxt.EdgeTransportNodeRtep("edgeTransportNodeRtepResource",
edge_id="string",
host_switch_name="string",
ip_assignment={
"assigned_by_dhcp": False,
"no_ipv4": False,
"static_ip": {
"default_gateway": "string",
"ip_addresses": ["string"],
"subnet_mask": "string",
},
"static_ip_mac": {
"default_gateway": "string",
"ip_mac_pairs": [{
"ip_address": "string",
"mac_address": "string",
}],
"subnet_mask": "string",
},
"static_ip_pool": "string",
},
rtep_vlan=0,
edge_transport_node_rtep_id="string",
named_teaming_policy="string")
const edgeTransportNodeRtepResource = new nsxt.EdgeTransportNodeRtep("edgeTransportNodeRtepResource", {
edgeId: "string",
hostSwitchName: "string",
ipAssignment: {
assignedByDhcp: false,
noIpv4: false,
staticIp: {
defaultGateway: "string",
ipAddresses: ["string"],
subnetMask: "string",
},
staticIpMac: {
defaultGateway: "string",
ipMacPairs: [{
ipAddress: "string",
macAddress: "string",
}],
subnetMask: "string",
},
staticIpPool: "string",
},
rtepVlan: 0,
edgeTransportNodeRtepId: "string",
namedTeamingPolicy: "string",
});
type: nsxt:EdgeTransportNodeRtep
properties:
edgeId: string
edgeTransportNodeRtepId: string
hostSwitchName: string
ipAssignment:
assignedByDhcp: false
noIpv4: false
staticIp:
defaultGateway: string
ipAddresses:
- string
subnetMask: string
staticIpMac:
defaultGateway: string
ipMacPairs:
- ipAddress: string
macAddress: string
subnetMask: string
staticIpPool: string
namedTeamingPolicy: string
rtepVlan: 0
EdgeTransportNodeRtep 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 EdgeTransportNodeRtep resource accepts the following input properties:
- Edge
Id string - Edge ID to associate with remote tunnel endpoint.
- Host
Switch stringName - The host switch name to be used for the remote tunnel endpoint.
- Ip
Assignment EdgeTransport Node Rtep Ip Assignment - Specification for IPs to be used with host switch virtual tunnel endpoints. Should contain exatly one of the below:
- Rtep
Vlan double - VLAN id for remote tunnel endpoint.
- Edge
Transport stringNode Rtep Id - Named
Teaming stringPolicy - The named teaming policy to be used by the remote tunnel endpoint.
- Edge
Id string - Edge ID to associate with remote tunnel endpoint.
- Host
Switch stringName - The host switch name to be used for the remote tunnel endpoint.
- Ip
Assignment EdgeTransport Node Rtep Ip Assignment Args - Specification for IPs to be used with host switch virtual tunnel endpoints. Should contain exatly one of the below:
- Rtep
Vlan float64 - VLAN id for remote tunnel endpoint.
- Edge
Transport stringNode Rtep Id - Named
Teaming stringPolicy - The named teaming policy to be used by the remote tunnel endpoint.
- edge
Id String - Edge ID to associate with remote tunnel endpoint.
- host
Switch StringName - The host switch name to be used for the remote tunnel endpoint.
- ip
Assignment EdgeTransport Node Rtep Ip Assignment - Specification for IPs to be used with host switch virtual tunnel endpoints. Should contain exatly one of the below:
- rtep
Vlan Double - VLAN id for remote tunnel endpoint.
- edge
Transport StringNode Rtep Id - named
Teaming StringPolicy - The named teaming policy to be used by the remote tunnel endpoint.
- edge
Id string - Edge ID to associate with remote tunnel endpoint.
- host
Switch stringName - The host switch name to be used for the remote tunnel endpoint.
- ip
Assignment EdgeTransport Node Rtep Ip Assignment - Specification for IPs to be used with host switch virtual tunnel endpoints. Should contain exatly one of the below:
- rtep
Vlan number - VLAN id for remote tunnel endpoint.
- edge
Transport stringNode Rtep Id - named
Teaming stringPolicy - The named teaming policy to be used by the remote tunnel endpoint.
- edge_
id str - Edge ID to associate with remote tunnel endpoint.
- host_
switch_ strname - The host switch name to be used for the remote tunnel endpoint.
- ip_
assignment EdgeTransport Node Rtep Ip Assignment Args - Specification for IPs to be used with host switch virtual tunnel endpoints. Should contain exatly one of the below:
- rtep_
vlan float - VLAN id for remote tunnel endpoint.
- edge_
transport_ strnode_ rtep_ id - named_
teaming_ strpolicy - The named teaming policy to be used by the remote tunnel endpoint.
- edge
Id String - Edge ID to associate with remote tunnel endpoint.
- host
Switch StringName - The host switch name to be used for the remote tunnel endpoint.
- ip
Assignment Property Map - Specification for IPs to be used with host switch virtual tunnel endpoints. Should contain exatly one of the below:
- rtep
Vlan Number - VLAN id for remote tunnel endpoint.
- edge
Transport StringNode Rtep Id - named
Teaming StringPolicy - The named teaming policy to be used by the remote tunnel endpoint.
Outputs
All input properties are implicitly available as output properties. Additionally, the EdgeTransportNodeRtep resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing EdgeTransportNodeRtep Resource
Get an existing EdgeTransportNodeRtep 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?: EdgeTransportNodeRtepState, opts?: CustomResourceOptions): EdgeTransportNodeRtep
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
edge_id: Optional[str] = None,
edge_transport_node_rtep_id: Optional[str] = None,
host_switch_name: Optional[str] = None,
ip_assignment: Optional[EdgeTransportNodeRtepIpAssignmentArgs] = None,
named_teaming_policy: Optional[str] = None,
rtep_vlan: Optional[float] = None) -> EdgeTransportNodeRtep
func GetEdgeTransportNodeRtep(ctx *Context, name string, id IDInput, state *EdgeTransportNodeRtepState, opts ...ResourceOption) (*EdgeTransportNodeRtep, error)
public static EdgeTransportNodeRtep Get(string name, Input<string> id, EdgeTransportNodeRtepState? state, CustomResourceOptions? opts = null)
public static EdgeTransportNodeRtep get(String name, Output<String> id, EdgeTransportNodeRtepState state, CustomResourceOptions options)
resources: _: type: nsxt:EdgeTransportNodeRtep 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.
- Edge
Id string - Edge ID to associate with remote tunnel endpoint.
- Edge
Transport stringNode Rtep Id - Host
Switch stringName - The host switch name to be used for the remote tunnel endpoint.
- Ip
Assignment EdgeTransport Node Rtep Ip Assignment - Specification for IPs to be used with host switch virtual tunnel endpoints. Should contain exatly one of the below:
- Named
Teaming stringPolicy - The named teaming policy to be used by the remote tunnel endpoint.
- Rtep
Vlan double - VLAN id for remote tunnel endpoint.
- Edge
Id string - Edge ID to associate with remote tunnel endpoint.
- Edge
Transport stringNode Rtep Id - Host
Switch stringName - The host switch name to be used for the remote tunnel endpoint.
- Ip
Assignment EdgeTransport Node Rtep Ip Assignment Args - Specification for IPs to be used with host switch virtual tunnel endpoints. Should contain exatly one of the below:
- Named
Teaming stringPolicy - The named teaming policy to be used by the remote tunnel endpoint.
- Rtep
Vlan float64 - VLAN id for remote tunnel endpoint.
- edge
Id String - Edge ID to associate with remote tunnel endpoint.
- edge
Transport StringNode Rtep Id - host
Switch StringName - The host switch name to be used for the remote tunnel endpoint.
- ip
Assignment EdgeTransport Node Rtep Ip Assignment - Specification for IPs to be used with host switch virtual tunnel endpoints. Should contain exatly one of the below:
- named
Teaming StringPolicy - The named teaming policy to be used by the remote tunnel endpoint.
- rtep
Vlan Double - VLAN id for remote tunnel endpoint.
- edge
Id string - Edge ID to associate with remote tunnel endpoint.
- edge
Transport stringNode Rtep Id - host
Switch stringName - The host switch name to be used for the remote tunnel endpoint.
- ip
Assignment EdgeTransport Node Rtep Ip Assignment - Specification for IPs to be used with host switch virtual tunnel endpoints. Should contain exatly one of the below:
- named
Teaming stringPolicy - The named teaming policy to be used by the remote tunnel endpoint.
- rtep
Vlan number - VLAN id for remote tunnel endpoint.
- edge_
id str - Edge ID to associate with remote tunnel endpoint.
- edge_
transport_ strnode_ rtep_ id - host_
switch_ strname - The host switch name to be used for the remote tunnel endpoint.
- ip_
assignment EdgeTransport Node Rtep Ip Assignment Args - Specification for IPs to be used with host switch virtual tunnel endpoints. Should contain exatly one of the below:
- named_
teaming_ strpolicy - The named teaming policy to be used by the remote tunnel endpoint.
- rtep_
vlan float - VLAN id for remote tunnel endpoint.
- edge
Id String - Edge ID to associate with remote tunnel endpoint.
- edge
Transport StringNode Rtep Id - host
Switch StringName - The host switch name to be used for the remote tunnel endpoint.
- ip
Assignment Property Map - Specification for IPs to be used with host switch virtual tunnel endpoints. Should contain exatly one of the below:
- named
Teaming StringPolicy - The named teaming policy to be used by the remote tunnel endpoint.
- rtep
Vlan Number - VLAN id for remote tunnel endpoint.
Supporting Types
EdgeTransportNodeRtepIpAssignment, EdgeTransportNodeRtepIpAssignmentArgs
- Assigned
By boolDhcp - Enables DHCP assignment.
- No
Ipv4 bool - No IPv4 assignment
- Static
Ip EdgeTransport Node Rtep Ip Assignment Static Ip - IP assignment specification for Static IP List.
- Static
Ip EdgeMac Transport Node Rtep Ip Assignment Static Ip Mac - IP assignment specification for Static MAC List.
- Static
Ip stringPool - IP assignment specification for Static IP Pool.
- Assigned
By boolDhcp - Enables DHCP assignment.
- No
Ipv4 bool - No IPv4 assignment
- Static
Ip EdgeTransport Node Rtep Ip Assignment Static Ip - IP assignment specification for Static IP List.
- Static
Ip EdgeMac Transport Node Rtep Ip Assignment Static Ip Mac - IP assignment specification for Static MAC List.
- Static
Ip stringPool - IP assignment specification for Static IP Pool.
- assigned
By BooleanDhcp - Enables DHCP assignment.
- no
Ipv4 Boolean - No IPv4 assignment
- static
Ip EdgeTransport Node Rtep Ip Assignment Static Ip - IP assignment specification for Static IP List.
- static
Ip EdgeMac Transport Node Rtep Ip Assignment Static Ip Mac - IP assignment specification for Static MAC List.
- static
Ip StringPool - IP assignment specification for Static IP Pool.
- assigned
By booleanDhcp - Enables DHCP assignment.
- no
Ipv4 boolean - No IPv4 assignment
- static
Ip EdgeTransport Node Rtep Ip Assignment Static Ip - IP assignment specification for Static IP List.
- static
Ip EdgeMac Transport Node Rtep Ip Assignment Static Ip Mac - IP assignment specification for Static MAC List.
- static
Ip stringPool - IP assignment specification for Static IP Pool.
- assigned_
by_ booldhcp - Enables DHCP assignment.
- no_
ipv4 bool - No IPv4 assignment
- static_
ip EdgeTransport Node Rtep Ip Assignment Static Ip - IP assignment specification for Static IP List.
- static_
ip_ Edgemac Transport Node Rtep Ip Assignment Static Ip Mac - IP assignment specification for Static MAC List.
- static_
ip_ strpool - IP assignment specification for Static IP Pool.
- assigned
By BooleanDhcp - Enables DHCP assignment.
- no
Ipv4 Boolean - No IPv4 assignment
- static
Ip Property Map - IP assignment specification for Static IP List.
- static
Ip Property MapMac - IP assignment specification for Static MAC List.
- static
Ip StringPool - IP assignment specification for Static IP Pool.
EdgeTransportNodeRtepIpAssignmentStaticIp, EdgeTransportNodeRtepIpAssignmentStaticIpArgs
- Default
Gateway string - Gateway IP.
- Ip
Addresses List<string> - List of IPs for transport node host switch virtual tunnel endpoints.
- Subnet
Mask string - Subnet mask.
- Default
Gateway string - Gateway IP.
- Ip
Addresses []string - List of IPs for transport node host switch virtual tunnel endpoints.
- Subnet
Mask string - Subnet mask.
- default
Gateway String - Gateway IP.
- ip
Addresses List<String> - List of IPs for transport node host switch virtual tunnel endpoints.
- subnet
Mask String - Subnet mask.
- default
Gateway string - Gateway IP.
- ip
Addresses string[] - List of IPs for transport node host switch virtual tunnel endpoints.
- subnet
Mask string - Subnet mask.
- default_
gateway str - Gateway IP.
- ip_
addresses Sequence[str] - List of IPs for transport node host switch virtual tunnel endpoints.
- subnet_
mask str - Subnet mask.
- default
Gateway String - Gateway IP.
- ip
Addresses List<String> - List of IPs for transport node host switch virtual tunnel endpoints.
- subnet
Mask String - Subnet mask.
EdgeTransportNodeRtepIpAssignmentStaticIpMac, EdgeTransportNodeRtepIpAssignmentStaticIpMacArgs
- Default
Gateway string - Gateway IP
- Ip
Mac List<EdgePairs Transport Node Rtep Ip Assignment Static Ip Mac Ip Mac Pair> - List of IP MAC pairs
- Subnet
Mask string - Subnet mask
- Default
Gateway string - Gateway IP
- Ip
Mac []EdgePairs Transport Node Rtep Ip Assignment Static Ip Mac Ip Mac Pair - List of IP MAC pairs
- Subnet
Mask string - Subnet mask
- default
Gateway String - Gateway IP
- ip
Mac List<EdgePairs Transport Node Rtep Ip Assignment Static Ip Mac Ip Mac Pair> - List of IP MAC pairs
- subnet
Mask String - Subnet mask
- default
Gateway string - Gateway IP
- ip
Mac EdgePairs Transport Node Rtep Ip Assignment Static Ip Mac Ip Mac Pair[] - List of IP MAC pairs
- subnet
Mask string - Subnet mask
- default_
gateway str - Gateway IP
- ip_
mac_ Sequence[Edgepairs Transport Node Rtep Ip Assignment Static Ip Mac Ip Mac Pair] - List of IP MAC pairs
- subnet_
mask str - Subnet mask
- default
Gateway String - Gateway IP
- ip
Mac List<Property Map>Pairs - List of IP MAC pairs
- subnet
Mask String - Subnet mask
EdgeTransportNodeRtepIpAssignmentStaticIpMacIpMacPair, EdgeTransportNodeRtepIpAssignmentStaticIpMacIpMacPairArgs
- Ip
Address string - A single IPv6 address
- Mac
Address string - A single MAC address
- Ip
Address string - A single IPv6 address
- Mac
Address string - A single MAC address
- ip
Address String - A single IPv6 address
- mac
Address String - A single MAC address
- ip
Address string - A single IPv6 address
- mac
Address string - A single MAC address
- ip_
address str - A single IPv6 address
- mac_
address str - A single MAC address
- ip
Address String - A single IPv6 address
- mac
Address String - A single MAC address
Package Details
- Repository
- nsxt vmware/terraform-provider-nsxt
- License
- Notes
- This Pulumi package is based on the
nsxt
Terraform Provider.