Class HealthCheck
Inheritance
Implements
Namespace: Google.Apis.Replicapool.v1beta1.Data
Assembly: Google.Apis.Replicapool.v1beta1.dll
Syntax
public class HealthCheck : object, IDirectResponseSchema
Properties
CheckIntervalSec
How often (in seconds) to make HTTP requests for this healthcheck. The default value is 5 seconds.
Declaration
public virtual Nullable<int> CheckIntervalSec { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
Description
The description for this health check.
Declaration
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
System.String |
HealthyThreshold
The number of consecutive health check requests that need to succeed before the replica is considered healthy again. The default value is 2.
Declaration
public virtual Nullable<int> HealthyThreshold { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
Host
The value of the host header in the HTTP health check request. If left empty (default value), the localhost IP 127.0.0.1 will be used.
Declaration
public virtual string Host { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Name
The name of this health check.
Declaration
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Path
The localhost request path to send this health check, in the format /path/to/use. For example, /healthcheck.
Declaration
public virtual string Path { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Port
The TCP port for the health check requests.
Declaration
public virtual Nullable<int> Port { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
TimeoutSec
How long (in seconds) to wait before a timeout failure for this healthcheck. The default value is 5 seconds.
Declaration
public virtual Nullable<int> TimeoutSec { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
UnhealthyThreshold
The number of consecutive health check requests that need to fail in order to consider the replica unhealthy. The default value is 2.
Declaration
public virtual Nullable<int> UnhealthyThreshold { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |