![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.storage.kotlin.outputs.IdentityResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.storage.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
/**
* Identity for the resource.
* @property principalId The principal ID of resource identity.
* @property tenantId The tenant ID of resource.
* @property type The identity type.
* @property userAssignedIdentities Gets or sets a list of key value pairs that describe the set of User Assigned identities that will be used with this storage account. The key is the ARM resource identifier of the identity. Only 1 User Assigned identity is permitted here.
*/
public data class IdentityResponse(
public val principalId: String,
public val tenantId: String,
public val type: String,
public val userAssignedIdentities: Map? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.storage.outputs.IdentityResponse): IdentityResponse = IdentityResponse(
principalId = javaType.principalId(),
tenantId = javaType.tenantId(),
type = javaType.type(),
userAssignedIdentities = javaType.userAssignedIdentities().map({ args0 ->
args0.key.to(
args0.value.let({ args0 ->
com.pulumi.azurenative.storage.kotlin.outputs.UserAssignedIdentityResponse.Companion.toKotlin(args0)
}),
)
}).toMap(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy