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

com.pulumi.azurenative.automation.kotlin.inputs.WindowsPropertiesArgs.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.automation.kotlin.inputs

import com.pulumi.azurenative.automation.inputs.WindowsPropertiesArgs.builder
import com.pulumi.azurenative.automation.kotlin.enums.WindowsUpdateClasses
import com.pulumi.core.Either
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 * Windows specific update configuration.
 * @property excludedKbNumbers KB numbers excluded from the software update configuration.
 * @property includedKbNumbers KB numbers included from the software update configuration.
 * @property includedUpdateClassifications Update classification included in the software update configuration. A comma separated string with required values
 * @property rebootSetting Reboot setting for the software update configuration.
 */
public data class WindowsPropertiesArgs(
    public val excludedKbNumbers: Output>? = null,
    public val includedKbNumbers: Output>? = null,
    public val includedUpdateClassifications: Output>? = null,
    public val rebootSetting: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.automation.inputs.WindowsPropertiesArgs =
        com.pulumi.azurenative.automation.inputs.WindowsPropertiesArgs.builder()
            .excludedKbNumbers(excludedKbNumbers?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .includedKbNumbers(includedKbNumbers?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .includedUpdateClassifications(
                includedUpdateClassifications?.applyValue({ args0 ->
                    args0.transform({ args0 -> args0 }, { args0 -> args0.let({ args0 -> args0.toJava() }) })
                }),
            )
            .rebootSetting(rebootSetting?.applyValue({ args0 -> args0 })).build()
}

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

    private var includedKbNumbers: Output>? = null

    private var includedUpdateClassifications: Output>? = null

    private var rebootSetting: Output? = null

    /**
     * @param value KB numbers excluded from the software update configuration.
     */
    @JvmName("ovcevqcufaulvvhr")
    public suspend fun excludedKbNumbers(`value`: Output>) {
        this.excludedKbNumbers = value
    }

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

    /**
     * @param values KB numbers excluded from the software update configuration.
     */
    @JvmName("btjmkuwskiogdnvr")
    public suspend fun excludedKbNumbers(values: List>) {
        this.excludedKbNumbers = Output.all(values)
    }

    /**
     * @param value KB numbers included from the software update configuration.
     */
    @JvmName("bmkaohmmdeyetouy")
    public suspend fun includedKbNumbers(`value`: Output>) {
        this.includedKbNumbers = value
    }

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

    /**
     * @param values KB numbers included from the software update configuration.
     */
    @JvmName("nwlffrmlcyombcjk")
    public suspend fun includedKbNumbers(values: List>) {
        this.includedKbNumbers = Output.all(values)
    }

    /**
     * @param value Update classification included in the software update configuration. A comma separated string with required values
     */
    @JvmName("ngseakqpejptpdca")
    public suspend fun includedUpdateClassifications(`value`: Output>) {
        this.includedUpdateClassifications = value
    }

    /**
     * @param value Reboot setting for the software update configuration.
     */
    @JvmName("ljgendudbvdbftrl")
    public suspend fun rebootSetting(`value`: Output) {
        this.rebootSetting = value
    }

    /**
     * @param value KB numbers excluded from the software update configuration.
     */
    @JvmName("nykqumgkawvahohp")
    public suspend fun excludedKbNumbers(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.excludedKbNumbers = mapped
    }

    /**
     * @param values KB numbers excluded from the software update configuration.
     */
    @JvmName("kmwgcfnqyvfpmpri")
    public suspend fun excludedKbNumbers(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.excludedKbNumbers = mapped
    }

    /**
     * @param value KB numbers included from the software update configuration.
     */
    @JvmName("lgaiflnwkknbwocn")
    public suspend fun includedKbNumbers(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.includedKbNumbers = mapped
    }

    /**
     * @param values KB numbers included from the software update configuration.
     */
    @JvmName("kieuiboeevmwwoid")
    public suspend fun includedKbNumbers(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.includedKbNumbers = mapped
    }

    /**
     * @param value Update classification included in the software update configuration. A comma separated string with required values
     */
    @JvmName("wvnnwomjkodbuuii")
    public suspend fun includedUpdateClassifications(`value`: Either?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.includedUpdateClassifications = mapped
    }

    /**
     * @param value Update classification included in the software update configuration. A comma separated string with required values
     */
    @JvmName("eqbrcehaynfutmju")
    public fun includedUpdateClassifications(`value`: String) {
        val toBeMapped = Either.ofLeft(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.includedUpdateClassifications = mapped
    }

    /**
     * @param value Update classification included in the software update configuration. A comma separated string with required values
     */
    @JvmName("wxyagipmyqtqboav")
    public fun includedUpdateClassifications(`value`: WindowsUpdateClasses) {
        val toBeMapped = Either.ofRight(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.includedUpdateClassifications = mapped
    }

    /**
     * @param value Reboot setting for the software update configuration.
     */
    @JvmName("tiptdxeumiedqdms")
    public suspend fun rebootSetting(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.rebootSetting = mapped
    }

    internal fun build(): WindowsPropertiesArgs = WindowsPropertiesArgs(
        excludedKbNumbers = excludedKbNumbers,
        includedKbNumbers = includedKbNumbers,
        includedUpdateClassifications = includedUpdateClassifications,
        rebootSetting = rebootSetting,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy