Show / Hide Table of Contents

Class ContainerHealthcheckArgs

Inheritance
System.Object
InputArgs
ResourceArgs
ContainerHealthcheckArgs
Inherited Members
ResourceArgs.Empty
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 Source

ContainerHealthcheckArgs()

Declaration
public ContainerHealthcheckArgs()

Properties

View Source

Interval

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>
View Source

Retries

Consecutive failures needed to report unhealthy. Default: 0.

Declaration
public Input<int> Retries { get; set; }
Property Value
Type Description
Input<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 Input<string> StartPeriod { get; set; }
Property Value
Type Description
Input<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 InputList<string> Tests { get; set; }
Property Value
Type Description
InputList<System.String>
View Source

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>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.