NSX Autonomous Edge REST API

LogicalRouterPort (type)

{
  "additionalProperties": false, 
  "extends": {
    "$ref": "LogicalPort
  }, 
  "id": "LogicalRouterPort", 
  "polymorphic-type-descriptor": {
    "type-identifier": "LogicalRouterPort"
  }, 
  "properties": {
    "_create_time": {
      "$ref": "EpochMsTimestamp, 
      "can_sort": true, 
      "description": "Timestamp of resource creation", 
      "readonly": true
    }, 
    "_create_user": {
      "description": "ID of the user who created this resource", 
      "readonly": true, 
      "type": "string"
    }, 
    "_last_modified_time": {
      "$ref": "EpochMsTimestamp, 
      "can_sort": true, 
      "description": "Timestamp of last modification", 
      "readonly": true
    }, 
    "_last_modified_user": {
      "description": "ID of the user who last modified this resource", 
      "readonly": true, 
      "type": "string"
    }, 
    "_links": {
      "description": "The server will populate this field when returing the resource. Ignored on PUT and POST.", 
      "items": {
        "$ref": "ResourceLink
      }, 
      "readonly": true, 
      "title": "References related to this resource", 
      "type": "array"
    }, 
    "_protection": {
      "description": "Protection status is one of the following: PROTECTED - the client who retrieved the entity is not allowed             to modify it. NOT_PROTECTED - the client who retrieved the entity is allowed                 to modify it REQUIRE_OVERRIDE - the client who retrieved the entity is a super                    user and can modify it, but only when providing                    the request header X-Allow-Overwrite=true. UNKNOWN - the _protection field could not be determined for this           entity.", 
      "readonly": true, 
      "title": "Indicates protection status of this resource", 
      "type": "string"
    }, 
    "_revision": {
      "description": "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.", 
      "readonly": true, 
      "title": "Generation of this resource config", 
      "type": "integer"
    }, 
    "_schema": {
      "display": {
        "hidden": true
      }, 
      "readonly": true, 
      "title": "Location of schema for this resource", 
      "type": "string"
    }, 
    "_self": {
      "$ref": "SelfResourceLink, 
      "readonly": true
    }, 
    "_system_owned": {
      "description": "Indicates system owned resource", 
      "readonly": true, 
      "type": "boolean"
    }, 
    "actions": {
      "items": {
        "$ref": "ActionDescriptor
      }, 
      "readonly": true, 
      "title": "Actions applicable to the resource at this time", 
      "type": "array"
    }, 
    "description": {
      "can_sort": true, 
      "maxLength": 1024, 
      "title": "Description of this resource", 
      "type": "string"
    }, 
    "dhcp_server_id": {
      "description": "Specify DHCP server for L2 domain to use. If not given, there is no DHCP service in the L2 domain.", 
      "required": false, 
      "title": "DHCP server ID", 
      "type": "string"
    }, 
    "display_name": {
      "can_sort": true, 
      "description": "Defaults to ID if not set", 
      "maxLength": 255, 
      "title": "Identifier to use when displaying entity in logs or GUI", 
      "type": "string"
    }, 
    "exit_interface": {
      "$ref": "ExitEdgeInterface, 
      "description": "Exit interface from edge", 
      "readonly": false, 
      "required": true, 
      "title": "Exit interface from edge"
    }, 
    "id": {
      "can_sort": true, 
      "readonly": true, 
      "title": "Unique identifier of this resource", 
      "type": "string"
    }, 
    "l2_extensions": {
      "description": "Configuration for extending L2 domain via L2VPN.", 
      "items": {
        "$ref": "L2Extension
      }, 
      "minItems": 1, 
      "required": false, 
      "title": "L2 extensions", 
      "type": "array"
    }, 
    "mac_address": {
      "description": "MAC address", 
      "readonly": true, 
      "required": false, 
      "title": "MAC address", 
      "type": "string"
    }, 
    "mtu": {
      "default": 1500, 
      "description": "Maximum transmission unit specifies the size of the largest packet that a network protocol can transmit.", 
      "maximum": 9000, 
      "minimum": 64, 
      "title": "Maximum transmission unit (MTU)", 
      "type": "integer"
    }, 
    "notify_mpa": {
      "default": false, 
      "description": "send notification to MPA about this config change (applicable on edge node)", 
      "display": {
        "hidden": true
      }, 
      "readonly": false, 
      "type": "boolean"
    }, 
    "resource_type": {
      "$ref": "LogicalPortResourceType, 
      "required": true
    }, 
    "subnets": {
      "items": {
        "$ref": "IPSubnet
      }, 
      "maxItems": 1, 
      "required": false, 
      "title": "Logical router port subnets", 
      "type": "array"
    }, 
    "tags": {
      "items": {
        "$ref": "Tag
      }, 
      "maxItems": 30, 
      "title": "Opaque identifiers meaningful to the API user", 
      "type": "array"
    }, 
    "urpf_mode": {
      "$ref": "UrpfMode, 
      "default": "STRICT", 
      "required": false, 
      "title": "Unicast Reverse Path Forwarding mode"
    }, 
    "vlan_id": {
      "maximum": 4091, 
      "minimum": 0, 
      "required": true, 
      "title": "VLAN for the Logical Switch", 
      "type": "integer"
    }
  }, 
  "type": "object"
}