LivenessCheck class

Health checking configuration for VM instances.

Unhealthy instances are killed and replaced with new instances.

Constructors

LivenessCheck({String? checkInterval, int? failureThreshold, String? host, String? initialDelay, String? path, int? successThreshold, String? timeout})
LivenessCheck.fromJson(Map json_)

Properties

checkInterval String?
Interval between health checks.
getter/setter pair
failureThreshold int?
Number of consecutive failed checks required before considering the VM unhealthy.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
host String?
Host header to send when performing a HTTP Liveness check.
getter/setter pair
initialDelay String?
The initial delay before starting to execute the checks.
getter/setter pair
path String?
The request path.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
successThreshold int?
Number of consecutive successful checks required before considering the VM healthy.
getter/setter pair
timeout String?
Time before the check is considered failed.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited