com.pulumi.gcp.osconfig.kotlin.outputs.PatchDeploymentPatchConfigApt.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.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @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 PatchDeploymentPatchConfigApt(
public val excludes: List? = null,
public val exclusivePackages: List? = null,
public val type: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.osconfig.outputs.PatchDeploymentPatchConfigApt): PatchDeploymentPatchConfigApt = PatchDeploymentPatchConfigApt(
excludes = javaType.excludes().map({ args0 -> args0 }),
exclusivePackages = javaType.exclusivePackages().map({ args0 -> args0 }),
type = javaType.type().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy