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

nsxt.LogicalRouterLinkPortOnTier1

Explore with Pulumi AI

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

    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:

    LinkedLogicalRouterPortId string
    Identifier for port on logical router to connect to
    LogicalRouterId string
    Identifier for logical tier-1 router on which this port is created.
    Description string
    Description of the resource.
    DisplayName string
    Display name, defaults to ID if not set.
    LogicalRouterLinkPortOnTier1Id string
    ID of the logical router link port.
    Tags List<LogicalRouterLinkPortOnTier1Tag>
    A list of scope + tag pairs to associate with this port.
    LinkedLogicalRouterPortId string
    Identifier for port on logical router to connect to
    LogicalRouterId string
    Identifier for logical tier-1 router on which this port is created.
    Description string
    Description of the resource.
    DisplayName string
    Display name, defaults to ID if not set.
    LogicalRouterLinkPortOnTier1Id string
    ID of the logical router link port.
    Tags []LogicalRouterLinkPortOnTier1TagArgs
    A list of scope + tag pairs to associate with this port.
    linkedLogicalRouterPortId String
    Identifier for port on logical router to connect to
    logicalRouterId String
    Identifier for logical tier-1 router on which this port is created.
    description String
    Description of the resource.
    displayName String
    Display name, defaults to ID if not set.
    logicalRouterLinkPortOnTier1Id String
    ID of the logical router link port.
    tags List<LogicalRouterLinkPortOnTier1Tag>
    A list of scope + tag pairs to associate with this port.
    linkedLogicalRouterPortId string
    Identifier for port on logical router to connect to
    logicalRouterId string
    Identifier for logical tier-1 router on which this port is created.
    description string
    Description of the resource.
    displayName string
    Display name, defaults to ID if not set.
    logicalRouterLinkPortOnTier1Id string
    ID of the logical router link port.
    tags LogicalRouterLinkPortOnTier1Tag[]
    A list of scope + tag pairs to associate with this port.
    linked_logical_router_port_id str
    Identifier for port on logical router to connect to
    logical_router_id str
    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_link_port_on_tier1_id str
    ID of the logical router link port.
    tags Sequence[LogicalRouterLinkPortOnTier1TagArgs]
    A list of scope + tag pairs to associate with this port.
    linkedLogicalRouterPortId String
    Identifier for port on logical router to connect to
    logicalRouterId String
    Identifier for logical tier-1 router on which this port is created.
    description String
    Description of the resource.
    displayName String
    Display name, defaults to ID if not set.
    logicalRouterLinkPortOnTier1Id 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 LogicalRouterLinkPortOnTier1 resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    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.
    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.
    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.
    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.
    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.
    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 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.
    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 tier-1 router on which this port is created.
    LogicalRouterLinkPortOnTier1Id 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<LogicalRouterLinkPortOnTier1Tag>
    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 tier-1 router on which this port is created.
    LogicalRouterLinkPortOnTier1Id 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 []LogicalRouterLinkPortOnTier1TagArgs
    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 tier-1 router on which this port is created.
    logicalRouterLinkPortOnTier1Id 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<LogicalRouterLinkPortOnTier1Tag>
    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 tier-1 router on which this port is created.
    logicalRouterLinkPortOnTier1Id 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 LogicalRouterLinkPortOnTier1Tag[]
    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 tier-1 router on which this port is created.
    logical_router_link_port_on_tier1_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[LogicalRouterLinkPortOnTier1TagArgs]
    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 tier-1 router on which this port is created.
    logicalRouterLinkPortOnTier1Id 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

    LogicalRouterLinkPortOnTier1Tag, LogicalRouterLinkPortOnTier1TagArgs

    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