InstanceTemplateSchedulingGracefulShutdownArgs

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

Constructors

constructor(enabled: Output<Boolean>, maxDuration: Output<InstanceTemplateSchedulingGracefulShutdownMaxDurationArgs>? = 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(): InstanceTemplateSchedulingGracefulShutdownArgs