Show / Hide Table of Contents

Class ServiceTaskSpecRestartPolicyArgs

Inheritance
System.Object
InputArgs
ResourceArgs
ServiceTaskSpecRestartPolicyArgs
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 ServiceTaskSpecRestartPolicyArgs : ResourceArgs

Constructors

View Source

ServiceTaskSpecRestartPolicyArgs()

Declaration
public ServiceTaskSpecRestartPolicyArgs()

Properties

View Source

Condition

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

Declaration
public Input<string> Condition { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Delay

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

Declaration
public Input<string> Delay { get; set; }
Property Value
Type Description
Input<System.String>
View Source

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>
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 Input<string> Window { get; set; }
Property Value
Type Description
Input<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.