![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.baremetalinfrastructure.kotlin.inputs.OSProfileArgs.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.OSProfileArgs.builder
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 operating system settings for the Azure Bare Metal instance.
* @property computerName Specifies the host OS name of the Azure Bare Metal instance.
* @property osType This property allows you to specify the type of the OS.
* @property sshPublicKey Specifies the SSH public key used to access the operating system.
* @property version Specifies version of operating system.
*/
public data class OSProfileArgs(
public val computerName: Output? = null,
public val osType: Output? = null,
public val sshPublicKey: Output? = null,
public val version: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.baremetalinfrastructure.inputs.OSProfileArgs =
com.pulumi.azurenative.baremetalinfrastructure.inputs.OSProfileArgs.builder()
.computerName(computerName?.applyValue({ args0 -> args0 }))
.osType(osType?.applyValue({ args0 -> args0 }))
.sshPublicKey(sshPublicKey?.applyValue({ args0 -> args0 }))
.version(version?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [OSProfileArgs].
*/
@PulumiTagMarker
public class OSProfileArgsBuilder internal constructor() {
private var computerName: Output? = null
private var osType: Output? = null
private var sshPublicKey: Output? = null
private var version: Output? = null
/**
* @param value Specifies the host OS name of the Azure Bare Metal instance.
*/
@JvmName("gtanqokgvelrajja")
public suspend fun computerName(`value`: Output) {
this.computerName = value
}
/**
* @param value This property allows you to specify the type of the OS.
*/
@JvmName("hpqcalbvmltxycof")
public suspend fun osType(`value`: Output) {
this.osType = value
}
/**
* @param value Specifies the SSH public key used to access the operating system.
*/
@JvmName("pwvyqedkjdyrthdv")
public suspend fun sshPublicKey(`value`: Output) {
this.sshPublicKey = value
}
/**
* @param value Specifies version of operating system.
*/
@JvmName("hridrmfnpakurfvn")
public suspend fun version(`value`: Output) {
this.version = value
}
/**
* @param value Specifies the host OS name of the Azure Bare Metal instance.
*/
@JvmName("mqcqaxycgudacadj")
public suspend fun computerName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.computerName = mapped
}
/**
* @param value This property allows you to specify the type of the OS.
*/
@JvmName("tkajvahnuxyqyhkq")
public suspend fun osType(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.osType = mapped
}
/**
* @param value Specifies the SSH public key used to access the operating system.
*/
@JvmName("feedygtjnprdqhat")
public suspend fun sshPublicKey(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.sshPublicKey = mapped
}
/**
* @param value Specifies version of operating system.
*/
@JvmName("tejpxydounfwsbjf")
public suspend fun version(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.version = mapped
}
internal fun build(): OSProfileArgs = OSProfileArgs(
computerName = computerName,
osType = osType,
sshPublicKey = sshPublicKey,
version = version,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy