Class HealthCheck (1.4.0)

public sealed class HealthCheck : IMessage<HealthCheck>, IEquatable<HealthCheck>, IDeepCloneable<HealthCheck>, IBufferMessage, IMessage

Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Only applicable for instances in App Engine flexible environment.

Inheritance

Object > HealthCheck

Namespace

Google.Cloud.AppEngine.V1

Assembly

Google.Cloud.AppEngine.V1.dll

Constructors

HealthCheck()

public HealthCheck()

HealthCheck(HealthCheck)

public HealthCheck(HealthCheck other)
Parameter
NameDescription
otherHealthCheck

Properties

CheckInterval

public Duration CheckInterval { get; set; }

Interval between health checks.

Property Value
TypeDescription
Duration

DisableHealthCheck

public bool DisableHealthCheck { get; set; }

Whether to explicitly disable health checks for this instance.

Property Value
TypeDescription
Boolean

HealthyThreshold

public uint HealthyThreshold { get; set; }

Number of consecutive successful health checks required before receiving traffic.

Property Value
TypeDescription
UInt32

Host

public string Host { get; set; }

Host header to send when performing an HTTP health check. Example: "myapp.appspot.com"

Property Value
TypeDescription
String

RestartThreshold

public uint RestartThreshold { get; set; }

Number of consecutive failed health checks required before an instance is restarted.

Property Value
TypeDescription
UInt32

Timeout

public Duration Timeout { get; set; }

Time before the health check is considered failed.

Property Value
TypeDescription
Duration

UnhealthyThreshold

public uint UnhealthyThreshold { get; set; }

Number of consecutive failed health checks required before removing traffic.

Property Value
TypeDescription
UInt32