App Engine v1 API - Class HealthCheck (2.2.0)

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.

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
bool

HealthyThreshold

public uint HealthyThreshold { get; set; }

Number of consecutive successful health checks required before receiving traffic.

Property Value
TypeDescription
uint

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
uint

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
uint