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

com.pulumi.azure.desktopvirtualization.kotlin.inputs.ScalingPlanScheduleArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azure.desktopvirtualization.kotlin.inputs

import com.pulumi.azure.desktopvirtualization.inputs.ScalingPlanScheduleArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property daysOfWeeks A list of Days of the Week on which this schedule will be used. Possible values are `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, and `Sunday`
 * @property name The name of the schedule.
 * @property offPeakLoadBalancingAlgorithm The load Balancing Algorithm to use during Off-Peak Hours. Possible values are `DepthFirst` and `BreadthFirst`.
 * @property offPeakStartTime The time at which Off-Peak scaling will begin. This is also the end-time for the Ramp-Down period. The time must be specified in "HH:MM" format.
 * @property peakLoadBalancingAlgorithm The load Balancing Algorithm to use during Peak Hours. Possible values are `DepthFirst` and `BreadthFirst`.
 * @property peakStartTime The time at which Peak scaling will begin. This is also the end-time for the Ramp-Up period. The time must be specified in "HH:MM" format.
 * @property rampDownCapacityThresholdPercent This is the value in percentage of used host pool capacity that will be considered to evaluate whether to turn on/off virtual machines during the ramp-down and off-peak hours. For example, if capacity threshold is specified as 60% and your total host pool capacity is 100 sessions, autoscale will turn on additional session hosts once the host pool exceeds a load of 60 sessions.
 * @property rampDownForceLogoffUsers Whether users will be forced to log-off session hosts once the `ramp_down_wait_time_minutes` value has been exceeded during the Ramp-Down period. Possible
 * @property rampDownLoadBalancingAlgorithm The load Balancing Algorithm to use during the Ramp-Down period. Possible values are `DepthFirst` and `BreadthFirst`.
 * @property rampDownMinimumHostsPercent The minimum percentage of session host virtual machines that you would like to get to for ramp-down and off-peak hours. For example, if Minimum percentage of hosts is specified as 10% and total number of session hosts in your host pool is 10, autoscale will ensure a minimum of 1 session host is available to take user connections.
 * @property rampDownNotificationMessage The notification message to send to users during Ramp-Down period when they are required to log-off.
 * @property rampDownStartTime The time at which Ramp-Down scaling will begin. This is also the end-time for the Ramp-Up period. The time must be specified in "HH:MM" format.
 * @property rampDownStopHostsWhen Controls Session Host shutdown behaviour during Ramp-Down period. Session Hosts can either be shutdown when all sessions on the Session Host have ended, or when there are no Active sessions left on the Session Host. Possible values are `ZeroSessions` and `ZeroActiveSessions`.
 * @property rampDownWaitTimeMinutes The number of minutes during Ramp-Down period that autoscale will wait after setting the session host VMs to drain mode, notifying any currently signed in users to save their work before forcing the users to logoff. Once all user sessions on the session host VM have been logged off, Autoscale will shut down the VM.
 * @property rampUpCapacityThresholdPercent This is the value of percentage of used host pool capacity that will be considered to evaluate whether to turn on/off virtual machines during the ramp-up and peak hours. For example, if capacity threshold is specified as `60%` and your total host pool capacity is `100` sessions, autoscale will turn on additional session hosts once the host pool exceeds a load of `60` sessions.
 * @property rampUpLoadBalancingAlgorithm The load Balancing Algorithm to use during the Ramp-Up period. Possible values are `DepthFirst` and `BreadthFirst`.
 * @property rampUpMinimumHostsPercent Specifies the minimum percentage of session host virtual machines to start during ramp-up for peak hours. For example, if Minimum percentage of hosts is specified as `10%` and total number of session hosts in your host pool is `10`, autoscale will ensure a minimum of `1` session host is available to take user connections.
 * @property rampUpStartTime The time at which Ramp-Up scaling will begin. This is also the end-time for the Ramp-Up period. The time must be specified in "HH:MM" format.
 */
public data class ScalingPlanScheduleArgs(
    public val daysOfWeeks: Output>,
    public val name: Output,
    public val offPeakLoadBalancingAlgorithm: Output,
    public val offPeakStartTime: Output,
    public val peakLoadBalancingAlgorithm: Output,
    public val peakStartTime: Output,
    public val rampDownCapacityThresholdPercent: Output,
    public val rampDownForceLogoffUsers: Output,
    public val rampDownLoadBalancingAlgorithm: Output,
    public val rampDownMinimumHostsPercent: Output,
    public val rampDownNotificationMessage: Output,
    public val rampDownStartTime: Output,
    public val rampDownStopHostsWhen: Output,
    public val rampDownWaitTimeMinutes: Output,
    public val rampUpCapacityThresholdPercent: Output? = null,
    public val rampUpLoadBalancingAlgorithm: Output,
    public val rampUpMinimumHostsPercent: Output? = null,
    public val rampUpStartTime: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.desktopvirtualization.inputs.ScalingPlanScheduleArgs =
        com.pulumi.azure.desktopvirtualization.inputs.ScalingPlanScheduleArgs.builder()
            .daysOfWeeks(daysOfWeeks.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .name(name.applyValue({ args0 -> args0 }))
            .offPeakLoadBalancingAlgorithm(offPeakLoadBalancingAlgorithm.applyValue({ args0 -> args0 }))
            .offPeakStartTime(offPeakStartTime.applyValue({ args0 -> args0 }))
            .peakLoadBalancingAlgorithm(peakLoadBalancingAlgorithm.applyValue({ args0 -> args0 }))
            .peakStartTime(peakStartTime.applyValue({ args0 -> args0 }))
            .rampDownCapacityThresholdPercent(rampDownCapacityThresholdPercent.applyValue({ args0 -> args0 }))
            .rampDownForceLogoffUsers(rampDownForceLogoffUsers.applyValue({ args0 -> args0 }))
            .rampDownLoadBalancingAlgorithm(rampDownLoadBalancingAlgorithm.applyValue({ args0 -> args0 }))
            .rampDownMinimumHostsPercent(rampDownMinimumHostsPercent.applyValue({ args0 -> args0 }))
            .rampDownNotificationMessage(rampDownNotificationMessage.applyValue({ args0 -> args0 }))
            .rampDownStartTime(rampDownStartTime.applyValue({ args0 -> args0 }))
            .rampDownStopHostsWhen(rampDownStopHostsWhen.applyValue({ args0 -> args0 }))
            .rampDownWaitTimeMinutes(rampDownWaitTimeMinutes.applyValue({ args0 -> args0 }))
            .rampUpCapacityThresholdPercent(rampUpCapacityThresholdPercent?.applyValue({ args0 -> args0 }))
            .rampUpLoadBalancingAlgorithm(rampUpLoadBalancingAlgorithm.applyValue({ args0 -> args0 }))
            .rampUpMinimumHostsPercent(rampUpMinimumHostsPercent?.applyValue({ args0 -> args0 }))
            .rampUpStartTime(rampUpStartTime.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ScalingPlanScheduleArgs].
 */
@PulumiTagMarker
public class ScalingPlanScheduleArgsBuilder internal constructor() {
    private var daysOfWeeks: Output>? = null

    private var name: Output? = null

    private var offPeakLoadBalancingAlgorithm: Output? = null

    private var offPeakStartTime: Output? = null

    private var peakLoadBalancingAlgorithm: Output? = null

    private var peakStartTime: Output? = null

    private var rampDownCapacityThresholdPercent: Output? = null

    private var rampDownForceLogoffUsers: Output? = null

    private var rampDownLoadBalancingAlgorithm: Output? = null

    private var rampDownMinimumHostsPercent: Output? = null

    private var rampDownNotificationMessage: Output? = null

    private var rampDownStartTime: Output? = null

    private var rampDownStopHostsWhen: Output? = null

    private var rampDownWaitTimeMinutes: Output? = null

    private var rampUpCapacityThresholdPercent: Output? = null

    private var rampUpLoadBalancingAlgorithm: Output? = null

    private var rampUpMinimumHostsPercent: Output? = null

    private var rampUpStartTime: Output? = null

    /**
     * @param value A list of Days of the Week on which this schedule will be used. Possible values are `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, and `Sunday`
     */
    @JvmName("aukyebmvmhpyiwvw")
    public suspend fun daysOfWeeks(`value`: Output>) {
        this.daysOfWeeks = value
    }

    @JvmName("otjxybjqpbfmckck")
    public suspend fun daysOfWeeks(vararg values: Output) {
        this.daysOfWeeks = Output.all(values.asList())
    }

    /**
     * @param values A list of Days of the Week on which this schedule will be used. Possible values are `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, and `Sunday`
     */
    @JvmName("tkqikbgbtuqaahlt")
    public suspend fun daysOfWeeks(values: List>) {
        this.daysOfWeeks = Output.all(values)
    }

    /**
     * @param value The name of the schedule.
     */
    @JvmName("wjpukiuownmojqet")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value The load Balancing Algorithm to use during Off-Peak Hours. Possible values are `DepthFirst` and `BreadthFirst`.
     */
    @JvmName("vmpvgrcpafdyuplv")
    public suspend fun offPeakLoadBalancingAlgorithm(`value`: Output) {
        this.offPeakLoadBalancingAlgorithm = value
    }

    /**
     * @param value The time at which Off-Peak scaling will begin. This is also the end-time for the Ramp-Down period. The time must be specified in "HH:MM" format.
     */
    @JvmName("vkobhkalslaphcsv")
    public suspend fun offPeakStartTime(`value`: Output) {
        this.offPeakStartTime = value
    }

    /**
     * @param value The load Balancing Algorithm to use during Peak Hours. Possible values are `DepthFirst` and `BreadthFirst`.
     */
    @JvmName("atkkulrkehuepiao")
    public suspend fun peakLoadBalancingAlgorithm(`value`: Output) {
        this.peakLoadBalancingAlgorithm = value
    }

    /**
     * @param value The time at which Peak scaling will begin. This is also the end-time for the Ramp-Up period. The time must be specified in "HH:MM" format.
     */
    @JvmName("avkiinefiaeriwvu")
    public suspend fun peakStartTime(`value`: Output) {
        this.peakStartTime = value
    }

    /**
     * @param value This is the value in percentage of used host pool capacity that will be considered to evaluate whether to turn on/off virtual machines during the ramp-down and off-peak hours. For example, if capacity threshold is specified as 60% and your total host pool capacity is 100 sessions, autoscale will turn on additional session hosts once the host pool exceeds a load of 60 sessions.
     */
    @JvmName("gavjqhxjhqfxamrg")
    public suspend fun rampDownCapacityThresholdPercent(`value`: Output) {
        this.rampDownCapacityThresholdPercent = value
    }

    /**
     * @param value Whether users will be forced to log-off session hosts once the `ramp_down_wait_time_minutes` value has been exceeded during the Ramp-Down period. Possible
     */
    @JvmName("ahfvsixwphxnqtqi")
    public suspend fun rampDownForceLogoffUsers(`value`: Output) {
        this.rampDownForceLogoffUsers = value
    }

    /**
     * @param value The load Balancing Algorithm to use during the Ramp-Down period. Possible values are `DepthFirst` and `BreadthFirst`.
     */
    @JvmName("fuxeuykjffceugtj")
    public suspend fun rampDownLoadBalancingAlgorithm(`value`: Output) {
        this.rampDownLoadBalancingAlgorithm = value
    }

    /**
     * @param value The minimum percentage of session host virtual machines that you would like to get to for ramp-down and off-peak hours. For example, if Minimum percentage of hosts is specified as 10% and total number of session hosts in your host pool is 10, autoscale will ensure a minimum of 1 session host is available to take user connections.
     */
    @JvmName("jtpxlwhgnkefcsev")
    public suspend fun rampDownMinimumHostsPercent(`value`: Output) {
        this.rampDownMinimumHostsPercent = value
    }

    /**
     * @param value The notification message to send to users during Ramp-Down period when they are required to log-off.
     */
    @JvmName("hevwjncoxyrlsyik")
    public suspend fun rampDownNotificationMessage(`value`: Output) {
        this.rampDownNotificationMessage = value
    }

    /**
     * @param value The time at which Ramp-Down scaling will begin. This is also the end-time for the Ramp-Up period. The time must be specified in "HH:MM" format.
     */
    @JvmName("fxxnhprtgffilmqw")
    public suspend fun rampDownStartTime(`value`: Output) {
        this.rampDownStartTime = value
    }

    /**
     * @param value Controls Session Host shutdown behaviour during Ramp-Down period. Session Hosts can either be shutdown when all sessions on the Session Host have ended, or when there are no Active sessions left on the Session Host. Possible values are `ZeroSessions` and `ZeroActiveSessions`.
     */
    @JvmName("oavxjjwbttghvkbn")
    public suspend fun rampDownStopHostsWhen(`value`: Output) {
        this.rampDownStopHostsWhen = value
    }

    /**
     * @param value The number of minutes during Ramp-Down period that autoscale will wait after setting the session host VMs to drain mode, notifying any currently signed in users to save their work before forcing the users to logoff. Once all user sessions on the session host VM have been logged off, Autoscale will shut down the VM.
     */
    @JvmName("nrfqugnawvqdaknm")
    public suspend fun rampDownWaitTimeMinutes(`value`: Output) {
        this.rampDownWaitTimeMinutes = value
    }

    /**
     * @param value This is the value of percentage of used host pool capacity that will be considered to evaluate whether to turn on/off virtual machines during the ramp-up and peak hours. For example, if capacity threshold is specified as `60%` and your total host pool capacity is `100` sessions, autoscale will turn on additional session hosts once the host pool exceeds a load of `60` sessions.
     */
    @JvmName("qhrcopqcpygydqoq")
    public suspend fun rampUpCapacityThresholdPercent(`value`: Output) {
        this.rampUpCapacityThresholdPercent = value
    }

    /**
     * @param value The load Balancing Algorithm to use during the Ramp-Up period. Possible values are `DepthFirst` and `BreadthFirst`.
     */
    @JvmName("cltnhugaivaddfxk")
    public suspend fun rampUpLoadBalancingAlgorithm(`value`: Output) {
        this.rampUpLoadBalancingAlgorithm = value
    }

    /**
     * @param value Specifies the minimum percentage of session host virtual machines to start during ramp-up for peak hours. For example, if Minimum percentage of hosts is specified as `10%` and total number of session hosts in your host pool is `10`, autoscale will ensure a minimum of `1` session host is available to take user connections.
     */
    @JvmName("ueonisftdsauvjhn")
    public suspend fun rampUpMinimumHostsPercent(`value`: Output) {
        this.rampUpMinimumHostsPercent = value
    }

    /**
     * @param value The time at which Ramp-Up scaling will begin. This is also the end-time for the Ramp-Up period. The time must be specified in "HH:MM" format.
     */
    @JvmName("eydsbgtxyfqutvrc")
    public suspend fun rampUpStartTime(`value`: Output) {
        this.rampUpStartTime = value
    }

    /**
     * @param value A list of Days of the Week on which this schedule will be used. Possible values are `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, and `Sunday`
     */
    @JvmName("mshnkjnpdfgfifhv")
    public suspend fun daysOfWeeks(`value`: List) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.daysOfWeeks = mapped
    }

    /**
     * @param values A list of Days of the Week on which this schedule will be used. Possible values are `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, and `Sunday`
     */
    @JvmName("sjnrmctjnliiklbm")
    public suspend fun daysOfWeeks(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.daysOfWeeks = mapped
    }

    /**
     * @param value The name of the schedule.
     */
    @JvmName("awpgligoymskqpec")
    public suspend fun name(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value The load Balancing Algorithm to use during Off-Peak Hours. Possible values are `DepthFirst` and `BreadthFirst`.
     */
    @JvmName("lmjsnrxpewebuoxf")
    public suspend fun offPeakLoadBalancingAlgorithm(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.offPeakLoadBalancingAlgorithm = mapped
    }

    /**
     * @param value The time at which Off-Peak scaling will begin. This is also the end-time for the Ramp-Down period. The time must be specified in "HH:MM" format.
     */
    @JvmName("jiieegsylvxlnyhy")
    public suspend fun offPeakStartTime(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.offPeakStartTime = mapped
    }

    /**
     * @param value The load Balancing Algorithm to use during Peak Hours. Possible values are `DepthFirst` and `BreadthFirst`.
     */
    @JvmName("ythfdalkldemvhwy")
    public suspend fun peakLoadBalancingAlgorithm(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.peakLoadBalancingAlgorithm = mapped
    }

    /**
     * @param value The time at which Peak scaling will begin. This is also the end-time for the Ramp-Up period. The time must be specified in "HH:MM" format.
     */
    @JvmName("fjlmgwrubyditxqr")
    public suspend fun peakStartTime(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.peakStartTime = mapped
    }

    /**
     * @param value This is the value in percentage of used host pool capacity that will be considered to evaluate whether to turn on/off virtual machines during the ramp-down and off-peak hours. For example, if capacity threshold is specified as 60% and your total host pool capacity is 100 sessions, autoscale will turn on additional session hosts once the host pool exceeds a load of 60 sessions.
     */
    @JvmName("pjskwkhrrqgmonxj")
    public suspend fun rampDownCapacityThresholdPercent(`value`: Int) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.rampDownCapacityThresholdPercent = mapped
    }

    /**
     * @param value Whether users will be forced to log-off session hosts once the `ramp_down_wait_time_minutes` value has been exceeded during the Ramp-Down period. Possible
     */
    @JvmName("aoincqpjsndiitkp")
    public suspend fun rampDownForceLogoffUsers(`value`: Boolean) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.rampDownForceLogoffUsers = mapped
    }

    /**
     * @param value The load Balancing Algorithm to use during the Ramp-Down period. Possible values are `DepthFirst` and `BreadthFirst`.
     */
    @JvmName("jnukmxdhgxcviqjg")
    public suspend fun rampDownLoadBalancingAlgorithm(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.rampDownLoadBalancingAlgorithm = mapped
    }

    /**
     * @param value The minimum percentage of session host virtual machines that you would like to get to for ramp-down and off-peak hours. For example, if Minimum percentage of hosts is specified as 10% and total number of session hosts in your host pool is 10, autoscale will ensure a minimum of 1 session host is available to take user connections.
     */
    @JvmName("japjcldhhtoudtbe")
    public suspend fun rampDownMinimumHostsPercent(`value`: Int) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.rampDownMinimumHostsPercent = mapped
    }

    /**
     * @param value The notification message to send to users during Ramp-Down period when they are required to log-off.
     */
    @JvmName("gopykrrwcigmakdl")
    public suspend fun rampDownNotificationMessage(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.rampDownNotificationMessage = mapped
    }

    /**
     * @param value The time at which Ramp-Down scaling will begin. This is also the end-time for the Ramp-Up period. The time must be specified in "HH:MM" format.
     */
    @JvmName("llmfvdjaecgdowto")
    public suspend fun rampDownStartTime(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.rampDownStartTime = mapped
    }

    /**
     * @param value Controls Session Host shutdown behaviour during Ramp-Down period. Session Hosts can either be shutdown when all sessions on the Session Host have ended, or when there are no Active sessions left on the Session Host. Possible values are `ZeroSessions` and `ZeroActiveSessions`.
     */
    @JvmName("ejnwbjdimmaqvhcd")
    public suspend fun rampDownStopHostsWhen(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.rampDownStopHostsWhen = mapped
    }

    /**
     * @param value The number of minutes during Ramp-Down period that autoscale will wait after setting the session host VMs to drain mode, notifying any currently signed in users to save their work before forcing the users to logoff. Once all user sessions on the session host VM have been logged off, Autoscale will shut down the VM.
     */
    @JvmName("wfubxdhpecqbchnv")
    public suspend fun rampDownWaitTimeMinutes(`value`: Int) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.rampDownWaitTimeMinutes = mapped
    }

    /**
     * @param value This is the value of percentage of used host pool capacity that will be considered to evaluate whether to turn on/off virtual machines during the ramp-up and peak hours. For example, if capacity threshold is specified as `60%` and your total host pool capacity is `100` sessions, autoscale will turn on additional session hosts once the host pool exceeds a load of `60` sessions.
     */
    @JvmName("xnimvfgiamrgykkq")
    public suspend fun rampUpCapacityThresholdPercent(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.rampUpCapacityThresholdPercent = mapped
    }

    /**
     * @param value The load Balancing Algorithm to use during the Ramp-Up period. Possible values are `DepthFirst` and `BreadthFirst`.
     */
    @JvmName("lbatmhqsixqdieom")
    public suspend fun rampUpLoadBalancingAlgorithm(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.rampUpLoadBalancingAlgorithm = mapped
    }

    /**
     * @param value Specifies the minimum percentage of session host virtual machines to start during ramp-up for peak hours. For example, if Minimum percentage of hosts is specified as `10%` and total number of session hosts in your host pool is `10`, autoscale will ensure a minimum of `1` session host is available to take user connections.
     */
    @JvmName("yeodbndusrtoleuc")
    public suspend fun rampUpMinimumHostsPercent(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.rampUpMinimumHostsPercent = mapped
    }

    /**
     * @param value The time at which Ramp-Up scaling will begin. This is also the end-time for the Ramp-Up period. The time must be specified in "HH:MM" format.
     */
    @JvmName("wgksbfgptlpstbcg")
    public suspend fun rampUpStartTime(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.rampUpStartTime = mapped
    }

    internal fun build(): ScalingPlanScheduleArgs = ScalingPlanScheduleArgs(
        daysOfWeeks = daysOfWeeks ?: throw PulumiNullFieldException("daysOfWeeks"),
        name = name ?: throw PulumiNullFieldException("name"),
        offPeakLoadBalancingAlgorithm = offPeakLoadBalancingAlgorithm ?: throw
            PulumiNullFieldException("offPeakLoadBalancingAlgorithm"),
        offPeakStartTime = offPeakStartTime ?: throw PulumiNullFieldException("offPeakStartTime"),
        peakLoadBalancingAlgorithm = peakLoadBalancingAlgorithm ?: throw
            PulumiNullFieldException("peakLoadBalancingAlgorithm"),
        peakStartTime = peakStartTime ?: throw PulumiNullFieldException("peakStartTime"),
        rampDownCapacityThresholdPercent = rampDownCapacityThresholdPercent ?: throw
            PulumiNullFieldException("rampDownCapacityThresholdPercent"),
        rampDownForceLogoffUsers = rampDownForceLogoffUsers ?: throw
            PulumiNullFieldException("rampDownForceLogoffUsers"),
        rampDownLoadBalancingAlgorithm = rampDownLoadBalancingAlgorithm ?: throw
            PulumiNullFieldException("rampDownLoadBalancingAlgorithm"),
        rampDownMinimumHostsPercent = rampDownMinimumHostsPercent ?: throw
            PulumiNullFieldException("rampDownMinimumHostsPercent"),
        rampDownNotificationMessage = rampDownNotificationMessage ?: throw
            PulumiNullFieldException("rampDownNotificationMessage"),
        rampDownStartTime = rampDownStartTime ?: throw PulumiNullFieldException("rampDownStartTime"),
        rampDownStopHostsWhen = rampDownStopHostsWhen ?: throw
            PulumiNullFieldException("rampDownStopHostsWhen"),
        rampDownWaitTimeMinutes = rampDownWaitTimeMinutes ?: throw
            PulumiNullFieldException("rampDownWaitTimeMinutes"),
        rampUpCapacityThresholdPercent = rampUpCapacityThresholdPercent,
        rampUpLoadBalancingAlgorithm = rampUpLoadBalancingAlgorithm ?: throw
            PulumiNullFieldException("rampUpLoadBalancingAlgorithm"),
        rampUpMinimumHostsPercent = rampUpMinimumHostsPercent,
        rampUpStartTime = rampUpStartTime ?: throw PulumiNullFieldException("rampUpStartTime"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy