Class LivenessCheck (1.4.0)

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.

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
UInt32

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
UInt32

Timeout

public Duration Timeout { get; set; }

Time before the check is considered failed.

Property Value
TypeDescription
Duration