com.pulumi.azurenative.compute.kotlin.enums.ReplicationMode.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.compute.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Optional parameter which specifies the mode to be used for replication. This property is not updatable.
*/
public enum class ReplicationMode(
public val javaValue: com.pulumi.azurenative.compute.enums.ReplicationMode,
) : ConvertibleToJava {
Full(com.pulumi.azurenative.compute.enums.ReplicationMode.Full),
Shallow(com.pulumi.azurenative.compute.enums.ReplicationMode.Shallow),
;
override fun toJava(): com.pulumi.azurenative.compute.enums.ReplicationMode = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.compute.enums.ReplicationMode): ReplicationMode = ReplicationMode.values().first { it.javaValue == javaType }
}
}