你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ManagedIdentity interface

介绍 Azure 资源的托管标识。

属性

principalId

托管标识的主体 ID。 此属性仅针对系统分配的标识提供。

tenantId

托管标识的租户 ID。 此属性仅针对系统分配的标识提供。

type

资源的托管标识类型。

userAssignedIdentities

与资源关联的用户标识列表。 用户标识字典密钥引用的格式为 ARM 资源 ID:“/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}”。

属性详细信息

principalId

托管标识的主体 ID。 此属性仅针对系统分配的标识提供。

principalId?: string

属性值

string

tenantId

托管标识的租户 ID。 此属性仅针对系统分配的标识提供。

tenantId?: string

属性值

string

type

资源的托管标识类型。

type?: ManagedIdentityType

属性值

userAssignedIdentities

与资源关联的用户标识列表。 用户标识字典密钥引用的格式为 ARM 资源 ID:“/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}”。

userAssignedIdentities?: Record<string, UserAssignedIdentity>

属性值

Record<string, UserAssignedIdentity>