RegionInstanceTemplateScheduling constructor

const RegionInstanceTemplateScheduling({
  1. Input<bool?>? automaticRestart,
  2. Input<int?>? availabilityDomain,
  3. Input<RegionInstanceTemplateSchedulingGracefulShutdown?>? gracefulShutdown,
  4. Input<int?>? hostErrorTimeoutSeconds,
  5. Input<String?>? instanceTerminationAction,
  6. Input<List<RegionInstanceTemplateSchedulingLocalSsdRecoveryTimeout>?>? localSsdRecoveryTimeouts,
  7. Input<String?>? maintenanceInterval,
  8. Input<RegionInstanceTemplateSchedulingMaxRunDuration?>? maxRunDuration,
  9. Input<int?>? minNodeCpus,
  10. Input<List<RegionInstanceTemplateSchedulingNodeAffinity>?>? nodeAffinities,
  11. Input<String?>? onHostMaintenance,
  12. Input<RegionInstanceTemplateSchedulingOnInstanceStopAction?>? onInstanceStopAction,
  13. Input<bool?>? preemptible,
  14. Input<RegionInstanceTemplateSchedulingPreemptionNoticeDuration?>? preemptionNoticeDuration,
  15. Input<String?>? provisioningModel,
  16. Input<bool?>? skipGuestOsShutdown,
  17. Input<String?>? terminationTime,
})

Creates a new RegionInstanceTemplateScheduling. automaticRestart Specifies whether the instance should be availabilityDomain 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. gracefulShutdown Settings for the instance to perform a graceful shutdown. hostErrorTimeoutSeconds 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. instanceTerminationAction Describe the type of termination action for SPOT VM. Can be STOP or DELETE. Read more on here localSsdRecoveryTimeouts Specifies the maximum amount of time a Local Ssd Vm should wait while maintenanceInterval Specifies the frequency of planned maintenance events. The accepted values are: PERIODIC maxRunDuration The duration of the instance. Instance will run and be terminated after then, the termination action could be defined in instanceTerminationAction. Only support DELETE instanceTerminationAction at this point. Structure is documented below. minNodeCpus Minimum number of cpus for the instance. nodeAffinities Specifies node affinities or anti-affinities onHostMaintenance Defines the maintenance behavior for this onInstanceStopAction Defines the behaviour for instances with the instance_termination_action. preemptible Allows instance to be preempted. This defaults to preemptionNoticeDuration The duration of the notice that the instance will receive before it is preempted. provisioningModel Describe the type of provisioning model for the instance. This field accepts the value STANDARD, SPOT, FLEX_START, or RESERVATION_BOUND. If the value is STANDARD, there will be no discount. If this is set to SPOT, skipGuestOsShutdown Default is false and there will be 120 seconds between GCE ACPI G2 Soft Off and ACPI G3 Mechanical Off for Standard VMs and 30 seconds for Spot VMs. terminationTime 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.

Implementation

const RegionInstanceTemplateScheduling({
  this.automaticRestart,
  this.availabilityDomain,
  this.gracefulShutdown,
  this.hostErrorTimeoutSeconds,
  this.instanceTerminationAction,
  this.localSsdRecoveryTimeouts,
  this.maintenanceInterval,
  this.maxRunDuration,
  this.minNodeCpus,
  this.nodeAffinities,
  this.onHostMaintenance,
  this.onInstanceStopAction,
  this.preemptible,
  this.preemptionNoticeDuration,
  this.provisioningModel,
  this.skipGuestOsShutdown,
  this.terminationTime,
});