GetInstanceTemplateScheduling

data class GetInstanceTemplateScheduling(val automaticRestart: Boolean, val availabilityDomain: Int, val gracefulShutdowns: List<GetInstanceTemplateSchedulingGracefulShutdown>, val hostErrorTimeoutSeconds: Int, 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 onInstanceStopActions: List<GetInstanceTemplateSchedulingOnInstanceStopAction>, val preemptible: Boolean, val provisioningModel: String, val terminationTime: String)

Constructors

Link copied to clipboard
constructor(automaticRestart: Boolean, availabilityDomain: Int, gracefulShutdowns: List<GetInstanceTemplateSchedulingGracefulShutdown>, hostErrorTimeoutSeconds: Int, instanceTerminationAction: String, localSsdRecoveryTimeouts: List<GetInstanceTemplateSchedulingLocalSsdRecoveryTimeout>, maintenanceInterval: String, maxRunDurations: List<GetInstanceTemplateSchedulingMaxRunDuration>, minNodeCpus: Int, nodeAffinities: List<GetInstanceTemplateSchedulingNodeAffinity>, onHostMaintenance: String, onInstanceStopActions: List<GetInstanceTemplateSchedulingOnInstanceStopAction>, preemptible: Boolean, provisioningModel: String, terminationTime: 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

Specifies the availability domain, which this instance should be scheduled on.

Link copied to clipboard

Settings for the instance to perform a graceful shutdown.

Link copied to clipboard

Beta Time in seconds for host error detection.

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

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

Minimum number of cpus for the instance.

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

Defines the behaviour for instances with the instance_termination_action.

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.

Link copied to clipboard

Specifies the timestamp, when the instance will be terminated, in RFC3339 text format. If specified, the instance termination action will be performed at the termination time.