public sealed class LivenessCheck : IMessage<LivenessCheck>, IEquatable<LivenessCheck>, IDeepCloneable<LivenessCheck>, IBufferMessage, IMessage
Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances.
Implements
IMessage<LivenessCheck>, IEquatable<LivenessCheck>, IDeepCloneable<LivenessCheck>, 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 |
UInt32 |
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 |
UInt32 |
Timeout
public Duration Timeout { get; set; }
Time before the check is considered failed.
Property Value | |
---|---|
Type | Description |
Duration |