
com.pulumi.azure.compute.kotlin.inputs.OrchestratedVirtualMachineScaleSetSourceImageReferenceArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.compute.kotlin.inputs
import com.pulumi.azure.compute.inputs.OrchestratedVirtualMachineScaleSetSourceImageReferenceArgs.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 Specifies the offer of the image used to create the virtual machines. Changing this forces a new resource to be created.
* @property publisher Specifies the publisher of the image used to create the virtual machines. Changing this forces a new resource to be created.
* @property sku Specifies the SKU of the image used to create the virtual machines.
* @property version Specifies the version of the image used to create the virtual machines.
*/
public data class OrchestratedVirtualMachineScaleSetSourceImageReferenceArgs(
public val offer: Output,
public val publisher: Output,
public val sku: Output,
public val version: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azure.compute.inputs.OrchestratedVirtualMachineScaleSetSourceImageReferenceArgs =
com.pulumi.azure.compute.inputs.OrchestratedVirtualMachineScaleSetSourceImageReferenceArgs.builder()
.offer(offer.applyValue({ args0 -> args0 }))
.publisher(publisher.applyValue({ args0 -> args0 }))
.sku(sku.applyValue({ args0 -> args0 }))
.version(version.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [OrchestratedVirtualMachineScaleSetSourceImageReferenceArgs].
*/
@PulumiTagMarker
public class OrchestratedVirtualMachineScaleSetSourceImageReferenceArgsBuilder internal constructor() {
private var offer: Output? = null
private var publisher: Output? = null
private var sku: Output? = null
private var version: Output? = null
/**
* @param value Specifies the offer of the image used to create the virtual machines. Changing this forces a new resource to be created.
*/
@JvmName("aptrgpilrdtjrihi")
public suspend fun offer(`value`: Output) {
this.offer = value
}
/**
* @param value Specifies the publisher of the image used to create the virtual machines. Changing this forces a new resource to be created.
*/
@JvmName("qmlfslrjohotsejx")
public suspend fun publisher(`value`: Output) {
this.publisher = value
}
/**
* @param value Specifies the SKU of the image used to create the virtual machines.
*/
@JvmName("kgacksiyyqngvfpl")
public suspend fun sku(`value`: Output) {
this.sku = value
}
/**
* @param value Specifies the version of the image used to create the virtual machines.
*/
@JvmName("mnucscpnncvtvywx")
public suspend fun version(`value`: Output) {
this.version = value
}
/**
* @param value Specifies the offer of the image used to create the virtual machines. Changing this forces a new resource to be created.
*/
@JvmName("bigryqykdseuomgc")
public suspend fun offer(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.offer = mapped
}
/**
* @param value Specifies the publisher of the image used to create the virtual machines. Changing this forces a new resource to be created.
*/
@JvmName("fjiinxtuqbqcifcs")
public suspend fun publisher(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.publisher = mapped
}
/**
* @param value Specifies the SKU of the image used to create the virtual machines.
*/
@JvmName("jhdjusbxxyuxgste")
public suspend fun sku(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.sku = mapped
}
/**
* @param value Specifies the version of the image used to create the virtual machines.
*/
@JvmName("oilegtiavecneyjf")
public suspend fun version(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.version = mapped
}
internal fun build(): OrchestratedVirtualMachineScaleSetSourceImageReferenceArgs =
OrchestratedVirtualMachineScaleSetSourceImageReferenceArgs(
offer = offer ?: throw PulumiNullFieldException("offer"),
publisher = publisher ?: throw PulumiNullFieldException("publisher"),
sku = sku ?: throw PulumiNullFieldException("sku"),
version = version ?: throw PulumiNullFieldException("version"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy