Identity interface
資源的身分識別。 原則指派最多支援一個身分識別。 這是系統指派的身分識別或單一使用者指派的身分識別。
屬性
| principal |
資源識別的主要標識碼。 此屬性只會提供給系統指派的身分識別注意:此屬性將不會串行化。 它只能由伺服器填入。 |
| tenant |
資源識別的租用戶標識碼。 此屬性只會提供給系統指派的身分識別注意:此屬性將不會串行化。 它只能由伺服器填入。 |
| type | 識別類型。 將系統或使用者指派的身分識別新增至資源時,這是唯一的必要字段。 |
| user |
與原則相關聯的使用者身分識別。 使用者身分識別字典索引鍵參考的格式為 ARM 資源標識符:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'。 |
屬性詳細資料
principalId
資源識別的主要標識碼。 此屬性只會提供給系統指派的身分識別注意:此屬性將不會串行化。 它只能由伺服器填入。
principalId?: string
屬性值
string
tenantId
資源識別的租用戶標識碼。 此屬性只會提供給系統指派的身分識別注意:此屬性將不會串行化。 它只能由伺服器填入。
tenantId?: string
屬性值
string
type
userAssignedIdentities
與原則相關聯的使用者身分識別。 使用者身分識別字典索引鍵參考的格式為 ARM 資源標識符:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'。
userAssignedIdentities?: {[propertyName: string]: UserAssignedIdentitiesValue}
屬性值
{[propertyName: string]: UserAssignedIdentitiesValue}