NSX-T Data Center REST API

LbTcpHeaderCondition (type) (Deprecated)

{
  "additionalProperties": false,
  "deprecated": true,
  "description": "This condition is used to match TCP header fields of HTTP messages. Currently, only the TCP source port is supported. Ports can be expressed as a single port number like 80, or a port range like 1024-1030.",
  "extends": {
    "$ref": "LbRuleCondition"
  },
  "id": "LbTcpHeaderCondition",
  "module_id": "LoadBalancer",
  "polymorphic-type-descriptor": {
    "type-identifier": "LbTcpHeaderCondition"
  },
  "properties": {
    "inverse": {
      "default": false,
      "required": false,
      "title": "A flag to indicate whether reverse the match result of this condition",
      "type": "boolean"
    },
    "source_port": {
      "$ref": "PortElement",
      "required": true,
      "title": "TCP source port of HTTP message"
    },
    "type": {
      "$ref": "LbRuleConditionType",
      "required": true,
      "title": "Type of load balancer rule condition"
    }
  },
  "title": "Condition to match TCP header fields",
  "type": "object"
}