ComputeScheduling class
Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes.
Constructors
-
ComputeScheduling({int? minNodeCpus, List<
SchedulingNodeAffinity> ? nodeAffinities, String? onHostMaintenance, String? restartType}) - ComputeScheduling.fromJson(Map json_)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- minNodeCpus ↔ int?
-
The minimum number of virtual CPUs this instance will consume when running
on a sole-tenant node.
getter/setter pair
-
nodeAffinities
↔ List<
SchedulingNodeAffinity> ? -
A set of node affinity and anti-affinity configurations for sole tenant
nodes.
getter/setter pair
- onHostMaintenance ↔ String?
-
How the instance should behave when the host machine undergoes maintenance
that may temporarily impact instance performance.
Possible string values are:
getter/setter pair
- restartType ↔ String?
-
Whether the Instance should be automatically restarted whenever it is
terminated by Compute Engine (not terminated by user).
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited