com.pulumi.azure.iot.kotlin.outputs.GetIotHubIdentity.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.iot.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property identityIds The list of User Managed Identity IDs which are assigned to the Virtual Machine.
* @property principalId The ID of the System Managed Service Principal assigned to the Virtual Machine.
* @property tenantId The ID of the Tenant of the System Managed Service Principal assigned to the Virtual Machine.
* @property type The identity type of the Managed Identity assigned to the Virtual Machine.
*/
public data class GetIotHubIdentity(
public val identityIds: List,
public val principalId: String,
public val tenantId: String,
public val type: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.iot.outputs.GetIotHubIdentity): GetIotHubIdentity = GetIotHubIdentity(
identityIds = javaType.identityIds().map({ args0 -> args0 }),
principalId = javaType.principalId(),
tenantId = javaType.tenantId(),
type = javaType.type(),
)
}
}