tayganr / purviewcli

Microsoft Purview CLI
https://aka.ms/purviewcli
MIT License
48 stars 27 forks source link

samples/sources.ipynb is outdated #4

Closed pedropaulovc closed 3 years ago

pedropaulovc commented 3 years ago

The samples/sources.ipynb file is outdated:

tayganr commented 3 years ago

Thanks @pedropaulovc. Just updated purviewcli (0.1.15) to align with the recent documentation on the Scanning Data Plane. Please see updated scan notebook which includes a section on Data Sources.

Example command to create or update a data source pv scan putDataSource --dataSourceName "DataSource2" --payload-file "C:\Users\tarifat\Downloads\purviewcli\samples\json\scan_source.json"

We could build out a set of supplementary set of sample JSON files for each source? This might need some reverse engineering as the property bags do not seem to be well documented on the official MS Docs site yet...

tayganr commented 3 years ago

@pedropaulovc - Sample JSON documents updated to include a variety of sources (e.g. AdlsGen2, AmazonS3, Hive, etc). https://github.com/tayganr/purviewcli/tree/master/samples/json/sources

Along with an updated sample notebook. https://github.com/tayganr/purviewcli/blob/master/samples/notebooks%20(plus)/sources.ipynb