com.pulumi.azure.desktopvirtualization.kotlin.outputs.HostPoolScheduledAgentUpdates.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.desktopvirtualization.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property enabled Enables or disables scheduled updates of the AVD agent components (RDAgent, Geneva Monitoring agent, and side-by-side stack) on session hosts. If this is enabled then up to two `schedule` blocks must be defined. Default is `false`.
* > **NOTE:** if `enabled` is set to `true` then at least one and a maximum of two `schedule` blocks must be provided.
* @property schedules A `schedule` block as defined below. A maximum of two blocks can be added.
* @property timezone Specifies the time zone in which the agent update schedule will apply, [the possible values are defined here](https://jackstromberg.com/2017/01/list-of-time-zones-consumed-by-azure/). If `use_session_host_timezone` is enabled then it will override this setting. Default is `UTC`
* @property useSessionHostTimezone Specifies whether scheduled agent updates should be applied based on the timezone of the affected session host. If configured then this setting overrides `timezone`. Default is `false`.
*/
public data class HostPoolScheduledAgentUpdates(
public val enabled: Boolean? = null,
public val schedules: List? = null,
public val timezone: String? = null,
public val useSessionHostTimezone: Boolean? = null,
) {
public companion object {
public
fun toKotlin(javaType: com.pulumi.azure.desktopvirtualization.outputs.HostPoolScheduledAgentUpdates):
HostPoolScheduledAgentUpdates = HostPoolScheduledAgentUpdates(
enabled = javaType.enabled().map({ args0 -> args0 }).orElse(null),
schedules = javaType.schedules().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.desktopvirtualization.kotlin.outputs.HostPoolScheduledAgentUpdatesSchedule.Companion.toKotlin(args0)
})
}),
timezone = javaType.timezone().map({ args0 -> args0 }).orElse(null),
useSessionHostTimezone = javaType.useSessionHostTimezone().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy