LivenessCheck class
Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances.
Constructors
-
LivenessCheck({Input<
String> ? checkInterval, Input<int> ? failureThreshold, Input<String> ? host, Input<String> ? initialDelay, Input<String> ? path, Input<int> ? successThreshold, Input<String> ? timeout}) -
Creates a new LivenessCheck.
checkIntervalInterval between health checks.failureThresholdNumber of consecutive failed checks required before considering the VM unhealthy.hostHost header to send when performing a HTTP Liveness check. Example: "myapp.appspot.com"initialDelayThe initial delay before starting to execute the checks.pathThe request path.successThresholdNumber of consecutive successful checks required before considering the VM healthy.timeoutTime before the check is considered failed.const -
LivenessCheck.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
checkInterval
→ Input<
String> ? -
Interval between health checks.
final
-
failureThreshold
→ Input<
int> ? -
Number of consecutive failed checks required before considering the VM unhealthy.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
host
→ Input<
String> ? -
Host header to send when performing a HTTP Liveness check. Example: "myapp.appspot.com"
final
-
initialDelay
→ Input<
String> ? -
The initial delay before starting to execute the checks.
final
-
path
→ Input<
String> ? -
The request path.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
successThreshold
→ Input<
int> ? -
Number of consecutive successful checks required before considering the VM healthy.
final
-
timeout
→ Input<
String> ? -
Time before the check is considered failed.
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