
com.pulumi.googlenative.osconfig.v1.kotlin.enums.PatchRolloutMode.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.osconfig.v1.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Mode of the patch rollout.
*/
public enum class PatchRolloutMode(
public val javaValue: com.pulumi.googlenative.osconfig.v1.enums.PatchRolloutMode,
) : ConvertibleToJava {
/**
* Mode must be specified.
*/
ModeUnspecified(com.pulumi.googlenative.osconfig.v1.enums.PatchRolloutMode.ModeUnspecified),
/**
* Patches are applied one zone at a time. The patch job begins in the region with the lowest number of targeted VMs. Within the region, patching begins in the zone with the lowest number of targeted VMs. If multiple regions (or zones within a region) have the same number of targeted VMs, a tie-breaker is achieved by sorting the regions or zones in alphabetical order.
*/
ZoneByZone(com.pulumi.googlenative.osconfig.v1.enums.PatchRolloutMode.ZoneByZone),
/**
* Patches are applied to VMs in all zones at the same time.
*/
ConcurrentZones(com.pulumi.googlenative.osconfig.v1.enums.PatchRolloutMode.ConcurrentZones),
;
override fun toJava(): com.pulumi.googlenative.osconfig.v1.enums.PatchRolloutMode = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.googlenative.osconfig.v1.enums.PatchRolloutMode): PatchRolloutMode = PatchRolloutMode.values().first { it.javaValue == javaType }
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy