![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.compute.kotlin.outputs.LinuxVirtualMachineScaleSetAdminSshKey.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 publicKey The Public Key which should be used for authentication, which needs to be at least 2048-bit and in `ssh-rsa` format.
* @property username The Username for which this Public SSH Key should be configured.
* > **Note:** The Azure VM Agent only allows creating SSH Keys at the path `/home/{username}/.ssh/authorized_keys` - as such this public key will be added/appended to the authorized keys file.
*/
public data class LinuxVirtualMachineScaleSetAdminSshKey(
public val publicKey: String,
public val username: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.compute.outputs.LinuxVirtualMachineScaleSetAdminSshKey): LinuxVirtualMachineScaleSetAdminSshKey = LinuxVirtualMachineScaleSetAdminSshKey(
publicKey = javaType.publicKey(),
username = javaType.username(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy