RegionInstanceGroupManagerDistributionPolicyTargetShape enum

distribution_policy_target_shape. Controls how strictly the MIG converges on an even spread across distributionPolicyZones during proactive or resize-triggered rebalancing.

  • even: equal counts per zone where possible.
  • balanced: best-effort balance, biased by zone capacity.
  • any: no spread guarantees; pick whichever zone has room.
  • anySingleZone: place all VMs in a single zone (smallest blast radius / cheapest egress, no zone HA).

Note: ANY is not a Dart reserved word — bare any is safe; we avoid a method-name clash on Iterable.any because this is a value of an enum, not a method.

Inheritance
  • Object
  • Enum
  • RegionInstanceGroupManagerDistributionPolicyTargetShape
Available extensions

Values

even → const RegionInstanceGroupManagerDistributionPolicyTargetShape
const RegionInstanceGroupManagerDistributionPolicyTargetShape('EVEN')
balanced → const RegionInstanceGroupManagerDistributionPolicyTargetShape
const RegionInstanceGroupManagerDistributionPolicyTargetShape('BALANCED')
any → const RegionInstanceGroupManagerDistributionPolicyTargetShape
const RegionInstanceGroupManagerDistributionPolicyTargetShape('ANY')
anySingleZone → const RegionInstanceGroupManagerDistributionPolicyTargetShape
const RegionInstanceGroupManagerDistributionPolicyTargetShape('ANY_SINGLE_ZONE')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
terraformValue String
The Terraform-side string literal this enum value encodes to. Convention: emitted exactly as it appears in provider docs (typically SCREAMING_SNAKE_CASE for GCP).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<RegionInstanceGroupManagerDistributionPolicyTargetShape>
A constant List of the values in this enum, in order of their declaration.