com.pulumi.gcp.sql.kotlin.outputs.DatabaseInstanceSettingsLocationPreference.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.sql.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property followGaeApplication A GAE application whose zone to remain
* in. Must be in the same region as this instance.
* @property secondaryZone The preferred Compute Engine zone for the secondary/failover.
* @property zone The preferred compute engine
* [zone](https://cloud.google.com/compute/docs/zones?hl=en).
*/
public data class DatabaseInstanceSettingsLocationPreference(
public val followGaeApplication: String? = null,
public val secondaryZone: String? = null,
public val zone: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.sql.outputs.DatabaseInstanceSettingsLocationPreference): DatabaseInstanceSettingsLocationPreference = DatabaseInstanceSettingsLocationPreference(
followGaeApplication = javaType.followGaeApplication().map({ args0 -> args0 }).orElse(null),
secondaryZone = javaType.secondaryZone().map({ args0 -> args0 }).orElse(null),
zone = javaType.zone().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy