NSX-T Data Center Global Manager REST API

LBIpHeaderCondition (type)

{
  "additionalProperties": false,
  "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": "PolicyLoadBalancer",
  "polymorphic-type-descriptor": {
    "type-identifier": "LBIpHeaderCondition"
  },
  "properties": {
    "group_path": {
      "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 path",
      "type": "string",
      "x-vmw-cross-reference": [
        {
          "leftType": [
            "LBVirtualServer"
          ],
          "relationshipType": "LB_VIRTUAL_SERVER_GROUP_RELATIONSHIP",
          "rightType": [
            "Group"
          ]
        }
      ]
    },
    "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"
}