Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
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.PatchDeploymentPatchConfigZypperArgs.builder
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
/**
*
* @property categories Install only patches with these categories. Common categories include security, recommended, and feature.
* @property excludes List of packages to exclude from update.
* @property exclusivePatches An exclusive list of patches to be updated. These are the only patches that will be installed using 'zypper patch patch:' command.
* This field must not be used with any other patch configuration fields.
* @property severities Install only patches with these severities. Common severities include critical, important, moderate, and low.
* @property withOptional Adds the --with-optional flag to zypper patch.
* @property withUpdate Adds the --with-update flag, to zypper patch.
*/
public data class PatchDeploymentPatchConfigZypperArgs(
public val categories: Output>? = null,
public val excludes: Output>? = null,
public val exclusivePatches: Output>? = null,
public val severities: Output>? = null,
public val withOptional: Output? = null,
public val withUpdate: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.osconfig.inputs.PatchDeploymentPatchConfigZypperArgs =
com.pulumi.gcp.osconfig.inputs.PatchDeploymentPatchConfigZypperArgs.builder()
.categories(categories?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.excludes(excludes?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.exclusivePatches(exclusivePatches?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.severities(severities?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.withOptional(withOptional?.applyValue({ args0 -> args0 }))
.withUpdate(withUpdate?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [PatchDeploymentPatchConfigZypperArgs].
*/
@PulumiTagMarker
public class PatchDeploymentPatchConfigZypperArgsBuilder internal constructor() {
private var categories: Output>? = null
private var excludes: Output>? = null
private var exclusivePatches: Output>? = null
private var severities: Output>? = null
private var withOptional: Output? = null
private var withUpdate: Output? = null
/**
* @param value Install only patches with these categories. Common categories include security, recommended, and feature.
*/
@JvmName("pekqddhlulanrgyw")
public suspend fun categories(`value`: Output>) {
this.categories = value
}
@JvmName("dinbcmbnwsjtmctf")
public suspend fun categories(vararg values: Output) {
this.categories = Output.all(values.asList())
}
/**
* @param values Install only patches with these categories. Common categories include security, recommended, and feature.
*/
@JvmName("ijujomcenvsqavyu")
public suspend fun categories(values: List