InstanceFromMachineImageScheduling

data class InstanceFromMachineImageScheduling(val automaticRestart: Boolean? = null, val instanceTerminationAction: String? = null, val localSsdRecoveryTimeout: InstanceFromMachineImageSchedulingLocalSsdRecoveryTimeout? = null, val maintenanceInterval: String? = null, val maxRunDuration: InstanceFromMachineImageSchedulingMaxRunDuration? = null, val minNodeCpus: Int? = null, val nodeAffinities: List<InstanceFromMachineImageSchedulingNodeAffinity>? = null, val onHostMaintenance: String? = null, val onInstanceStopAction: InstanceFromMachineImageSchedulingOnInstanceStopAction? = null, val preemptible: Boolean? = null, val provisioningModel: String? = null)

Constructors

Link copied to clipboard
constructor(automaticRestart: Boolean? = null, instanceTerminationAction: String? = null, localSsdRecoveryTimeout: InstanceFromMachineImageSchedulingLocalSsdRecoveryTimeout? = null, maintenanceInterval: String? = null, maxRunDuration: InstanceFromMachineImageSchedulingMaxRunDuration? = null, minNodeCpus: Int? = null, nodeAffinities: List<InstanceFromMachineImageSchedulingNodeAffinity>? = null, onHostMaintenance: String? = null, onInstanceStopAction: InstanceFromMachineImageSchedulingOnInstanceStopAction? = null, preemptible: Boolean? = null, provisioningModel: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Specifies if the instance should be restarted if it was terminated by Compute Engine (not a user).

Link copied to clipboard

Specifies the action GCE should take when SPOT VM is preempted.

Link copied to clipboard

Specifies the maximum amount of time a Local Ssd Vm should wait while recovery of the Local Ssd state is attempted. Its value should be in between 0 and 168 hours with hour granularity and the default value being 1 hour.

Link copied to clipboard

Specifies the frequency of planned maintenance events. The accepted values are: PERIODIC

Link copied to clipboard

The timeout for new network connections to hosts.

Link copied to clipboard
val minNodeCpus: Int? = null
Link copied to clipboard

Specifies node affinities or anti-affinities to determine which sole-tenant nodes your instances and managed instance groups will use as host systems.

Link copied to clipboard

Describes maintenance behavior for the instance. One of MIGRATE or TERMINATE,

Link copied to clipboard

Defines the behaviour for instances with the instance_termination_action.

Link copied to clipboard
val preemptible: Boolean? = null

Whether the instance is preemptible.

Link copied to clipboard

Whether the instance is spot. If this is set as SPOT.