Reference documentation and code samples for the Compute V1 Client class TargetShape.
Target distribution shape. You can specify the following values:ANY, ANY_SINGLE_ZONE, or BALANCED.
Protobuf type google.cloud.compute.v1.CapacityAdviceRequestDistributionPolicy.TargetShape
Namespace
Google \ Cloud \ Compute \ V1 \ CapacityAdviceRequestDistributionPolicyMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
UNDEFINED_TARGET_SHAPE
Value: 0A value indicating that the enum field is not set.
Generated from protobuf enum UNDEFINED_TARGET_SHAPE = 0;
ANY
Value: 64972Picks zones for creating VM instances to fulfill the requested number of VMs within present resource constraints.
Generated from protobuf enum ANY = 64972;
ANY_SINGLE_ZONE
Value: 61100880Creates all VM instances within a single zone. The zone is selected based on the present resource constraints.
Generated from protobuf enum ANY_SINGLE_ZONE = 61100880;
BALANCED
Value: 468409608Prioritizes acquisition of resources, scheduling VMs in zones where resources are available while distributing VMs as evenly as possible across selected zones to minimize the impact of zonal failure.
Generated from protobuf enum BALANCED = 468409608;
TARGET_SHAPE_UNSPECIFIED
Value: 449316907Default value, unused.
Generated from protobuf enum TARGET_SHAPE_UNSPECIFIED = 449316907;