public enum CapacityAdviceRequestDistributionPolicy.TargetShape extends Enum<CapacityAdviceRequestDistributionPolicy.TargetShape> implements ProtocolMessageEnumTarget distribution shape. You can specify the following values:ANY, ANY_SINGLE_ZONE, or BALANCED.
Protobuf enum
google.cloud.compute.v1.CapacityAdviceRequestDistributionPolicy.TargetShape
Implements
ProtocolMessageEnumStatic Fields |
|
|---|---|
| Name | Description |
ANY |
Picks zones for creating VM instances to fulfill the requested number of VMs within present resource constraints. |
ANY_SINGLE_ZONE |
Creates all VM instances within a single zone. The zone is selected based on the present resource constraints. |
ANY_SINGLE_ZONE_VALUE |
Creates all VM instances within a single zone. The zone is selected based on the present resource constraints. |
ANY_VALUE |
Picks zones for creating VM instances to fulfill the requested number of VMs within present resource constraints. |
BALANCED |
Prioritizes 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. |
BALANCED_VALUE |
Prioritizes 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. |
TARGET_SHAPE_UNSPECIFIED |
Default value, unused. |
TARGET_SHAPE_UNSPECIFIED_VALUE |
Default value, unused. |
UNDEFINED_TARGET_SHAPE |
A value indicating that the enum field is not set. |
UNDEFINED_TARGET_SHAPE_VALUE |
A value indicating that the enum field is not set. |
UNRECOGNIZED |
|
Static Methods |
|
|---|---|
| Name | Description |
forNumber(int value) |
|
getDescriptor() |
|
internalGetValueMap() |
|
valueOf(Descriptors.EnumValueDescriptor desc) |
|
valueOf(int value) |
Deprecated. Use #forNumber(int) instead. |
valueOf(String name) |
|
values() |
|
Methods |
|
|---|---|
| Name | Description |
getDescriptorForType() |
|
getNumber() |
|
getValueDescriptor() |
|