InstanceFromMachineImageScheduling constructor

const InstanceFromMachineImageScheduling({
  1. Input<bool?>? automaticRestart,
  2. Input<int?>? availabilityDomain,
  3. Input<InstanceFromMachineImageSchedulingGracefulShutdown?>? gracefulShutdown,
  4. Input<int?>? hostErrorTimeoutSeconds,
  5. Input<String?>? instanceTerminationAction,
  6. Input<InstanceFromMachineImageSchedulingLocalSsdRecoveryTimeout?>? localSsdRecoveryTimeout,
  7. Input<String?>? maintenanceInterval,
  8. Input<InstanceFromMachineImageSchedulingMaxRunDuration?>? maxRunDuration,
  9. Input<int?>? minNodeCpus,
  10. Input<List<InstanceFromMachineImageSchedulingNodeAffinity>?>? nodeAffinities,
  11. Input<String?>? onHostMaintenance,
  12. Input<InstanceFromMachineImageSchedulingOnInstanceStopAction?>? onInstanceStopAction,
  13. Input<bool?>? preemptible,
  14. Input<InstanceFromMachineImageSchedulingPreemptionNoticeDuration?>? preemptionNoticeDuration,
  15. Input<String?>? provisioningModel,
  16. Input<bool?>? skipGuestOsShutdown,
  17. Input<String?>? terminationTime,
})

Creates a new InstanceFromMachineImageScheduling. automaticRestart Specifies if the instance should be restarted if it was terminated by Compute Engine (not a user). availabilityDomain Specifies the availability domain, which this instance should be scheduled on. gracefulShutdown Settings for the instance to perform a graceful shutdown. hostErrorTimeoutSeconds Specify 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 Specifies the action GCE should take when SPOT VM is preempted. localSsdRecoveryTimeout 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 timeout for new network connections to hosts. minNodeCpus Optional. nodeAffinities Specifies node affinities or anti-affinities to determine which sole-tenant nodes your instances and managed instance groups will use as host systems. onHostMaintenance Describes maintenance behavior for the instance. One of MIGRATE or TERMINATE, onInstanceStopAction Defines the behaviour for instances with the instance_termination_action. preemptible Whether the instance is preemptible. preemptionNoticeDuration The duration of the notice that the instance will receive before it is preempted. provisioningModel Describes the desired provisioning model for the instance. Possible values are STANDARD, SPOT, FLEX_START, and RESERVATION_BOUND. For STANDARD, resources are provisioned immediately. For SPOT, resources are offered at a discount compared to standard pricing but may be preempted. For FLEX_START, resources are offered at a discount with flexible start times. For RESERVATION_BOUND, the instance is bound to a specific reservation and will only consume capacity from that reservation. 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 InstanceFromMachineImageScheduling({
  this.automaticRestart,
  this.availabilityDomain,
  this.gracefulShutdown,
  this.hostErrorTimeoutSeconds,
  this.instanceTerminationAction,
  this.localSsdRecoveryTimeout,
  this.maintenanceInterval,
  this.maxRunDuration,
  this.minNodeCpus,
  this.nodeAffinities,
  this.onHostMaintenance,
  this.onInstanceStopAction,
  this.preemptible,
  this.preemptionNoticeDuration,
  this.provisioningModel,
  this.skipGuestOsShutdown,
  this.terminationTime,
});