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

com.pulumi.azure.desktopvirtualization.kotlin.outputs.GetHostPoolScheduledAgentUpdate.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.desktopvirtualization.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property enabled Are scheduled updates of the AVD agent components (RDAgent, Geneva Monitoring agent, and side-by-side stack) enabled on session hosts.
 * @property schedules A `schedule` block as defined below.
 * @property timezone The time zone in which the agent update schedule will apply.
 * @property useSessionHostTimezone Specifies whether scheduled agent updates should be applied based on the timezone of the affected session host.
 */
public data class GetHostPoolScheduledAgentUpdate(
    public val enabled: Boolean,
    public val schedules: List,
    public val timezone: String,
    public val useSessionHostTimezone: Boolean,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.desktopvirtualization.outputs.GetHostPoolScheduledAgentUpdate): GetHostPoolScheduledAgentUpdate = GetHostPoolScheduledAgentUpdate(
            enabled = javaType.enabled(),
            schedules = javaType.schedules().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.desktopvirtualization.kotlin.outputs.GetHostPoolScheduledAgentUpdateSchedule.Companion.toKotlin(args0)
                })
            }),
            timezone = javaType.timezone(),
            useSessionHostTimezone = javaType.useSessionHostTimezone(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy