NSX-T Data Center Global Manager 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": "PolicyLoadBalancer",
"polymorphic-type-descriptor": {
"type-identifier": "LBHttpResponseHeaderRewriteAction"
},
"properties": {
"header_name": {
"description": "Name of a header field of HTTP request message.",
"required": true,
"title": "Name of a header field of HTTP request message",
"type": "string"
},
"header_value": {
"description": "Value of header field",
"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"
}