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

com.pulumi.gcp.container.kotlin.outputs.GetClusterNodePoolUpgradeSettingBlueGreenSettingStandardRolloutPolicy.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.Double
import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property batchNodeCount Number of blue nodes to drain in a batch.
 * @property batchPercentage Percentage of the blue pool nodes to drain in a batch.
 * @property batchSoakDuration Soak time after each batch gets drained.
 */
public data class GetClusterNodePoolUpgradeSettingBlueGreenSettingStandardRolloutPolicy(
    public val batchNodeCount: Int,
    public val batchPercentage: Double,
    public val batchSoakDuration: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.container.outputs.GetClusterNodePoolUpgradeSettingBlueGreenSettingStandardRolloutPolicy): GetClusterNodePoolUpgradeSettingBlueGreenSettingStandardRolloutPolicy =
            GetClusterNodePoolUpgradeSettingBlueGreenSettingStandardRolloutPolicy(
                batchNodeCount = javaType.batchNodeCount(),
                batchPercentage = javaType.batchPercentage(),
                batchSoakDuration = javaType.batchSoakDuration(),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy