
com.pulumi.azure.hdinsight.kotlin.outputs.KafkaClusterRoles.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.hdinsight.kotlin.outputs
import kotlin.Suppress
/**
*
* @property headNode A `head_node` block as defined above.
* @property kafkaManagementNode A `kafka_management_node` block as defined below.
* > **Note:** This property has been deprecated and will be removed in version 4.0.
* @property workerNode A `worker_node` block as defined below.
* @property zookeeperNode A `zookeeper_node` block as defined below.
*/
public data class KafkaClusterRoles(
public val headNode: KafkaClusterRolesHeadNode,
public val kafkaManagementNode: KafkaClusterRolesKafkaManagementNode? = null,
public val workerNode: KafkaClusterRolesWorkerNode,
public val zookeeperNode: KafkaClusterRolesZookeeperNode,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.hdinsight.outputs.KafkaClusterRoles):
KafkaClusterRoles = KafkaClusterRoles(
headNode = javaType.headNode().let({ args0 ->
com.pulumi.azure.hdinsight.kotlin.outputs.KafkaClusterRolesHeadNode.Companion.toKotlin(args0)
}),
kafkaManagementNode = javaType.kafkaManagementNode().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.hdinsight.kotlin.outputs.KafkaClusterRolesKafkaManagementNode.Companion.toKotlin(args0)
})
}).orElse(null),
workerNode = javaType.workerNode().let({ args0 ->
com.pulumi.azure.hdinsight.kotlin.outputs.KafkaClusterRolesWorkerNode.Companion.toKotlin(args0)
}),
zookeeperNode = javaType.zookeeperNode().let({ args0 ->
com.pulumi.azure.hdinsight.kotlin.outputs.KafkaClusterRolesZookeeperNode.Companion.toKotlin(args0)
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy