ServiceOrderedPlacementStrategyArgs

data class ServiceOrderedPlacementStrategyArgs(val field: Output<String>? = null, val type: Output<String>) : ConvertibleToJava<ServiceOrderedPlacementStrategyArgs>

Constructors

Link copied to clipboard
constructor(field: Output<String>? = null, type: Output<String>)

Properties

Link copied to clipboard
val field: Output<String>? = null

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.

Link copied to clipboard
val type: Output<String>

Type of placement strategy. Must be one of: binpack, random, or spread

Functions

Link copied to clipboard
open override fun toJava(): ServiceOrderedPlacementStrategyArgs