ComputeSchedulingRestartType

enum ComputeSchedulingRestartType : Enum<ComputeSchedulingRestartType> , ConvertibleToJava<ComputeSchedulingRestartType>

Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to automaticRestart field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart.

Entries

Link copied to clipboard

Unspecified behavior. This will use the default.

Link copied to clipboard

The Instance should be automatically restarted whenever it is terminated by Compute Engine.

Link copied to clipboard

The Instance isn't automatically restarted whenever it is terminated by Compute Engine.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun toJava(): ComputeSchedulingRestartType
Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
val javaValue: ComputeSchedulingRestartType
Link copied to clipboard
Link copied to clipboard