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

com.pulumi.gcp.dataproc.kotlin.outputs.JobScheduling.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: 8.12.0.0
Show newest version
@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