com.pulumi.gcp.osconfig.kotlin.inputs.PatchDeploymentPatchConfigYumArgs.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.PatchDeploymentPatchConfigYumArgs.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 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 minimal Will cause patch to run yum update-minimal instead.
* @property security Adds the --security flag to yum update. Not supported on all platforms.
*/
public data class PatchDeploymentPatchConfigYumArgs(
public val excludes: Output>? = null,
public val exclusivePackages: Output>? = null,
public val minimal: Output? = null,
public val security: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.osconfig.inputs.PatchDeploymentPatchConfigYumArgs =
com.pulumi.gcp.osconfig.inputs.PatchDeploymentPatchConfigYumArgs.builder()
.excludes(excludes?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.exclusivePackages(exclusivePackages?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.minimal(minimal?.applyValue({ args0 -> args0 }))
.security(security?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [PatchDeploymentPatchConfigYumArgs].
*/
@PulumiTagMarker
public class PatchDeploymentPatchConfigYumArgsBuilder internal constructor() {
private var excludes: Output>? = null
private var exclusivePackages: Output>? = null
private var minimal: Output? = null
private var security: Output? = null
/**
* @param value List of packages to exclude from update. These packages will be excluded.
*/
@JvmName("ywkcbfohhwkidtkk")
public suspend fun excludes(`value`: Output>) {
this.excludes = value
}
@JvmName("loqcxlkyiqqvckxd")
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("vvsopxajmviwvvru")
public suspend fun excludes(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy