com.pulumi.azure.kusto.kotlin.outputs.GetClusterResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.kusto.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
/**
* A collection of values returned by getCluster.
* @property dataIngestionUri The Kusto Cluster URI to be used for data ingestion.
* @property id The provider-assigned unique ID for this managed resource.
* @property identities An `identity` block as defined below.
* @property location
* @property name
* @property resourceGroupName
* @property tags
* @property uri The FQDN of the Azure Kusto Cluster.
*/
public data class GetClusterResult(
public val dataIngestionUri: String,
public val id: String,
public val identities: List,
public val location: String,
public val name: String,
public val resourceGroupName: String,
public val tags: Map,
public val uri: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.kusto.outputs.GetClusterResult): GetClusterResult = GetClusterResult(
dataIngestionUri = javaType.dataIngestionUri(),
id = javaType.id(),
identities = javaType.identities().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.kusto.kotlin.outputs.GetClusterIdentity.Companion.toKotlin(args0)
})
}),
location = javaType.location(),
name = javaType.name(),
resourceGroupName = javaType.resourceGroupName(),
tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
uri = javaType.uri(),
)
}
}