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

com.pulumi.gcp.sql.kotlin.outputs.GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSetting.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: 8.10.0.0
Show newest version
@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