1. Packages
  2. Nsxt Provider
  3. API Docs
  4. LogicalRouterLinkPortOnTier0
nsxt 3.8.1 published on Wednesday, Apr 30, 2025 by vmware

nsxt.LogicalRouterLinkPortOnTier0

Explore with Pulumi AI

nsxt logo
nsxt 3.8.1 published on Wednesday, Apr 30, 2025 by vmware

    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:

    LogicalRouterId string
    Identifier for logical Tier0 router on which this port is created.
    Description string
    Description of the resource.
    DisplayName string
    Display name, defaults to ID if not set.
    LogicalRouterLinkPortOnTier0Id string
    ID of the logical router link port.
    Tags List<LogicalRouterLinkPortOnTier0Tag>
    A list of scope + tag pairs to associate with this port.
    LogicalRouterId string
    Identifier for logical Tier0 router on which this port is created.
    Description string
    Description of the resource.
    DisplayName string
    Display name, defaults to ID if not set.
    LogicalRouterLinkPortOnTier0Id string
    ID of the logical router link port.
    Tags []LogicalRouterLinkPortOnTier0TagArgs
    A list of scope + tag pairs to associate with this port.
    logicalRouterId String
    Identifier for logical Tier0 router on which this port is created.
    description String
    Description of the resource.
    displayName String
    Display name, defaults to ID if not set.
    logicalRouterLinkPortOnTier0Id String
    ID of the logical router link port.
    tags List<LogicalRouterLinkPortOnTier0Tag>
    A list of scope + tag pairs to associate with this port.
    logicalRouterId string
    Identifier for logical Tier0 router on which this port is created.
    description string
    Description of the resource.
    displayName string
    Display name, defaults to ID if not set.
    logicalRouterLinkPortOnTier0Id string
    ID of the logical router link port.
    tags LogicalRouterLinkPortOnTier0Tag[]
    A list of scope + tag pairs to associate with this port.
    logical_router_id str
    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_link_port_on_tier0_id str
    ID of the logical router link port.
    tags Sequence[LogicalRouterLinkPortOnTier0TagArgs]
    A list of scope + tag pairs to associate with this port.
    logicalRouterId String
    Identifier for logical Tier0 router on which this port is created.
    description String
    Description of the resource.
    displayName String
    Display name, defaults to ID if not set.
    logicalRouterLinkPortOnTier0Id String
    ID of the logical router link port.
    tags 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.
    LinkedLogicalRouterPortId string
    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.
    LinkedLogicalRouterPortId string
    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.
    linkedLogicalRouterPortId String
    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.
    linkedLogicalRouterPortId string
    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_router_port_id str
    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.
    linkedLogicalRouterPortId String
    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.
    The following state arguments are supported:
    Description string
    Description of the resource.
    DisplayName string
    Display name, defaults to ID if not set.
    LinkedLogicalRouterPortId string
    Identifier for port on logical router to connect to
    LogicalRouterId string
    Identifier for logical Tier0 router on which this port is created.
    LogicalRouterLinkPortOnTier0Id string
    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.
    Tags List<LogicalRouterLinkPortOnTier0Tag>
    A list of scope + tag pairs to associate with this port.
    Description string
    Description of the resource.
    DisplayName string
    Display name, defaults to ID if not set.
    LinkedLogicalRouterPortId string
    Identifier for port on logical router to connect to
    LogicalRouterId string
    Identifier for logical Tier0 router on which this port is created.
    LogicalRouterLinkPortOnTier0Id string
    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.
    Tags []LogicalRouterLinkPortOnTier0TagArgs
    A list of scope + tag pairs to associate with this port.
    description String
    Description of the resource.
    displayName String
    Display name, defaults to ID if not set.
    linkedLogicalRouterPortId String
    Identifier for port on logical router to connect to
    logicalRouterId String
    Identifier for logical Tier0 router on which this port is created.
    logicalRouterLinkPortOnTier0Id String
    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.
    tags List<LogicalRouterLinkPortOnTier0Tag>
    A list of scope + tag pairs to associate with this port.
    description string
    Description of the resource.
    displayName string
    Display name, defaults to ID if not set.
    linkedLogicalRouterPortId string
    Identifier for port on logical router to connect to
    logicalRouterId string
    Identifier for logical Tier0 router on which this port is created.
    logicalRouterLinkPortOnTier0Id string
    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.
    tags LogicalRouterLinkPortOnTier0Tag[]
    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_router_port_id str
    Identifier for port on logical router to connect to
    logical_router_id str
    Identifier for logical Tier0 router on which this port is created.
    logical_router_link_port_on_tier0_id str
    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.
    tags Sequence[LogicalRouterLinkPortOnTier0TagArgs]
    A list of scope + tag pairs to associate with this port.
    description String
    Description of the resource.
    displayName String
    Display name, defaults to ID if not set.
    linkedLogicalRouterPortId String
    Identifier for port on logical router to connect to
    logicalRouterId String
    Identifier for logical Tier0 router on which this port is created.
    logicalRouterLinkPortOnTier0Id String
    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.
    tags List<Property Map>
    A list of scope + tag pairs to associate with this port.

    Supporting Types

    LogicalRouterLinkPortOnTier0Tag, LogicalRouterLinkPortOnTier0TagArgs

    Scope string
    Tag string
    A list of scope + tag pairs to associate with this port.
    Scope string
    Tag string
    A list of scope + tag pairs to associate with this port.
    scope String
    tag String
    A list of scope + tag pairs to associate with this port.
    scope string
    tag string
    A list of scope + tag pairs to associate with this port.
    scope str
    tag str
    A list of scope + tag pairs to associate with this port.
    scope String
    tag String
    A list of scope + tag pairs to associate with this port.

    Package Details

    Repository
    nsxt vmware/terraform-provider-nsxt
    License
    Notes
    This Pulumi package is based on the nsxt Terraform Provider.
    nsxt logo
    nsxt 3.8.1 published on Wednesday, Apr 30, 2025 by vmware