com.pulumi.azure.lab.kotlin.outputs.ScheduleRecurrence.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.lab.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property expirationDate When the recurrence will expire in RFC-3339 format.
* @property frequency The frequency of the recurrence. Possible values are `Daily` and `Weekly`.
* @property interval The interval to invoke the schedule on. Possible values are between `1` and `365`.
* @property weekDays The interval to invoke the schedule on. Possible values are `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` and `Saturday`.
*/
public data class ScheduleRecurrence(
public val expirationDate: String,
public val frequency: String,
public val interval: Int? = null,
public val weekDays: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.lab.outputs.ScheduleRecurrence):
ScheduleRecurrence = ScheduleRecurrence(
expirationDate = javaType.expirationDate(),
frequency = javaType.frequency(),
interval = javaType.interval().map({ args0 -> args0 }).orElse(null),
weekDays = javaType.weekDays().map({ args0 -> args0 }),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy