ReadinessCheck class
Readiness checking configuration for VM instances. Unhealthy instances are removed from traffic rotation.
Constructors
-
ReadinessCheck({Input<
String> ? appStartTimeout, Input<String> ? checkInterval, Input<int> ? failureThreshold, Input<String> ? host, Input<String> ? path, Input<int> ? successThreshold, Input<String> ? timeout}) -
Creates a new ReadinessCheck.
appStartTimeoutA maximum time limit on application initialization, measured from moment the application successfully replies to a healthcheck until it is ready to serve traffic.checkIntervalInterval between health checks.failureThresholdNumber of consecutive failed checks required before removing traffic.hostHost header to send when performing a HTTP Readiness check. Example: "myapp.appspot.com"pathThe request path.successThresholdNumber of consecutive successful checks required before receiving traffic.timeoutTime before the check is considered failed.const -
ReadinessCheck.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
appStartTimeout
→ Input<
String> ? -
A maximum time limit on application initialization, measured from moment the application successfully replies to a healthcheck until it is ready to serve traffic.
final
-
checkInterval
→ Input<
String> ? -
Interval between health checks.
final
-
failureThreshold
→ Input<
int> ? -
Number of consecutive failed checks required before removing traffic.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
host
→ Input<
String> ? -
Host header to send when performing a HTTP Readiness check. Example: "myapp.appspot.com"
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 receiving traffic.
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