com.pulumi.azure.mariadb.kotlin.outputs.GetMariaDbServerStorageProfile.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.mariadb.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property autoGrow Whether autogrow is enabled or disabled for the storage.
* @property backupRetentionDays Backup retention days for the server.
* @property geoRedundantBackup Whether Geo-redundant is enabled or not for server backup.
* @property storageMb The max storage allowed for a server.
*/
public data class GetMariaDbServerStorageProfile(
public val autoGrow: String,
public val backupRetentionDays: Int,
public val geoRedundantBackup: String,
public val storageMb: Int,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.mariadb.outputs.GetMariaDbServerStorageProfile): GetMariaDbServerStorageProfile = GetMariaDbServerStorageProfile(
autoGrow = javaType.autoGrow(),
backupRetentionDays = javaType.backupRetentionDays(),
geoRedundantBackup = javaType.geoRedundantBackup(),
storageMb = javaType.storageMb(),
)
}
}