App Engine v1 API - Class LivenessCheck (2.2.0)

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.

Inheritance

object > LivenessCheck

Namespace

Google.Cloud.AppEngine.V1

Assembly

Google.Cloud.AppEngine.V1.dll

Constructors

LivenessCheck()

public LivenessCheck()

LivenessCheck(LivenessCheck)

public LivenessCheck(LivenessCheck other)
Parameter
NameDescription
otherLivenessCheck

Properties

CheckInterval

public Duration CheckInterval { get; set; }

Interval between health checks.

Property Value
TypeDescription
Duration

FailureThreshold

public uint FailureThreshold { get; set; }

Number of consecutive failed checks required before considering the VM unhealthy.

Property Value
TypeDescription
uint

Host

public string Host { get; set; }

Host header to send when performing a HTTP Liveness check. Example: "myapp.appspot.com"

Property Value
TypeDescription
string

InitialDelay

public Duration InitialDelay { get; set; }

The initial delay before starting to execute the checks.

Property Value
TypeDescription
Duration

Path

public string Path { get; set; }

The request path.

Property Value
TypeDescription
string

SuccessThreshold

public uint SuccessThreshold { get; set; }

Number of consecutive successful checks required before considering the VM healthy.

Property Value
TypeDescription
uint

Timeout

public Duration Timeout { get; set; }

Time before the check is considered failed.

Property Value
TypeDescription
Duration