![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.desktopvirtualization.kotlin.enums.StopHostsWhen.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-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.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.desktopvirtualization.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Specifies when to stop hosts during ramp down period.
*/
public enum class StopHostsWhen(
public val javaValue: com.pulumi.azurenative.desktopvirtualization.enums.StopHostsWhen,
) : ConvertibleToJava {
ZeroSessions(com.pulumi.azurenative.desktopvirtualization.enums.StopHostsWhen.ZeroSessions),
ZeroActiveSessions(com.pulumi.azurenative.desktopvirtualization.enums.StopHostsWhen.ZeroActiveSessions),
;
override fun toJava(): com.pulumi.azurenative.desktopvirtualization.enums.StopHostsWhen =
javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.desktopvirtualization.enums.StopHostsWhen): StopHostsWhen = StopHostsWhen.values().first { it.javaValue == javaType }
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy