Instance Scheduling
Constructors
Properties
Specifies if the instance should be restarted if it was terminated by Compute Engine (not a user). Defaults to true.
Describe the type of termination action for VM. Can be STOP or DELETE. Read more on here
The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node.
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.
Describes maintenance behavior for the instance. Can be MIGRATE or TERMINATE, for more info, read here.
Specifies if the instance is preemptible. If this field is set to true, then automatic_restart must be set to false. Defaults to false.
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