NSX-T Data Center REST API

LBHttpRequestCookieCondition (type)

{
  "additionalProperties": false,
  "description": "This condition is used to match HTTP request messages by cookie which is a specific type of HTTP header. The match_type and case_sensitive define how to compare cookie value.",
  "extends": {
    "$ref": "LBRuleCondition"
  },
  "id": "LBHttpRequestCookieCondition",
  "module_id": "PolicyLoadBalancer",
  "polymorphic-type-descriptor": {
    "type-identifier": "LBHttpRequestCookieCondition"
  },
  "properties": {
    "case_sensitive": {
      "default": true,
      "description": "If true, case is significant when comparing cookie value.",
      "required": false,
      "title": "A case sensitive flag for cookie value comparing",
      "type": "boolean"
    },
    "cookie_name": {
      "description": "Cookie name.",
      "required": true,
      "title": "Name of cookie",
      "type": "string"
    },
    "cookie_value": {
      "description": "Cookie value.",
      "required": true,
      "title": "Value of cookie",
      "type": "string"
    },
    "inverse": {
      "default": false,
      "required": false,
      "title": "A flag to indicate whether reverse the match result of this condition",
      "type": "boolean"
    },
    "match_type": {
      "$ref": "LbRuleMatchType",
      "default": "REGEX",
      "description": "Match type of cookie value.",
      "required": false,
      "title": "Match type of cookie value"
    },
    "type": {
      "$ref": "LBRuleConditionType",
      "required": true,
      "title": "Type of load balancer rule condition"
    }
  },
  "title": "Condition to match HTTP request cookie",
  "type": "object"
}