
com.pulumi.azurenative.automation.kotlin.inputs.LinuxPropertiesArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.automation.kotlin.inputs
import com.pulumi.azurenative.automation.inputs.LinuxPropertiesArgs.builder
import com.pulumi.azurenative.automation.kotlin.enums.LinuxUpdateClasses
import com.pulumi.core.Either
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Linux specific update configuration.
* @property excludedPackageNameMasks packages excluded from the software update configuration.
* @property includedPackageClassifications Update classifications included in the software update configuration.
* @property includedPackageNameMasks packages included from the software update configuration.
* @property rebootSetting Reboot setting for the software update configuration.
*/
public data class LinuxPropertiesArgs(
public val excludedPackageNameMasks: Output>? = null,
public val includedPackageClassifications: Output>? = null,
public val includedPackageNameMasks: Output>? = null,
public val rebootSetting: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.automation.inputs.LinuxPropertiesArgs =
com.pulumi.azurenative.automation.inputs.LinuxPropertiesArgs.builder()
.excludedPackageNameMasks(
excludedPackageNameMasks?.applyValue({ args0 ->
args0.map({ args0 ->
args0
})
}),
)
.includedPackageClassifications(
includedPackageClassifications?.applyValue({ args0 ->
args0.transform({ args0 -> args0 }, { args0 -> args0.let({ args0 -> args0.toJava() }) })
}),
)
.includedPackageNameMasks(
includedPackageNameMasks?.applyValue({ args0 ->
args0.map({ args0 ->
args0
})
}),
)
.rebootSetting(rebootSetting?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [LinuxPropertiesArgs].
*/
@PulumiTagMarker
public class LinuxPropertiesArgsBuilder internal constructor() {
private var excludedPackageNameMasks: Output>? = null
private var includedPackageClassifications: Output>? = null
private var includedPackageNameMasks: Output>? = null
private var rebootSetting: Output? = null
/**
* @param value packages excluded from the software update configuration.
*/
@JvmName("jhtkjyrkkxocfrrh")
public suspend fun excludedPackageNameMasks(`value`: Output>) {
this.excludedPackageNameMasks = value
}
@JvmName("xdwxrwokhootfrbu")
public suspend fun excludedPackageNameMasks(vararg values: Output) {
this.excludedPackageNameMasks = Output.all(values.asList())
}
/**
* @param values packages excluded from the software update configuration.
*/
@JvmName("idjypamibphubokl")
public suspend fun excludedPackageNameMasks(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy