GetInstanceTemplateScheduling constructor

const GetInstanceTemplateScheduling({
  1. required Input<bool> automaticRestart,
  2. required Input<int> availabilityDomain,
  3. required Input<List<GetInstanceTemplateSchedulingGracefulShutdown>> gracefulShutdowns,
  4. required Input<int> hostErrorTimeoutSeconds,
  5. required Input<String> instanceTerminationAction,
  6. required Input<List<GetInstanceTemplateSchedulingLocalSsdRecoveryTimeout>> localSsdRecoveryTimeouts,
  7. required Input<String> maintenanceInterval,
  8. required Input<List<GetInstanceTemplateSchedulingMaxRunDuration>> maxRunDurations,
  9. required Input<int> minNodeCpus,
  10. required Input<List<GetInstanceTemplateSchedulingNodeAffinity>> nodeAffinities,
  11. required Input<String> onHostMaintenance,
  12. required Input<List<GetInstanceTemplateSchedulingOnInstanceStopAction>> onInstanceStopActions,
  13. required Input<bool> preemptible,
  14. required Input<List<GetInstanceTemplateSchedulingPreemptionNoticeDuration>> preemptionNoticeDurations,
  15. required Input<String> provisioningModel,
  16. required Input<bool> skipGuestOsShutdown,
  17. required Input<String> terminationTime,
})

Creates a new GetInstanceTemplateScheduling. automaticRestart Specifies whether the instance should be availabilityDomain Specifies the availability domain, which this instance should be scheduled on. gracefulShutdowns Settings for the instance to perform a graceful shutdown. hostErrorTimeoutSeconds Time in seconds for host error detection. 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 maxRunDurations The timeout for new network connections to hosts. minNodeCpus Minimum number of cpus for the instance. nodeAffinities Specifies node affinities or anti-affinities onHostMaintenance Defines the maintenance behavior for this onInstanceStopActions Defines the behaviour for instances with the instance_termination_action. preemptible Allows instance to be preempted. This defaults to preemptionNoticeDurations The duration of the notice that the instance will receive before it is preempted. provisioningModel Describe the type of provisioning model for the instance. Can be STANDARD, SPOT, FLEX_START, or RESERVATION_BOUND. 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,

Implementation

const GetInstanceTemplateScheduling({
  required this.automaticRestart,
  required this.availabilityDomain,
  required this.gracefulShutdowns,
  required this.hostErrorTimeoutSeconds,
  required this.instanceTerminationAction,
  required this.localSsdRecoveryTimeouts,
  required this.maintenanceInterval,
  required this.maxRunDurations,
  required this.minNodeCpus,
  required this.nodeAffinities,
  required this.onHostMaintenance,
  required this.onInstanceStopActions,
  required this.preemptible,
  required this.preemptionNoticeDurations,
  required this.provisioningModel,
  required this.skipGuestOsShutdown,
  required this.terminationTime,
});