GetInstanceTemplateScheduling

data class GetInstanceTemplateScheduling(val automaticRestart: Boolean, val instanceTerminationAction: String, val localSsdRecoveryTimeouts: List<GetInstanceTemplateSchedulingLocalSsdRecoveryTimeout>, val maintenanceInterval: String, val maxRunDurations: List<GetInstanceTemplateSchedulingMaxRunDuration>, val minNodeCpus: Int, val nodeAffinities: List<GetInstanceTemplateSchedulingNodeAffinity>, val onHostMaintenance: String, val preemptible: Boolean, val provisioningModel: String)

Constructors

Link copied to clipboard
constructor(automaticRestart: Boolean, instanceTerminationAction: String, localSsdRecoveryTimeouts: List<GetInstanceTemplateSchedulingLocalSsdRecoveryTimeout>, maintenanceInterval: String, maxRunDurations: List<GetInstanceTemplateSchedulingMaxRunDuration>, minNodeCpus: Int, nodeAffinities: List<GetInstanceTemplateSchedulingNodeAffinity>, onHostMaintenance: String, preemptible: Boolean, provisioningModel: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user). This defaults to true.

Link copied to clipboard

Describe the type of termination action for SPOT VM. Can be STOP or DELETE. Read more on here

Link copied to clipboard
Link copied to clipboard
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. Read more on sole-tenant node creation here. Structure documented below.

Link copied to clipboard

Defines the maintenance behavior for this instance.

Link copied to clipboard

Allows instance to be preempted. This defaults to false. Read more on this here.

Link copied to clipboard

Describe the type of preemptible VM.