NSX-T Data Center REST API
ALBHTTPSecurityAction (type)
{
"additionalProperties": false,
"description": "Advanced load balancer HTTPSecurityAction object",
"id": "ALBHTTPSecurityAction",
"module_id": "PolicyAdvancedLoadBalancer",
"properties": {
"action": {
"$ref": "ALBHTTPSecurityActionType,
"description": "Type of the security action to perform. Enum options - HTTP_SECURITY_ACTION_CLOSE_CONN, HTTP_SECURITY_ACTION_SEND_RESPONSE, HTTP_SECURITY_ACTION_ALLOW, HTTP_SECURITY_ACTION_REDIRECT_TO_HTTPS, HTTP_SECURITY_ACTION_RATE_LIMIT, HTTP_SECURITY_ACTION_REQUEST_CHECK_ICAP. Allowed in Basic(Allowed values- HTTP_SECURITY_ACTION_CLOSE_CONN,HTTP_SECURITY_ACTION_SEND_RESPONSE,HTTP_SECURITY_ACTION_REDIRECT_TO_HTTPS) edition, Essentials(Allowed values- HTTP_SECURITY_ACTION_CLOSE_CONN,HTTP_SECURITY_ACTION_SEND_RESPONSE,HTTP_SECURITY_ACTION_REDIRECT_TO_HTTPS) edition, Enterprise edition.",
"required": true,
"title": "Action"
},
"file": {
"$ref": "ALBHTTPLocalFile,
"description": "File to be used for generating HTTP local response.",
"required": false,
"title": "File"
},
"https_port": {
"description": "Secure SSL/TLS port to redirect the HTTP request to. Allowed values are 1-65535.",
"maximum": 65535,
"minimum": 1,
"required": false,
"title": "Https port",
"type": "integer"
},
"rate_profile": {
"$ref": "ALBHTTPSecurityActionRateProfile,
"description": "Rate limiting configuration for this action. Allowed in Basic edition, Essentials edition, Enterprise edition.",
"required": false,
"title": "Rate profile"
},
"status_code": {
"$ref": "ALBHTTPLocalResponseStatusCode,
"description": "HTTP status code to use for local response. Enum options - HTTP_LOCAL_RESPONSE_STATUS_CODE_200, HTTP_LOCAL_RESPONSE_STATUS_CODE_204, HTTP_LOCAL_RESPONSE_STATUS_CODE_403, HTTP_LOCAL_RESPONSE_STATUS_CODE_404, HTTP_LOCAL_RESPONSE_STATUS_CODE_429, HTTP_LOCAL_RESPONSE_STATUS_CODE_501.",
"required": false,
"title": "Status code"
}
},
"title": "HTTPSecurityAction",
"type": "object"
}