com.pulumi.gcp.dataproc.kotlin.outputs.JobScheduling.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.dataproc.kotlin.outputs
import kotlin.Int
import kotlin.Suppress
/**
*
* @property maxFailuresPerHour Maximum number of times per hour a driver may be restarted as a result of driver exiting with non-zero code before job is reported failed.
* @property maxFailuresTotal Maximum number of times in total a driver may be restarted as a result of driver exiting with non-zero code before job is reported failed.
*/
public data class JobScheduling(
public val maxFailuresPerHour: Int,
public val maxFailuresTotal: Int,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.dataproc.outputs.JobScheduling): JobScheduling =
JobScheduling(
maxFailuresPerHour = javaType.maxFailuresPerHour(),
maxFailuresTotal = javaType.maxFailuresTotal(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy