Enum CapacityAdviceRequestDistributionPolicy.TargetShape (1.109.0)

public enum CapacityAdviceRequestDistributionPolicy.TargetShape extends Enum<CapacityAdviceRequestDistributionPolicy.TargetShape> implements ProtocolMessageEnum

Target distribution shape. You can specify the following values:ANY, ANY_SINGLE_ZONE, or BALANCED.

Protobuf enum google.cloud.compute.v1.CapacityAdviceRequestDistributionPolicy.TargetShape

Implements

ProtocolMessageEnum

Static Fields

Name Description
ANY

Picks zones for creating VM instances to fulfill the requested number of VMs within present resource constraints.

ANY = 64972;

ANY_SINGLE_ZONE

Creates all VM instances within a single zone. The zone is selected based on the present resource constraints.

ANY_SINGLE_ZONE = 61100880;

ANY_SINGLE_ZONE_VALUE

Creates all VM instances within a single zone. The zone is selected based on the present resource constraints.

ANY_SINGLE_ZONE = 61100880;

ANY_VALUE

Picks zones for creating VM instances to fulfill the requested number of VMs within present resource constraints.

ANY = 64972;

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 = 468409608;

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.

BALANCED = 468409608;

TARGET_SHAPE_UNSPECIFIED

Default value, unused.

TARGET_SHAPE_UNSPECIFIED = 449316907;

TARGET_SHAPE_UNSPECIFIED_VALUE

Default value, unused.

TARGET_SHAPE_UNSPECIFIED = 449316907;

UNDEFINED_TARGET_SHAPE

A value indicating that the enum field is not set.

UNDEFINED_TARGET_SHAPE = 0;

UNDEFINED_TARGET_SHAPE_VALUE

A value indicating that the enum field is not set.

UNDEFINED_TARGET_SHAPE = 0;

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()