![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.workloadssap.kotlin.inputs.ThreeTierVirtualInstanceThreeTierConfigurationDatabaseServerConfigurationVirtualMachineConfigurationArgs.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.ThreeTierVirtualInstanceThreeTierConfigurationDatabaseServerConfigurationVirtualMachineConfigurationArgs.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
ThreeTierVirtualInstanceThreeTierConfigurationDatabaseServerConfigurationVirtualMachineConfigurationArgs(
public val image: Output,
public val osProfile: Output,
public val virtualMachineSize: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azure.workloadssap.inputs.ThreeTierVirtualInstanceThreeTierConfigurationDatabaseServerConfigurationVirtualMachineConfigurationArgs =
com.pulumi.azure.workloadssap.inputs.ThreeTierVirtualInstanceThreeTierConfigurationDatabaseServerConfigurationVirtualMachineConfigurationArgs.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 [ThreeTierVirtualInstanceThreeTierConfigurationDatabaseServerConfigurationVirtualMachineConfigurationArgs].
*/
@PulumiTagMarker
public class
ThreeTierVirtualInstanceThreeTierConfigurationDatabaseServerConfigurationVirtualMachineConfigurationArgsBuilder
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("edtljfpqcbxugdlv")
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("soxqexyteahlngjp")
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("bpwvqukjtonhixhs")
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("uejdhcmxdqwncyxt")
public suspend fun image(`value`: ThreeTierVirtualInstanceThreeTierConfigurationDatabaseServerConfigurationVirtualMachineConfigurationImageArgs) {
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("mxtvvayubkxodgef")
public suspend fun image(argument: suspend ThreeTierVirtualInstanceThreeTierConfigurationDatabaseServerConfigurationVirtualMachineConfigurationImageArgsBuilder.() -> Unit) {
val toBeMapped =
ThreeTierVirtualInstanceThreeTierConfigurationDatabaseServerConfigurationVirtualMachineConfigurationImageArgsBuilder().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("uieynwepcqalwqsx")
public suspend fun osProfile(`value`: ThreeTierVirtualInstanceThreeTierConfigurationDatabaseServerConfigurationVirtualMachineConfigurationOsProfileArgs) {
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("tprfwqjkxhreuila")
public suspend fun osProfile(argument: suspend ThreeTierVirtualInstanceThreeTierConfigurationDatabaseServerConfigurationVirtualMachineConfigurationOsProfileArgsBuilder.() -> Unit) {
val toBeMapped =
ThreeTierVirtualInstanceThreeTierConfigurationDatabaseServerConfigurationVirtualMachineConfigurationOsProfileArgsBuilder().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("txwwxvypxifcjqun")
public suspend fun virtualMachineSize(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.virtualMachineSize = mapped
}
internal fun build(): ThreeTierVirtualInstanceThreeTierConfigurationDatabaseServerConfigurationVirtualMachineConfigurationArgs =
ThreeTierVirtualInstanceThreeTierConfigurationDatabaseServerConfigurationVirtualMachineConfigurationArgs(
image = image ?: throw PulumiNullFieldException("image"),
osProfile = osProfile ?: throw PulumiNullFieldException("osProfile"),
virtualMachineSize = virtualMachineSize ?: throw PulumiNullFieldException("virtualMachineSize"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy