NSX-T Data Center REST API
ALBRateLimiterAction (type)
{
"additionalProperties": false,
"description": "Advanced load balancer RateLimiterAction object",
"id": "ALBRateLimiterAction",
"module_id": "PolicyAdvancedLoadBalancer",
"properties": {
"file": {
"$ref": "ALBHTTPLocalFile,
"description": "File to be used for HTTP Local response rate limit action.",
"required": false,
"title": "File"
},
"redirect": {
"$ref": "ALBHTTPRedirectAction,
"description": "Parameters for HTTP Redirect rate limit action.",
"required": false,
"title": "Redirect"
},
"status_code": {
"$ref": "ALBHTTPLocalResponseStatusCode,
"default": "HTTP_LOCAL_RESPONSE_STATUS_CODE_429",
"description": "HTTP status code for Local Response rate limit action. 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. Default value when not specified in API or module is interpreted by ALB Controller as HTTP_LOCAL_RESPONSE_STATUS_CODE_429.",
"required": false,
"title": "Status code"
},
"type": {
"$ref": "ALBRateLimiterActionType,
"default": "RL_ACTION_NONE",
"description": "Type of action to be enforced upon hitting the rate limit. Enum options - RL_ACTION_NONE, RL_ACTION_DROP_CONN, RL_ACTION_RESET_CONN, RL_ACTION_CLOSE_CONN, RL_ACTION_LOCAL_RSP, RL_ACTION_REDIRECT. Default value when not specified in API or module is interpreted by ALB Controller as RL_ACTION_NONE.",
"required": false,
"title": "Type"
}
},
"title": "RateLimiterAction",
"type": "object"
}