All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.batch.kotlin.outputs.PoolTaskSchedulingPolicy.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.batch.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property nodeFillType Supported values are "Pack" and "Spread". "Pack" means as many tasks as possible (taskSlotsPerNode) should be assigned to each node in the pool before any tasks are assigned to the next node in the pool. "Spread" means that tasks should be assigned evenly across all nodes in the pool.
 */
public data class PoolTaskSchedulingPolicy(
    public val nodeFillType: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.batch.outputs.PoolTaskSchedulingPolicy):
            PoolTaskSchedulingPolicy = PoolTaskSchedulingPolicy(
            nodeFillType = javaType.nodeFillType().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy