com.pulumi.azure.workloadssap.kotlin.inputs.ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfigurationVirtualMachineConfigurationOsProfileArgs.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.ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfigurationVirtualMachineConfigurationOsProfileArgs.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 adminUsername The name of the administrator account. Changing this forces a new resource to be created.
* @property sshPrivateKey The SSH public key that is used to authenticate with the Virtual Machine. Changing this forces a new resource to be created.
* @property sshPublicKey The SSH private key that is used to authenticate with the Virtual Machine. Changing this forces a new resource to be created.
*/
public data class
ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfigurationVirtualMachineConfigurationOsProfileArgs(
public val adminUsername: Output,
public val sshPrivateKey: Output,
public val sshPublicKey: Output,
) :
ConvertibleToJava {
override fun toJava():
com.pulumi.azure.workloadssap.inputs.ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfigurationVirtualMachineConfigurationOsProfileArgs =
com.pulumi.azure.workloadssap.inputs.ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfigurationVirtualMachineConfigurationOsProfileArgs.builder()
.adminUsername(adminUsername.applyValue({ args0 -> args0 }))
.sshPrivateKey(sshPrivateKey.applyValue({ args0 -> args0 }))
.sshPublicKey(sshPublicKey.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfigurationVirtualMachineConfigurationOsProfileArgs].
*/
@PulumiTagMarker
public class
ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfigurationVirtualMachineConfigurationOsProfileArgsBuilder
internal constructor() {
private var adminUsername: Output? = null
private var sshPrivateKey: Output? = null
private var sshPublicKey: Output? = null
/**
* @param value The name of the administrator account. Changing this forces a new resource to be created.
*/
@JvmName("fmyoxpnwrxkgcian")
public suspend fun adminUsername(`value`: Output) {
this.adminUsername = value
}
/**
* @param value The SSH public key that is used to authenticate with the Virtual Machine. Changing this forces a new resource to be created.
*/
@JvmName("ytrdkaetyimhfchi")
public suspend fun sshPrivateKey(`value`: Output) {
this.sshPrivateKey = value
}
/**
* @param value The SSH private key that is used to authenticate with the Virtual Machine. Changing this forces a new resource to be created.
*/
@JvmName("hjmntrxvstrtuxmk")
public suspend fun sshPublicKey(`value`: Output) {
this.sshPublicKey = value
}
/**
* @param value The name of the administrator account. Changing this forces a new resource to be created.
*/
@JvmName("mogyeeatjkagoswq")
public suspend fun adminUsername(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.adminUsername = mapped
}
/**
* @param value The SSH public key that is used to authenticate with the Virtual Machine. Changing this forces a new resource to be created.
*/
@JvmName("hgrkihgfvmxhrupq")
public suspend fun sshPrivateKey(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.sshPrivateKey = mapped
}
/**
* @param value The SSH private key that is used to authenticate with the Virtual Machine. Changing this forces a new resource to be created.
*/
@JvmName("myyexuslplmbibii")
public suspend fun sshPublicKey(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.sshPublicKey = mapped
}
internal fun build():
ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfigurationVirtualMachineConfigurationOsProfileArgs =
ThreeTierVirtualInstanceThreeTierConfigurationApplicationServerConfigurationVirtualMachineConfigurationOsProfileArgs(
adminUsername = adminUsername ?: throw PulumiNullFieldException("adminUsername"),
sshPrivateKey = sshPrivateKey ?: throw PulumiNullFieldException("sshPrivateKey"),
sshPublicKey = sshPublicKey ?: throw PulumiNullFieldException("sshPublicKey"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy