com.pulumi.gcp.container.kotlin.inputs.AzureNodePoolConfigSshConfigArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.container.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.container.inputs.AzureNodePoolConfigSshConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property authorizedKey The SSH public key data for VMs managed by Anthos. This accepts the authorized_keys file format used in OpenSSH according to the sshd(8) manual page.
*/
public data class AzureNodePoolConfigSshConfigArgs(
public val authorizedKey: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.container.inputs.AzureNodePoolConfigSshConfigArgs =
com.pulumi.gcp.container.inputs.AzureNodePoolConfigSshConfigArgs.builder()
.authorizedKey(authorizedKey.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AzureNodePoolConfigSshConfigArgs].
*/
@PulumiTagMarker
public class AzureNodePoolConfigSshConfigArgsBuilder internal constructor() {
private var authorizedKey: Output? = null
/**
* @param value The SSH public key data for VMs managed by Anthos. This accepts the authorized_keys file format used in OpenSSH according to the sshd(8) manual page.
*/
@JvmName("gppaxwumkypimhbf")
public suspend fun authorizedKey(`value`: Output) {
this.authorizedKey = value
}
/**
* @param value The SSH public key data for VMs managed by Anthos. This accepts the authorized_keys file format used in OpenSSH according to the sshd(8) manual page.
*/
@JvmName("etdqeaonfhhtfeme")
public suspend fun authorizedKey(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.authorizedKey = mapped
}
internal fun build(): AzureNodePoolConfigSshConfigArgs = AzureNodePoolConfigSshConfigArgs(
authorizedKey = authorizedKey ?: throw PulumiNullFieldException("authorizedKey"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy