NSX-T Data Center Global Manager REST API
LBHttpRejectAction (type) (Deprecated)
{
"additionalProperties": false,
"deprecated": true,
"description": "This action is used to reject HTTP request messages. The specified reply_status value is used as the status code for the corresponding HTTP response message which is sent back to client (Normally a browser) indicating the reason it was rejected. Reference official HTTP status code list for your specific HTTP version to set the reply_status properly. LBHttpRejectAction does not support variables.",
"extends": {
"$ref": "LBRuleAction
},
"id": "LBHttpRejectAction",
"module_id": "PolicyLoadBalancer",
"polymorphic-type-descriptor": {
"type-identifier": "LBHttpRejectAction"
},
"properties": {
"reply_message": {
"description": "Response message.",
"required": false,
"title": "Response message",
"type": "string"
},
"reply_status": {
"description": "HTTP response status code.",
"required": true,
"title": "HTTP response status code",
"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 reject HTTP request messages",
"type": "object"
}