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

com.pulumi.gcp.sql.kotlin.outputs.GetDatabasesDatabase.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.sql.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property charset The charset value. See MySQL's
 * [Supported Character Sets and Collations](https://dev.mysql.com/doc/refman/5.7/en/charset-charsets.html)
 * and Postgres' [Character Set Support](https://www.postgresql.org/docs/9.6/static/multibyte.html)
 * for more details and supported values. Postgres databases only support
 * a value of 'UTF8' at creation time.
 * @property collation The collation value. See MySQL's
 * [Supported Character Sets and Collations](https://dev.mysql.com/doc/refman/5.7/en/charset-charsets.html)
 * and Postgres' [Collation Support](https://www.postgresql.org/docs/9.6/static/collation.html)
 * for more details and supported values. Postgres databases only support
 * a value of 'en_US.UTF8' at creation time.
 * @property deletionPolicy The deletion policy for the database. Setting ABANDON allows the resource
 * to be abandoned rather than deleted. This is useful for Postgres, where databases cannot be
 * deleted from the API if there are users other than cloudsqlsuperuser with access. Possible
 * values are: "ABANDON", "DELETE". Defaults to "DELETE".
 * @property instance The name of the Cloud SQL database instance in which the database belongs.
 * @property name The name of the database in the Cloud SQL instance.
 * This does not include the project ID or instance name.
 * @property project The ID of the project in which the instance belongs.
 * > **Note** This datasource performs client-side sorting to provide consistent ordering of the databases.
 * @property selfLink
 */
public data class GetDatabasesDatabase(
    public val charset: String,
    public val collation: String,
    public val deletionPolicy: String,
    public val instance: String,
    public val name: String,
    public val project: String,
    public val selfLink: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.sql.outputs.GetDatabasesDatabase): GetDatabasesDatabase = GetDatabasesDatabase(
            charset = javaType.charset(),
            collation = javaType.collation(),
            deletionPolicy = javaType.deletionPolicy(),
            instance = javaType.instance(),
            name = javaType.name(),
            project = javaType.project(),
            selfLink = javaType.selfLink(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy