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

com.pulumi.azure.desktopvirtualization.kotlin.outputs.HostPoolScheduledAgentUpdatesSchedule.kt Maven / Gradle / Ivy

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

package com.pulumi.azure.desktopvirtualization.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property dayOfWeek The day of the week on which agent updates should be performed. Possible values are `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, and `Sunday`
 * @property hourOfDay The hour of day the update window should start. The update is a 2 hour period following the hour provided. The value should be provided as a number between 0 and 23, with 0 being midnight and 23 being 11pm. A leading zero should not be used.
 */
public data class HostPoolScheduledAgentUpdatesSchedule(
    public val dayOfWeek: String,
    public val hourOfDay: Int,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.desktopvirtualization.outputs.HostPoolScheduledAgentUpdatesSchedule):
            HostPoolScheduledAgentUpdatesSchedule = HostPoolScheduledAgentUpdatesSchedule(
            dayOfWeek = javaType.dayOfWeek(),
            hourOfDay = javaType.hourOfDay(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy