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

com.pulumi.azurenative.maintenance.kotlin.inputs.InputWindowsParametersArgs.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.maintenance.kotlin.inputs

import com.pulumi.azurenative.maintenance.inputs.InputWindowsParametersArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 * Input properties for patching a Windows machine.
 * @property classificationsToInclude Classification category of patches to be patched
 * @property excludeKbsRequiringReboot Exclude patches which need reboot
 * @property kbNumbersToExclude Windows KBID to be excluded for patching.
 * @property kbNumbersToInclude Windows KBID to be included for patching.
 */
public data class InputWindowsParametersArgs(
    public val classificationsToInclude: Output>? = null,
    public val excludeKbsRequiringReboot: Output? = null,
    public val kbNumbersToExclude: Output>? = null,
    public val kbNumbersToInclude: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.maintenance.inputs.InputWindowsParametersArgs =
        com.pulumi.azurenative.maintenance.inputs.InputWindowsParametersArgs.builder()
            .classificationsToInclude(
                classificationsToInclude?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0
                    })
                }),
            )
            .excludeKbsRequiringReboot(excludeKbsRequiringReboot?.applyValue({ args0 -> args0 }))
            .kbNumbersToExclude(kbNumbersToExclude?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .kbNumbersToInclude(
                kbNumbersToInclude?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0
                    })
                }),
            ).build()
}

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

    private var excludeKbsRequiringReboot: Output? = null

    private var kbNumbersToExclude: Output>? = null

    private var kbNumbersToInclude: Output>? = null

    /**
     * @param value Classification category of patches to be patched
     */
    @JvmName("jihmhgfdstdtoqwv")
    public suspend fun classificationsToInclude(`value`: Output>) {
        this.classificationsToInclude = value
    }

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

    /**
     * @param values Classification category of patches to be patched
     */
    @JvmName("grxkvquhrlnftvhx")
    public suspend fun classificationsToInclude(values: List>) {
        this.classificationsToInclude = Output.all(values)
    }

    /**
     * @param value Exclude patches which need reboot
     */
    @JvmName("ywcdtjofvrjdtfmm")
    public suspend fun excludeKbsRequiringReboot(`value`: Output) {
        this.excludeKbsRequiringReboot = value
    }

    /**
     * @param value Windows KBID to be excluded for patching.
     */
    @JvmName("yrrbkujrkmtbdvfx")
    public suspend fun kbNumbersToExclude(`value`: Output>) {
        this.kbNumbersToExclude = value
    }

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

    /**
     * @param values Windows KBID to be excluded for patching.
     */
    @JvmName("nfyaxmjqajolqeok")
    public suspend fun kbNumbersToExclude(values: List>) {
        this.kbNumbersToExclude = Output.all(values)
    }

    /**
     * @param value Windows KBID to be included for patching.
     */
    @JvmName("kslemdrxxhjeirmo")
    public suspend fun kbNumbersToInclude(`value`: Output>) {
        this.kbNumbersToInclude = value
    }

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

    /**
     * @param values Windows KBID to be included for patching.
     */
    @JvmName("lymwvmvkivufsnen")
    public suspend fun kbNumbersToInclude(values: List>) {
        this.kbNumbersToInclude = Output.all(values)
    }

    /**
     * @param value Classification category of patches to be patched
     */
    @JvmName("bfchphvddkrcwdnt")
    public suspend fun classificationsToInclude(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.classificationsToInclude = mapped
    }

    /**
     * @param values Classification category of patches to be patched
     */
    @JvmName("jxhubhnpwiqdngai")
    public suspend fun classificationsToInclude(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.classificationsToInclude = mapped
    }

    /**
     * @param value Exclude patches which need reboot
     */
    @JvmName("asfqpdcbjhdhmctf")
    public suspend fun excludeKbsRequiringReboot(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.excludeKbsRequiringReboot = mapped
    }

    /**
     * @param value Windows KBID to be excluded for patching.
     */
    @JvmName("etuhwnutkemruggl")
    public suspend fun kbNumbersToExclude(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.kbNumbersToExclude = mapped
    }

    /**
     * @param values Windows KBID to be excluded for patching.
     */
    @JvmName("tanhjcmatysxsssj")
    public suspend fun kbNumbersToExclude(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.kbNumbersToExclude = mapped
    }

    /**
     * @param value Windows KBID to be included for patching.
     */
    @JvmName("uccxqicnityklljd")
    public suspend fun kbNumbersToInclude(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.kbNumbersToInclude = mapped
    }

    /**
     * @param values Windows KBID to be included for patching.
     */
    @JvmName("nrgxgjlwacdwhetr")
    public suspend fun kbNumbersToInclude(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.kbNumbersToInclude = mapped
    }

    internal fun build(): InputWindowsParametersArgs = InputWindowsParametersArgs(
        classificationsToInclude = classificationsToInclude,
        excludeKbsRequiringReboot = excludeKbsRequiringReboot,
        kbNumbersToExclude = kbNumbersToExclude,
        kbNumbersToInclude = kbNumbersToInclude,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy