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

Entity - Get Classifications

列出由 GUID 表示的给定实体的分类。

GET {endpoint}/datamap/api/atlas/v2/entity/guid/{guid}/classifications

URI 参数

名称 必需 类型 说明
endpoint
path True

string

guid
path True

string

实体的全局唯一标识符。

响应

名称 类型 说明
200 OK

AtlasClassifications

请求已成功。

Other Status Codes

AtlasErrorResponse

意外的错误响应。

安全性

OAuth2Auth

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

名称 说明
https://purview.azure.net/.default

示例

Entity_GetClassifications

Sample Request

GET {endpoint}/datamap/api/atlas/v2/entity/guid/67d26de6-771d-1a2d-cb2b-dec4dbd2a9bd/classifications

Sample Response

{
  "list": [
    {
      "typeName": "MICROSOFT.FINANCIAL.US.ABA_ROUTING_NUMBER",
      "entityGuid": "67d26de6-771d-1a2d-cb2b-dec4dbd2a9bd"
    }
  ],
  "startIndex": 0,
  "pageSize": 1,
  "totalCount": 1,
  "sortType": "NONE"
}

定义

名称 说明
AtlasClassifications

REST 序列化友好列表。

AtlasErrorResponse

来自服务的错误响应

SortType

排序类型

AtlasClassifications

REST 序列化友好列表。

名称 类型 说明
list

List[]

一个 对象的数组。

pageSize

integer

页面大小。

sortBy

string

按字段排序的 。

sortType

SortType

以指定是否应对结果进行排序? 如果是,则为 asc 还是 desc。

startIndex

integer

页面的开始索引。

totalCount

integer

项的总计数。

AtlasErrorResponse

来自服务的错误响应

名称 类型 说明
errorCode

string

错误代码。

errorMessage

string

错误消息。

requestId

string

请求 ID。

SortType

排序类型

名称 类型 说明
ASC

string

使用升序进行排序

DESC

string

使用降序进行排序

NONE

string

无排序顺序