ServiceOrderedPlacementStrategy class

Constructors

ServiceOrderedPlacementStrategy({Input<String?>? field, required Input<String> type})
Creates a new ServiceOrderedPlacementStrategy. field For the spread placement strategy, valid values are instanceId (or host, which has the same effect), or any platform or custom attribute that is applied to a container instance. For the binpack type, valid values are memory and cpu. For the random type, this attribute is not needed. For more information, see Placement Strategy. type Type of placement strategy. Must be one of: binpack, random, or spread
const
ServiceOrderedPlacementStrategy.fromMap(Map<String, dynamic> map)
factory

Properties

field → Input<String?>?
For the spread placement strategy, valid values are instanceId (or host, which has the same effect), or any platform or custom attribute that is applied to a container instance. For the binpack type, valid values are memory and cpu. For the random type, this attribute is not needed. For more information, see Placement Strategy.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → Input<String>
Type of placement strategy. Must be one of: binpack, random, or spread
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