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 (https://cloud.google.com/compute/docs/instances/preemptible).This option is allowed only for secondary worker (https://cloud.google.com/dataproc/docs/concepts/compute/secondary-vms) groups.

Link copied to clipboard

Instances are Spot VMs (https://cloud.google.com/compute/docs/instances/spot).This option is allowed only for secondary worker (https://cloud.google.com/dataproc/docs/concepts/compute/secondary-vms) groups. Spot VMs are the latest version of preemptible VMs (https://cloud.google.com/compute/docs/instances/preemptible), and provide additional features.

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