Enum AllocationPolicy.ProvisioningModel (0.42.0)

public enum AllocationPolicy.ProvisioningModel extends Enum<AllocationPolicy.ProvisioningModel> implements ProtocolMessageEnum

Compute Engine VM instance provisioning model.

Protobuf enum google.cloud.batch.v1.AllocationPolicy.ProvisioningModel

Implements

ProtocolMessageEnum

Static Fields

Name Description
PREEMPTIBLE

Preemptible VM (PVM).

Above SPOT VM is the preferable model for preemptible VM instances: the old preemptible VM model (indicated by this field) is the older model, and has been migrated to use the SPOT model as the underlying technology. This old model will still be supported.

PREEMPTIBLE = 3;

PREEMPTIBLE_VALUE

Preemptible VM (PVM).

Above SPOT VM is the preferable model for preemptible VM instances: the old preemptible VM model (indicated by this field) is the older model, and has been migrated to use the SPOT model as the underlying technology. This old model will still be supported.

PREEMPTIBLE = 3;

PROVISIONING_MODEL_UNSPECIFIED

Unspecified.

PROVISIONING_MODEL_UNSPECIFIED = 0;

PROVISIONING_MODEL_UNSPECIFIED_VALUE

Unspecified.

PROVISIONING_MODEL_UNSPECIFIED = 0;

SPOT

SPOT VM.

SPOT = 2;

SPOT_VALUE

SPOT VM.

SPOT = 2;

STANDARD

Standard VM.

STANDARD = 1;

STANDARD_VALUE

Standard VM.

STANDARD = 1;

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