pyapacheatlas.core.collections.PurviewCollectionsClient.create_or_update_collection#
- PurviewCollectionsClient.create_or_update_collection(name: str, friendlyName: str, parentCollectionName: str, description: Optional[str] = None, api_version: str = '2019-11-01-preview')#
Create or update a collection. This method currently does not support providing a custom collection admin as it requires the metadata policy API.
For more details: https://docs.microsoft.com/en-us/rest/api/purview/accountdataplane/collections/create-or-update-collection?tabs=HTTP
- Parameters
name (str) – A unique id for this collection.
friendlyName (str) – A friendly name for the collection, visible to users.
parentCollectionName (str) – The id for the parent collection.
description (str) – Description for the collection
- Returns
The current status of the collection.
- Return type
dict