GetInstanceTemplateScheduling class

Constructors

GetInstanceTemplateScheduling({required Input<bool> automaticRestart, required Input<int> availabilityDomain, required Input<List<GetInstanceTemplateSchedulingGracefulShutdown>> gracefulShutdowns, required Input<int> hostErrorTimeoutSeconds, required Input<String> instanceTerminationAction, required Input<List<GetInstanceTemplateSchedulingLocalSsdRecoveryTimeout>> localSsdRecoveryTimeouts, required Input<String> maintenanceInterval, required Input<List<GetInstanceTemplateSchedulingMaxRunDuration>> maxRunDurations, required Input<int> minNodeCpus, required Input<List<GetInstanceTemplateSchedulingNodeAffinity>> nodeAffinities, required Input<String> onHostMaintenance, required Input<List<GetInstanceTemplateSchedulingOnInstanceStopAction>> onInstanceStopActions, required Input<bool> preemptible, required Input<List<GetInstanceTemplateSchedulingPreemptionNoticeDuration>> preemptionNoticeDurations, 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,
const
GetInstanceTemplateScheduling.fromMap(Map<String, dynamic> map)
factory

Properties

automaticRestart → Input<bool>
Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user). This defaults to true.
final
availabilityDomain → Input<int>
Specifies the availability domain, which this instance should be scheduled on.
final
gracefulShutdowns → Input<List<GetInstanceTemplateSchedulingGracefulShutdown>>
Settings for the instance to perform a graceful shutdown.
final
hashCode → int
The hash code for this object.
no setterinherited
hostErrorTimeoutSeconds → Input<int>
Time in seconds for host error detection.
final
instanceTerminationAction → Input<String>
Describe the type of termination action for SPOT VM. Can be STOP or DELETE. Read more on here
final
localSsdRecoveryTimeouts → Input<List<GetInstanceTemplateSchedulingLocalSsdRecoveryTimeout>>
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.
final
maintenanceInterval → Input<String>
Specifies the frequency of planned maintenance events. The accepted values are: PERIODIC
final
maxRunDurations → Input<List<GetInstanceTemplateSchedulingMaxRunDuration>>
The timeout for new network connections to hosts.
final
minNodeCpus → Input<int>
Minimum number of cpus for the instance.
final
nodeAffinities → Input<List<GetInstanceTemplateSchedulingNodeAffinity>>
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.
final
onHostMaintenance → Input<String>
Defines the maintenance behavior for this instance.
final
onInstanceStopActions → Input<List<GetInstanceTemplateSchedulingOnInstanceStopAction>>
Defines the behaviour for instances with the instance_termination_action.
final
preemptible → Input<bool>
Allows instance to be preempted. This defaults to false. Read more on this here.
final
preemptionNoticeDurations → Input<List<GetInstanceTemplateSchedulingPreemptionNoticeDuration>>
The duration of the notice that the instance will receive before it is preempted.
final
provisioningModel → Input<String>
Describe the type of provisioning model for the instance. Can be STANDARD, SPOT, FLEX_START, or RESERVATION_BOUND.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
skipGuestOsShutdown → Input<bool>
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.
final
terminationTime → Input<String>
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.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited