github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/manager/logical_router_up_link_port.go (about)

     1  /* Copyright © 2017 VMware, Inc. All Rights Reserved.
     2     SPDX-License-Identifier: BSD-2-Clause
     3  
     4     Generated by: https://github.com/swagger-api/swagger-codegen.git */
     5  
     6  package manager
     7  
     8  import (
     9  	"github.com/vmware/go-vmware-nsxt/common"
    10  )
    11  
    12  type LogicalRouterUpLinkPort struct {
    13  
    14  	// The server will populate this field when returing the resource. Ignored on PUT and POST.
    15  	Links []common.ResourceLink `json:"_links,omitempty"`
    16  
    17  	Schema string `json:"_schema,omitempty"`
    18  
    19  	Self *common.SelfResourceLink `json:"_self,omitempty"`
    20  
    21  	// The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected.
    22  	Revision int64 `json:"_revision"`
    23  
    24  	// Timestamp of resource creation
    25  	CreateTime int64 `json:"_create_time,omitempty"`
    26  
    27  	// ID of the user who created this resource
    28  	CreateUser string `json:"_create_user,omitempty"`
    29  
    30  	// Timestamp of last modification
    31  	LastModifiedTime int64 `json:"_last_modified_time,omitempty"`
    32  
    33  	// ID of the user who last modified this resource
    34  	LastModifiedUser string `json:"_last_modified_user,omitempty"`
    35  
    36  	// Indicates system owned resource
    37  	SystemOwned bool `json:"_system_owned,omitempty"`
    38  
    39  	// Description of this resource
    40  	Description string `json:"description,omitempty"`
    41  
    42  	// Defaults to ID if not set
    43  	DisplayName string `json:"display_name,omitempty"`
    44  
    45  	// Unique identifier of this resource
    46  	Id string `json:"id,omitempty"`
    47  
    48  	// LogicalRouterUpLinkPort is allowed only on TIER0 logical router.   It is the north facing port of the logical router. LogicalRouterLinkPortOnTIER0 is allowed only on TIER0 logical router.   This is the port where the LogicalRouterLinkPortOnTIER1 of TIER1 logical router connects to. LogicalRouterLinkPortOnTIER1 is allowed only on TIER1 logical router.   This is the port using which the user connected to TIER1 logical router for upwards connectivity via TIER0 logical router.   Connect this port to the LogicalRouterLinkPortOnTIER0 of the TIER0 logical router. LogicalRouterDownLinkPort is for the connected subnets on the logical router. LogicalRouterLoopbackPort is a loopback port for logical router component   which is placed on chosen edge cluster member.
    49  	ResourceType string `json:"resource_type"`
    50  
    51  	// Opaque identifiers meaningful to the API user
    52  	Tags []common.Tag `json:"tags,omitempty"`
    53  
    54  	// Identifier for logical router on which this port is created
    55  	LogicalRouterId string `json:"logical_router_id"`
    56  
    57  	// MAC address
    58  	MacAddress string `json:"mac_address,omitempty"`
    59  
    60  	// Service Bindings
    61  	ServiceBindings []ServiceBinding `json:"service_bindings,omitempty"`
    62  
    63  	// Member index of the edge node on the cluster
    64  	EdgeClusterMemberIndex []int64 `json:"edge_cluster_member_index"`
    65  
    66  	// Reference to the logical switch port to connect to
    67  	LinkedLogicalSwitchPortId *common.ResourceReference `json:"linked_logical_switch_port_id,omitempty"`
    68  
    69  	// Logical router port subnets
    70  	Subnets []IpSubnet `json:"subnets"`
    71  
    72  	// Unicast Reverse Path Forwarding mode
    73  	UrpfMode string `json:"urpf_mode,omitempty"`
    74  }