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 SourceCondition
Condition for restart: (none|on-failure|any)
Declaration
public readonly string Condition
Field Value
| Type | Description |
|---|---|
| System.String |
Delay
Delay between restart attempts (ms|s|m|h)
Declaration
public readonly string Delay
Field Value
| Type | Description |
|---|---|
| System.String |
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> |
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 |