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

com.pulumi.azure.mysql.kotlin.outputs.FlexibleServerHighAvailability.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: 6.15.0.0
Show newest version
@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