
com.pulumi.azurenative.storage.kotlin.inputs.SshPublicKeyArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.storage.kotlin.inputs
import com.pulumi.azurenative.storage.inputs.SshPublicKeyArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property description Optional. It is used to store the function/usage of the key
* @property key Ssh public key base64 encoded. The format should be: ' ', e.g. ssh-rsa AAAABBBB
*/
public data class SshPublicKeyArgs(
public val description: Output? = null,
public val key: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.storage.inputs.SshPublicKeyArgs =
com.pulumi.azurenative.storage.inputs.SshPublicKeyArgs.builder()
.description(description?.applyValue({ args0 -> args0 }))
.key(key?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [SshPublicKeyArgs].
*/
@PulumiTagMarker
public class SshPublicKeyArgsBuilder internal constructor() {
private var description: Output? = null
private var key: Output? = null
/**
* @param value Optional. It is used to store the function/usage of the key
*/
@JvmName("tpjrjhfjycymauxg")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value Ssh public key base64 encoded. The format should be: ' ', e.g. ssh-rsa AAAABBBB
*/
@JvmName("buhnsvxmtkkxbfhb")
public suspend fun key(`value`: Output) {
this.key = value
}
/**
* @param value Optional. It is used to store the function/usage of the key
*/
@JvmName("rinnmjguyethenim")
public suspend fun description(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.description = mapped
}
/**
* @param value Ssh public key base64 encoded. The format should be: ' ', e.g. ssh-rsa AAAABBBB
*/
@JvmName("lrqwewjvvusoexyk")
public suspend fun key(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.key = mapped
}
internal fun build(): SshPublicKeyArgs = SshPublicKeyArgs(
description = description,
key = key,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy