nsxt.LogicalRouterLinkPortOnTier1
Explore with Pulumi AI
Create LogicalRouterLinkPortOnTier1 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LogicalRouterLinkPortOnTier1(name: string, args: LogicalRouterLinkPortOnTier1Args, opts?: CustomResourceOptions);
@overload
def LogicalRouterLinkPortOnTier1(resource_name: str,
args: LogicalRouterLinkPortOnTier1Args,
opts: Optional[ResourceOptions] = None)
@overload
def LogicalRouterLinkPortOnTier1(resource_name: str,
opts: Optional[ResourceOptions] = None,
linked_logical_router_port_id: Optional[str] = None,
logical_router_id: Optional[str] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
logical_router_link_port_on_tier1_id: Optional[str] = None,
tags: Optional[Sequence[LogicalRouterLinkPortOnTier1TagArgs]] = None)
func NewLogicalRouterLinkPortOnTier1(ctx *Context, name string, args LogicalRouterLinkPortOnTier1Args, opts ...ResourceOption) (*LogicalRouterLinkPortOnTier1, error)
public LogicalRouterLinkPortOnTier1(string name, LogicalRouterLinkPortOnTier1Args args, CustomResourceOptions? opts = null)
public LogicalRouterLinkPortOnTier1(String name, LogicalRouterLinkPortOnTier1Args args)
public LogicalRouterLinkPortOnTier1(String name, LogicalRouterLinkPortOnTier1Args args, CustomResourceOptions options)
type: nsxt:LogicalRouterLinkPortOnTier1
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 LogicalRouterLinkPortOnTier1Args
- 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 LogicalRouterLinkPortOnTier1Args
- 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 LogicalRouterLinkPortOnTier1Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LogicalRouterLinkPortOnTier1Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LogicalRouterLinkPortOnTier1Args
- 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 logicalRouterLinkPortOnTier1Resource = new Nsxt.LogicalRouterLinkPortOnTier1("logicalRouterLinkPortOnTier1Resource", new()
{
LinkedLogicalRouterPortId = "string",
LogicalRouterId = "string",
Description = "string",
DisplayName = "string",
LogicalRouterLinkPortOnTier1Id = "string",
Tags = new[]
{
new Nsxt.Inputs.LogicalRouterLinkPortOnTier1TagArgs
{
Scope = "string",
Tag = "string",
},
},
});
example, err := nsxt.NewLogicalRouterLinkPortOnTier1(ctx, "logicalRouterLinkPortOnTier1Resource", &nsxt.LogicalRouterLinkPortOnTier1Args{
LinkedLogicalRouterPortId: pulumi.String("string"),
LogicalRouterId: pulumi.String("string"),
Description: pulumi.String("string"),
DisplayName: pulumi.String("string"),
LogicalRouterLinkPortOnTier1Id: pulumi.String("string"),
Tags: nsxt.LogicalRouterLinkPortOnTier1TagArray{
&nsxt.LogicalRouterLinkPortOnTier1TagArgs{
Scope: pulumi.String("string"),
Tag: pulumi.String("string"),
},
},
})
var logicalRouterLinkPortOnTier1Resource = new LogicalRouterLinkPortOnTier1("logicalRouterLinkPortOnTier1Resource", LogicalRouterLinkPortOnTier1Args.builder()
.linkedLogicalRouterPortId("string")
.logicalRouterId("string")
.description("string")
.displayName("string")
.logicalRouterLinkPortOnTier1Id("string")
.tags(LogicalRouterLinkPortOnTier1TagArgs.builder()
.scope("string")
.tag("string")
.build())
.build());
logical_router_link_port_on_tier1_resource = nsxt.LogicalRouterLinkPortOnTier1("logicalRouterLinkPortOnTier1Resource",
linked_logical_router_port_id="string",
logical_router_id="string",
description="string",
display_name="string",
logical_router_link_port_on_tier1_id="string",
tags=[{
"scope": "string",
"tag": "string",
}])
const logicalRouterLinkPortOnTier1Resource = new nsxt.LogicalRouterLinkPortOnTier1("logicalRouterLinkPortOnTier1Resource", {
linkedLogicalRouterPortId: "string",
logicalRouterId: "string",
description: "string",
displayName: "string",
logicalRouterLinkPortOnTier1Id: "string",
tags: [{
scope: "string",
tag: "string",
}],
});
type: nsxt:LogicalRouterLinkPortOnTier1
properties:
description: string
displayName: string
linkedLogicalRouterPortId: string
logicalRouterId: string
logicalRouterLinkPortOnTier1Id: string
tags:
- scope: string
tag: string
LogicalRouterLinkPortOnTier1 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 LogicalRouterLinkPortOnTier1 resource accepts the following input properties:
- Linked
Logical stringRouter Port Id - Identifier for port on logical router 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 stringLink Port On Tier1Id - ID of the logical router link port.
- List<Logical
Router Link Port On Tier1Tag> - A list of scope + tag pairs to associate with this port.
- Linked
Logical stringRouter Port Id - Identifier for port on logical router 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 stringLink Port On Tier1Id - ID of the logical router link port.
- []Logical
Router Link Port On Tier1Tag Args - A list of scope + tag pairs to associate with this port.
- linked
Logical StringRouter Port Id - Identifier for port on logical router 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 StringLink Port On Tier1Id - ID of the logical router link port.
- List<Logical
Router Link Port On Tier1Tag> - A list of scope + tag pairs to associate with this port.
- linked
Logical stringRouter Port Id - Identifier for port on logical router 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 stringLink Port On Tier1Id - ID of the logical router link port.
- Logical
Router Link Port On Tier1Tag[] - A list of scope + tag pairs to associate with this port.
- linked_
logical_ strrouter_ port_ id - Identifier for port on logical router 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_ strlink_ port_ on_ tier1_ id - ID of the logical router link port.
- Sequence[Logical
Router Link Port On Tier1Tag Args] - A list of scope + tag pairs to associate with this port.
- linked
Logical StringRouter Port Id - Identifier for port on logical router 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 StringLink Port On Tier1Id - ID of the logical router link port.
- List<Property Map>
- A list of scope + tag pairs to associate with this port.
Outputs
All input properties are implicitly available as output properties. Additionally, the LogicalRouterLinkPortOnTier1 resource produces the following output properties:
Look up Existing LogicalRouterLinkPortOnTier1 Resource
Get an existing LogicalRouterLinkPortOnTier1 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?: LogicalRouterLinkPortOnTier1State, opts?: CustomResourceOptions): LogicalRouterLinkPortOnTier1
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
linked_logical_router_port_id: Optional[str] = None,
logical_router_id: Optional[str] = None,
logical_router_link_port_on_tier1_id: Optional[str] = None,
revision: Optional[float] = None,
tags: Optional[Sequence[LogicalRouterLinkPortOnTier1TagArgs]] = None) -> LogicalRouterLinkPortOnTier1
func GetLogicalRouterLinkPortOnTier1(ctx *Context, name string, id IDInput, state *LogicalRouterLinkPortOnTier1State, opts ...ResourceOption) (*LogicalRouterLinkPortOnTier1, error)
public static LogicalRouterLinkPortOnTier1 Get(string name, Input<string> id, LogicalRouterLinkPortOnTier1State? state, CustomResourceOptions? opts = null)
public static LogicalRouterLinkPortOnTier1 get(String name, Output<String> id, LogicalRouterLinkPortOnTier1State state, CustomResourceOptions options)
resources: _: type: nsxt:LogicalRouterLinkPortOnTier1 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.
- Linked
Logical stringRouter Port Id - Identifier for port on logical router to connect to
- Logical
Router stringId - Identifier for logical tier-1 router on which this port is created.
- Logical
Router stringLink Port On Tier1Id - ID of the logical router link port.
- Revision double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- List<Logical
Router Link Port On Tier1Tag> - A list of scope + tag pairs to associate with this port.
- Description string
- Description of the resource.
- Display
Name string - Display name, defaults to ID if not set.
- Linked
Logical stringRouter Port Id - Identifier for port on logical router to connect to
- Logical
Router stringId - Identifier for logical tier-1 router on which this port is created.
- Logical
Router stringLink Port On Tier1Id - ID of the logical router link port.
- Revision float64
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- []Logical
Router Link Port On Tier1Tag Args - A list of scope + tag pairs to associate with this port.
- description String
- Description of the resource.
- display
Name String - Display name, defaults to ID if not set.
- linked
Logical StringRouter Port Id - Identifier for port on logical router to connect to
- logical
Router StringId - Identifier for logical tier-1 router on which this port is created.
- logical
Router StringLink Port On Tier1Id - ID of the logical router link port.
- revision Double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- List<Logical
Router Link Port On Tier1Tag> - A list of scope + tag pairs to associate with this port.
- description string
- Description of the resource.
- display
Name string - Display name, defaults to ID if not set.
- linked
Logical stringRouter Port Id - Identifier for port on logical router to connect to
- logical
Router stringId - Identifier for logical tier-1 router on which this port is created.
- logical
Router stringLink Port On Tier1Id - ID of the logical router link port.
- revision number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- Logical
Router Link Port On Tier1Tag[] - A list of scope + tag pairs to associate with this port.
- description str
- Description of the resource.
- display_
name str - Display name, defaults to ID if not set.
- linked_
logical_ strrouter_ port_ id - Identifier for port on logical router to connect to
- logical_
router_ strid - Identifier for logical tier-1 router on which this port is created.
- logical_
router_ strlink_ port_ on_ tier1_ id - ID of the logical router link port.
- revision float
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- Sequence[Logical
Router Link Port On Tier1Tag Args] - A list of scope + tag pairs to associate with this port.
- description String
- Description of the resource.
- display
Name String - Display name, defaults to ID if not set.
- linked
Logical StringRouter Port Id - Identifier for port on logical router to connect to
- logical
Router StringId - Identifier for logical tier-1 router on which this port is created.
- logical
Router StringLink Port On Tier1Id - ID of the logical router link port.
- 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 port.
Supporting Types
LogicalRouterLinkPortOnTier1Tag, LogicalRouterLinkPortOnTier1TagArgs
Package Details
- Repository
- nsxt vmware/terraform-provider-nsxt
- License
- Notes
- This Pulumi package is based on the
nsxt
Terraform Provider.