Skip to content

Latest commit

 

History

History
54 lines (46 loc) · 1.26 KB

getChildCollectionNames.md

File metadata and controls

54 lines (46 loc) · 1.26 KB

pv account getChildCollectionNames

Command Reference > account > getChildCollectionNames

Description

Lists the child collections names in the collection.

Syntax

pv account getChildCollectionNames --collectionName=<val>

Required Arguments

--collectionName (string)
This is the unique name of the collection (not the friendly name).

Optional Arguments

None

API Mapping

Account Data Plane > Collections > List Child Collection Names

GET https://{accountName}.purview.azure.com/account/collections/{collectionName}/getChildCollectionNames

Examples

List the child collections beneath a target collection.

pv account getChildCollectionNames --collectionName "esg-26fa7f24-pv"
Sample response.

{
    "count": 3,
    "value": [
        {
            "friendlyName": "Environment",
            "name": "g7qe97"
        },
        {
            "friendlyName": "Social",
            "name": "6b93rz"
        },
        {
            "friendlyName": "Governance",
            "name": "bfgnyg"
        }
    ]
}