EdgeVirtualServiceHttpRateLimitAction

EdgeVirtualServiceHttpRateLimitAction
EdgeVirtualServiceHttpRateLimitAction

Defines the action to apply rate limit on incoming requests. It consists of rate limiting properties and one of the actions to execute upon reaching rate limit. If not actions are provided, rate limiting will only be reported.

JSON Example
{
    "count": 0,
    "period": 0,
    "closeConnectionAction": "string",
    "redirectAction": {
        "statusCode": 0
    },
    "localResponseAction": {
        "statusCode": 0,
        "contentType": "string",
        "content": "string"
    }
}
integer As int32 As int32
count
Required

Maximum number of connections, requests or packets permitted each period. Allowed values are 1-1000000000.

integer As int32 As int32
period
Required

Time value in seconds to enforce rate count. Allowed values are 1-1000000000. Unit is Second.

string As ^(?!\s+$).+
closeConnectionAction
Optional

Action to close the incoming connection. Only allowed value is CLOSE. It cannot be configured in combination with other actions.

redirectAction
Optional

redirectAction

localResponseAction
Optional

localResponseAction

Availability
Added in 38.0