
com.pulumi.googlenative.container.v1.kotlin.outputs.StandardRolloutPolicyResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-google-native-kotlin Show documentation
Show all versions of pulumi-google-native-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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.container.v1.kotlin.outputs
import kotlin.Double
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
* Standard rollout policy is the default policy for blue-green.
* @property batchNodeCount Number of blue nodes to drain in a batch.
* @property batchPercentage Percentage of the blue 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. Default to zero.
*/
public data class StandardRolloutPolicyResponse(
public val batchNodeCount: Int,
public val batchPercentage: Double,
public val batchSoakDuration: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.googlenative.container.v1.outputs.StandardRolloutPolicyResponse): StandardRolloutPolicyResponse = StandardRolloutPolicyResponse(
batchNodeCount = javaType.batchNodeCount(),
batchPercentage = javaType.batchPercentage(),
batchSoakDuration = javaType.batchSoakDuration(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy