public sealed class LivenessCheck : IMessage<LivenessCheck>, IEquatable<LivenessCheck>, IDeepCloneable<LivenessCheck>, IBufferMessage, IMessage
Reference documentation and code samples for the App Engine v1 API class LivenessCheck.
Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances.
Implements
IMessageLivenessCheck, IEquatableLivenessCheck, IDeepCloneableLivenessCheck, IBufferMessage, IMessageNamespace
Google.Cloud.AppEngine.V1Assembly
Google.Cloud.AppEngine.V1.dll
Constructors
LivenessCheck()
public LivenessCheck()
LivenessCheck(LivenessCheck)
public LivenessCheck(LivenessCheck other)
Parameter | |
---|---|
Name | Description |
other | LivenessCheck |
Properties
CheckInterval
public Duration CheckInterval { get; set; }
Interval between health checks.
Property Value | |
---|---|
Type | Description |
Duration |
FailureThreshold
public uint FailureThreshold { get; set; }
Number of consecutive failed checks required before considering the VM unhealthy.
Property Value | |
---|---|
Type | Description |
uint |
Host
public string Host { get; set; }
Host header to send when performing a HTTP Liveness check. Example: "myapp.appspot.com"
Property Value | |
---|---|
Type | Description |
string |
InitialDelay
public Duration InitialDelay { get; set; }
The initial delay before starting to execute the checks.
Property Value | |
---|---|
Type | Description |
Duration |
Path
public string Path { get; set; }
The request path.
Property Value | |
---|---|
Type | Description |
string |
SuccessThreshold
public uint SuccessThreshold { get; set; }
Number of consecutive successful checks required before considering the VM healthy.
Property Value | |
---|---|
Type | Description |
uint |
Timeout
public Duration Timeout { get; set; }
Time before the check is considered failed.
Property Value | |
---|---|
Type | Description |
Duration |