你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IdentityInfo 类

定义

资源的标识信息。

public class IdentityInfo
type IdentityInfo = class
Public Class IdentityInfo
继承
IdentityInfo

构造函数

IdentityInfo()

初始化 IdentityInfo 类的新实例。

IdentityInfo(String, String, String, IDictionary<String,UserIdentityProperties>)

初始化 IdentityInfo 类的新实例。

属性

PrincipalId

获取或设置资源标识的主体 ID。

TenantId

获取或设置资源的租户 ID。

Type

获取或设置使用的托管标识的类型。 类型“SystemAssigned, UserAssigned”包括隐式创建的标识和一组用户分配的标识。 类型“None”将删除任何标识。 可能的值包括:“None”、“SystemAssigned”、“UserAssigned”、“SystemAssigned、UserAssigned”

UserAssignedIdentities

获取或设置与资源关联的用户标识的列表。 用户标识字典键引用将是 ARM 资源 ID,格式为:“/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}”。 此属性当前未使用,保留以供将来使用。

适用于