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

com.pulumi.azure.redis.kotlin.outputs.CachePatchSchedule.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.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