All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.compute.kotlin.outputs.ScaleSetOsProfileLinuxConfigSshKey.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.compute.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property keyData The Public SSH Key which should be written to the `path` defined above.
 * > **Note:** Azure only supports RSA SSH2 key signatures of at least 2048 bits in length
 * > **NOTE:** Rather than defining this in-line you can source this from a local file using the `file` function - for example `key_data = file("~/.ssh/id_rsa.pub")`.
 * @property path The path of the destination file on the virtual machine
 * > **NOTE:** Due to a limitation in the Azure VM Agent the only allowed `path` is `/home/{username}/.ssh/authorized_keys`.
 */
public data class ScaleSetOsProfileLinuxConfigSshKey(
    public val keyData: String? = null,
    public val path: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.compute.outputs.ScaleSetOsProfileLinuxConfigSshKey): ScaleSetOsProfileLinuxConfigSshKey = ScaleSetOsProfileLinuxConfigSshKey(
            keyData = javaType.keyData().map({ args0 -> args0 }).orElse(null),
            path = javaType.path(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy