Region Instance Template Scheduling Args
Constructors
Properties
Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user). This defaults to true.
Specifies the availability domain to place the instance in. The value must be a number between 1 and the number of availability domains specified in the spread placement policy attached to the instance.
Settings for the instance to perform a graceful shutdown.
Specifies the time in seconds for host error detection, the value must be within the range of 90, 330 with the increment of 30, if unset, the default behavior of host error recovery will be used.
Describe the type of termination action for SPOT
VM. Can be STOP
or DELETE
. Read more on here
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.
Specifies the frequency of planned maintenance events. The accepted values are: PERIODIC
The duration of the instance. Instance will run and be terminated after then, the termination action could be defined in instance_termination_action
. Only support DELETE
instance_termination_action
at this point. Structure is documented below.
Minimum number of cpus for the instance.
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.
Defines the maintenance behavior for this instance.
Defines the behaviour for instances with the instance_termination_action.
Allows instance to be preempted. This defaults to false. Read more on this here.
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
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.