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

com.pulumi.gcp.osconfig.kotlin.inputs.PatchDeploymentPatchConfigWindowsUpdateArgs.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: 8.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.osconfig.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.osconfig.inputs.PatchDeploymentPatchConfigWindowsUpdateArgs.builder
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 classifications Only apply updates of these windows update classifications. If empty, all updates are applied.
 * Each value may be one of: `CRITICAL`, `SECURITY`, `DEFINITION`, `DRIVER`, `FEATURE_PACK`, `SERVICE_PACK`, `TOOL`, `UPDATE_ROLLUP`, `UPDATE`.
 * @property excludes List of KBs to exclude from update.
 * @property exclusivePatches An exclusive list of kbs to be updated. These are the only patches that will be updated.
 * This field must not be used with other patch configurations.
 */
public data class PatchDeploymentPatchConfigWindowsUpdateArgs(
    public val classifications: Output>? = null,
    public val excludes: Output>? = null,
    public val exclusivePatches: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.osconfig.inputs.PatchDeploymentPatchConfigWindowsUpdateArgs = com.pulumi.gcp.osconfig.inputs.PatchDeploymentPatchConfigWindowsUpdateArgs.builder()
        .classifications(classifications?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
        .excludes(excludes?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
        .exclusivePatches(exclusivePatches?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

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

    private var excludes: Output>? = null

    private var exclusivePatches: Output>? = null

    /**
     * @param value Only apply updates of these windows update classifications. If empty, all updates are applied.
     * Each value may be one of: `CRITICAL`, `SECURITY`, `DEFINITION`, `DRIVER`, `FEATURE_PACK`, `SERVICE_PACK`, `TOOL`, `UPDATE_ROLLUP`, `UPDATE`.
     */
    @JvmName("gjedfswfyjqkpqah")
    public suspend fun classifications(`value`: Output>) {
        this.classifications = value
    }

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

    /**
     * @param values Only apply updates of these windows update classifications. If empty, all updates are applied.
     * Each value may be one of: `CRITICAL`, `SECURITY`, `DEFINITION`, `DRIVER`, `FEATURE_PACK`, `SERVICE_PACK`, `TOOL`, `UPDATE_ROLLUP`, `UPDATE`.
     */
    @JvmName("leeypvljrwsgbefl")
    public suspend fun classifications(values: List>) {
        this.classifications = Output.all(values)
    }

    /**
     * @param value List of KBs to exclude from update.
     */
    @JvmName("fxaodlfdvxfpfoty")
    public suspend fun excludes(`value`: Output>) {
        this.excludes = value
    }

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

    /**
     * @param values List of KBs to exclude from update.
     */
    @JvmName("oyiirmfuhvasawbx")
    public suspend fun excludes(values: List>) {
        this.excludes = Output.all(values)
    }

    /**
     * @param value An exclusive list of kbs to be updated. These are the only patches that will be updated.
     * This field must not be used with other patch configurations.
     */
    @JvmName("uxnstaetupvvfgap")
    public suspend fun exclusivePatches(`value`: Output>) {
        this.exclusivePatches = value
    }

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

    /**
     * @param values An exclusive list of kbs to be updated. These are the only patches that will be updated.
     * This field must not be used with other patch configurations.
     */
    @JvmName("urmsaknwwngymgvb")
    public suspend fun exclusivePatches(values: List>) {
        this.exclusivePatches = Output.all(values)
    }

    /**
     * @param value Only apply updates of these windows update classifications. If empty, all updates are applied.
     * Each value may be one of: `CRITICAL`, `SECURITY`, `DEFINITION`, `DRIVER`, `FEATURE_PACK`, `SERVICE_PACK`, `TOOL`, `UPDATE_ROLLUP`, `UPDATE`.
     */
    @JvmName("wtkaavtqmokppwyq")
    public suspend fun classifications(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.classifications = mapped
    }

    /**
     * @param values Only apply updates of these windows update classifications. If empty, all updates are applied.
     * Each value may be one of: `CRITICAL`, `SECURITY`, `DEFINITION`, `DRIVER`, `FEATURE_PACK`, `SERVICE_PACK`, `TOOL`, `UPDATE_ROLLUP`, `UPDATE`.
     */
    @JvmName("mkklkwurexapamlk")
    public suspend fun classifications(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.classifications = mapped
    }

    /**
     * @param value List of KBs to exclude from update.
     */
    @JvmName("asgtagupsohyvcmx")
    public suspend fun excludes(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.excludes = mapped
    }

    /**
     * @param values List of KBs to exclude from update.
     */
    @JvmName("yqsiqrindchtbado")
    public suspend fun excludes(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.excludes = mapped
    }

    /**
     * @param value An exclusive list of kbs to be updated. These are the only patches that will be updated.
     * This field must not be used with other patch configurations.
     */
    @JvmName("exfucomjmlcpkejy")
    public suspend fun exclusivePatches(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.exclusivePatches = mapped
    }

    /**
     * @param values An exclusive list of kbs to be updated. These are the only patches that will be updated.
     * This field must not be used with other patch configurations.
     */
    @JvmName("asfsvpnkkwmgkwkb")
    public suspend fun exclusivePatches(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.exclusivePatches = mapped
    }

    internal fun build(): PatchDeploymentPatchConfigWindowsUpdateArgs =
        PatchDeploymentPatchConfigWindowsUpdateArgs(
            classifications = classifications,
            excludes = excludes,
            exclusivePatches = exclusivePatches,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy