NSX-T Data Center REST API
ALBHTTPRequestRule (type)
{
"additionalProperties": false,
"description": "Advanced load balancer HTTPRequestRule object",
"id": "ALBHTTPRequestRule",
"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"
},
"log": {
"description": "Log HTTP request upon rule match.",
"required": false,
"title": "Log",
"type": "boolean"
},
"match": {
"$ref": "ALBMatchTarget,
"description": "Add match criteria to the rule.",
"required": false,
"title": "Match"
},
"name": {
"description": "Name of the rule.",
"required": true,
"title": "Name",
"type": "string"
},
"redirect_action": {
"$ref": "ALBHTTPRedirectAction,
"description": "HTTP redirect action.",
"required": false,
"title": "Redirect action"
},
"rewrite_url_action": {
"$ref": "ALBHTTPRewriteURLAction,
"description": "HTTP request URL rewrite action.",
"required": false,
"title": "Rewrite url action"
},
"switching_action": {
"$ref": "ALBHTTPSwitchingAction,
"description": "Content switching action.",
"required": false,
"title": "Switching action"
}
},
"title": "HTTPRequestRule",
"type": "object"
}