
com.pulumi.googlenative.containeranalysis.v1.kotlin.inputs.UpgradeNoteArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-google-native-kotlin Show documentation
Show all versions of pulumi-google-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.containeranalysis.v1.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.containeranalysis.v1.inputs.UpgradeNoteArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* An Upgrade Note represents a potential upgrade of a package to a given version. For each package version combination (i.e. bash 4.0, bash 4.1, bash 4.1.2), there will be an Upgrade Note. For Windows, windows_update field represents the information related to the update.
* @property distributions Metadata about the upgrade for each specific operating system.
* @property package Required for non-Windows OS. The package this Upgrade is for.
* @property version Required for non-Windows OS. The version of the package in machine + human readable form.
* @property windowsUpdate Required for Windows OS. Represents the metadata about the Windows update.
*/
public data class UpgradeNoteArgs(
public val distributions: Output>? = null,
public val `package`: Output? = null,
public val version: Output? = null,
public val windowsUpdate: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.containeranalysis.v1.inputs.UpgradeNoteArgs =
com.pulumi.googlenative.containeranalysis.v1.inputs.UpgradeNoteArgs.builder()
.distributions(
distributions?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.package_(`package`?.applyValue({ args0 -> args0 }))
.version(version?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.windowsUpdate(windowsUpdate?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [UpgradeNoteArgs].
*/
@PulumiTagMarker
public class UpgradeNoteArgsBuilder internal constructor() {
private var distributions: Output>? = null
private var `package`: Output? = null
private var version: Output? = null
private var windowsUpdate: Output? = null
/**
* @param value Metadata about the upgrade for each specific operating system.
*/
@JvmName("okhgopabuqukcowh")
public suspend fun distributions(`value`: Output>) {
this.distributions = value
}
@JvmName("oyceukibgxpvqdgl")
public suspend fun distributions(vararg values: Output) {
this.distributions = Output.all(values.asList())
}
/**
* @param values Metadata about the upgrade for each specific operating system.
*/
@JvmName("xmhfnhxralqiuhct")
public suspend fun distributions(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy