![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.baremetalinfrastructure.kotlin.inputs.HardwareProfileArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.baremetalinfrastructure.kotlin.inputs
import com.pulumi.azurenative.baremetalinfrastructure.inputs.HardwareProfileArgs.builder
import com.pulumi.azurenative.baremetalinfrastructure.kotlin.enums.AzureBareMetalHardwareTypeNamesEnum
import com.pulumi.azurenative.baremetalinfrastructure.kotlin.enums.AzureBareMetalInstanceSizeNamesEnum
import com.pulumi.core.Either
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Specifies the hardware settings for the Azure Bare Metal Instance.
* @property azureBareMetalInstanceSize Specifies the Azure Bare Metal Instance SKU.
* @property hardwareType Name of the hardware type (vendor and/or their product name)
*/
public data class HardwareProfileArgs(
public val azureBareMetalInstanceSize: Output>? = null,
public val hardwareType: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.baremetalinfrastructure.inputs.HardwareProfileArgs =
com.pulumi.azurenative.baremetalinfrastructure.inputs.HardwareProfileArgs.builder()
.azureBareMetalInstanceSize(
azureBareMetalInstanceSize?.applyValue({ args0 ->
args0.transform({ args0 -> args0 }, { args0 -> args0.let({ args0 -> args0.toJava() }) })
}),
)
.hardwareType(
hardwareType?.applyValue({ args0 ->
args0.transform({ args0 -> args0 }, { args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
).build()
}
/**
* Builder for [HardwareProfileArgs].
*/
@PulumiTagMarker
public class HardwareProfileArgsBuilder internal constructor() {
private var azureBareMetalInstanceSize:
Output>? = null
private var hardwareType: Output>? = null
/**
* @param value Specifies the Azure Bare Metal Instance SKU.
*/
@JvmName("japtqhungnceilhr")
public suspend fun azureBareMetalInstanceSize(`value`: Output>) {
this.azureBareMetalInstanceSize = value
}
/**
* @param value Name of the hardware type (vendor and/or their product name)
*/
@JvmName("blqppdnryabgayfl")
public suspend fun hardwareType(`value`: Output>) {
this.hardwareType = value
}
/**
* @param value Specifies the Azure Bare Metal Instance SKU.
*/
@JvmName("kokgdtopdjsscwgq")
public suspend fun azureBareMetalInstanceSize(`value`: Either?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.azureBareMetalInstanceSize = mapped
}
/**
* @param value Specifies the Azure Bare Metal Instance SKU.
*/
@JvmName("eohowassobuyfajj")
public fun azureBareMetalInstanceSize(`value`: String) {
val toBeMapped = Either.ofLeft(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.azureBareMetalInstanceSize = mapped
}
/**
* @param value Specifies the Azure Bare Metal Instance SKU.
*/
@JvmName("xfnvrfcwmofqrmnu")
public fun azureBareMetalInstanceSize(`value`: AzureBareMetalInstanceSizeNamesEnum) {
val toBeMapped = Either.ofRight(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.azureBareMetalInstanceSize = mapped
}
/**
* @param value Name of the hardware type (vendor and/or their product name)
*/
@JvmName("xlibndvwfrbxoufb")
public suspend fun hardwareType(`value`: Either?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.hardwareType = mapped
}
/**
* @param value Name of the hardware type (vendor and/or their product name)
*/
@JvmName("tnmkskxdbaphfsbs")
public fun hardwareType(`value`: String) {
val toBeMapped = Either.ofLeft(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.hardwareType = mapped
}
/**
* @param value Name of the hardware type (vendor and/or their product name)
*/
@JvmName("qhxppimoyaccmtwj")
public fun hardwareType(`value`: AzureBareMetalHardwareTypeNamesEnum) {
val toBeMapped = Either.ofRight(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.hardwareType = mapped
}
internal fun build(): HardwareProfileArgs = HardwareProfileArgs(
azureBareMetalInstanceSize = azureBareMetalInstanceSize,
hardwareType = hardwareType,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy