NSX-T Data Center REST API

LbIpHeaderCondition (type) (Deprecated)

{
  "additionalProperties": false,
  "deprecated": true,
  "description": "This condition is used to match IP header fields of HTTP messages. Either source_address or group_id should be specified.",
  "extends": {
    "$ref": "LbRuleCondition"
  },
  "id": "LbIpHeaderCondition",
  "module_id": "LoadBalancer",
  "polymorphic-type-descriptor": {
    "type-identifier": "LbIpHeaderCondition"
  },
  "properties": {
    "group_id": {
      "description": "Source IP address of HTTP message should match IP addresses which are configured in Group in order to perform actions.",
      "required": false,
      "title": "Grouping object identifier",
      "type": "string"
    },
    "inverse": {
      "default": false,
      "required": false,
      "title": "A flag to indicate whether reverse the match result of this condition",
      "type": "boolean"
    },
    "source_address": {
      "$ref": "IPElement",
      "description": "Source IP address of HTTP message. IP Address can be expressed as a single IP address like 10.1.1.1, or a range of IP addresses like 10.1.1.101-10.1.1.160. Both IPv4 and IPv6 addresses are supported.",
      "required": false,
      "title": "Source IP address of HTTP message"
    },
    "type": {
      "$ref": "LbRuleConditionType",
      "required": true,
      "title": "Type of load balancer rule condition"
    }
  },
  "title": "Condition to match IP header fields",
  "type": "object"
}