healthcheck


application/vnd.abiquo.healthcheck+json

Define how to know if a certain virtual machine is suitable to accept traffic from the {@link LoadBalancerDto}.

Name Type Description
name String Friendly name
path String Optional additional path information for performing the check, for example, 'webapp/index.html'
protocol String Connection type for performing the check. Valid *protocol* values based on plugin constraint *LOADBALANCER_HEALTHCHECK_PROTOCOLS_CSV*
providerId String Identifies the health check in the provider
intervalInMs long Time between checks
timeoutInMs long Time to wait for the result of the check. Must be less than interval
attempts int Number of consecutive health probe failures required before moving the instance to the isOutOfService state. Range: 1 - 10
port int Where open the connection during the check. Value range: 0 - 65535
statusRegex String Regular expression to match a healthy node in check response status, for example, ''^[234] [0-9] [0-9]$''
bodyRegex String Regular expression to match a healthy node in check response body

Used in Entity