![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.devtestlab.kotlin.inputs.GalleryImageReferenceArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-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.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.devtestlab.kotlin.inputs
import com.pulumi.azurenative.devtestlab.inputs.GalleryImageReferenceArgs.builder
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.jvm.JvmName
/**
* The reference information for an Azure Marketplace image.
* @property offer The offer of the gallery image.
* @property osType The OS type of the gallery image.
* @property publisher The publisher of the gallery image.
* @property sku The SKU of the gallery image.
* @property version The version of the gallery image.
*/
public data class GalleryImageReferenceArgs(
public val offer: Output? = null,
public val osType: Output? = null,
public val publisher: Output? = null,
public val sku: Output? = null,
public val version: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.devtestlab.inputs.GalleryImageReferenceArgs =
com.pulumi.azurenative.devtestlab.inputs.GalleryImageReferenceArgs.builder()
.offer(offer?.applyValue({ args0 -> args0 }))
.osType(osType?.applyValue({ args0 -> args0 }))
.publisher(publisher?.applyValue({ args0 -> args0 }))
.sku(sku?.applyValue({ args0 -> args0 }))
.version(version?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [GalleryImageReferenceArgs].
*/
@PulumiTagMarker
public class GalleryImageReferenceArgsBuilder internal constructor() {
private var offer: Output? = null
private var osType: Output? = null
private var publisher: Output? = null
private var sku: Output? = null
private var version: Output? = null
/**
* @param value The offer of the gallery image.
*/
@JvmName("iyvalubafiqbdxvv")
public suspend fun offer(`value`: Output) {
this.offer = value
}
/**
* @param value The OS type of the gallery image.
*/
@JvmName("ylceqflfxfbmqjxu")
public suspend fun osType(`value`: Output) {
this.osType = value
}
/**
* @param value The publisher of the gallery image.
*/
@JvmName("hcjmcmuscjilavgd")
public suspend fun publisher(`value`: Output) {
this.publisher = value
}
/**
* @param value The SKU of the gallery image.
*/
@JvmName("ajpcpwguxfnwpwdt")
public suspend fun sku(`value`: Output) {
this.sku = value
}
/**
* @param value The version of the gallery image.
*/
@JvmName("xafrberyumnpcadx")
public suspend fun version(`value`: Output) {
this.version = value
}
/**
* @param value The offer of the gallery image.
*/
@JvmName("ydevovdnfqtewcqs")
public suspend fun offer(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.offer = mapped
}
/**
* @param value The OS type of the gallery image.
*/
@JvmName("ygqpwbbwwbgljbjh")
public suspend fun osType(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.osType = mapped
}
/**
* @param value The publisher of the gallery image.
*/
@JvmName("lkwfqgfgwmcbbvqc")
public suspend fun publisher(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.publisher = mapped
}
/**
* @param value The SKU of the gallery image.
*/
@JvmName("pkhviiwyngkoweey")
public suspend fun sku(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.sku = mapped
}
/**
* @param value The version of the gallery image.
*/
@JvmName("oijxwthocgepoxbf")
public suspend fun version(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.version = mapped
}
internal fun build(): GalleryImageReferenceArgs = GalleryImageReferenceArgs(
offer = offer,
osType = osType,
publisher = publisher,
sku = sku,
version = version,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy