HealthCheck class

Health checking configuration for VM instances.

Unhealthy instances are killed and replaced with new instances. Only applicable for instances in App Engine flexible environment.

Constructors

HealthCheck({String? checkInterval, bool? disableHealthCheck, int? healthyThreshold, String? host, int? restartThreshold, String? timeout, int? unhealthyThreshold})
HealthCheck.fromJson(Map json_)

Properties

checkInterval String?
Interval between health checks.
getter/setter pair
disableHealthCheck bool?
Whether to explicitly disable health checks for this instance.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
healthyThreshold int?
Number of consecutive successful health checks required before receiving traffic.
getter/setter pair
host String?
Host header to send when performing an HTTP health check.
getter/setter pair
restartThreshold int?
Number of consecutive failed health checks required before an instance is restarted.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeout String?
Time before the health check is considered failed.
getter/setter pair
unhealthyThreshold int?
Number of consecutive failed health checks required before removing traffic.
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