InstanceGroupManagerStandbyPolicy class
Constructors
-
InstanceGroupManagerStandbyPolicy({Input<int?>? initialDelaySec, Input<String?>? mode})
-
Creates a new InstanceGroupManagerStandbyPolicy.
initialDelaySec 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.
mode 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.
const
-
InstanceGroupManagerStandbyPolicy.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
initialDelaySec
→ Input<int?>?
-
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.
final
-
mode
→ Input<String?>?
-
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.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited