InstanceGroupManagerStandbyPolicyArgs

data class InstanceGroupManagerStandbyPolicyArgs(val initialDelaySec: Output<Int>? = null, val mode: Output<String>? = null) : ConvertibleToJava<InstanceGroupManagerStandbyPolicyArgs>

Constructors

Link copied to clipboard
constructor(initialDelaySec: Output<Int>? = null, mode: Output<String>? = null)

Properties

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

Specifies the number of seconds that the MIG should wait to suspend or stop a VM after that VM was created. The initial delay gives the initialization script the time to prepare your VM for a quick scale out. The value of initial delay must be between 0 and 3600 seconds. The default value is 0.

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

Defines how a MIG resumes or starts VMs from a standby pool when the group scales out. Valid options are: MANUAL, SCALE_OUT_POOL. If MANUAL(default), you have full control over which VMs are stopped and suspended in the MIG. If SCALE_OUT_POOL, the MIG uses the VMs from the standby pools to accelerate the scale out by resuming or starting them and then automatically replenishes the standby pool with new VMs to maintain the target sizes.

Functions

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