com.pulumi.azure.batch.kotlin.outputs.PoolAutoScale.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.batch.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property evaluationInterval The interval to wait before evaluating if the pool needs to be scaled. Defaults to `PT15M`.
* @property formula The autoscale formula that needs to be used for scaling the Batch pool.
*/
public data class PoolAutoScale(
public val evaluationInterval: String? = null,
public val formula: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.batch.outputs.PoolAutoScale): PoolAutoScale =
PoolAutoScale(
evaluationInterval = javaType.evaluationInterval().map({ args0 -> args0 }).orElse(null),
formula = javaType.formula(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy