This commit is contained in:
Arindam Bandyopadhyay MSFT 2021-11-19 06:16:12 +05:30 коммит произвёл GitHub
Родитель 283a05c867
Коммит 6a00350e19
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -32,11 +32,11 @@ PS >> Purview-API-PowerShell -PurviewAccountName {your_purview_account_n
- Useful when building scripts or automation or scheduled cron jobs.
- There are a few sample APIs shown via the commands below but you may execute any other Purview API from the Microsoft Official [Azure Purview REST API Documentation](https://docs.microsoft.com/en-us/rest/api/purview/). All APIs given in Official Purview API Docs are supported by this script in Batch Mode.
```PowerShell
# Example - Get All TypeDefs In Purview Account
# Example - Get All TypeDefs In The Purview Account
PS >> Purview-API-PowerShell -APIDirect -HTTPMethod GET -PurviewAPIDirectURL "https://{your-purview-account-name}.purview.azure.com/catalog/api/atlas/v2/types/typedefs?api-version=2021-07-01" -InputFile inputfile.json -OutputFile outputfile.json
# Example - Get AzureKeyVaults For Registering Scans
PS >> Purview-API-PowerShell -APIDirect -HTTPMethod GET -PurviewAPIDirectURL "https://{your-purview-account-name}.purview.azure.com/scan/azurekeyvaults?api-version=2021-07-01"
# Example - Get All DataSources Known To Purview
# Example - Get All DataSources Registered In The Purview Account
PS >> Purview-API-PowerShell -APIDirect -HTTPMethod GET -PurviewAPIDirectURL "https://{your-purview-account-name}.purview.azure.com/scan/datasources?api-version=2021-07-01"
# Example - Get All Scan Rule Sets - User Defined Only
PS >> Purview-API-PowerShell -APIDirect -HTTPMethod GET -PurviewAPIDirectURL "https://{your-purview-account-name}.purview.azure.com/scan/scanrulesets?api-version=2021-07-01"