GetInstanceScheduling class

Constructors

GetInstanceScheduling({required Input<bool> automaticRestart, required Input<int> availabilityDomain, required Input<List<GetInstanceSchedulingGracefulShutdown>> gracefulShutdowns, required Input<int> hostErrorTimeoutSeconds, required Input<String> instanceTerminationAction, required Input<List<GetInstanceSchedulingLocalSsdRecoveryTimeout>> localSsdRecoveryTimeouts, required Input<String> maintenanceInterval, required Input<List<GetInstanceSchedulingMaxRunDuration>> maxRunDurations, required Input<int> minNodeCpus, required Input<List<GetInstanceSchedulingNodeAffinity>> nodeAffinities, required Input<String> onHostMaintenance, required Input<List<GetInstanceSchedulingOnInstanceStopAction>> onInstanceStopActions, required Input<bool> preemptible, required Input<List<GetInstanceSchedulingPreemptionNoticeDuration>> preemptionNoticeDurations, required Input<String> provisioningModel, required Input<bool> skipGuestOsShutdown, required Input<String> terminationTime})
Creates a new GetInstanceScheduling. automaticRestart Specifies if 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 Required. 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 onInstanceStopActions Defines the behaviour for instances with the instance_termination_action. preemptible Whether the instance is preemptible. 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
GetInstanceScheduling.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
gracefulShutdowns → Input<List<GetInstanceSchedulingGracefulShutdown>>
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<GetInstanceSchedulingLocalSsdRecoveryTimeout>>
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<GetInstanceSchedulingMaxRunDuration>>
The timeout for new network connections to hosts.
final
minNodeCpus → Input<int>
final
nodeAffinities → Input<List<GetInstanceSchedulingNodeAffinity>>
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, for more info, read here
final
onInstanceStopActions → Input<List<GetInstanceSchedulingOnInstanceStopAction>>
Defines the behaviour for instances with the instance_termination_action.
final
preemptible → Input<bool>
Whether the instance is preemptible.
final
preemptionNoticeDurations → Input<List<GetInstanceSchedulingPreemptionNoticeDuration>>
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