Class DistributionPolicy (0.11.0)

DistributionPolicy(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Attributes

Name Description
target_shape str
The distribution shape to which the group converges either proactively or on resize events (depending on the value set inupdatePolicy.instanceRedistributionType). Check the TargetShape enum for the list of possible values. This field is a member of oneof_ _target_shape.
zones MutableSequence[google.cloud.compute_v1beta.types.DistributionPolicyZoneConfiguration]
Zones where the regional managed instance group will create and manage its instances. By default, a regional MIG doesn't automatically select an AI zone to create instances, even if an AI zone is available in the specified region. To create instances in an AI zone in the selected region, you must explicitly specify it in the distribution policy together with the other preferred zones.

Classes

TargetShape

TargetShape(value)

The distribution shape to which the group converges either proactively or on resize events (depending on the value set inupdatePolicy.instanceRedistributionType).