FailAction

FailAction
FailAction
JSON Example
{
    "local_rsp": {
        "file": {
            "content_type": "string",
            "file_content": "string",
            "file_length": 0
        },
        "status_code": "string"
    },
    "redirect": {
        "host": "string",
        "path": "string",
        "protocol": "string",
        "query": "string",
        "status_code": "string"
    },
    "type": "string"
}
local_rsp
Optional

local_rsp

redirect
Optional

redirect

string
type
Required

Enables a response to client when pool experiences a failure. By default TCP connection is closed. Enum options - FAIL_ACTION_HTTP_REDIRECT, FAIL_ACTION_HTTP_LOCAL_RSP, FAIL_ACTION_CLOSE_CONN, FAIL_ACTION_BACKUP_POOL. Allowed in Enterprise edition with any value, Essentials edition(Allowed values- FAIL_ACTION_CLOSE_CONN), Basic edition(Allowed values- FAIL_ACTION_CLOSE_CONN,FAIL_ACTION_HTTP_REDIRECT), Enterprise with Cloud Services edition.