Class ServiceTaskSpecRestartPolicyArgs
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 ServiceTaskSpecRestartPolicyArgs : ResourceArgs
Constructors
View SourceServiceTaskSpecRestartPolicyArgs()
Declaration
public ServiceTaskSpecRestartPolicyArgs()
Properties
View SourceCondition
Condition for restart: (none|on-failure|any)
Declaration
public Input<string> Condition { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Delay
Delay between restart attempts (ms|s|m|h)
Declaration
public Input<string> Delay { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
MaxAttempts
Maximum attempts to restart a given container before giving up (default value is 0, which is ignored)
Declaration
public Input<int> MaxAttempts { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<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 Input<string> Window { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |