InstanceGroupManagerInstanceLifecyclePolicyComputeBeta class
Constructors
-
InstanceGroupManagerInstanceLifecyclePolicyComputeBeta({Input<
InstanceGroupManagerInstanceLifecyclePolicyDefaultActionOnFailureComputeBeta> ? defaultActionOnFailure, Input<InstanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepairComputeBeta> ? forceUpdateOnRepair}) -
Creates a new InstanceGroupManagerInstanceLifecyclePolicyComputeBeta.
defaultActionOnFailureThe action that a MIG performs on a failed or an unhealthy VM. A VM is marked as unhealthy when the application running on that VM fails a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed or an unhealthy VM by recreating it. For more information, see About repairing VMs in a MIG. - DO_NOTHING: MIG does not repair a failed or an unhealthy VM.forceUpdateOnRepairA bit indicating whether to forcefully apply the group's latest configuration when repairing a VM. Valid options are: - NO (default): If configuration updates are available, they are not forcefully applied during repair. Instead, configuration updates are applied according to the group's update policy. - YES: If configuration updates are available, they are applied during repair.const -
InstanceGroupManagerInstanceLifecyclePolicyComputeBeta.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
defaultActionOnFailure
→ Input<
InstanceGroupManagerInstanceLifecyclePolicyDefaultActionOnFailureComputeBeta> ? -
The action that a MIG performs on a failed or an unhealthy VM. A VM is marked as unhealthy when the application running on that VM fails a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed or an unhealthy VM by recreating it. For more information, see About repairing VMs in a MIG. - DO_NOTHING: MIG does not repair a failed or an unhealthy VM.
final
-
forceUpdateOnRepair
→ Input<
InstanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepairComputeBeta> ? -
A bit indicating whether to forcefully apply the group's latest configuration when repairing a VM. Valid options are: - NO (default): If configuration updates are available, they are not forcefully applied during repair. Instead, configuration updates are applied according to the group's update policy. - YES: If configuration updates are available, they are applied during repair.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited