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

com.pulumi.gcp.dataproc.kotlin.outputs.AutoscalingPolicyBasicAlgorithm.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.10.0.0
Show newest version
@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