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

com.pulumi.azure.maintenance.kotlin.inputs.ConfigurationInstallPatchesWindowArgs.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.maintenance.kotlin.inputs

import com.pulumi.azure.maintenance.inputs.ConfigurationInstallPatchesWindowArgs.builder
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

/**
 *
 * @property classificationsToIncludes List of Classification category of patches to be patched. Possible values are `Critical`, `Security`, `UpdateRollup`, `FeaturePack`, `ServicePack`, `Definition`, `Tools` and `Updates`.
 * @property kbNumbersToExcludes List of KB numbers to be excluded from patching.
 * @property kbNumbersToIncludes List of KB numbers to be included for patching.
 */
public data class ConfigurationInstallPatchesWindowArgs(
    public val classificationsToIncludes: Output>? = null,
    public val kbNumbersToExcludes: Output>? = null,
    public val kbNumbersToIncludes: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.maintenance.inputs.ConfigurationInstallPatchesWindowArgs =
        com.pulumi.azure.maintenance.inputs.ConfigurationInstallPatchesWindowArgs.builder()
            .classificationsToIncludes(
                classificationsToIncludes?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0
                    })
                }),
            )
            .kbNumbersToExcludes(kbNumbersToExcludes?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .kbNumbersToIncludes(
                kbNumbersToIncludes?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0
                    })
                }),
            ).build()
}

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

    private var kbNumbersToExcludes: Output>? = null

    private var kbNumbersToIncludes: Output>? = null

    /**
     * @param value List of Classification category of patches to be patched. Possible values are `Critical`, `Security`, `UpdateRollup`, `FeaturePack`, `ServicePack`, `Definition`, `Tools` and `Updates`.
     */
    @JvmName("uvafgcevbomdwygh")
    public suspend fun classificationsToIncludes(`value`: Output>) {
        this.classificationsToIncludes = value
    }

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

    /**
     * @param values List of Classification category of patches to be patched. Possible values are `Critical`, `Security`, `UpdateRollup`, `FeaturePack`, `ServicePack`, `Definition`, `Tools` and `Updates`.
     */
    @JvmName("coosjxuqengirtow")
    public suspend fun classificationsToIncludes(values: List>) {
        this.classificationsToIncludes = Output.all(values)
    }

    /**
     * @param value List of KB numbers to be excluded from patching.
     */
    @JvmName("xwyiadevtqkdcgvw")
    public suspend fun kbNumbersToExcludes(`value`: Output>) {
        this.kbNumbersToExcludes = value
    }

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

    /**
     * @param values List of KB numbers to be excluded from patching.
     */
    @JvmName("ctxaxhlqckctrgwq")
    public suspend fun kbNumbersToExcludes(values: List>) {
        this.kbNumbersToExcludes = Output.all(values)
    }

    /**
     * @param value List of KB numbers to be included for patching.
     */
    @JvmName("pytneskdkeypfuno")
    public suspend fun kbNumbersToIncludes(`value`: Output>) {
        this.kbNumbersToIncludes = value
    }

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

    /**
     * @param values List of KB numbers to be included for patching.
     */
    @JvmName("dencxhvpifyvkrxd")
    public suspend fun kbNumbersToIncludes(values: List>) {
        this.kbNumbersToIncludes = Output.all(values)
    }

    /**
     * @param value List of Classification category of patches to be patched. Possible values are `Critical`, `Security`, `UpdateRollup`, `FeaturePack`, `ServicePack`, `Definition`, `Tools` and `Updates`.
     */
    @JvmName("drhlksucvybxtyim")
    public suspend fun classificationsToIncludes(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.classificationsToIncludes = mapped
    }

    /**
     * @param values List of Classification category of patches to be patched. Possible values are `Critical`, `Security`, `UpdateRollup`, `FeaturePack`, `ServicePack`, `Definition`, `Tools` and `Updates`.
     */
    @JvmName("hieyuomajkjxfuvf")
    public suspend fun classificationsToIncludes(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.classificationsToIncludes = mapped
    }

    /**
     * @param value List of KB numbers to be excluded from patching.
     */
    @JvmName("aglhaxickiiwduco")
    public suspend fun kbNumbersToExcludes(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.kbNumbersToExcludes = mapped
    }

    /**
     * @param values List of KB numbers to be excluded from patching.
     */
    @JvmName("oyocaudpkvdnbdnn")
    public suspend fun kbNumbersToExcludes(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.kbNumbersToExcludes = mapped
    }

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

    /**
     * @param values List of KB numbers to be included for patching.
     */
    @JvmName("ceaflijbvgmtrgff")
    public suspend fun kbNumbersToIncludes(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.kbNumbersToIncludes = mapped
    }

    internal fun build(): ConfigurationInstallPatchesWindowArgs =
        ConfigurationInstallPatchesWindowArgs(
            classificationsToIncludes = classificationsToIncludes,
            kbNumbersToExcludes = kbNumbersToExcludes,
            kbNumbersToIncludes = kbNumbersToIncludes,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy