![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.compute.kotlin.inputs.LinuxVirtualMachinePlanArgs.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.LinuxVirtualMachinePlanArgs.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 Marketplace Image this Virtual Machine should be created from. Changing this forces a new resource to be created.
* @property product Specifies the Product of the Marketplace Image this Virtual Machine should be created from. Changing this forces a new resource to be created.
* @property publisher Specifies the Publisher of the Marketplace Image this Virtual Machine should be created from. Changing this forces a new resource to be created.
*/
public data class LinuxVirtualMachinePlanArgs(
public val name: Output,
public val product: Output,
public val publisher: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.compute.inputs.LinuxVirtualMachinePlanArgs =
com.pulumi.azure.compute.inputs.LinuxVirtualMachinePlanArgs.builder()
.name(name.applyValue({ args0 -> args0 }))
.product(product.applyValue({ args0 -> args0 }))
.publisher(publisher.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [LinuxVirtualMachinePlanArgs].
*/
@PulumiTagMarker
public class LinuxVirtualMachinePlanArgsBuilder internal constructor() {
private var name: Output? = null
private var product: Output? = null
private var publisher: Output? = null
/**
* @param value Specifies the Name of the Marketplace Image this Virtual Machine should be created from. Changing this forces a new resource to be created.
*/
@JvmName("nlxqljouvvuqqsut")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value Specifies the Product of the Marketplace Image this Virtual Machine should be created from. Changing this forces a new resource to be created.
*/
@JvmName("fxgrxrkuqlatbumb")
public suspend fun product(`value`: Output) {
this.product = value
}
/**
* @param value Specifies the Publisher of the Marketplace Image this Virtual Machine should be created from. Changing this forces a new resource to be created.
*/
@JvmName("kojtujwpueypovyx")
public suspend fun publisher(`value`: Output) {
this.publisher = value
}
/**
* @param value Specifies the Name of the Marketplace Image this Virtual Machine should be created from. Changing this forces a new resource to be created.
*/
@JvmName("asyohhlcgogkueqv")
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 Marketplace Image this Virtual Machine should be created from. Changing this forces a new resource to be created.
*/
@JvmName("xrxrxxojwomicbxh")
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 Marketplace Image this Virtual Machine should be created from. Changing this forces a new resource to be created.
*/
@JvmName("hcsxtgvpunnlopes")
public suspend fun publisher(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.publisher = mapped
}
internal fun build(): LinuxVirtualMachinePlanArgs = LinuxVirtualMachinePlanArgs(
name = name ?: throw PulumiNullFieldException("name"),
product = product ?: throw PulumiNullFieldException("product"),
publisher = publisher ?: throw PulumiNullFieldException("publisher"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy