ALBHTTPSwitchingAction (schema)

HTTPSwitchingAction

Advanced load balancer HTTPSwitchingAction object
Name Description Type Notes
action Action

Content switching action type.
Enum options - HTTP_SWITCHING_SELECT_POOL,
HTTP_SWITCHING_SELECT_LOCAL,
HTTP_SWITCHING_SELECT_POOLGROUP.
ALBHTTPSwitchingActionType Required
file File

File from which to serve local response to the request.
ALBHTTPLocalFile
pool_group_path Pool group path

path of the pool group to serve the request.
It is a reference to an object of type PoolGroup.
string
pool_path Pool path

path of the pool of servers to serve the request.
It is a reference to an object of type Pool.
string
server Server

Specific pool server to select.
ALBPoolServer
status_code Status code

HTTP status code to use when serving 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.
ALBHTTPLocalResponseStatusCode