共用方式為


ManagedIdentity interface

描述 Azure 資源的受控識別。

屬性

principalId

受控識別的主體標識碼。 此屬性只會針對系統指派的身分識別提供。

tenantId

受控識別的租用戶標識碼。 此屬性只會針對系統指派的身分識別提供。

type

資源的受控識別類型。

userAssignedIdentities

與資源相關聯的使用者身分識別清單。 使用者身分識別字典索引鍵參考的格式為 ARM 資源標識符:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'。

屬性詳細資料

principalId

受控識別的主體標識碼。 此屬性只會針對系統指派的身分識別提供。

principalId?: string

屬性值

string

tenantId

受控識別的租用戶標識碼。 此屬性只會針對系統指派的身分識別提供。

tenantId?: string

屬性值

string

type

資源的受控識別類型。

type?: ManagedIdentityType

屬性值

userAssignedIdentities

與資源相關聯的使用者身分識別清單。 使用者身分識別字典索引鍵參考的格式為 ARM 資源標識符:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'。

userAssignedIdentities?: Record<string, UserAssignedIdentity>

屬性值

Record<string, UserAssignedIdentity>