com.pulumi.azure.containerservice.kotlin.outputs.KubernetesClusterKubeConfig.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.containerservice.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property clientCertificate Base64 encoded public certificate used by clients to authenticate to the Kubernetes cluster.
* @property clientKey Base64 encoded private key used by clients to authenticate to the Kubernetes cluster.
* @property clusterCaCertificate Base64 encoded public CA certificate used as the root of trust for the Kubernetes cluster.
* @property host The Kubernetes cluster server host.
* @property password A password or token used to authenticate to the Kubernetes cluster.
* @property username A username used to authenticate to the Kubernetes cluster.
*/
public data class KubernetesClusterKubeConfig(
public val clientCertificate: String? = null,
public val clientKey: String? = null,
public val clusterCaCertificate: String? = null,
public val host: String? = null,
public val password: String? = null,
public val username: String? = null,
) {
public companion object {
public
fun toKotlin(javaType: com.pulumi.azure.containerservice.outputs.KubernetesClusterKubeConfig):
KubernetesClusterKubeConfig = KubernetesClusterKubeConfig(
clientCertificate = javaType.clientCertificate().map({ args0 -> args0 }).orElse(null),
clientKey = javaType.clientKey().map({ args0 -> args0 }).orElse(null),
clusterCaCertificate = javaType.clusterCaCertificate().map({ args0 -> args0 }).orElse(null),
host = javaType.host().map({ args0 -> args0 }).orElse(null),
password = javaType.password().map({ args0 -> args0 }).orElse(null),
username = javaType.username().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy