InstanceFromMachineImageScheduling class

Constructors

InstanceFromMachineImageScheduling({Input<bool?>? automaticRestart, Input<int?>? availabilityDomain, Input<InstanceFromMachineImageSchedulingGracefulShutdown?>? gracefulShutdown, Input<int?>? hostErrorTimeoutSeconds, Input<String?>? instanceTerminationAction, Input<InstanceFromMachineImageSchedulingLocalSsdRecoveryTimeout?>? localSsdRecoveryTimeout, Input<String?>? maintenanceInterval, Input<InstanceFromMachineImageSchedulingMaxRunDuration?>? maxRunDuration, Input<int?>? minNodeCpus, Input<List<InstanceFromMachineImageSchedulingNodeAffinity>?>? nodeAffinities, Input<String?>? onHostMaintenance, Input<InstanceFromMachineImageSchedulingOnInstanceStopAction?>? onInstanceStopAction, Input<bool?>? preemptible, Input<InstanceFromMachineImageSchedulingPreemptionNoticeDuration?>? preemptionNoticeDuration, Input<String?>? provisioningModel, Input<bool?>? skipGuestOsShutdown, 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,
const
InstanceFromMachineImageScheduling.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<InstanceFromMachineImageSchedulingGracefulShutdown?>?
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<InstanceFromMachineImageSchedulingLocalSsdRecoveryTimeout?>?
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<InstanceFromMachineImageSchedulingMaxRunDuration?>?
The timeout for new network connections to hosts.
final
minNodeCpus → Input<int?>?
final
nodeAffinities → Input<List<InstanceFromMachineImageSchedulingNodeAffinity>?>?
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<InstanceFromMachineImageSchedulingOnInstanceStopAction?>?
Defines the behaviour for instances with the instance_termination_action.
final
preemptible → Input<bool?>?
Whether the instance is preemptible.
final
preemptionNoticeDuration → Input<InstanceFromMachineImageSchedulingPreemptionNoticeDuration?>?
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

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