ServiceTaskSpecRestartPolicyArgs

data class ServiceTaskSpecRestartPolicyArgs(val condition: Output<String>? = null, val delay: Output<String>? = null, val maxAttempts: Output<Int>? = null, val window: Output<String>? = null) : ConvertibleToJava<ServiceTaskSpecRestartPolicyArgs>

Constructors

Link copied to clipboard
constructor(condition: Output<String>? = null, delay: Output<String>? = null, maxAttempts: Output<Int>? = null, window: Output<String>? = null)

Properties

Link copied to clipboard
val condition: Output<String>? = null

Condition for restart

Link copied to clipboard
val delay: Output<String>? = null

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

Link copied to clipboard
val maxAttempts: Output<Int>? = null

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

Link copied to clipboard
val window: Output<String>? = null

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

Functions

Link copied to clipboard
open override fun toJava(): ServiceTaskSpecRestartPolicyArgs