![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.redis.kotlin.outputs.CachePatchSchedule.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.redis.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property dayOfWeek the Weekday name - possible values include `Monday`, `Tuesday`, `Wednesday` etc.
* @property maintenanceWindow The ISO 8601 timespan which specifies the amount of time the Redis Cache can be updated. Defaults to `PT5H`.
* @property startHourUtc the Start Hour for maintenance in UTC - possible values range from `0 - 23`.
* > **Note:** The Patch Window lasts for `5` hours from the `start_hour_utc`.
*/
public data class CachePatchSchedule(
public val dayOfWeek: String,
public val maintenanceWindow: String? = null,
public val startHourUtc: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.redis.outputs.CachePatchSchedule): CachePatchSchedule = CachePatchSchedule(
dayOfWeek = javaType.dayOfWeek(),
maintenanceWindow = javaType.maintenanceWindow().map({ args0 -> args0 }).orElse(null),
startHourUtc = javaType.startHourUtc().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy