com.pulumi.azure.eventhub.kotlin.outputs.GetEventHubResult.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.eventhub.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* A collection of values returned by getEventHub.
* @property id The provider-assigned unique ID for this managed resource.
* @property name
* @property namespaceName
* @property partitionCount The number of partitions in the EventHub.
* @property partitionIds The identifiers for the partitions of this EventHub.
* @property resourceGroupName
*/
public data class GetEventHubResult(
public val id: String,
public val name: String,
public val namespaceName: String,
public val partitionCount: Int,
public val partitionIds: List,
public val resourceGroupName: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.eventhub.outputs.GetEventHubResult):
GetEventHubResult = GetEventHubResult(
id = javaType.id(),
name = javaType.name(),
namespaceName = javaType.namespaceName(),
partitionCount = javaType.partitionCount(),
partitionIds = javaType.partitionIds().map({ args0 -> args0 }),
resourceGroupName = javaType.resourceGroupName(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy