nsxt.LogicalRouterDownlinkPort
Explore with Pulumi AI
Create LogicalRouterDownlinkPort Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LogicalRouterDownlinkPort(name: string, args: LogicalRouterDownlinkPortArgs, opts?: CustomResourceOptions);
@overload
def LogicalRouterDownlinkPort(resource_name: str,
args: LogicalRouterDownlinkPortArgs,
opts: Optional[ResourceOptions] = None)
@overload
def LogicalRouterDownlinkPort(resource_name: str,
opts: Optional[ResourceOptions] = None,
ip_address: Optional[str] = None,
linked_logical_switch_port_id: Optional[str] = None,
logical_router_id: Optional[str] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
logical_router_downlink_port_id: Optional[str] = None,
service_bindings: Optional[Sequence[LogicalRouterDownlinkPortServiceBindingArgs]] = None,
tags: Optional[Sequence[LogicalRouterDownlinkPortTagArgs]] = None,
urpf_mode: Optional[str] = None)
func NewLogicalRouterDownlinkPort(ctx *Context, name string, args LogicalRouterDownlinkPortArgs, opts ...ResourceOption) (*LogicalRouterDownlinkPort, error)
public LogicalRouterDownlinkPort(string name, LogicalRouterDownlinkPortArgs args, CustomResourceOptions? opts = null)
public LogicalRouterDownlinkPort(String name, LogicalRouterDownlinkPortArgs args)
public LogicalRouterDownlinkPort(String name, LogicalRouterDownlinkPortArgs args, CustomResourceOptions options)
type: nsxt:LogicalRouterDownlinkPort
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 LogicalRouterDownlinkPortArgs
- 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 LogicalRouterDownlinkPortArgs
- 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 LogicalRouterDownlinkPortArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LogicalRouterDownlinkPortArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LogicalRouterDownlinkPortArgs
- 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 logicalRouterDownlinkPortResource = new Nsxt.LogicalRouterDownlinkPort("logicalRouterDownlinkPortResource", new()
{
IpAddress = "string",
LinkedLogicalSwitchPortId = "string",
LogicalRouterId = "string",
Description = "string",
DisplayName = "string",
LogicalRouterDownlinkPortId = "string",
ServiceBindings = new[]
{
new Nsxt.Inputs.LogicalRouterDownlinkPortServiceBindingArgs
{
IsValid = false,
TargetDisplayName = "string",
TargetId = "string",
TargetType = "string",
},
},
Tags = new[]
{
new Nsxt.Inputs.LogicalRouterDownlinkPortTagArgs
{
Scope = "string",
Tag = "string",
},
},
UrpfMode = "string",
});
example, err := nsxt.NewLogicalRouterDownlinkPort(ctx, "logicalRouterDownlinkPortResource", &nsxt.LogicalRouterDownlinkPortArgs{
IpAddress: pulumi.String("string"),
LinkedLogicalSwitchPortId: pulumi.String("string"),
LogicalRouterId: pulumi.String("string"),
Description: pulumi.String("string"),
DisplayName: pulumi.String("string"),
LogicalRouterDownlinkPortId: pulumi.String("string"),
ServiceBindings: nsxt.LogicalRouterDownlinkPortServiceBindingArray{
&nsxt.LogicalRouterDownlinkPortServiceBindingArgs{
IsValid: pulumi.Bool(false),
TargetDisplayName: pulumi.String("string"),
TargetId: pulumi.String("string"),
TargetType: pulumi.String("string"),
},
},
Tags: nsxt.LogicalRouterDownlinkPortTagArray{
&nsxt.LogicalRouterDownlinkPortTagArgs{
Scope: pulumi.String("string"),
Tag: pulumi.String("string"),
},
},
UrpfMode: pulumi.String("string"),
})
var logicalRouterDownlinkPortResource = new LogicalRouterDownlinkPort("logicalRouterDownlinkPortResource", LogicalRouterDownlinkPortArgs.builder()
.ipAddress("string")
.linkedLogicalSwitchPortId("string")
.logicalRouterId("string")
.description("string")
.displayName("string")
.logicalRouterDownlinkPortId("string")
.serviceBindings(LogicalRouterDownlinkPortServiceBindingArgs.builder()
.isValid(false)
.targetDisplayName("string")
.targetId("string")
.targetType("string")
.build())
.tags(LogicalRouterDownlinkPortTagArgs.builder()
.scope("string")
.tag("string")
.build())
.urpfMode("string")
.build());
logical_router_downlink_port_resource = nsxt.LogicalRouterDownlinkPort("logicalRouterDownlinkPortResource",
ip_address="string",
linked_logical_switch_port_id="string",
logical_router_id="string",
description="string",
display_name="string",
logical_router_downlink_port_id="string",
service_bindings=[{
"is_valid": False,
"target_display_name": "string",
"target_id": "string",
"target_type": "string",
}],
tags=[{
"scope": "string",
"tag": "string",
}],
urpf_mode="string")
const logicalRouterDownlinkPortResource = new nsxt.LogicalRouterDownlinkPort("logicalRouterDownlinkPortResource", {
ipAddress: "string",
linkedLogicalSwitchPortId: "string",
logicalRouterId: "string",
description: "string",
displayName: "string",
logicalRouterDownlinkPortId: "string",
serviceBindings: [{
isValid: false,
targetDisplayName: "string",
targetId: "string",
targetType: "string",
}],
tags: [{
scope: "string",
tag: "string",
}],
urpfMode: "string",
});
type: nsxt:LogicalRouterDownlinkPort
properties:
description: string
displayName: string
ipAddress: string
linkedLogicalSwitchPortId: string
logicalRouterDownlinkPortId: string
logicalRouterId: string
serviceBindings:
- isValid: false
targetDisplayName: string
targetId: string
targetType: string
tags:
- scope: string
tag: string
urpfMode: string
LogicalRouterDownlinkPort 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 LogicalRouterDownlinkPort resource accepts the following input properties:
- Ip
Address string - Logical router port subnet (ip_address / prefix length)
- Linked
Logical stringSwitch Port Id - Identifier for port on logical switch to connect to
- Logical
Router stringId - Identifier for logical Tier-1 router on which this port is created
- Description string
- Description of the resource.
- Display
Name string - Display name, defaults to ID if not set.
- Logical
Router stringDownlink Port Id - ID of the logical router downlink port.
- Service
Bindings List<LogicalRouter Downlink Port Service Binding> - A list of services for this port. Currently only "LogicalService" is supported as a target_type, and a DHCP relay service ID as target_id
- List<Logical
Router Downlink Port Tag> - A list of scope + tag pairs to associate with this port.
- Urpf
Mode string - Unicast Reverse Path Forwarding mode. Accepted values are "NONE" and "STRICT" which is the default value.
- Ip
Address string - Logical router port subnet (ip_address / prefix length)
- Linked
Logical stringSwitch Port Id - Identifier for port on logical switch to connect to
- Logical
Router stringId - Identifier for logical Tier-1 router on which this port is created
- Description string
- Description of the resource.
- Display
Name string - Display name, defaults to ID if not set.
- Logical
Router stringDownlink Port Id - ID of the logical router downlink port.
- Service
Bindings []LogicalRouter Downlink Port Service Binding Args - A list of services for this port. Currently only "LogicalService" is supported as a target_type, and a DHCP relay service ID as target_id
- []Logical
Router Downlink Port Tag Args - A list of scope + tag pairs to associate with this port.
- Urpf
Mode string - Unicast Reverse Path Forwarding mode. Accepted values are "NONE" and "STRICT" which is the default value.
- ip
Address String - Logical router port subnet (ip_address / prefix length)
- linked
Logical StringSwitch Port Id - Identifier for port on logical switch to connect to
- logical
Router StringId - Identifier for logical Tier-1 router on which this port is created
- description String
- Description of the resource.
- display
Name String - Display name, defaults to ID if not set.
- logical
Router StringDownlink Port Id - ID of the logical router downlink port.
- service
Bindings List<LogicalRouter Downlink Port Service Binding> - A list of services for this port. Currently only "LogicalService" is supported as a target_type, and a DHCP relay service ID as target_id
- List<Logical
Router Downlink Port Tag> - A list of scope + tag pairs to associate with this port.
- urpf
Mode String - Unicast Reverse Path Forwarding mode. Accepted values are "NONE" and "STRICT" which is the default value.
- ip
Address string - Logical router port subnet (ip_address / prefix length)
- linked
Logical stringSwitch Port Id - Identifier for port on logical switch to connect to
- logical
Router stringId - Identifier for logical Tier-1 router on which this port is created
- description string
- Description of the resource.
- display
Name string - Display name, defaults to ID if not set.
- logical
Router stringDownlink Port Id - ID of the logical router downlink port.
- service
Bindings LogicalRouter Downlink Port Service Binding[] - A list of services for this port. Currently only "LogicalService" is supported as a target_type, and a DHCP relay service ID as target_id
- Logical
Router Downlink Port Tag[] - A list of scope + tag pairs to associate with this port.
- urpf
Mode string - Unicast Reverse Path Forwarding mode. Accepted values are "NONE" and "STRICT" which is the default value.
- ip_
address str - Logical router port subnet (ip_address / prefix length)
- linked_
logical_ strswitch_ port_ id - Identifier for port on logical switch to connect to
- logical_
router_ strid - Identifier for logical Tier-1 router on which this port is created
- description str
- Description of the resource.
- display_
name str - Display name, defaults to ID if not set.
- logical_
router_ strdownlink_ port_ id - ID of the logical router downlink port.
- service_
bindings Sequence[LogicalRouter Downlink Port Service Binding Args] - A list of services for this port. Currently only "LogicalService" is supported as a target_type, and a DHCP relay service ID as target_id
- Sequence[Logical
Router Downlink Port Tag Args] - A list of scope + tag pairs to associate with this port.
- urpf_
mode str - Unicast Reverse Path Forwarding mode. Accepted values are "NONE" and "STRICT" which is the default value.
- ip
Address String - Logical router port subnet (ip_address / prefix length)
- linked
Logical StringSwitch Port Id - Identifier for port on logical switch to connect to
- logical
Router StringId - Identifier for logical Tier-1 router on which this port is created
- description String
- Description of the resource.
- display
Name String - Display name, defaults to ID if not set.
- logical
Router StringDownlink Port Id - ID of the logical router downlink port.
- service
Bindings List<Property Map> - A list of services for this port. Currently only "LogicalService" is supported as a target_type, and a DHCP relay service ID as target_id
- List<Property Map>
- A list of scope + tag pairs to associate with this port.
- urpf
Mode String - Unicast Reverse Path Forwarding mode. Accepted values are "NONE" and "STRICT" which is the default value.
Outputs
All input properties are implicitly available as output properties. Additionally, the LogicalRouterDownlinkPort resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Mac
Address string - The MAC address assigned to this port
- Revision double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- Id string
- The provider-assigned unique ID for this managed resource.
- Mac
Address string - The MAC address assigned to this port
- Revision float64
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- id String
- The provider-assigned unique ID for this managed resource.
- mac
Address String - The MAC address assigned to this port
- revision Double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- id string
- The provider-assigned unique ID for this managed resource.
- mac
Address string - The MAC address assigned to this port
- revision number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- id str
- The provider-assigned unique ID for this managed resource.
- mac_
address str - The MAC address assigned to this port
- revision float
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- id String
- The provider-assigned unique ID for this managed resource.
- mac
Address String - The MAC address assigned to this port
- revision Number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
Look up Existing LogicalRouterDownlinkPort Resource
Get an existing LogicalRouterDownlinkPort 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?: LogicalRouterDownlinkPortState, opts?: CustomResourceOptions): LogicalRouterDownlinkPort
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
ip_address: Optional[str] = None,
linked_logical_switch_port_id: Optional[str] = None,
logical_router_downlink_port_id: Optional[str] = None,
logical_router_id: Optional[str] = None,
mac_address: Optional[str] = None,
revision: Optional[float] = None,
service_bindings: Optional[Sequence[LogicalRouterDownlinkPortServiceBindingArgs]] = None,
tags: Optional[Sequence[LogicalRouterDownlinkPortTagArgs]] = None,
urpf_mode: Optional[str] = None) -> LogicalRouterDownlinkPort
func GetLogicalRouterDownlinkPort(ctx *Context, name string, id IDInput, state *LogicalRouterDownlinkPortState, opts ...ResourceOption) (*LogicalRouterDownlinkPort, error)
public static LogicalRouterDownlinkPort Get(string name, Input<string> id, LogicalRouterDownlinkPortState? state, CustomResourceOptions? opts = null)
public static LogicalRouterDownlinkPort get(String name, Output<String> id, LogicalRouterDownlinkPortState state, CustomResourceOptions options)
resources: _: type: nsxt:LogicalRouterDownlinkPort 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.
- Description string
- Description of the resource.
- Display
Name string - Display name, defaults to ID if not set.
- Ip
Address string - Logical router port subnet (ip_address / prefix length)
- Linked
Logical stringSwitch Port Id - Identifier for port on logical switch to connect to
- Logical
Router stringDownlink Port Id - ID of the logical router downlink port.
- Logical
Router stringId - Identifier for logical Tier-1 router on which this port is created
- Mac
Address string - The MAC address assigned to this port
- Revision double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- Service
Bindings List<LogicalRouter Downlink Port Service Binding> - A list of services for this port. Currently only "LogicalService" is supported as a target_type, and a DHCP relay service ID as target_id
- List<Logical
Router Downlink Port Tag> - A list of scope + tag pairs to associate with this port.
- Urpf
Mode string - Unicast Reverse Path Forwarding mode. Accepted values are "NONE" and "STRICT" which is the default value.
- Description string
- Description of the resource.
- Display
Name string - Display name, defaults to ID if not set.
- Ip
Address string - Logical router port subnet (ip_address / prefix length)
- Linked
Logical stringSwitch Port Id - Identifier for port on logical switch to connect to
- Logical
Router stringDownlink Port Id - ID of the logical router downlink port.
- Logical
Router stringId - Identifier for logical Tier-1 router on which this port is created
- Mac
Address string - The MAC address assigned to this port
- Revision float64
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- Service
Bindings []LogicalRouter Downlink Port Service Binding Args - A list of services for this port. Currently only "LogicalService" is supported as a target_type, and a DHCP relay service ID as target_id
- []Logical
Router Downlink Port Tag Args - A list of scope + tag pairs to associate with this port.
- Urpf
Mode string - Unicast Reverse Path Forwarding mode. Accepted values are "NONE" and "STRICT" which is the default value.
- description String
- Description of the resource.
- display
Name String - Display name, defaults to ID if not set.
- ip
Address String - Logical router port subnet (ip_address / prefix length)
- linked
Logical StringSwitch Port Id - Identifier for port on logical switch to connect to
- logical
Router StringDownlink Port Id - ID of the logical router downlink port.
- logical
Router StringId - Identifier for logical Tier-1 router on which this port is created
- mac
Address String - The MAC address assigned to this port
- revision Double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- service
Bindings List<LogicalRouter Downlink Port Service Binding> - A list of services for this port. Currently only "LogicalService" is supported as a target_type, and a DHCP relay service ID as target_id
- List<Logical
Router Downlink Port Tag> - A list of scope + tag pairs to associate with this port.
- urpf
Mode String - Unicast Reverse Path Forwarding mode. Accepted values are "NONE" and "STRICT" which is the default value.
- description string
- Description of the resource.
- display
Name string - Display name, defaults to ID if not set.
- ip
Address string - Logical router port subnet (ip_address / prefix length)
- linked
Logical stringSwitch Port Id - Identifier for port on logical switch to connect to
- logical
Router stringDownlink Port Id - ID of the logical router downlink port.
- logical
Router stringId - Identifier for logical Tier-1 router on which this port is created
- mac
Address string - The MAC address assigned to this port
- revision number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- service
Bindings LogicalRouter Downlink Port Service Binding[] - A list of services for this port. Currently only "LogicalService" is supported as a target_type, and a DHCP relay service ID as target_id
- Logical
Router Downlink Port Tag[] - A list of scope + tag pairs to associate with this port.
- urpf
Mode string - Unicast Reverse Path Forwarding mode. Accepted values are "NONE" and "STRICT" which is the default value.
- description str
- Description of the resource.
- display_
name str - Display name, defaults to ID if not set.
- ip_
address str - Logical router port subnet (ip_address / prefix length)
- linked_
logical_ strswitch_ port_ id - Identifier for port on logical switch to connect to
- logical_
router_ strdownlink_ port_ id - ID of the logical router downlink port.
- logical_
router_ strid - Identifier for logical Tier-1 router on which this port is created
- mac_
address str - The MAC address assigned to this port
- revision float
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- service_
bindings Sequence[LogicalRouter Downlink Port Service Binding Args] - A list of services for this port. Currently only "LogicalService" is supported as a target_type, and a DHCP relay service ID as target_id
- Sequence[Logical
Router Downlink Port Tag Args] - A list of scope + tag pairs to associate with this port.
- urpf_
mode str - Unicast Reverse Path Forwarding mode. Accepted values are "NONE" and "STRICT" which is the default value.
- description String
- Description of the resource.
- display
Name String - Display name, defaults to ID if not set.
- ip
Address String - Logical router port subnet (ip_address / prefix length)
- linked
Logical StringSwitch Port Id - Identifier for port on logical switch to connect to
- logical
Router StringDownlink Port Id - ID of the logical router downlink port.
- logical
Router StringId - Identifier for logical Tier-1 router on which this port is created
- mac
Address String - The MAC address assigned to this port
- revision Number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- service
Bindings List<Property Map> - A list of services for this port. Currently only "LogicalService" is supported as a target_type, and a DHCP relay service ID as target_id
- List<Property Map>
- A list of scope + tag pairs to associate with this port.
- urpf
Mode String - Unicast Reverse Path Forwarding mode. Accepted values are "NONE" and "STRICT" which is the default value.
Supporting Types
LogicalRouterDownlinkPortServiceBinding, LogicalRouterDownlinkPortServiceBindingArgs
- Is
Valid bool - A boolean flag which will be set to false if the referenced NSX resource has been deleted
- Target
Display stringName - Display name of the NSX resource
- Target
Id string - Identifier of the NSX resource
- Target
Type string - Type of the NSX resource
- Is
Valid bool - A boolean flag which will be set to false if the referenced NSX resource has been deleted
- Target
Display stringName - Display name of the NSX resource
- Target
Id string - Identifier of the NSX resource
- Target
Type string - Type of the NSX resource
- is
Valid Boolean - A boolean flag which will be set to false if the referenced NSX resource has been deleted
- target
Display StringName - Display name of the NSX resource
- target
Id String - Identifier of the NSX resource
- target
Type String - Type of the NSX resource
- is
Valid boolean - A boolean flag which will be set to false if the referenced NSX resource has been deleted
- target
Display stringName - Display name of the NSX resource
- target
Id string - Identifier of the NSX resource
- target
Type string - Type of the NSX resource
- is_
valid bool - A boolean flag which will be set to false if the referenced NSX resource has been deleted
- target_
display_ strname - Display name of the NSX resource
- target_
id str - Identifier of the NSX resource
- target_
type str - Type of the NSX resource
- is
Valid Boolean - A boolean flag which will be set to false if the referenced NSX resource has been deleted
- target
Display StringName - Display name of the NSX resource
- target
Id String - Identifier of the NSX resource
- target
Type String - Type of the NSX resource
LogicalRouterDownlinkPortTag, LogicalRouterDownlinkPortTagArgs
Package Details
- Repository
- nsxt vmware/terraform-provider-nsxt
- License
- Notes
- This Pulumi package is based on the
nsxt
Terraform Provider.