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

com.pulumi.azure.automanage.kotlin.outputs.ConfigurationBackupRetentionPolicyWeeklyScheduleRetentionDuration.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.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.automanage.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property count The count of the retention duration of the backup policy. Valid value inside `daily_schedule` is `7` to `9999` and inside `weekly_schedule` is `1` to `5163`.
 * @property durationType The duration type of the retention duration of the backup policy. Valid value inside `daily_schedule` is `Days` and inside `weekly_schedule` is `Weeks`. Defaults to `Days`.
 */
public data class ConfigurationBackupRetentionPolicyWeeklyScheduleRetentionDuration(
    public val count: Int? = null,
    public val durationType: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.automanage.outputs.ConfigurationBackupRetentionPolicyWeeklyScheduleRetentionDuration): ConfigurationBackupRetentionPolicyWeeklyScheduleRetentionDuration =
            ConfigurationBackupRetentionPolicyWeeklyScheduleRetentionDuration(
                count = javaType.count().map({ args0 -> args0 }).orElse(null),
                durationType = javaType.durationType().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy