public sealed class ReadinessCheck : IMessage<ReadinessCheck>, IEquatable<ReadinessCheck>, IDeepCloneable<ReadinessCheck>, IBufferMessage, IMessage
Readiness checking configuration for VM instances. Unhealthy instances are removed from traffic rotation.
Implements
Google.Protobuf.IMessage<ReadinessCheck>, IEquatable<ReadinessCheck>, Google.Protobuf.IDeepCloneable<ReadinessCheck>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessageNamespace
Google.Cloud.AppEngine.V1Assembly
Google.Cloud.AppEngine.V1.dll
Constructors
ReadinessCheck()
public ReadinessCheck()
ReadinessCheck(ReadinessCheck)
public ReadinessCheck(ReadinessCheck other)
Parameter | |
---|---|
Name | Description |
other | ReadinessCheck |
Properties
AppStartTimeout
public Duration AppStartTimeout { get; set; }
A maximum time limit on application initialization, measured from moment the application successfully replies to a healthcheck until it is ready to serve traffic.
Property Value | |
---|---|
Type | Description |
Google.Protobuf.WellKnownTypes.Duration |
CheckInterval
public Duration CheckInterval { get; set; }
Interval between health checks.
Property Value | |
---|---|
Type | Description |
Google.Protobuf.WellKnownTypes.Duration |
FailureThreshold
public uint FailureThreshold { get; set; }
Number of consecutive failed checks required before removing traffic.
Property Value | |
---|---|
Type | Description |
UInt32 |
Host
public string Host { get; set; }
Host header to send when performing a HTTP Readiness check. Example: "myapp.appspot.com"
Property Value | |
---|---|
Type | Description |
String |
Path
public string Path { get; set; }
The request path.
Property Value | |
---|---|
Type | Description |
String |
SuccessThreshold
public uint SuccessThreshold { get; set; }
Number of consecutive successful checks required before receiving traffic.
Property Value | |
---|---|
Type | Description |
UInt32 |
Timeout
public Duration Timeout { get; set; }
Time before the check is considered failed.
Property Value | |
---|---|
Type | Description |
Google.Protobuf.WellKnownTypes.Duration |