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

Collections - List Child Collection Names

列出集合中的子集合名称。

GET {endpoint}/collections/{collectionName}/getChildCollectionNames?api-version=2019-11-01-preview
GET {endpoint}/collections/{collectionName}/getChildCollectionNames?api-version=2019-11-01-preview&$skipToken={$skipToken}

URI 参数

名称 必需 类型 说明
collectionName
path True

string

endpoint
path True

string

Purview 帐户的帐户终结点。 示例:https://{accountName}.purview.azure.com/account/

api-version
query True

string

要使用的 API 版本。

$skipToken
query

string

响应

名称 类型 说明
200 OK

CollectionNameResponseList

成功

Other Status Codes

ErrorResponseModel

从提供程序收到的错误响应。

安全性

azure_auth

Azure Active Directory OAuth2 流。

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

Scopes

名称 说明
user_impersonation 模拟用户帐户

示例

Collections_ListChildCollectionNames

Sample Request

GET {endpoint}/collections/myCollection1/getChildCollectionNames?api-version=2019-11-01-preview

Sample Response

Date: Wed, 13 Sep 2017 18:04:32 GMT
x-ms-request-id: d5496da4-9c52-402f-b067-83cc9ddea888
X-Content-Type-Options: nosniff
x-ms-correlation-request-id: 25c78f97-0b0a-4fe9-ad39-883a482265cd
{
  "value": [
    {
      "name": "mycollection1",
      "friendlyName": "The first collection"
    },
    {
      "name": "mycollection2",
      "friendlyName": "Some collection"
    },
    {
      "name": "parent2",
      "friendlyName": "parent2"
    }
  ],
  "count": 3
}

定义

名称 说明
CollectionNameResponse

集合资源。

CollectionNameResponseList

集合的分页列表。

Error

获取或设置错误。

ErrorModel

默认错误模型

ErrorResponseModel

默认错误响应模型

CollectionNameResponse

集合资源。

名称 类型 说明
friendlyName

string

获取或设置集合的友好名称。

name

string

获取名称。

CollectionNameResponseList

集合的分页列表。

名称 类型 说明
count

integer

项总数。

nextLink

string

下一个结果页的 URL。

value

CollectionNameResponse[]

结果类型的项的集合。

Error

获取或设置错误。

名称 类型 说明
code

string

获取或设置代码。

details

ErrorModel[]

获取或设置详细信息。

message

string

获取或设置消息。

target

string

获取或设置目标。

ErrorModel

默认错误模型

名称 类型 说明
code

string

获取或设置代码。

details

ErrorModel[]

获取或设置详细信息。

message

string

获取或设置消息。

target

string

获取或设置目标。

ErrorResponseModel

默认错误响应模型

名称 类型 说明
error

Error

获取或设置错误。