com.pulumi.azure.automanage.kotlin.outputs.ConfigurationBackupSchedulePolicy.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.automanage.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property schedulePolicyType The schedule policy type of the backup policy. Possible value is `SimpleSchedulePolicy`. Defaults to `SimpleSchedulePolicy`.
* @property scheduleRunDays The schedule run days of the backup policy. Possible values are `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` and `Saturday`.
* @property scheduleRunFrequency The schedule run frequency of the backup policy. Possible values are `Daily` and `Weekly`. Defaults to `Daily`.
* @property scheduleRunTimes The schedule run times of the backup policy.
*/
public data class ConfigurationBackupSchedulePolicy(
public val schedulePolicyType: String? = null,
public val scheduleRunDays: List? = null,
public val scheduleRunFrequency: String? = null,
public val scheduleRunTimes: List? = null,
) {
public companion object {
public
fun toKotlin(javaType: com.pulumi.azure.automanage.outputs.ConfigurationBackupSchedulePolicy):
ConfigurationBackupSchedulePolicy = ConfigurationBackupSchedulePolicy(
schedulePolicyType = javaType.schedulePolicyType().map({ args0 -> args0 }).orElse(null),
scheduleRunDays = javaType.scheduleRunDays().map({ args0 -> args0 }),
scheduleRunFrequency = javaType.scheduleRunFrequency().map({ args0 -> args0 }).orElse(null),
scheduleRunTimes = javaType.scheduleRunTimes().map({ args0 -> args0 }),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy