com.pulumi.gcp.sql.kotlin.outputs.GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSetting.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.sql.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property retainedBackups Number of backups to retain.
* @property retentionUnit The unit that 'retainedBackups' represents. Defaults to COUNT
*/
public data class GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSetting(
public val retainedBackups: Int,
public val retentionUnit: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.sql.outputs.GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSetting): GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSetting =
GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSetting(
retainedBackups = javaType.retainedBackups(),
retentionUnit = javaType.retentionUnit(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy