Class ServiceHealthCheck
Specifies a custom service logging driver.
Namespace: Neon.Docker
Assembly: Neon.Docker.dll
Syntax
public class ServiceHealthCheck
Properties
Interval
Time to wait between health checks (in nanoseconds).
Declaration
public long? Interval { get; set; }
Property Value
Type | Description |
---|---|
long? |
Retries
Number of consecutive health check failures required to consider the container to be unhealhy.
Declaration
public long? Retries { get; set; }
Property Value
Type | Description |
---|---|
long? |
StartPeriod
Time to wait for the container to start ands initialize before enforcing health check failures.
Declaration
public long? StartPeriod { get; set; }
Property Value
Type | Description |
---|---|
long? |
Test
Specifies the health test to be performed.
Declaration
public List<string> Test { get; set; }
Property Value
Type | Description |
---|---|
List<string> |
Timeout
Time to wait before considering a health check to have hung (in nanoseconds).
Declaration
public long? Timeout { get; set; }
Property Value
Type | Description |
---|---|
long? |
Methods
Normalize()
Recursively ensures ensures that any null class or list related properties are replaced with instances with default values or empty lists.
Declaration
public void Normalize()