![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.app.kotlin.outputs.JobScaleResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.app.kotlin.outputs
import kotlin.Int
import kotlin.Suppress
import kotlin.collections.List
/**
* Scaling configurations for event driven jobs.
* @property maxExecutions Maximum number of job executions that are created for a trigger, default 100.
* @property minExecutions Minimum number of job executions that are created for a trigger, default 0
* @property pollingInterval Interval to check each event source in seconds. Defaults to 30s
* @property rules Scaling rules.
*/
public data class JobScaleResponse(
public val maxExecutions: Int? = null,
public val minExecutions: Int? = null,
public val pollingInterval: Int? = null,
public val rules: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.app.outputs.JobScaleResponse): JobScaleResponse = JobScaleResponse(
maxExecutions = javaType.maxExecutions().map({ args0 -> args0 }).orElse(null),
minExecutions = javaType.minExecutions().map({ args0 -> args0 }).orElse(null),
pollingInterval = javaType.pollingInterval().map({ args0 -> args0 }).orElse(null),
rules = javaType.rules().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.app.kotlin.outputs.JobScaleRuleResponse.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy