com.pulumi.azure.compute.kotlin.inputs.ScaleSetPlanArgs.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.ScaleSetPlanArgs.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 name Specifies the name of the image from the marketplace.
* @property product Specifies the product of the image from the marketplace.
* @property publisher Specifies the publisher of the image.
*/
public data class ScaleSetPlanArgs(
public val name: Output,
public val product: Output,
public val publisher: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.compute.inputs.ScaleSetPlanArgs =
com.pulumi.azure.compute.inputs.ScaleSetPlanArgs.builder()
.name(name.applyValue({ args0 -> args0 }))
.product(product.applyValue({ args0 -> args0 }))
.publisher(publisher.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ScaleSetPlanArgs].
*/
@PulumiTagMarker
public class ScaleSetPlanArgsBuilder internal constructor() {
private var name: Output? = null
private var product: Output? = null
private var publisher: Output? = null
/**
* @param value Specifies the name of the image from the marketplace.
*/
@JvmName("jmmdflijhhsanbdc")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value Specifies the product of the image from the marketplace.
*/
@JvmName("bpiotepnjsyqtsak")
public suspend fun product(`value`: Output) {
this.product = value
}
/**
* @param value Specifies the publisher of the image.
*/
@JvmName("iitfopvhocnkvfvn")
public suspend fun publisher(`value`: Output) {
this.publisher = value
}
/**
* @param value Specifies the name of the image from the marketplace.
*/
@JvmName("wvovceddojqscdxq")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value Specifies the product of the image from the marketplace.
*/
@JvmName("qybyligikdbwosjn")
public suspend fun product(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.product = mapped
}
/**
* @param value Specifies the publisher of the image.
*/
@JvmName("vnplntcthtjynown")
public suspend fun publisher(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.publisher = mapped
}
internal fun build(): ScaleSetPlanArgs = ScaleSetPlanArgs(
name = name ?: throw PulumiNullFieldException("name"),
product = product ?: throw PulumiNullFieldException("product"),
publisher = publisher ?: throw PulumiNullFieldException("publisher"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy