NSX-T Data Center REST API

VirtualSwitchListRequestParameters (type)

{
  "additionalProperties": false,
  "extends": {
    "$ref": "ListRequestParameters"
  },
  "id": "VirtualSwitchListRequestParameters",
  "module_id": "InventoryCmObj",
  "properties": {
    "cm_local_id": {
      "required": false,
      "title": "Local Id of the virtual switch",
      "type": "string"
    },
    "cursor": {
      "readonly": false,
      "title": "Opaque cursor to be used for getting next page of records (supplied by current result page)",
      "type": "string"
    },
    "discovered_node_id": {
      "description": "All virtual switches connected to this discovered node.",
      "required": false,
      "title": "Discovered node ID",
      "type": "string"
    },
    "display_name": {
      "required": false,
      "title": "Display name of the virtual switch",
      "type": "string"
    },
    "external_id": {
      "required": false,
      "title": "External id of the virtual switch",
      "type": "string"
    },
    "included_fields": {
      "description": "Note - this parameter currently only works when used with the search APIs /policy/api/v1/search/query and /policy/api/v1/search/dsl. It is ignored for other list APIs.",
      "title": "Comma separated list of fields that should be included in query result",
      "type": "string"
    },
    "origin_id": {
      "required": false,
      "title": "ID of the compute manager",
      "type": "string"
    },
    "page_size": {
      "default": 1000,
      "maximum": 1000,
      "minimum": 0,
      "title": "Maximum number of results to return in this page (server may return fewer)",
      "type": "integer"
    },
    "sort_ascending": {
      "type": "boolean"
    },
    "sort_by": {
      "title": "Field by which records are sorted",
      "type": "string"
    },
    "uuid": {
      "required": false,
      "title": "UUID of the switch",
      "type": "string"
    }
  },
  "title": "Virtual switch list parameters",
  "type": "object"
}