Show / Hide Table of Contents

Class ContainerHealthcheck

Inheritance
System.Object
ContainerHealthcheck
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.Outputs
Assembly: Pulumi.Docker.dll
Syntax
public sealed class ContainerHealthcheck

Fields

View Source

Interval

Time between running the check (ms|s|m|h). Default: 0s.

Declaration
public readonly string Interval
Field Value
Type Description
System.String
View Source

Retries

Consecutive failures needed to report unhealthy. Default: 0.

Declaration
public readonly int? Retries
Field Value
Type Description
System.Nullable<System.Int32>
View Source

StartPeriod

Start period for the container to initialize before counting retries towards unstable (ms|s|m|h). Default: 0s.

Declaration
public readonly string StartPeriod
Field Value
Type Description
System.String
View Source

Tests

Command to run to check health. For example, to run curl -f http://localhost/health set the command to be [&quot;CMD&quot;, &quot;curl&quot;, &quot;-f&quot;, &quot;http://localhost/health&quot;].

Declaration
public readonly ImmutableArray<string> Tests
Field Value
Type Description
System.Collections.Immutable.ImmutableArray<System.String>
View Source

Timeout

Maximum time to allow one check to run (ms|s|m|h). Default: 0s.

Declaration
public readonly string Timeout
Field Value
Type Description
System.String
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.