# Google Cloud Batch V1 Client - Class ProvisioningModel (1.4.1)

1.4.1 (latest) 1.4.0 1.3.1 1.2.2 1.1.7 1.0.3 0.17.0 0.16.10 0.15.0 0.14.0 0.13.1 0.12.1 0.11.3 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.2 0.4.0 0.3.0 0.2.2 Reference documentation and code samples for the Google Cloud Batch V1 Client class ProvisioningModel.

Compute Engine VM instance provisioning model.

Protobuf type `google.cloud.batch.v1.AllocationPolicy.ProvisioningModel`

## Namespace

Google \\ Cloud \\ Batch \\ V1 \\ AllocationPolicy

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### PROVISIONING_MODEL_UNSPECIFIED

    Value: 0

Unspecified.

Generated from protobuf enum `PROVISIONING_MODEL_UNSPECIFIED = 0;`

### STANDARD

    Value: 1

Standard VM.

Generated from protobuf enum `STANDARD = 1;`

### SPOT

    Value: 2

SPOT VM.

Generated from protobuf enum `SPOT = 2;`

### PREEMPTIBLE

    Value: 3

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.

Generated from protobuf enum `PREEMPTIBLE = 3 [deprecated = true];`

### RESERVATION_BOUND

    Value: 4

Bound to the lifecycle of the reservation in which it is provisioned.

Generated from protobuf enum `RESERVATION_BOUND = 4;`

### FLEX_START

    Value: 5

Instance is provisioned with DWS Flex Start and has limited max run
duration.

Generated from protobuf enum `FLEX_START = 5;`