public enum ResourcePolicyWorkloadPolicy.MaxTopologyDistance extends Enum<ResourcePolicyWorkloadPolicy.MaxTopologyDistance> implements ProtocolMessageEnum
Specifies the maximum distance between instances.
Protobuf enum google.cloud.compute.v1.ResourcePolicyWorkloadPolicy.MaxTopologyDistance
Implements
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
BLOCK |
VMs must be provisioned in the same block. |
BLOCK_VALUE |
VMs must be provisioned in the same block. |
CLUSTER |
VMs must be provisioned in the same cluster. |
CLUSTER_VALUE |
VMs must be provisioned in the same cluster. |
SUBBLOCK |
VMs must be provisioned in the same subblock. |
SUBBLOCK_VALUE |
VMs must be provisioned in the same subblock. |
UNDEFINED_MAX_TOPOLOGY_DISTANCE |
A value indicating that the enum field is not set. |
UNDEFINED_MAX_TOPOLOGY_DISTANCE_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() |