
com.pulumi.azure.compute.kotlin.outputs.VirtualMachineOsProfile.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.compute.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property adminPassword (Optional for Windows, Optional for Linux) The password associated with the local administrator account.
* > **NOTE:** If using Linux, it may be preferable to use SSH Key authentication (available in the `os_profile_linux_config` block) instead of password authentication.
* @property adminUsername Specifies the name of the local administrator account.
* @property computerName Specifies the name of the Virtual Machine. Changing this forces a new resource to be created.
* @property customData
*/
public data class VirtualMachineOsProfile(
public val adminPassword: String? = null,
public val adminUsername: String,
public val computerName: String,
public val customData: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.compute.outputs.VirtualMachineOsProfile):
VirtualMachineOsProfile = VirtualMachineOsProfile(
adminPassword = javaType.adminPassword().map({ args0 -> args0 }).orElse(null),
adminUsername = javaType.adminUsername(),
computerName = javaType.computerName(),
customData = javaType.customData().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy