Instance Scheduling Args
data class InstanceSchedulingArgs(val automaticRestart: Output<Boolean>? = null, val instanceTerminationAction: Output<String>? = null, val localSsdRecoveryTimeout: Output<InstanceSchedulingLocalSsdRecoveryTimeoutArgs>? = null, val maintenanceInterval: Output<String>? = null, val maxRunDuration: Output<InstanceSchedulingMaxRunDurationArgs>? = null, val minNodeCpus: Output<Int>? = null, val nodeAffinities: Output<List<InstanceSchedulingNodeAffinityArgs>>? = null, val onHostMaintenance: Output<String>? = null, val preemptible: Output<Boolean>? = null, val provisioningModel: Output<String>? = null) : ConvertibleToJava<InstanceSchedulingArgs>
Constructors
Link copied to clipboard
fun InstanceSchedulingArgs(automaticRestart: Output<Boolean>? = null, instanceTerminationAction: Output<String>? = null, localSsdRecoveryTimeout: Output<InstanceSchedulingLocalSsdRecoveryTimeoutArgs>? = null, maintenanceInterval: Output<String>? = null, maxRunDuration: Output<InstanceSchedulingMaxRunDurationArgs>? = null, minNodeCpus: Output<Int>? = null, nodeAffinities: Output<List<InstanceSchedulingNodeAffinityArgs>>? = null, onHostMaintenance: Output<String>? = null, preemptible: Output<Boolean>? = null, provisioningModel: Output<String>? = null)
Functions
Properties
Link copied to clipboard
Describe the type of termination action for VM. Can be STOP
or DELETE
. Read more on here
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
Describes maintenance behavior for the instance. Can be MIGRATE or TERMINATE, for more info, read here.
Link copied to clipboard
Describe the type of preemptible VM. This field accepts the value STANDARD
or SPOT
. If the value is STANDARD
, there will be no discount. If this is set to SPOT
, preemptible
should be true
and automatic_restart
should be false
. For more info about SPOT
, read here