com.pulumi.gcp.osconfig.kotlin.inputs.PatchDeploymentPatchConfigAptArgs.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.PatchDeploymentPatchConfigAptArgs.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 excludes List of packages to exclude from update. These packages will be excluded.
* @property exclusivePackages An exclusive list of packages to be updated. These are the only packages that will be updated.
* If these packages are not installed, they will be ignored. This field cannot be specified with
* any other patch configuration fields.
* @property type By changing the type to DIST, the patching is performed using apt-get dist-upgrade instead.
* Possible values are: `DIST`, `UPGRADE`.
*/
public data class PatchDeploymentPatchConfigAptArgs(
public val excludes: Output>? = null,
public val exclusivePackages: Output>? = null,
public val type: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.osconfig.inputs.PatchDeploymentPatchConfigAptArgs =
com.pulumi.gcp.osconfig.inputs.PatchDeploymentPatchConfigAptArgs.builder()
.excludes(excludes?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.exclusivePackages(exclusivePackages?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.type(type?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [PatchDeploymentPatchConfigAptArgs].
*/
@PulumiTagMarker
public class PatchDeploymentPatchConfigAptArgsBuilder internal constructor() {
private var excludes: Output>? = null
private var exclusivePackages: Output>? = null
private var type: Output? = null
/**
* @param value List of packages to exclude from update. These packages will be excluded.
*/
@JvmName("qkjuipuaplerfxkf")
public suspend fun excludes(`value`: Output>) {
this.excludes = value
}
@JvmName("pklomytiswawipqx")
public suspend fun excludes(vararg values: Output) {
this.excludes = Output.all(values.asList())
}
/**
* @param values List of packages to exclude from update. These packages will be excluded.
*/
@JvmName("xrikilrifjiclvve")
public suspend fun excludes(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy