Scheduling
import type { Scheduling } from "https://googleapis.deno.dev/v1/compute:v1.ts";
Sets the scheduling options for an Instance.
§Properties
Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user). You can only set the automatic restart option for standard instances. Preemptible instances cannot be automatically restarted. By default, this is set to true so an instance is automatically restarted if it is terminated by Compute Engine.
Specifies the termination action for the instance.
An opaque location hint used to place the instance close to other resources. This field is for use by internal tools that use the public API.
The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node.
A set of node affinity and anti-affinity configurations. Refer to Configuring node affinity for more information. Overrides reservationAffinity.
Defines the maintenance behavior for this instance. For standard instances, the default behavior is MIGRATE. For preemptible instances, the default and only possible behavior is TERMINATE. For more information, see Set VM host maintenance policy.