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

com.pulumi.azurenative.workloads.kotlin.outputs.SshKeyPairResponse.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.workloads.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * The SSH Key-pair used to authenticate with the VM. The key needs to be at least 2048-bit and in ssh-rsa format. 

For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure](https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed). * @property privateKey SSH private key. * @property publicKey SSH public key */ public data class SshKeyPairResponse( public val privateKey: String? = null, public val publicKey: String? = null, ) { public companion object { public fun toKotlin(javaType: com.pulumi.azurenative.workloads.outputs.SshKeyPairResponse): SshKeyPairResponse = SshKeyPairResponse( privateKey = javaType.privateKey().map({ args0 -> args0 }).orElse(null), publicKey = javaType.publicKey().map({ args0 -> args0 }).orElse(null), ) } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy