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

com.pulumi.azure.hdinsight.kotlin.outputs.GetClusterResult.kt Maven / Gradle / Ivy

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

package com.pulumi.azure.hdinsight.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map

/**
 * A collection of values returned by getCluster.
 * @property clusterId The HDInsight Cluster ID.
 * @property clusterVersion The version of HDInsights which is used on this HDInsight Cluster.
 * @property componentVersions A map of versions of software used on this HDInsights Cluster.
 * @property edgeSshEndpoint The SSH Endpoint of the Edge Node for this HDInsight Cluster, if an Edge Node exists.
 * @property gateways A `gateway` block as defined below.
 * @property httpsEndpoint The HTTPS Endpoint for this HDInsight Cluster.
 * @property id The provider-assigned unique ID for this managed resource.
 * @property kafkaRestProxyEndpoint The Kafka Rest Proxy Endpoint for this HDInsight Cluster.
 * @property kind The kind of HDInsight Cluster this is, such as a Spark or Storm cluster.
 * @property location The Azure Region in which this HDInsight Cluster exists.
 * @property name The HDInsight Cluster name.
 * @property resourceGroupName
 * @property sshEndpoint The SSH Endpoint for this HDInsight Cluster.
 * @property tags A map of tags assigned to the HDInsight Cluster.
 * @property tier The SKU / Tier of this HDInsight Cluster.
 * @property tlsMinVersion The minimal supported TLS version.
 */
public data class GetClusterResult(
    public val clusterId: String,
    public val clusterVersion: String,
    public val componentVersions: Map,
    public val edgeSshEndpoint: String,
    public val gateways: List,
    public val httpsEndpoint: String,
    public val id: String,
    public val kafkaRestProxyEndpoint: String,
    public val kind: String,
    public val location: String,
    public val name: String,
    public val resourceGroupName: String,
    public val sshEndpoint: String,
    public val tags: Map,
    public val tier: String,
    public val tlsMinVersion: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.hdinsight.outputs.GetClusterResult): GetClusterResult = GetClusterResult(
            clusterId = javaType.clusterId(),
            clusterVersion = javaType.clusterVersion(),
            componentVersions = javaType.componentVersions().map({ args0 ->
                args0.key.to(args0.value)
            }).toMap(),
            edgeSshEndpoint = javaType.edgeSshEndpoint(),
            gateways = javaType.gateways().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.hdinsight.kotlin.outputs.GetClusterGateway.Companion.toKotlin(args0)
                })
            }),
            httpsEndpoint = javaType.httpsEndpoint(),
            id = javaType.id(),
            kafkaRestProxyEndpoint = javaType.kafkaRestProxyEndpoint(),
            kind = javaType.kind(),
            location = javaType.location(),
            name = javaType.name(),
            resourceGroupName = javaType.resourceGroupName(),
            sshEndpoint = javaType.sshEndpoint(),
            tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            tier = javaType.tier(),
            tlsMinVersion = javaType.tlsMinVersion(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy