NSX-T Data Center 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": "LoadBalancer",
  "polymorphic-type-descriptor": {
    "type-identifier": "LbHttpRejectAction"
  },
  "properties": {
    "reply_message": {
      "required": false,
      "title": "Response message",
      "type": "string"
    },
    "reply_status": {
      "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"
}