com.pulumi.gcp.dataproc.kotlin.outputs.AutoscalingPolicyBasicAlgorithm.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.String
import kotlin.Suppress
/**
*
* @property cooldownPeriod Duration between scaling events. A scaling period starts after the
* update operation from the previous event has completed.
* Bounds: [2m, 1d]. Default: 2m.
* @property yarnConfig YARN autoscaling configuration.
* Structure is documented below.
*/
public data class AutoscalingPolicyBasicAlgorithm(
public val cooldownPeriod: String? = null,
public val yarnConfig: AutoscalingPolicyBasicAlgorithmYarnConfig,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.dataproc.outputs.AutoscalingPolicyBasicAlgorithm): AutoscalingPolicyBasicAlgorithm = AutoscalingPolicyBasicAlgorithm(
cooldownPeriod = javaType.cooldownPeriod().map({ args0 -> args0 }).orElse(null),
yarnConfig = javaType.yarnConfig().let({ args0 ->
com.pulumi.gcp.dataproc.kotlin.outputs.AutoscalingPolicyBasicAlgorithmYarnConfig.Companion.toKotlin(args0)
}),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy