com.pulumi.gcp.dataproc.kotlin.outputs.WorkflowTemplateJobScheduling.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. A job may be reported as thrashing if driver exits with non-zero code 4 times within 10 minute window. Maximum value is 10.
* @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. Maximum value is 240
*/
public data class WorkflowTemplateJobScheduling(
public val maxFailuresPerHour: Int? = null,
public val maxFailuresTotal: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.dataproc.outputs.WorkflowTemplateJobScheduling): WorkflowTemplateJobScheduling = WorkflowTemplateJobScheduling(
maxFailuresPerHour = javaType.maxFailuresPerHour().map({ args0 -> args0 }).orElse(null),
maxFailuresTotal = javaType.maxFailuresTotal().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy