com.pulumi.gcp.container.kotlin.outputs.GetClusterClusterAutoscalingAutoProvisioningDefaultUpgradeSettingBlueGreenSettingStandardRolloutPolicy.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.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 bool pool nodes to drain in a batch. The range of this field should be (0.0, 1.0].
* @property batchSoakDuration Soak time after each batch gets drained.
* A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
*/
public data class
GetClusterClusterAutoscalingAutoProvisioningDefaultUpgradeSettingBlueGreenSettingStandardRolloutPolicy(
public val batchNodeCount: Int,
public val batchPercentage: Double,
public val batchSoakDuration: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.container.outputs.GetClusterClusterAutoscalingAutoProvisioningDefaultUpgradeSettingBlueGreenSettingStandardRolloutPolicy): GetClusterClusterAutoscalingAutoProvisioningDefaultUpgradeSettingBlueGreenSettingStandardRolloutPolicy =
GetClusterClusterAutoscalingAutoProvisioningDefaultUpgradeSettingBlueGreenSettingStandardRolloutPolicy(
batchNodeCount = javaType.batchNodeCount(),
batchPercentage = javaType.batchPercentage(),
batchSoakDuration = javaType.batchSoakDuration(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy