com.pulumi.azure.compute.kotlin.inputs.SharedImageIdentifierArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.compute.kotlin.inputs
import com.pulumi.azure.compute.inputs.SharedImageIdentifierArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property offer The Offer Name for this Shared Image. Changing this forces a new resource to be created.
* @property publisher The Publisher Name for this Gallery Image. Changing this forces a new resource to be created.
* @property sku The Name of the SKU for this Gallery Image. Changing this forces a new resource to be created.
*/
public data class SharedImageIdentifierArgs(
public val offer: Output,
public val publisher: Output,
public val sku: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.compute.inputs.SharedImageIdentifierArgs =
com.pulumi.azure.compute.inputs.SharedImageIdentifierArgs.builder()
.offer(offer.applyValue({ args0 -> args0 }))
.publisher(publisher.applyValue({ args0 -> args0 }))
.sku(sku.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [SharedImageIdentifierArgs].
*/
@PulumiTagMarker
public class SharedImageIdentifierArgsBuilder internal constructor() {
private var offer: Output? = null
private var publisher: Output? = null
private var sku: Output? = null
/**
* @param value The Offer Name for this Shared Image. Changing this forces a new resource to be created.
*/
@JvmName("goaodvtqphidpoae")
public suspend fun offer(`value`: Output) {
this.offer = value
}
/**
* @param value The Publisher Name for this Gallery Image. Changing this forces a new resource to be created.
*/
@JvmName("yrnacfddwcajmvao")
public suspend fun publisher(`value`: Output) {
this.publisher = value
}
/**
* @param value The Name of the SKU for this Gallery Image. Changing this forces a new resource to be created.
*/
@JvmName("gcgvoaiaxfsfcfbn")
public suspend fun sku(`value`: Output) {
this.sku = value
}
/**
* @param value The Offer Name for this Shared Image. Changing this forces a new resource to be created.
*/
@JvmName("rqyesrdvdpjhtpnn")
public suspend fun offer(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.offer = mapped
}
/**
* @param value The Publisher Name for this Gallery Image. Changing this forces a new resource to be created.
*/
@JvmName("houanmjsfivscefs")
public suspend fun publisher(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.publisher = mapped
}
/**
* @param value The Name of the SKU for this Gallery Image. Changing this forces a new resource to be created.
*/
@JvmName("jbavlytnxffbpnbp")
public suspend fun sku(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.sku = mapped
}
internal fun build(): SharedImageIdentifierArgs = SharedImageIdentifierArgs(
offer = offer ?: throw PulumiNullFieldException("offer"),
publisher = publisher ?: throw PulumiNullFieldException("publisher"),
sku = sku ?: throw PulumiNullFieldException("sku"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy