nsxt.LogicalRouterLinkPortOnTier0
Explore with Pulumi AI
Create LogicalRouterLinkPortOnTier0 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LogicalRouterLinkPortOnTier0(name: string, args: LogicalRouterLinkPortOnTier0Args, opts?: CustomResourceOptions);
@overload
def LogicalRouterLinkPortOnTier0(resource_name: str,
args: LogicalRouterLinkPortOnTier0Args,
opts: Optional[ResourceOptions] = None)
@overload
def LogicalRouterLinkPortOnTier0(resource_name: str,
opts: Optional[ResourceOptions] = None,
logical_router_id: Optional[str] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
logical_router_link_port_on_tier0_id: Optional[str] = None,
tags: Optional[Sequence[LogicalRouterLinkPortOnTier0TagArgs]] = None)
func NewLogicalRouterLinkPortOnTier0(ctx *Context, name string, args LogicalRouterLinkPortOnTier0Args, opts ...ResourceOption) (*LogicalRouterLinkPortOnTier0, error)
public LogicalRouterLinkPortOnTier0(string name, LogicalRouterLinkPortOnTier0Args args, CustomResourceOptions? opts = null)
public LogicalRouterLinkPortOnTier0(String name, LogicalRouterLinkPortOnTier0Args args)
public LogicalRouterLinkPortOnTier0(String name, LogicalRouterLinkPortOnTier0Args args, CustomResourceOptions options)
type: nsxt:LogicalRouterLinkPortOnTier0
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 LogicalRouterLinkPortOnTier0Args
- 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 LogicalRouterLinkPortOnTier0Args
- 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 LogicalRouterLinkPortOnTier0Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LogicalRouterLinkPortOnTier0Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LogicalRouterLinkPortOnTier0Args
- 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 logicalRouterLinkPortOnTier0Resource = new Nsxt.LogicalRouterLinkPortOnTier0("logicalRouterLinkPortOnTier0Resource", new()
{
LogicalRouterId = "string",
Description = "string",
DisplayName = "string",
LogicalRouterLinkPortOnTier0Id = "string",
Tags = new[]
{
new Nsxt.Inputs.LogicalRouterLinkPortOnTier0TagArgs
{
Scope = "string",
Tag = "string",
},
},
});
example, err := nsxt.NewLogicalRouterLinkPortOnTier0(ctx, "logicalRouterLinkPortOnTier0Resource", &nsxt.LogicalRouterLinkPortOnTier0Args{
LogicalRouterId: pulumi.String("string"),
Description: pulumi.String("string"),
DisplayName: pulumi.String("string"),
LogicalRouterLinkPortOnTier0Id: pulumi.String("string"),
Tags: nsxt.LogicalRouterLinkPortOnTier0TagArray{
&nsxt.LogicalRouterLinkPortOnTier0TagArgs{
Scope: pulumi.String("string"),
Tag: pulumi.String("string"),
},
},
})
var logicalRouterLinkPortOnTier0Resource = new LogicalRouterLinkPortOnTier0("logicalRouterLinkPortOnTier0Resource", LogicalRouterLinkPortOnTier0Args.builder()
.logicalRouterId("string")
.description("string")
.displayName("string")
.logicalRouterLinkPortOnTier0Id("string")
.tags(LogicalRouterLinkPortOnTier0TagArgs.builder()
.scope("string")
.tag("string")
.build())
.build());
logical_router_link_port_on_tier0_resource = nsxt.LogicalRouterLinkPortOnTier0("logicalRouterLinkPortOnTier0Resource",
logical_router_id="string",
description="string",
display_name="string",
logical_router_link_port_on_tier0_id="string",
tags=[{
"scope": "string",
"tag": "string",
}])
const logicalRouterLinkPortOnTier0Resource = new nsxt.LogicalRouterLinkPortOnTier0("logicalRouterLinkPortOnTier0Resource", {
logicalRouterId: "string",
description: "string",
displayName: "string",
logicalRouterLinkPortOnTier0Id: "string",
tags: [{
scope: "string",
tag: "string",
}],
});
type: nsxt:LogicalRouterLinkPortOnTier0
properties:
description: string
displayName: string
logicalRouterId: string
logicalRouterLinkPortOnTier0Id: string
tags:
- scope: string
tag: string
LogicalRouterLinkPortOnTier0 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 LogicalRouterLinkPortOnTier0 resource accepts the following input properties:
- Logical
Router stringId - Identifier for logical Tier0 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 Tier0Id - ID of the logical router link port.
- List<Logical
Router Link Port On Tier0Tag> - A list of scope + tag pairs to associate with this port.
- Logical
Router stringId - Identifier for logical Tier0 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 Tier0Id - ID of the logical router link port.
- []Logical
Router Link Port On Tier0Tag Args - A list of scope + tag pairs to associate with this port.
- logical
Router StringId - Identifier for logical Tier0 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 Tier0Id - ID of the logical router link port.
- List<Logical
Router Link Port On Tier0Tag> - A list of scope + tag pairs to associate with this port.
- logical
Router stringId - Identifier for logical Tier0 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 Tier0Id - ID of the logical router link port.
- Logical
Router Link Port On Tier0Tag[] - A list of scope + tag pairs to associate with this port.
- logical_
router_ strid - Identifier for logical Tier0 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_ tier0_ id - ID of the logical router link port.
- Sequence[Logical
Router Link Port On Tier0Tag Args] - A list of scope + tag pairs to associate with this port.
- logical
Router StringId - Identifier for logical Tier0 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 Tier0Id - 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 LogicalRouterLinkPortOnTier0 resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Linked
Logical stringRouter Port Id - Identifier for port on logical router to connect to
- 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.
- Linked
Logical stringRouter Port Id - Identifier for port on logical router to connect to
- 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.
- linked
Logical StringRouter Port Id - Identifier for port on logical router to connect to
- 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.
- linked
Logical stringRouter Port Id - Identifier for port on logical router to connect to
- 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.
- linked_
logical_ strrouter_ port_ id - Identifier for port on logical router to connect to
- 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.
- linked
Logical StringRouter Port Id - Identifier for port on logical router to connect to
- 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 LogicalRouterLinkPortOnTier0 Resource
Get an existing LogicalRouterLinkPortOnTier0 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?: LogicalRouterLinkPortOnTier0State, opts?: CustomResourceOptions): LogicalRouterLinkPortOnTier0
@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_tier0_id: Optional[str] = None,
revision: Optional[float] = None,
tags: Optional[Sequence[LogicalRouterLinkPortOnTier0TagArgs]] = None) -> LogicalRouterLinkPortOnTier0
func GetLogicalRouterLinkPortOnTier0(ctx *Context, name string, id IDInput, state *LogicalRouterLinkPortOnTier0State, opts ...ResourceOption) (*LogicalRouterLinkPortOnTier0, error)
public static LogicalRouterLinkPortOnTier0 Get(string name, Input<string> id, LogicalRouterLinkPortOnTier0State? state, CustomResourceOptions? opts = null)
public static LogicalRouterLinkPortOnTier0 get(String name, Output<String> id, LogicalRouterLinkPortOnTier0State state, CustomResourceOptions options)
resources: _: type: nsxt:LogicalRouterLinkPortOnTier0 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 Tier0 router on which this port is created.
- Logical
Router stringLink Port On Tier0Id - 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 Tier0Tag> - 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 Tier0 router on which this port is created.
- Logical
Router stringLink Port On Tier0Id - 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 Tier0Tag 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 Tier0 router on which this port is created.
- logical
Router StringLink Port On Tier0Id - 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 Tier0Tag> - 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 Tier0 router on which this port is created.
- logical
Router stringLink Port On Tier0Id - 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 Tier0Tag[] - 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 Tier0 router on which this port is created.
- logical_
router_ strlink_ port_ on_ tier0_ 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 Tier0Tag 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 Tier0 router on which this port is created.
- logical
Router StringLink Port On Tier0Id - 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
LogicalRouterLinkPortOnTier0Tag, LogicalRouterLinkPortOnTier0TagArgs
Package Details
- Repository
- nsxt vmware/terraform-provider-nsxt
- License
- Notes
- This Pulumi package is based on the
nsxt
Terraform Provider.