![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.sql.kotlin.enums.ReadOnlyEndpointFailoverPolicy.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.sql.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Failover policy of the read-only endpoint for the failover group.
*/
public enum class ReadOnlyEndpointFailoverPolicy(
public val javaValue: com.pulumi.azurenative.sql.enums.ReadOnlyEndpointFailoverPolicy,
) : ConvertibleToJava {
Disabled(com.pulumi.azurenative.sql.enums.ReadOnlyEndpointFailoverPolicy.Disabled),
Enabled(com.pulumi.azurenative.sql.enums.ReadOnlyEndpointFailoverPolicy.Enabled),
;
override fun toJava(): com.pulumi.azurenative.sql.enums.ReadOnlyEndpointFailoverPolicy = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.sql.enums.ReadOnlyEndpointFailoverPolicy): ReadOnlyEndpointFailoverPolicy =
ReadOnlyEndpointFailoverPolicy.values().first { it.javaValue == javaType }
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy