com.pulumi.azure.mysql.kotlin.outputs.FlexibleServerStorage.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.Boolean
import kotlin.Int
import kotlin.Suppress
/**
*
* @property autoGrowEnabled Should Storage Auto Grow be enabled? Defaults to `true`.
* @property ioScalingEnabled Should IOPS be scaled automatically? If `true`, `iops` can not be set. Defaults to `false`.
* @property iops The storage IOPS for the MySQL Flexible Server. Possible values are between `360` and `20000`.
* @property sizeGb The max storage allowed for the MySQL Flexible Server. Possible values are between `20` and `16384`.
* > **Note:** Decreasing `size_gb` forces a new resource to be created.
*/
public data class FlexibleServerStorage(
public val autoGrowEnabled: Boolean? = null,
public val ioScalingEnabled: Boolean? = null,
public val iops: Int? = null,
public val sizeGb: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.mysql.outputs.FlexibleServerStorage):
FlexibleServerStorage = FlexibleServerStorage(
autoGrowEnabled = javaType.autoGrowEnabled().map({ args0 -> args0 }).orElse(null),
ioScalingEnabled = javaType.ioScalingEnabled().map({ args0 -> args0 }).orElse(null),
iops = javaType.iops().map({ args0 -> args0 }).orElse(null),
sizeGb = javaType.sizeGb().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy