IdentityResponse

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

Identity for the resource. Policy assignments support a maximum of one identity. That is either a system assigned identity or a single user assigned identity.

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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

Link copied to clipboard

The tenant ID of the resource identity. This property will only be provided for a system assigned identity

Link copied to clipboard
val type: String? = null

The identity type. This is the only required field when adding a system or user assigned identity to a resource.

Link copied to clipboard

The user identity associated with the policy. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.