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

Identity interface

有关搜索服务标识的详细信息。 null 值指示搜索服务未分配标识。

属性

principalId

搜索服务的系统分配标识的主体 ID。 注意:此属性不会序列化。 它只能由服务器填充。

tenantId

搜索服务的系统分配标识的租户 ID。 注意:此属性不会序列化。 它只能由服务器填充。

type

用于资源的标识类型。 类型“SystemAssigned, UserAssigned”包含系统创建的一个标识,以及用户分配的一组标识。 类型“None”将从服务中删除所有标识。

userAssignedIdentities

与资源关联的用户标识列表。 用户标识字典密钥引用的格式为 ARM 资源 ID:“/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}”。

属性详细信息

principalId

搜索服务的系统分配标识的主体 ID。 注意:此属性不会序列化。 它只能由服务器填充。

principalId?: string

属性值

string

tenantId

搜索服务的系统分配标识的租户 ID。 注意:此属性不会序列化。 它只能由服务器填充。

tenantId?: string

属性值

string

type

用于资源的标识类型。 类型“SystemAssigned, UserAssigned”包含系统创建的一个标识,以及用户分配的一组标识。 类型“None”将从服务中删除所有标识。

type: string

属性值

string

userAssignedIdentities

与资源关联的用户标识列表。 用户标识字典密钥引用的格式为 ARM 资源 ID:“/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}”。

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

属性值

{[propertyName: string]: UserAssignedIdentity}