Class ContainerHealthcheckArgs
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Docker.Inputs
Assembly: Pulumi.Docker.dll
Syntax
public sealed class ContainerHealthcheckArgs : ResourceArgs
Constructors
View SourceContainerHealthcheckArgs()
Declaration
public ContainerHealthcheckArgs()
Properties
View SourceInterval
Time between running the check (ms|s|m|h). Default: 0s.
Declaration
public Input<string> Interval { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Retries
Consecutive failures needed to report unhealthy. Default: 0.
Declaration
public Input<int> Retries { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
StartPeriod
Start period for the container to initialize before counting retries towards unstable (ms|s|m|h). Default: 0s.
Declaration
public Input<string> StartPeriod { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Tests
Command to run to check health. For example, to run curl -f http://localhost/health set the
command to be ["CMD", "curl", "-f", "http://localhost/health"].
Declaration
public InputList<string> Tests { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
Timeout
Maximum time to allow one check to run (ms|s|m|h). Default: 0s.
Declaration
public Input<string> Timeout { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |