# Class RestartType (1.17.0)

1.17.0 (latest) 1.16.0 1.15.0 1.14.0 1.13.0 1.12.0 1.11.3 1.10.0 1.9.1 1.8.5 1.7.0 1.6.2 1.5.1 1.4.0 1.3.3 1.2.0 1.1.2 1.0.0 0.1.0

    RestartType(value)

Defines whether the Instance should be automatically
restarted whenever it is terminated by Compute Engine (not
terminated by user).

| ## Enums ||
|---|---|
| **Name** | **Description** |
| `RESTART_TYPE_UNSPECIFIED` | Unspecified behavior. This will use the default. |
| `AUTOMATIC_RESTART` | The Instance should be automatically restarted whenever it is terminated by Compute Engine. |
| `NO_AUTOMATIC_RESTART` | The Instance isn't automatically restarted whenever it is terminated by Compute Engine. |