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

com.pulumi.azure.mysql.kotlin.outputs.FlexibleServerStorage.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.14.0.0
Show newest version
@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