com.pulumi.azurenative.network.kotlin.enums.DeleteExistingPeering.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.network.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Flag if need to remove current existing peerings.
*/
public enum class DeleteExistingPeering(
public val javaValue: com.pulumi.azurenative.network.enums.DeleteExistingPeering,
) : ConvertibleToJava {
False(com.pulumi.azurenative.network.enums.DeleteExistingPeering.False),
True(com.pulumi.azurenative.network.enums.DeleteExistingPeering.True),
;
override fun toJava(): com.pulumi.azurenative.network.enums.DeleteExistingPeering = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.network.enums.DeleteExistingPeering): DeleteExistingPeering = DeleteExistingPeering.values().first { it.javaValue == javaType }
}
}