Share via


ManagedIdentityOutput interface

Describes the managed identities for an Azure resource.

Properties

principalId

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

tenantId

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

type

The type of managed identity for the resource.

userAssignedIdentities

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

Property Details

principalId

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

principalId?: string

Property Value

string

tenantId

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

tenantId?: string

Property Value

string

type

The type of managed identity for the resource.

type?: "None" | "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned"

Property Value

"None" | "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned"

userAssignedIdentities

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

userAssignedIdentities?: Record<string, UserAssignedIdentityOutput>

Property Value

Record<string, UserAssignedIdentityOutput>