LivenessCheck class

Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances.


LivenessCheck.fromJson(Map _json)


checkInterval String
Interval between health checks.
read / write
failureThreshold int
Number of consecutive failed checks required before considering the VM unhealthy.
read / write
host String
Host header to send when performing a HTTP Liveness check. Example: ""
read / write
initialDelay String
The initial delay before starting to execute the checks.
read / write
path String
The request path.
read / write
successThreshold int
Number of consecutive successful checks required before considering the VM healthy.
read / write
timeout String
Time before the check is considered failed.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited


toJson() Map<String, Object>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toString() String
Returns a string representation of this object.


operator ==(dynamic other) bool
The equality operator. [...]