Show / Hide Table of Contents

Class ServiceTaskSpecRestartPolicy

Inheritance
System.Object
ServiceTaskSpecRestartPolicy
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 ServiceTaskSpecRestartPolicy

Fields

View Source

Condition

Condition for restart: (none|on-failure|any)

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

Delay

Delay between restart attempts (ms|s|m|h)

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

MaxAttempts

Maximum attempts to restart a given container before giving up (default value is 0, which is ignored)

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

Window

The time window used to evaluate the restart policy (default value is 0, which is unbounded) (ms|s|m|h)

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