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

com.pulumi.googlenative.datamigration.v1.kotlin.enums.CloudSqlSettingsDatabaseVersion.kt Maven / Gradle / Ivy

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

package com.pulumi.googlenative.datamigration.v1.kotlin.enums

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

/**
 * The database engine type and version.
 */
public enum class CloudSqlSettingsDatabaseVersion(
    public val javaValue: com.pulumi.googlenative.datamigration.v1.enums.CloudSqlSettingsDatabaseVersion,
) :
    ConvertibleToJava {
    /**
     * Unspecified version.
     */
    SqlDatabaseVersionUnspecified(com.pulumi.googlenative.datamigration.v1.enums.CloudSqlSettingsDatabaseVersion.SqlDatabaseVersionUnspecified),

    /**
     * MySQL 5.6.
     */
    Mysql56(com.pulumi.googlenative.datamigration.v1.enums.CloudSqlSettingsDatabaseVersion.Mysql56),

    /**
     * MySQL 5.7.
     */
    Mysql57(com.pulumi.googlenative.datamigration.v1.enums.CloudSqlSettingsDatabaseVersion.Mysql57),

    /**
     * PostgreSQL 9.6.
     */
    Postgres96(com.pulumi.googlenative.datamigration.v1.enums.CloudSqlSettingsDatabaseVersion.Postgres96),

    /**
     * PostgreSQL 11.
     */
    Postgres11(com.pulumi.googlenative.datamigration.v1.enums.CloudSqlSettingsDatabaseVersion.Postgres11),

    /**
     * PostgreSQL 10.
     */
    Postgres10(com.pulumi.googlenative.datamigration.v1.enums.CloudSqlSettingsDatabaseVersion.Postgres10),

    /**
     * MySQL 8.0.
     */
    Mysql80(com.pulumi.googlenative.datamigration.v1.enums.CloudSqlSettingsDatabaseVersion.Mysql80),

    /**
     * PostgreSQL 12.
     */
    Postgres12(com.pulumi.googlenative.datamigration.v1.enums.CloudSqlSettingsDatabaseVersion.Postgres12),

    /**
     * PostgreSQL 13.
     */
    Postgres13(com.pulumi.googlenative.datamigration.v1.enums.CloudSqlSettingsDatabaseVersion.Postgres13),

    /**
     * PostgreSQL 14.
     */
    Postgres14(com.pulumi.googlenative.datamigration.v1.enums.CloudSqlSettingsDatabaseVersion.Postgres14),
    ;

    override fun toJava(): com.pulumi.googlenative.datamigration.v1.enums.CloudSqlSettingsDatabaseVersion = javaValue

    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.datamigration.v1.enums.CloudSqlSettingsDatabaseVersion): CloudSqlSettingsDatabaseVersion =
            CloudSqlSettingsDatabaseVersion.values().first { it.javaValue == javaType }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy