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

com.pulumi.gcp.osconfig.kotlin.outputs.PatchDeploymentPatchConfigZypper.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.12.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 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 PatchDeploymentPatchConfigZypper(
    public val categories: List? = null,
    public val excludes: List? = null,
    public val exclusivePatches: List? = null,
    public val severities: List? = null,
    public val withOptional: Boolean? = null,
    public val withUpdate: Boolean? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.osconfig.outputs.PatchDeploymentPatchConfigZypper): PatchDeploymentPatchConfigZypper = PatchDeploymentPatchConfigZypper(
            categories = javaType.categories().map({ args0 -> args0 }),
            excludes = javaType.excludes().map({ args0 -> args0 }),
            exclusivePatches = javaType.exclusivePatches().map({ args0 -> args0 }),
            severities = javaType.severities().map({ args0 -> args0 }),
            withOptional = javaType.withOptional().map({ args0 -> args0 }).orElse(null),
            withUpdate = javaType.withUpdate().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy