com.pulumi.gcp.composer.kotlin.outputs.EnvironmentConfigDatabaseConfig.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.composer.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property machineType Optional. Cloud SQL machine type used by Airflow database. It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8 or db-n1-standard-16. If not specified, db-n1-standard-2 will be used.
* @property zone Optional. Cloud SQL database preferred zone.
*/
public data class EnvironmentConfigDatabaseConfig(
public val machineType: String? = null,
public val zone: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.composer.outputs.EnvironmentConfigDatabaseConfig): EnvironmentConfigDatabaseConfig = EnvironmentConfigDatabaseConfig(
machineType = javaType.machineType().map({ args0 -> args0 }).orElse(null),
zone = javaType.zone().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy