![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.dbforpostgresql.kotlin.enums.CreateMode.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.dbforpostgresql.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* The mode to create a new PostgreSQL server.
*/
public enum class CreateMode(
public val javaValue: com.pulumi.azurenative.dbforpostgresql.enums.CreateMode,
) : ConvertibleToJava {
Default(com.pulumi.azurenative.dbforpostgresql.enums.CreateMode.Default),
Create(com.pulumi.azurenative.dbforpostgresql.enums.CreateMode.Create),
Update(com.pulumi.azurenative.dbforpostgresql.enums.CreateMode.Update),
PointInTimeRestore(com.pulumi.azurenative.dbforpostgresql.enums.CreateMode.PointInTimeRestore),
GeoRestore(com.pulumi.azurenative.dbforpostgresql.enums.CreateMode.GeoRestore),
Replica(com.pulumi.azurenative.dbforpostgresql.enums.CreateMode.Replica),
;
override fun toJava(): com.pulumi.azurenative.dbforpostgresql.enums.CreateMode = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.dbforpostgresql.enums.CreateMode): CreateMode = CreateMode.values().first { it.javaValue == javaType }
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy