Class LivenessCheck (1.9.4)

LivenessCheck(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances.


path str
The request path.
host str
Host header to send when performing a HTTP Liveness check. Example: "".
failure_threshold int
Number of consecutive failed checks required before considering the VM unhealthy.
success_threshold int
Number of consecutive successful checks required before considering the VM healthy.
check_interval google.protobuf.duration_pb2.Duration
Interval between health checks.
timeout google.protobuf.duration_pb2.Duration
Time before the check is considered failed.
initial_delay google.protobuf.duration_pb2.Duration
The initial delay before starting to execute the checks.