共用方式為


ResourceIdentity interface

資源的身分識別。

屬性

principalId

GUID,表示此資源識別的主體標識符。 注意:這個屬性不會串行化。 它只能由伺服器填入。

tenantId

GUID,表示此資源識別的租用戶標識碼。 注意:這個屬性不會串行化。 它只能由伺服器填入。

type

資源識別類型的字串。

userAssignedIdentities

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

屬性詳細資料

principalId

GUID,表示此資源識別的主體標識符。 注意:這個屬性不會串行化。 它只能由伺服器填入。

principalId?: string

屬性值

string

tenantId

GUID,表示此資源識別的租用戶標識碼。 注意:這個屬性不會串行化。 它只能由伺服器填入。

tenantId?: string

屬性值

string

type

資源識別類型的字串。

type: ResourceIdentityType

屬性值

userAssignedIdentities

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

userAssignedIdentities?: {[propertyName: string]: UserAssignedIdentity}

屬性值

{[propertyName: string]: UserAssignedIdentity}