ComputeResourceConfig class

Describes how a compute resource should be created at runtime.

Constructors

ComputeResourceConfig({NewFlexStartInstancesConfig? newFlexStartInstances, NewOnDemandInstancesConfig? newOnDemandInstances, NewReservedInstancesConfig? newReservedInstances, NewSpotInstancesConfig? newSpotInstances})
ComputeResourceConfig.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
newFlexStartInstances NewFlexStartInstancesConfig?
If set, indicates that this resource should use flex-start VMs.
getter/setter pair
newOnDemandInstances NewOnDemandInstancesConfig?
If set, indicates that this resource should use on-demand VMs.
getter/setter pair
newReservedInstances NewReservedInstancesConfig?
If set, indicates that this resource should use reserved VMs.
getter/setter pair
newSpotInstances NewSpotInstancesConfig?
If set, indicates that this resource should use spot VMs.
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