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

com.pulumi.azure.containerservice.kotlin.outputs.KubernetesClusterMaintenanceWindowAllowed.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.containerservice.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property day A day in a week. Possible values are `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` and `Saturday`.
 * @property hours An array of hour slots in a day. For example, specifying `1` will allow maintenance from 1:00am to 2:00am. Specifying `1`, `2` will allow maintenance from 1:00am to 3:00m. Possible values are between `0` and `23`.
 */
public data class KubernetesClusterMaintenanceWindowAllowed(
    public val day: String,
    public val hours: List,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.containerservice.outputs.KubernetesClusterMaintenanceWindowAllowed):
            KubernetesClusterMaintenanceWindowAllowed = KubernetesClusterMaintenanceWindowAllowed(
            day = javaType.day(),
            hours = javaType.hours().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy