InstanceFromTemplateSchedulingArgs

data class InstanceFromTemplateSchedulingArgs(val automaticRestart: Output<Boolean>? = null, val instanceTerminationAction: Output<String>? = null, val localSsdRecoveryTimeout: Output<InstanceFromTemplateSchedulingLocalSsdRecoveryTimeoutArgs>? = null, val maintenanceInterval: Output<String>? = null, val maxRunDuration: Output<InstanceFromTemplateSchedulingMaxRunDurationArgs>? = null, val minNodeCpus: Output<Int>? = null, val nodeAffinities: Output<List<InstanceFromTemplateSchedulingNodeAffinityArgs>>? = null, val onHostMaintenance: Output<String>? = null, val onInstanceStopAction: Output<InstanceFromTemplateSchedulingOnInstanceStopActionArgs>? = null, val preemptible: Output<Boolean>? = null, val provisioningModel: Output<String>? = null) : ConvertibleToJava<InstanceFromTemplateSchedulingArgs>

Constructors

Link copied to clipboard
constructor(automaticRestart: Output<Boolean>? = null, instanceTerminationAction: Output<String>? = null, localSsdRecoveryTimeout: Output<InstanceFromTemplateSchedulingLocalSsdRecoveryTimeoutArgs>? = null, maintenanceInterval: Output<String>? = null, maxRunDuration: Output<InstanceFromTemplateSchedulingMaxRunDurationArgs>? = null, minNodeCpus: Output<Int>? = null, nodeAffinities: Output<List<InstanceFromTemplateSchedulingNodeAffinityArgs>>? = null, onHostMaintenance: Output<String>? = null, onInstanceStopAction: Output<InstanceFromTemplateSchedulingOnInstanceStopActionArgs>? = null, preemptible: Output<Boolean>? = null, provisioningModel: Output<String>? = null)

Properties

Link copied to clipboard
val automaticRestart: Output<Boolean>? = null

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

Link copied to clipboard
val instanceTerminationAction: Output<String>? = null

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
val maintenanceInterval: Output<String>? = null

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: Output<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
val onHostMaintenance: Output<String>? = null

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: Output<Boolean>? = null

Whether the instance is preemptible.

Link copied to clipboard
val provisioningModel: Output<String>? = null

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

Functions

Link copied to clipboard
open override fun toJava(): InstanceFromTemplateSchedulingArgs