Class HttpHealthCheck
java.lang.Object
org.jclouds.googlecomputeengine.domain.HttpHealthCheck
-
Method Summary
Modifier and TypeMethodDescriptionabstract Integer
How often (in seconds) to send a health check.static HttpHealthCheck
create
(String id, URI selfLink, Date creationTimestamp, String name, String description, String host, String requestPath, Integer port, Integer checkIntervalSec, Integer timeoutSec, Integer unhealthyThreshold, Integer healthyThreshold) abstract Date
abstract String
abstract Integer
An unhealthy VM will be marked healthy after this many consecutive successes.abstract String
host()
The value of the host header in the HTTP health check request.abstract String
id()
abstract String
name()
abstract Integer
port()
The TCP port number for the HTTP health check request.abstract String
abstract URI
selfLink()
abstract Integer
How long (in seconds) to wait before claiming failure.abstract Integer
A so-far healthy VM will be marked unhealthy after this many consecutive failures.
-
Method Details
-
id
-
selfLink
-
creationTimestamp
-
name
-
description
-
host
The value of the host header in the HTTP health check request. If left empty (default value), the public IP on behalf of which this health check is performed will be used. -
requestPath
-
port
The TCP port number for the HTTP health check request. -
checkIntervalSec
How often (in seconds) to send a health check. -
timeoutSec
How long (in seconds) to wait before claiming failure. -
unhealthyThreshold
A so-far healthy VM will be marked unhealthy after this many consecutive failures. -
healthyThreshold
An unhealthy VM will be marked healthy after this many consecutive successes. -
create
-