InstanceSchedulingGracefulShutdownArgs

data class InstanceSchedulingGracefulShutdownArgs(val enabled: Output<Boolean>, val maxDuration: Output<InstanceSchedulingGracefulShutdownMaxDurationArgs>? = null) : ConvertibleToJava<InstanceSchedulingGracefulShutdownArgs>

Constructors

Link copied to clipboard
constructor(enabled: Output<Boolean>, maxDuration: Output<InstanceSchedulingGracefulShutdownMaxDurationArgs>? = null)

Properties

Link copied to clipboard
val enabled: Output<Boolean>

Opts-in for graceful shutdown.

Link copied to clipboard

The time allotted for the instance to gracefully shut down. If the graceful shutdown isn't complete after this time, then the instance transitions to the STOPPING state. Structure is documented below:

Functions

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