com.pulumi.azure.mysql.kotlin.outputs.FlexibleServerHighAvailability.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.mysql.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property mode The high availability mode for the MySQL Flexible Server. Possibles values are `SameZone` and `ZoneRedundant`.
* > **NOTE:** `storage[0].auto_grow_enabled` must be enabled when `high_availability` is enabled. To change the `high_availability` for a MySQL Flexible Server created with `high_availability` disabled during creation, the resource has to be recreated.
* @property standbyAvailabilityZone
*/
public data class FlexibleServerHighAvailability(
public val mode: String,
public val standbyAvailabilityZone: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.mysql.outputs.FlexibleServerHighAvailability):
FlexibleServerHighAvailability = FlexibleServerHighAvailability(
mode = javaType.mode(),
standbyAvailabilityZone = javaType.standbyAvailabilityZone().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy