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

com.pulumi.azure.automation.kotlin.outputs.SoftwareUpdateConfigurationLinux.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: 6.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.automation.kotlin.outputs

import kotlin.Deprecated
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property classificationIncluded
 * @property classificationsIncludeds Specifies the list of update classifications included in the Software Update Configuration. Possible values are `Unclassified`, `Critical`, `Security` and `Other`.
 * > **NOTE:** The `classifications_included` property will become `Required` in version 4.0 of the Provider.
 * @property excludedPackages Specifies a list of packages to excluded from the Software Update Configuration.
 * @property includedPackages Specifies a list of packages to included from the Software Update Configuration.
 * @property reboot Specifies the reboot settings after software update, possible values are `IfRequired`, `Never`, `RebootOnly` and `Always`. Defaults to `IfRequired`.
 */
public data class SoftwareUpdateConfigurationLinux(
    @Deprecated(
        message = """
  this property is deprecated and will be removed in version 4.0 of the provider, please use
      `classifications_included` instead.
  """,
    )
    public val classificationIncluded: String? = null,
    public val classificationsIncludeds: List? = null,
    public val excludedPackages: List? = null,
    public val includedPackages: List? = null,
    public val reboot: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.automation.outputs.SoftwareUpdateConfigurationLinux): SoftwareUpdateConfigurationLinux = SoftwareUpdateConfigurationLinux(
            classificationIncluded = javaType.classificationIncluded().map({ args0 -> args0 }).orElse(null),
            classificationsIncludeds = javaType.classificationsIncludeds().map({ args0 -> args0 }),
            excludedPackages = javaType.excludedPackages().map({ args0 -> args0 }),
            includedPackages = javaType.includedPackages().map({ args0 -> args0 }),
            reboot = javaType.reboot().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy