InstanceGroupConfigPreemptibility

enum InstanceGroupConfigPreemptibility : Enum<InstanceGroupConfigPreemptibility> , ConvertibleToJava<InstanceGroupConfigPreemptibility>

Optional. Specifies the preemptibility of the instance group.The default value for master and worker groups is NON_PREEMPTIBLE. This default cannot be changed.The default value for secondary instances is PREEMPTIBLE.

Entries

Link copied to clipboard

Preemptibility is unspecified, the system will choose the appropriate setting for each instance group.

Link copied to clipboard

Instances are non-preemptible.This option is allowed for all instance groups and is the only valid value for Master and Worker instance groups.

Link copied to clipboard

Instances are preemptible.This option is allowed only for secondary worker groups.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun toJava(): InstanceGroupConfigPreemptibility
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: InstanceGroupConfigPreemptibility
Link copied to clipboard
Link copied to clipboard