All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.web.kotlin.enums.RedundancyMode.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.web.kotlin.enums

import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress

/**
 * Site redundancy mode
 */
public enum class RedundancyMode(
    public val javaValue: com.pulumi.azurenative.web.enums.RedundancyMode,
) : ConvertibleToJava {
    None(com.pulumi.azurenative.web.enums.RedundancyMode.None),
    Manual(com.pulumi.azurenative.web.enums.RedundancyMode.Manual),
    Failover(com.pulumi.azurenative.web.enums.RedundancyMode.Failover),
    ActiveActive(com.pulumi.azurenative.web.enums.RedundancyMode.ActiveActive),
    GeoRedundant(com.pulumi.azurenative.web.enums.RedundancyMode.GeoRedundant),
    ;

    override fun toJava(): com.pulumi.azurenative.web.enums.RedundancyMode = javaValue

    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.web.enums.RedundancyMode): RedundancyMode =
            RedundancyMode.values().first { it.javaValue == javaType }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy