GetInstanceTemplateScheduling constructor
- required Input<
bool> automaticRestart, - required Input<
int> availabilityDomain, - required Input<
List< gracefulShutdowns,GetInstanceTemplateSchedulingGracefulShutdown> > - required Input<
int> hostErrorTimeoutSeconds, - required Input<
String> instanceTerminationAction, - required Input<
List< localSsdRecoveryTimeouts,GetInstanceTemplateSchedulingLocalSsdRecoveryTimeout> > - required Input<
String> maintenanceInterval, - required Input<
List< maxRunDurations,GetInstanceTemplateSchedulingMaxRunDuration> > - required Input<
int> minNodeCpus, - required Input<
List< nodeAffinities,GetInstanceTemplateSchedulingNodeAffinity> > - required Input<
String> onHostMaintenance, - required Input<
List< onInstanceStopActions,GetInstanceTemplateSchedulingOnInstanceStopAction> > - required Input<
bool> preemptible, - required Input<
List< preemptionNoticeDurations,GetInstanceTemplateSchedulingPreemptionNoticeDuration> > - required Input<
String> provisioningModel, - required Input<
bool> skipGuestOsShutdown, - 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,
});