InstanceFromTemplateScheduling class
Constructors
-
InstanceFromTemplateScheduling({Input<bool?>? automaticRestart, Input<int?>? availabilityDomain, Input<InstanceFromTemplateSchedulingGracefulShutdown?>? gracefulShutdown, Input<int?>? hostErrorTimeoutSeconds, Input<String?>? instanceTerminationAction, Input<InstanceFromTemplateSchedulingLocalSsdRecoveryTimeout?>? localSsdRecoveryTimeout, Input<String?>? maintenanceInterval, Input<InstanceFromTemplateSchedulingMaxRunDuration?>? maxRunDuration, Input<int?>? minNodeCpus, Input<List<InstanceFromTemplateSchedulingNodeAffinity>?>? nodeAffinities, Input<String?>? onHostMaintenance, Input<InstanceFromTemplateSchedulingOnInstanceStopAction?>? onInstanceStopAction, Input<bool?>? preemptible, Input<InstanceFromTemplateSchedulingPreemptionNoticeDuration?>? preemptionNoticeDuration, Input<String?>? provisioningModel, Input<bool?>? skipGuestOsShutdown, Input<String?>? terminationTime})
-
Creates a new InstanceFromTemplateScheduling.
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,
const
-
InstanceFromTemplateScheduling.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
automaticRestart
→ Input<bool?>?
-
Specifies if the instance should be restarted if it was terminated by Compute Engine (not a user).
final
-
availabilityDomain
→ Input<int?>?
-
Specifies the availability domain, which this instance should be scheduled on.
final
-
gracefulShutdown
→ Input<InstanceFromTemplateSchedulingGracefulShutdown?>?
-
Settings for the instance to perform a graceful shutdown.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
hostErrorTimeoutSeconds
→ Input<int?>?
-
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.
final
-
instanceTerminationAction
→ Input<String?>?
-
Specifies the action GCE should take when SPOT VM is preempted.
final
-
localSsdRecoveryTimeout
→ Input<InstanceFromTemplateSchedulingLocalSsdRecoveryTimeout?>?
-
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
-
maxRunDuration
→ Input<InstanceFromTemplateSchedulingMaxRunDuration?>?
-
The timeout for new network connections to hosts.
final
-
minNodeCpus
→ Input<int?>?
-
final
-
nodeAffinities
→ Input<List<InstanceFromTemplateSchedulingNodeAffinity>?>?
-
Specifies node affinities or anti-affinities to determine which sole-tenant nodes your instances and managed instance groups will use as host systems.
final
-
onHostMaintenance
→ Input<String?>?
-
Describes maintenance behavior for the instance. One of MIGRATE or TERMINATE,
final
-
onInstanceStopAction
→ Input<InstanceFromTemplateSchedulingOnInstanceStopAction?>?
-
Defines the behaviour for instances with the instance_termination_action.
final
-
preemptible
→ Input<bool?>?
-
Whether the instance is preemptible.
final
-
preemptionNoticeDuration
→ Input<InstanceFromTemplateSchedulingPreemptionNoticeDuration?>?
-
The duration of the notice that the instance will receive before it is preempted.
final
-
provisioningModel
→ Input<String?>?
-
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.
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