ManagedIdentity interface
介绍 Azure 资源的托管标识。
属性
| principal |
托管标识的主体 ID。 此属性仅针对系统分配的标识提供。 |
| tenant |
托管标识的租户 ID。 此属性仅针对系统分配的标识提供。 |
| type | 资源的托管标识类型。 |
| user |
与资源关联的用户标识列表。 用户标识字典密钥引用的格式为 ARM 资源 ID:“/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}”。 |
属性详细信息
principalId
托管标识的主体 ID。 此属性仅针对系统分配的标识提供。
principalId?: string
属性值
string
tenantId
托管标识的租户 ID。 此属性仅针对系统分配的标识提供。
tenantId?: string
属性值
string
type
userAssignedIdentities
与资源关联的用户标识列表。 用户标识字典密钥引用的格式为 ARM 资源 ID:“/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}”。
userAssignedIdentities?: Record<string, UserAssignedIdentity>
属性值
Record<string, UserAssignedIdentity>