GetRegionInstanceTemplateScheduling class
Constructors
-
GetRegionInstanceTemplateScheduling({required Input<
bool> automaticRestart, required Input<int> availabilityDomain, required Input<List< gracefulShutdowns, required Input<GetRegionInstanceTemplateSchedulingGracefulShutdown> >int> hostErrorTimeoutSeconds, required Input<String> instanceTerminationAction, required Input<List< localSsdRecoveryTimeouts, required Input<GetRegionInstanceTemplateSchedulingLocalSsdRecoveryTimeout> >String> maintenanceInterval, required Input<List< maxRunDurations, required Input<GetRegionInstanceTemplateSchedulingMaxRunDuration> >int> minNodeCpus, required Input<List< nodeAffinities, required Input<GetRegionInstanceTemplateSchedulingNodeAffinity> >String> onHostMaintenance, required Input<List< onInstanceStopActions, required Input<GetRegionInstanceTemplateSchedulingOnInstanceStopAction> >bool> preemptible, required Input<List< preemptionNoticeDurations, required Input<GetRegionInstanceTemplateSchedulingPreemptionNoticeDuration> >String> provisioningModel, required Input<bool> skipGuestOsShutdown, required Input<String> terminationTime}) -
Creates a new GetRegionInstanceTemplateScheduling.
automaticRestartSpecifies whether 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.minNodeCpusMinimum number of cpus for the instance.nodeAffinitiesSpecifies node affinities or anti-affinitiesonHostMaintenanceDefines the maintenance behavior for thisonInstanceStopActionsDefines the behaviour for instances with the instance_termination_action.preemptibleAllows instance to be preempted. This defaults topreemptionNoticeDurationsThe 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 -
GetRegionInstanceTemplateScheduling.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< GetRegionInstanceTemplateSchedulingGracefulShutdown> > -
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< GetRegionInstanceTemplateSchedulingLocalSsdRecoveryTimeout> > -
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< GetRegionInstanceTemplateSchedulingMaxRunDuration> > -
The timeout for new network connections to hosts.
final
-
minNodeCpus
→ Input<
int> -
Minimum number of cpus for the instance.
final
-
nodeAffinities
→ Input<
List< GetRegionInstanceTemplateSchedulingNodeAffinity> > -
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< GetRegionInstanceTemplateSchedulingOnInstanceStopAction> > -
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< GetRegionInstanceTemplateSchedulingPreemptionNoticeDuration> > -
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