RegionInstanceGroupManagerInstanceLifecyclePolicyArgs

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

Constructors

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

Properties

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

, Specifies the action that a MIG performs on a failed VM. If the value of the on_failed_health_check field is DEFAULT_ACTION, then the same action also applies to the VMs on which your application fails a health check. Valid options are: DO_NOTHING, REPAIR. If DO_NOTHING, then MIG does not repair a failed VM. If REPAIR (default), then MIG automatically repairs a failed VM by recreating it. For more information, see about repairing VMs in a MIG.

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.

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

, Specifies the action that a MIG performs on an unhealthy VM. A VM is marked as unhealthy when the application running on that VM fails a health check. Valid options are: DEFAULT_ACTION, DO_NOTHING, REPAIR. If DEFAULT_ACTION (default), then MIG uses the same action configured for the default_action_on_failure field. If DO_NOTHING, then MIG does not repair unhealthy VM. If REPAIR, then MIG automatically repairs an unhealthy VM by recreating it. For more information, see about repairing VMs in a MIG.

Functions

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