com.pulumi.azurenative.web.kotlin.enums.ActiveRevisionsMode.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.web.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* ActiveRevisionsMode controls how active revisions are handled for the Container app:
* - Multiple: multiple revisions can be active. If no value if provided, this is the default
- Single: Only one revision can be active at a time. Revision weights can not be used in this mode
*/
public enum class ActiveRevisionsMode(
public val javaValue: com.pulumi.azurenative.web.enums.ActiveRevisionsMode,
) : ConvertibleToJava {
Multiple(com.pulumi.azurenative.web.enums.ActiveRevisionsMode.Multiple),
Single(com.pulumi.azurenative.web.enums.ActiveRevisionsMode.Single),
;
override fun toJava(): com.pulumi.azurenative.web.enums.ActiveRevisionsMode = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.web.enums.ActiveRevisionsMode): ActiveRevisionsMode = ActiveRevisionsMode.values().first { it.javaValue == javaType }
}
}