![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.cdn.kotlin.outputs.ManagedServiceIdentityResponse.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.cdn.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
/**
* Managed service identity (system assigned and/or user assigned identities)
* @property principalId The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
* @property tenantId The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
* @property type Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
* @property userAssignedIdentities The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
*/
public data class ManagedServiceIdentityResponse(
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.cdn.outputs.ManagedServiceIdentityResponse): ManagedServiceIdentityResponse = ManagedServiceIdentityResponse(
principalId = javaType.principalId(),
tenantId = javaType.tenantId(),
type = javaType.type(),
userAssignedIdentities = javaType.userAssignedIdentities().map({ args0 ->
args0.key.to(
args0.value.let({ args0 ->
com.pulumi.azurenative.cdn.kotlin.outputs.UserAssignedIdentityResponse.Companion.toKotlin(args0)
}),
)
}).toMap(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy