NSX-T Data Center REST API
ALBHTTPResponseRule (type)
{
"additionalProperties": false,
"description": "Advanced load balancer HTTPResponseRule object",
"id": "ALBHTTPResponseRule",
"module_id": "PolicyAdvancedLoadBalancer",
"properties": {
"all_headers": {
"description": "Log all HTTP headers upon rule match.",
"required": false,
"title": "All headers",
"type": "boolean"
},
"enable": {
"default": true,
"description": "Enable or disable the rule. Default value when not specified in API or module is interpreted by ALB Controller as true.",
"required": true,
"title": "Enable",
"type": "boolean"
},
"hdr_action": {
"description": "HTTP header rewrite action.",
"items": {
"$ref": "ALBHTTPHdrAction
},
"required": false,
"title": "Hdr action",
"type": "array"
},
"index": {
"description": "Index of the rule.",
"required": true,
"title": "Index",
"type": "integer"
},
"loc_hdr_action": {
"$ref": "ALBHTTPRewriteLocHdrAction,
"description": "Location header rewrite action.",
"required": false,
"title": "Loc hdr action"
},
"log": {
"description": "Log HTTP request upon rule match.",
"required": false,
"title": "Log",
"type": "boolean"
},
"match": {
"$ref": "ALBResponseMatchTarget,
"description": "Add match criteria to the rule.",
"required": false,
"title": "Match"
},
"name": {
"description": "Name of the rule.",
"required": true,
"title": "Name",
"type": "string"
}
},
"title": "HTTPResponseRule",
"type": "object"
}