ResourceIdentityResponse

data class ResourceIdentityResponse(val principalId: String, val tenantId: String, val type: String? = null, val userAssignedIdentities: Map<String, UserIdentityResponse>? = null)

An identity that can be associated with a resource.

Constructors

Link copied to clipboard
constructor(principalId: String, tenantId: String, type: String? = null, userAssignedIdentities: Map<String, UserIdentityResponse>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The principal id of the identity. This property will only be provided for a system-assigned identity.

Link copied to clipboard

The tenant id associated with the resource's identity. This property will only be provided for a system-assigned identity.

Link copied to clipboard
val type: String? = null

The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identities.

Link copied to clipboard

The list of user-assigned identities associated with the resource. The user-assigned identity dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.