InstanceGroupManagerInstanceLifecyclePolicyArgs

data class InstanceGroupManagerInstanceLifecyclePolicyArgs(val defaultActionOnFailure: Output<String>? = null, val forceUpdateOnRepair: Output<String>? = null) : ConvertibleToJava<InstanceGroupManagerInstanceLifecyclePolicyArgs>

Constructors

constructor(defaultActionOnFailure: Output<String>? = null, forceUpdateOnRepair: Output<String>? = null)

Properties

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

, Default behavior for all instance or health check failures. Valid options are: REPAIR, DO_NOTHING. If DO_NOTHING then instances will not be repaired. If REPAIR (default), then failed instances will be repaired.

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

, Specifies whether to apply the group's latest configuration when repairing a VM. Valid options are: YES, NO. If YES and you updated the group's instance template or per-instance configurations after the VM was created, then these changes are applied when VM is repaired. If NO (default), then updates are applied in accordance with the group's update policy type.

Functions

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