public sealed class HealthCheck : IMessage<HealthCheck>, IEquatable<HealthCheck>, IDeepCloneable<HealthCheck>, IBufferMessage, IMessage
Reference documentation and code samples for the App Engine v1 API class HealthCheck.
Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Only applicable for instances in App Engine flexible environment.
Implements
IMessage<HealthCheck>, IEquatable<HealthCheck>, IDeepCloneable<HealthCheck>, IBufferMessage, IMessageNamespace
Google.Cloud.AppEngine.V1Assembly
Google.Cloud.AppEngine.V1.dll
Constructors
HealthCheck()
public HealthCheck()
HealthCheck(HealthCheck)
public HealthCheck(HealthCheck other)
Parameter | |
---|---|
Name | Description |
other | HealthCheck |
Properties
CheckInterval
public Duration CheckInterval { get; set; }
Interval between health checks.
Property Value | |
---|---|
Type | Description |
Duration |
DisableHealthCheck
public bool DisableHealthCheck { get; set; }
Whether to explicitly disable health checks for this instance.
Property Value | |
---|---|
Type | Description |
Boolean |
HealthyThreshold
public uint HealthyThreshold { get; set; }
Number of consecutive successful health checks required before receiving traffic.
Property Value | |
---|---|
Type | Description |
UInt32 |
Host
public string Host { get; set; }
Host header to send when performing an HTTP health check. Example: "myapp.appspot.com"
Property Value | |
---|---|
Type | Description |
String |
RestartThreshold
public uint RestartThreshold { get; set; }
Number of consecutive failed health checks required before an instance is restarted.
Property Value | |
---|---|
Type | Description |
UInt32 |
Timeout
public Duration Timeout { get; set; }
Time before the health check is considered failed.
Property Value | |
---|---|
Type | Description |
Duration |
UnhealthyThreshold
public uint UnhealthyThreshold { get; set; }
Number of consecutive failed health checks required before removing traffic.
Property Value | |
---|---|
Type | Description |
UInt32 |