GetTaskExecutionCapacityProviderStrategy

data class GetTaskExecutionCapacityProviderStrategy(val base: Int? = null, val capacityProvider: String, val weight: Int? = null)

Constructors

Link copied to clipboard
constructor(base: Int? = null, capacityProvider: String, weight: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val base: Int? = null

The number of tasks, at a minimum, to run on the specified capacity provider. Only one capacity provider in a capacity provider strategy can have a base defined. Defaults to 0.

Link copied to clipboard

Name of the capacity provider.

Link copied to clipboard
val weight: Int? = null

The relative percentage of the total number of launched tasks that should use the specified capacity provider. The weight value is taken into consideration after the base count of tasks has been satisfied. Defaults to 0.