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

com.pulumi.gcp.container.kotlin.outputs.NodePoolUpgradeSettingsBlueGreenSettings.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.container.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property nodePoolSoakDuration Time needed after draining the entire blue pool.
 * After this period, the blue pool will be cleaned up.
 * @property standardRolloutPolicy Specifies the standard policy settings for blue-green upgrades.
 */
public data class NodePoolUpgradeSettingsBlueGreenSettings(
    public val nodePoolSoakDuration: String? = null,
    public val standardRolloutPolicy: NodePoolUpgradeSettingsBlueGreenSettingsStandardRolloutPolicy,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.container.outputs.NodePoolUpgradeSettingsBlueGreenSettings): NodePoolUpgradeSettingsBlueGreenSettings = NodePoolUpgradeSettingsBlueGreenSettings(
            nodePoolSoakDuration = javaType.nodePoolSoakDuration().map({ args0 -> args0 }).orElse(null),
            standardRolloutPolicy = javaType.standardRolloutPolicy().let({ args0 ->
                com.pulumi.gcp.container.kotlin.outputs.NodePoolUpgradeSettingsBlueGreenSettingsStandardRolloutPolicy.Companion.toKotlin(args0)
            }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy