All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.osconfig.kotlin.outputs.PatchDeploymentPatchConfigYum.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.osconfig.kotlin.outputs

import kotlin.Boolean
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 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 PatchDeploymentPatchConfigYum(
    public val excludes: List? = null,
    public val exclusivePackages: List? = null,
    public val minimal: Boolean? = null,
    public val security: Boolean? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.osconfig.outputs.PatchDeploymentPatchConfigYum): PatchDeploymentPatchConfigYum = PatchDeploymentPatchConfigYum(
            excludes = javaType.excludes().map({ args0 -> args0 }),
            exclusivePackages = javaType.exclusivePackages().map({ args0 -> args0 }),
            minimal = javaType.minimal().map({ args0 -> args0 }).orElse(null),
            security = javaType.security().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy