NSX-T Data Center REST API

PortConnectionLogicalSwitch (type)

{
  "additionalProperties": false,
  "extends": {
    "$ref": "PortConnectionEntity"
  },
  "id": "PortConnectionLogicalSwitch",
  "module_id": "PortConnection",
  "properties": {
    "id": {
      "readonly": true,
      "required": true,
      "title": "Resource ID is mapped to this. (ID is Generated for Edge node groups, since resource will be null)",
      "type": "string"
    },
    "resource": {
      "$ref": "ManagedResource",
      "readonly": true,
      "required": false,
      "title": "Resource reference with details of the entity"
    },
    "router_ports": {
      "items": {
        "$ref": "LogicalPort"
      },
      "readonly": true,
      "title": "Logical Ports that are attached to a router",
      "type": "array"
    },
    "vm_ports": {
      "items": {
        "$ref": "LogicalPort"
      },
      "readonly": true,
      "required": true,
      "title": "Logical Ports that are attached to a VIF/VM",
      "type": "array"
    },
    "vm_ports_states": {
      "items": {
        "$ref": "LogicalPortState"
      },
      "readonly": true,
      "required": true,
      "title": "States of Logical Ports that are attached to a VIF/VM",
      "type": "array"
    },
    "vm_vnics": {
      "items": {
        "$ref": "VirtualNetworkInterface"
      },
      "readonly": true,
      "title": "Virutal Network Interfaces that are attached to the Logical Ports",
      "type": "array"
    }
  },
  "title": "Port Connection Logical Switch Entity",
  "type": "object"
}