共用方式為


ServiceManagedIdentityIdentity interface

設定,指出服務是否有與其相關聯的受控識別。

屬性

principalId

系統指派身分識別的服務主體標識碼。 此屬性只會針對系統指派的身分識別提供。 注意:這個屬性不會串行化。 它只能由伺服器填入。

tenantId

系統指派身分識別的租用戶標識碼。 此屬性只會針對系統指派的身分識別提供。 注意:這個屬性不會串行化。 它只能由伺服器填入。

type

正在指定的身分識別類型,目前允許 SystemAssigned 和 None。

userAssignedIdentities

與資源相關聯的使用者指派身分識別集。 userAssignedIdentities 字典索引鍵的格式為 ARM 資源標識符:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}。 字典值可以是要求中的空白物件({})。

屬性詳細資料

principalId

系統指派身分識別的服務主體標識碼。 此屬性只會針對系統指派的身分識別提供。 注意:這個屬性不會串行化。 它只能由伺服器填入。

principalId?: string

屬性值

string

tenantId

系統指派身分識別的租用戶標識碼。 此屬性只會針對系統指派的身分識別提供。 注意:這個屬性不會串行化。 它只能由伺服器填入。

tenantId?: string

屬性值

string

type

正在指定的身分識別類型,目前允許 SystemAssigned 和 None。

type: string

屬性值

string

userAssignedIdentities

與資源相關聯的使用者指派身分識別集。 userAssignedIdentities 字典索引鍵的格式為 ARM 資源標識符:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}。 字典值可以是要求中的空白物件({})。

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

屬性值

{[propertyName: string]: UserAssignedIdentity}