GetInstanceScheduling class
Constructors
-
GetInstanceScheduling({required Input<
bool> automaticRestart, required Input<int> availabilityDomain, required Input<List< gracefulShutdowns, required Input<GetInstanceSchedulingGracefulShutdown> >int> hostErrorTimeoutSeconds, required Input<String> instanceTerminationAction, required Input<List< localSsdRecoveryTimeouts, required Input<GetInstanceSchedulingLocalSsdRecoveryTimeout> >String> maintenanceInterval, required Input<List< maxRunDurations, required Input<GetInstanceSchedulingMaxRunDuration> >int> minNodeCpus, required Input<List< nodeAffinities, required Input<GetInstanceSchedulingNodeAffinity> >String> onHostMaintenance, required Input<List< onInstanceStopActions, required Input<GetInstanceSchedulingOnInstanceStopAction> >bool> preemptible, required Input<List< preemptionNoticeDurations, required Input<GetInstanceSchedulingPreemptionNoticeDuration> >String> provisioningModel, required Input<bool> skipGuestOsShutdown, required Input<String> terminationTime}) -
Creates a new GetInstanceScheduling.
automaticRestartSpecifies if the instance should beavailabilityDomainSpecifies the availability domain, which this instance should be scheduled on.gracefulShutdownsSettings for the instance to perform a graceful shutdown.hostErrorTimeoutSecondsTime in seconds for host error detection.instanceTerminationActionDescribe the type of termination action forSPOTVM. Can beSTOPorDELETE. Read more on herelocalSsdRecoveryTimeoutsSpecifies the maximum amount of time a Local Ssd Vm should wait whilemaintenanceIntervalSpecifies the frequency of planned maintenance events. The accepted values are: PERIODICmaxRunDurationsThe timeout for new network connections to hosts.minNodeCpusRequired.nodeAffinitiesSpecifies node affinities or anti-affinities to determine which sole-tenant nodes your instances and managed instance groups will use as host systems.onHostMaintenanceDescribes maintenance behavior for theonInstanceStopActionsDefines the behaviour for instances with the instance_termination_action.preemptibleWhether the instance is preemptible.preemptionNoticeDurationsThe duration of the notice that the instance will receive before it is preempted.provisioningModelDescribe the type of provisioning model for the instance. Can beSTANDARD,SPOT,FLEX_START, orRESERVATION_BOUND.skipGuestOsShutdownDefault 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.terminationTimeSpecifies 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
SPOTVM. Can beSTOPorDELETE. Read more on herefinal -
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
MIGRATEorTERMINATE, for more info, read herefinal -
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, orRESERVATION_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