com.pulumi.gcp.osconfig.kotlin.inputs.PatchDeploymentPatchConfigWindowsUpdateArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@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
© 2015 - 2025 Weber Informatics LLC | Privacy Policy