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

com.pulumi.azure.containerservice.kotlin.inputs.KubernetesClusterLinuxProfileSshKeyArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.containerservice.kotlin.inputs

import com.pulumi.azure.containerservice.inputs.KubernetesClusterLinuxProfileSshKeyArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
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 keyData The Public SSH Key used to access the cluster.
 */
public data class KubernetesClusterLinuxProfileSshKeyArgs(
    public val keyData: Output,
) :
    ConvertibleToJava {
    override fun toJava():
        com.pulumi.azure.containerservice.inputs.KubernetesClusterLinuxProfileSshKeyArgs =
        com.pulumi.azure.containerservice.inputs.KubernetesClusterLinuxProfileSshKeyArgs.builder()
            .keyData(keyData.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [KubernetesClusterLinuxProfileSshKeyArgs].
 */
@PulumiTagMarker
public class KubernetesClusterLinuxProfileSshKeyArgsBuilder internal constructor() {
    private var keyData: Output? = null

    /**
     * @param value The Public SSH Key used to access the cluster.
     */
    @JvmName("vfthbebplkqalxgq")
    public suspend fun keyData(`value`: Output) {
        this.keyData = value
    }

    /**
     * @param value The Public SSH Key used to access the cluster.
     */
    @JvmName("mvcgjhjpilnrvbkj")
    public suspend fun keyData(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.keyData = mapped
    }

    internal fun build(): KubernetesClusterLinuxProfileSshKeyArgs =
        KubernetesClusterLinuxProfileSshKeyArgs(
            keyData = keyData ?: throw PulumiNullFieldException("keyData"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy