NSX-T Data Center REST API

LbHttpResponseHeaderRewriteAction (type) (Deprecated)

{
  "additionalProperties": false,
  "deprecated": true,
  "description": "This action is used to rewrite header fields of HTTP response messages to specified new values at HTTP_RESPONSE_REWRITE phase. One action can be used to rewrite one header field. To rewrite multiple header fields, multiple actions must be defined. Captured variables and built-in variables can be used in the header_value field, header_name field does not support variables.",
  "extends": {
    "$ref": "LbRuleAction"
  },
  "id": "LbHttpResponseHeaderRewriteAction",
  "module_id": "LoadBalancer",
  "polymorphic-type-descriptor": {
    "type-identifier": "LbHttpResponseHeaderRewriteAction"
  },
  "properties": {
    "header_name": {
      "required": true,
      "title": "Name of a header field of HTTP request message",
      "type": "string"
    },
    "header_value": {
      "required": true,
      "title": "Value of header field",
      "type": "string"
    },
    "type": {
      "$ref": "LbRuleActionType",
      "description": "The property identifies the load balancer rule action type.",
      "required": true,
      "title": "Type of load balancer rule action"
    }
  },
  "title": "Action to rewrite HTTP response header fields",
  "type": "object"
}