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

com.pulumi.azure.automation.kotlin.inputs.SoftwareUpdateConfigurationWindowsArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azure.automation.kotlin.inputs

import com.pulumi.azure.automation.inputs.SoftwareUpdateConfigurationWindowsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Deprecated
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property classificationIncluded
 * @property classificationsIncludeds Specifies the list of update classification. Possible values are `Unclassified`, `Critical`, `Security`, `UpdateRollup`, `FeaturePack`, `ServicePack`, `Definition`, `Tools` and `Updates`.
 * @property excludedKnowledgeBaseNumbers Specifies a list of knowledge base numbers excluded.
 * @property includedKnowledgeBaseNumbers Specifies a list of knowledge base numbers included.
 * @property reboot Specifies the reboot settings after software update, possible values are `IfRequired`, `Never`, `RebootOnly` and `Always`. Defaults to `IfRequired`.
 */
public data class SoftwareUpdateConfigurationWindowsArgs(
    @Deprecated(
        message = """
  windows classification can be set as a list, use `classifications_included` instead.
  """,
    )
    public val classificationIncluded: Output? = null,
    public val classificationsIncludeds: Output>? = null,
    public val excludedKnowledgeBaseNumbers: Output>? = null,
    public val includedKnowledgeBaseNumbers: Output>? = null,
    public val reboot: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.automation.inputs.SoftwareUpdateConfigurationWindowsArgs =
        com.pulumi.azure.automation.inputs.SoftwareUpdateConfigurationWindowsArgs.builder()
            .classificationIncluded(classificationIncluded?.applyValue({ args0 -> args0 }))
            .classificationsIncludeds(
                classificationsIncludeds?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0
                    })
                }),
            )
            .excludedKnowledgeBaseNumbers(
                excludedKnowledgeBaseNumbers?.applyValue({ args0 ->
                    args0.map({ args0 -> args0 })
                }),
            )
            .includedKnowledgeBaseNumbers(
                includedKnowledgeBaseNumbers?.applyValue({ args0 ->
                    args0.map({ args0 -> args0 })
                }),
            )
            .reboot(reboot?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [SoftwareUpdateConfigurationWindowsArgs].
 */
@PulumiTagMarker
public class SoftwareUpdateConfigurationWindowsArgsBuilder internal constructor() {
    private var classificationIncluded: Output? = null

    private var classificationsIncludeds: Output>? = null

    private var excludedKnowledgeBaseNumbers: Output>? = null

    private var includedKnowledgeBaseNumbers: Output>? = null

    private var reboot: Output? = null

    /**
     * @param value
     */
    @Deprecated(
        message = """
  windows classification can be set as a list, use `classifications_included` instead.
  """,
    )
    @JvmName("gtrtoomuxckyejei")
    public suspend fun classificationIncluded(`value`: Output) {
        this.classificationIncluded = value
    }

    /**
     * @param value Specifies the list of update classification. Possible values are `Unclassified`, `Critical`, `Security`, `UpdateRollup`, `FeaturePack`, `ServicePack`, `Definition`, `Tools` and `Updates`.
     */
    @JvmName("pquofkoecqqiqteb")
    public suspend fun classificationsIncludeds(`value`: Output>) {
        this.classificationsIncludeds = value
    }

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

    /**
     * @param values Specifies the list of update classification. Possible values are `Unclassified`, `Critical`, `Security`, `UpdateRollup`, `FeaturePack`, `ServicePack`, `Definition`, `Tools` and `Updates`.
     */
    @JvmName("frxftfaxvuunavrh")
    public suspend fun classificationsIncludeds(values: List>) {
        this.classificationsIncludeds = Output.all(values)
    }

    /**
     * @param value Specifies a list of knowledge base numbers excluded.
     */
    @JvmName("xovwacfwnbkpulil")
    public suspend fun excludedKnowledgeBaseNumbers(`value`: Output>) {
        this.excludedKnowledgeBaseNumbers = value
    }

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

    /**
     * @param values Specifies a list of knowledge base numbers excluded.
     */
    @JvmName("urejvnxggruxeijy")
    public suspend fun excludedKnowledgeBaseNumbers(values: List>) {
        this.excludedKnowledgeBaseNumbers = Output.all(values)
    }

    /**
     * @param value Specifies a list of knowledge base numbers included.
     */
    @JvmName("pfhkillxfcykjdcw")
    public suspend fun includedKnowledgeBaseNumbers(`value`: Output>) {
        this.includedKnowledgeBaseNumbers = value
    }

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

    /**
     * @param values Specifies a list of knowledge base numbers included.
     */
    @JvmName("fmjeyhhikqblxfex")
    public suspend fun includedKnowledgeBaseNumbers(values: List>) {
        this.includedKnowledgeBaseNumbers = Output.all(values)
    }

    /**
     * @param value Specifies the reboot settings after software update, possible values are `IfRequired`, `Never`, `RebootOnly` and `Always`. Defaults to `IfRequired`.
     */
    @JvmName("evngllhltcwoewvl")
    public suspend fun reboot(`value`: Output) {
        this.reboot = value
    }

    /**
     * @param value
     */
    @Deprecated(
        message = """
  windows classification can be set as a list, use `classifications_included` instead.
  """,
    )
    @JvmName("xfsdsnuiouhawnua")
    public suspend fun classificationIncluded(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.classificationIncluded = mapped
    }

    /**
     * @param value Specifies the list of update classification. Possible values are `Unclassified`, `Critical`, `Security`, `UpdateRollup`, `FeaturePack`, `ServicePack`, `Definition`, `Tools` and `Updates`.
     */
    @JvmName("nmhlmxatbmctaqnh")
    public suspend fun classificationsIncludeds(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.classificationsIncludeds = mapped
    }

    /**
     * @param values Specifies the list of update classification. Possible values are `Unclassified`, `Critical`, `Security`, `UpdateRollup`, `FeaturePack`, `ServicePack`, `Definition`, `Tools` and `Updates`.
     */
    @JvmName("seeimubnilivwwor")
    public suspend fun classificationsIncludeds(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.classificationsIncludeds = mapped
    }

    /**
     * @param value Specifies a list of knowledge base numbers excluded.
     */
    @JvmName("bnjpxjjyvwlvviem")
    public suspend fun excludedKnowledgeBaseNumbers(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.excludedKnowledgeBaseNumbers = mapped
    }

    /**
     * @param values Specifies a list of knowledge base numbers excluded.
     */
    @JvmName("kmflqwmanfikyjyg")
    public suspend fun excludedKnowledgeBaseNumbers(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.excludedKnowledgeBaseNumbers = mapped
    }

    /**
     * @param value Specifies a list of knowledge base numbers included.
     */
    @JvmName("qnhsjtcyobjxwfot")
    public suspend fun includedKnowledgeBaseNumbers(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.includedKnowledgeBaseNumbers = mapped
    }

    /**
     * @param values Specifies a list of knowledge base numbers included.
     */
    @JvmName("iuprofgjcbcmdpaf")
    public suspend fun includedKnowledgeBaseNumbers(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.includedKnowledgeBaseNumbers = mapped
    }

    /**
     * @param value Specifies the reboot settings after software update, possible values are `IfRequired`, `Never`, `RebootOnly` and `Always`. Defaults to `IfRequired`.
     */
    @JvmName("vafqhhuldkvdxrjl")
    public suspend fun reboot(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.reboot = mapped
    }

    internal fun build(): SoftwareUpdateConfigurationWindowsArgs =
        SoftwareUpdateConfigurationWindowsArgs(
            classificationIncluded = classificationIncluded,
            classificationsIncludeds = classificationsIncludeds,
            excludedKnowledgeBaseNumbers = excludedKnowledgeBaseNumbers,
            includedKnowledgeBaseNumbers = includedKnowledgeBaseNumbers,
            reboot = reboot,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy