NSX-T Data Center REST API

LbHttpRequestBodyCondition (type) (Deprecated)

{
  "additionalProperties": false,
  "deprecated": true,
  "description": "This condition is used to match the message body of an HTTP request. Typically, only HTTP POST, PATCH, or PUT requests have request body. The match_type field defines how body_value field is used to match the body of HTTP requests.",
  "extends": {
    "$ref": "LbRuleCondition"
  },
  "id": "LbHttpRequestBodyCondition",
  "module_id": "LoadBalancer",
  "polymorphic-type-descriptor": {
    "type-identifier": "LbHttpRequestBodyCondition"
  },
  "properties": {
    "body_value": {
      "required": true,
      "title": "HTTP request body",
      "type": "string"
    },
    "case_sensitive": {
      "default": true,
      "description": "If true, case is significant when comparing HTTP body value.",
      "required": false,
      "title": "A case sensitive flag for HTTP body comparing",
      "type": "boolean"
    },
    "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",
      "required": false,
      "title": "Match type of HTTP body"
    },
    "type": {
      "$ref": "LbRuleConditionType",
      "required": true,
      "title": "Type of load balancer rule condition"
    }
  },
  "title": "Condition to match content of HTTP request message body",
  "type": "object"
}