com.pulumi.azure.iot.kotlin.outputs.GetIotHubResult.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.iot.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
/**
* A collection of values returned by getIotHub.
* @property hostname The Hostname of the IoTHub.
* @property id The provider-assigned unique ID for this managed resource.
* @property identities A `identity` block as defined below.
* @property name
* @property resourceGroupName
* @property tags
*/
public data class GetIotHubResult(
public val hostname: String,
public val id: String,
public val identities: List,
public val name: String,
public val resourceGroupName: String,
public val tags: Map? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.iot.outputs.GetIotHubResult): GetIotHubResult =
GetIotHubResult(
hostname = javaType.hostname(),
id = javaType.id(),
identities = javaType.identities().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.iot.kotlin.outputs.GetIotHubIdentity.Companion.toKotlin(args0)
})
}),
name = javaType.name(),
resourceGroupName = javaType.resourceGroupName(),
tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy