![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.workloadssap.kotlin.inputs.ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfigurationVirtualMachineConfigurationArgs.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.workloadssap.kotlin.inputs
import com.pulumi.azure.workloadssap.inputs.ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfigurationVirtualMachineConfigurationArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property image An `image` block as defined below. Changing this forces a new resource to be created.
* @property osProfile An `os_profile` block as defined below. Changing this forces a new resource to be created.
* @property virtualMachineSize The size of the Virtual Machine. Changing this forces a new resource to be created.
*/
public data class
ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfigurationVirtualMachineConfigurationArgs(
public val image: Output,
public val osProfile: Output,
public val virtualMachineSize: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azure.workloadssap.inputs.ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfigurationVirtualMachineConfigurationArgs =
com.pulumi.azure.workloadssap.inputs.ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfigurationVirtualMachineConfigurationArgs.builder()
.image(image.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.osProfile(osProfile.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.virtualMachineSize(virtualMachineSize.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfigurationVirtualMachineConfigurationArgs].
*/
@PulumiTagMarker
public class
ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfigurationVirtualMachineConfigurationArgsBuilder
internal constructor() {
private var image:
Output? =
null
private var osProfile:
Output? =
null
private var virtualMachineSize: Output? = null
/**
* @param value An `image` block as defined below. Changing this forces a new resource to be created.
*/
@JvmName("dxmsbbggivrmrlik")
public suspend fun image(`value`: Output) {
this.image = value
}
/**
* @param value An `os_profile` block as defined below. Changing this forces a new resource to be created.
*/
@JvmName("tifxnebfinoordap")
public suspend fun osProfile(`value`: Output) {
this.osProfile = value
}
/**
* @param value The size of the Virtual Machine. Changing this forces a new resource to be created.
*/
@JvmName("sliafhvcsbgueskx")
public suspend fun virtualMachineSize(`value`: Output) {
this.virtualMachineSize = value
}
/**
* @param value An `image` block as defined below. Changing this forces a new resource to be created.
*/
@JvmName("hnegwtogrhwhvibj")
public suspend fun image(`value`: ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfigurationVirtualMachineConfigurationImageArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.image = mapped
}
/**
* @param argument An `image` block as defined below. Changing this forces a new resource to be created.
*/
@JvmName("aedwduryfmvtgdxt")
public suspend fun image(argument: suspend ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfigurationVirtualMachineConfigurationImageArgsBuilder.() -> Unit) {
val toBeMapped =
ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfigurationVirtualMachineConfigurationImageArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.image = mapped
}
/**
* @param value An `os_profile` block as defined below. Changing this forces a new resource to be created.
*/
@JvmName("iwmskxwghuhmylfn")
public suspend fun osProfile(`value`: ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfigurationVirtualMachineConfigurationOsProfileArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.osProfile = mapped
}
/**
* @param argument An `os_profile` block as defined below. Changing this forces a new resource to be created.
*/
@JvmName("xyhhmehywronvphr")
public suspend fun osProfile(argument: suspend ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfigurationVirtualMachineConfigurationOsProfileArgsBuilder.() -> Unit) {
val toBeMapped =
ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfigurationVirtualMachineConfigurationOsProfileArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.osProfile = mapped
}
/**
* @param value The size of the Virtual Machine. Changing this forces a new resource to be created.
*/
@JvmName("uapxyvutbyiijjyu")
public suspend fun virtualMachineSize(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.virtualMachineSize = mapped
}
internal fun build(): ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfigurationVirtualMachineConfigurationArgs =
ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfigurationVirtualMachineConfigurationArgs(
image = image ?: throw PulumiNullFieldException("image"),
osProfile = osProfile ?: throw PulumiNullFieldException("osProfile"),
virtualMachineSize = virtualMachineSize ?: throw PulumiNullFieldException("virtualMachineSize"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy