NewSpotInstancesConfig class

When set in a ComputeResourceConfig, indicates that spot VM instances should be created.

Constructors

NewSpotInstancesConfig({String? machineType, String? terminationAction, String? zone})
NewSpotInstancesConfig.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
machineType String?
Name of the Compute Engine machine type to use, e.g. n2-standard-2.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
terminationAction String?
Specifies the termination action of the instance
getter/setter pair
zone String?
Name of the zone in which VM instances should run, e.g., us-central1-a.
getter/setter pair

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