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

com.pulumi.azure.automation.kotlin.inputs.SoftwareUpdateConfigurationLinuxArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.automation.kotlin.inputs

import com.pulumi.azure.automation.inputs.SoftwareUpdateConfigurationLinuxArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Deprecated
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @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 SoftwareUpdateConfigurationLinuxArgs(
    @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: Output? = null,
    public val classificationsIncludeds: Output>? = null,
    public val excludedPackages: Output>? = null,
    public val includedPackages: Output>? = null,
    public val reboot: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.automation.inputs.SoftwareUpdateConfigurationLinuxArgs =
        com.pulumi.azure.automation.inputs.SoftwareUpdateConfigurationLinuxArgs.builder()
            .classificationIncluded(classificationIncluded?.applyValue({ args0 -> args0 }))
            .classificationsIncludeds(
                classificationsIncludeds?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0
                    })
                }),
            )
            .excludedPackages(excludedPackages?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .includedPackages(includedPackages?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .reboot(reboot?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [SoftwareUpdateConfigurationLinuxArgs].
 */
@PulumiTagMarker
public class SoftwareUpdateConfigurationLinuxArgsBuilder internal constructor() {
    private var classificationIncluded: Output? = null

    private var classificationsIncludeds: Output>? = null

    private var excludedPackages: Output>? = null

    private var includedPackages: Output>? = null

    private var reboot: Output? = null

    /**
     * @param value
     */
    @Deprecated(
        message = """
  this property is deprecated and will be removed in version 4.0 of the provider, please use
      `classifications_included` instead.
  """,
    )
    @JvmName("hqwkwugqhtehnorm")
    public suspend fun classificationIncluded(`value`: Output) {
        this.classificationIncluded = value
    }

    /**
     * @param value 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.
     */
    @JvmName("xavqevewlmnfsqku")
    public suspend fun classificationsIncludeds(`value`: Output>) {
        this.classificationsIncludeds = value
    }

    @JvmName("bsfhaylwbmlelfrp")
    public suspend fun classificationsIncludeds(vararg values: Output) {
        this.classificationsIncludeds = Output.all(values.asList())
    }

    /**
     * @param values 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.
     */
    @JvmName("hmasijabovtiptcu")
    public suspend fun classificationsIncludeds(values: List>) {
        this.classificationsIncludeds = Output.all(values)
    }

    /**
     * @param value Specifies a list of packages to excluded from the Software Update Configuration.
     */
    @JvmName("lmqldiupixqigfje")
    public suspend fun excludedPackages(`value`: Output>) {
        this.excludedPackages = value
    }

    @JvmName("kayweitflljssdla")
    public suspend fun excludedPackages(vararg values: Output) {
        this.excludedPackages = Output.all(values.asList())
    }

    /**
     * @param values Specifies a list of packages to excluded from the Software Update Configuration.
     */
    @JvmName("bqmnfqbtlhsbkhhj")
    public suspend fun excludedPackages(values: List>) {
        this.excludedPackages = Output.all(values)
    }

    /**
     * @param value Specifies a list of packages to included from the Software Update Configuration.
     */
    @JvmName("vhopykhahoywnkyi")
    public suspend fun includedPackages(`value`: Output>) {
        this.includedPackages = value
    }

    @JvmName("otlqbhectjpovvjh")
    public suspend fun includedPackages(vararg values: Output) {
        this.includedPackages = Output.all(values.asList())
    }

    /**
     * @param values Specifies a list of packages to included from the Software Update Configuration.
     */
    @JvmName("bociggoomakqguoo")
    public suspend fun includedPackages(values: List>) {
        this.includedPackages = Output.all(values)
    }

    /**
     * @param value Specifies the reboot settings after software update, possible values are `IfRequired`, `Never`, `RebootOnly` and `Always`. Defaults to `IfRequired`.
     */
    @JvmName("icwfxjccjmxfxjhh")
    public suspend fun reboot(`value`: Output) {
        this.reboot = value
    }

    /**
     * @param value
     */
    @Deprecated(
        message = """
  this property is deprecated and will be removed in version 4.0 of the provider, please use
      `classifications_included` instead.
  """,
    )
    @JvmName("yqjwnlfebhmfkply")
    public suspend fun classificationIncluded(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.classificationIncluded = mapped
    }

    /**
     * @param value 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.
     */
    @JvmName("iqdvmmtprdbydaqm")
    public suspend fun classificationsIncludeds(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.classificationsIncludeds = mapped
    }

    /**
     * @param values 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.
     */
    @JvmName("ainekoiihxqaxpav")
    public suspend fun classificationsIncludeds(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.classificationsIncludeds = mapped
    }

    /**
     * @param value Specifies a list of packages to excluded from the Software Update Configuration.
     */
    @JvmName("xvmfwwsfdkodjcyo")
    public suspend fun excludedPackages(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.excludedPackages = mapped
    }

    /**
     * @param values Specifies a list of packages to excluded from the Software Update Configuration.
     */
    @JvmName("rmxdygbtplnuuokw")
    public suspend fun excludedPackages(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.excludedPackages = mapped
    }

    /**
     * @param value Specifies a list of packages to included from the Software Update Configuration.
     */
    @JvmName("rpcmpyeagncbpluy")
    public suspend fun includedPackages(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.includedPackages = mapped
    }

    /**
     * @param values Specifies a list of packages to included from the Software Update Configuration.
     */
    @JvmName("yfhaugbugedhbqiv")
    public suspend fun includedPackages(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.includedPackages = mapped
    }

    /**
     * @param value Specifies the reboot settings after software update, possible values are `IfRequired`, `Never`, `RebootOnly` and `Always`. Defaults to `IfRequired`.
     */
    @JvmName("buymbccaamgrvigw")
    public suspend fun reboot(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.reboot = mapped
    }

    internal fun build(): SoftwareUpdateConfigurationLinuxArgs = SoftwareUpdateConfigurationLinuxArgs(
        classificationIncluded = classificationIncluded,
        classificationsIncludeds = classificationsIncludeds,
        excludedPackages = excludedPackages,
        includedPackages = includedPackages,
        reboot = reboot,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy