Compute Scheduling Args
data class ComputeSchedulingArgs(val automaticRestart: Output<Boolean>? = null, val minNodeCpus: Output<Int>? = null, val nodeAffinities: Output<List<SchedulingNodeAffinityArgs>>? = null, val onHostMaintenance: Output<ComputeSchedulingOnHostMaintenance>? = null, val restartType: Output<ComputeSchedulingRestartType>? = null) : ConvertibleToJava<ComputeSchedulingArgs>
Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes.
Constructors
Link copied to clipboard
fun ComputeSchedulingArgs(automaticRestart: Output<Boolean>? = null, minNodeCpus: Output<Int>? = null, nodeAffinities: Output<List<SchedulingNodeAffinityArgs>>? = null, onHostMaintenance: Output<ComputeSchedulingOnHostMaintenance>? = null, restartType: Output<ComputeSchedulingRestartType>? = null)
Functions
Properties
Link copied to clipboard
Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to automaticRestart
field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart.