HealthCheckResponse 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

HealthCheckResponse({required Input<String> checkInterval, required Input<bool> disableHealthCheck, required Input<int> healthyThreshold, required Input<String> host, required Input<int> restartThreshold, required Input<String> timeout, required Input<int> unhealthyThreshold})
Creates a new HealthCheckResponse. checkInterval Interval between health checks. disableHealthCheck Whether to explicitly disable health checks for this instance. healthyThreshold Number of consecutive successful health checks required before receiving traffic. host Host header to send when performing an HTTP health check. Example: "myapp.appspot.com" restartThreshold Number of consecutive failed health checks required before an instance is restarted. timeout Time before the health check is considered failed. unhealthyThreshold Number of consecutive failed health checks required before removing traffic.
const
HealthCheckResponse.fromMap(Map<String, dynamic> map)
factory

Properties

checkInterval → Input<String>
Interval between health checks.
final
disableHealthCheck → Input<bool>
Whether to explicitly disable health checks for this instance.
final
hashCode → int
The hash code for this object.
no setterinherited
healthyThreshold → Input<int>
Number of consecutive successful health checks required before receiving traffic.
final
host → Input<String>
Host header to send when performing an HTTP health check. Example: "myapp.appspot.com"
final
restartThreshold → Input<int>
Number of consecutive failed health checks required before an instance is restarted.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timeout → Input<String>
Time before the health check is considered failed.
final
unhealthyThreshold → Input<int>
Number of consecutive failed health checks required before removing traffic.
final

Methods

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

Operators

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