{ "opencollection": "1.0.0", "info": { "name": "Microsoft Purview Account Accounts Scans API", "version": "2021-12-01" }, "request": { "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://login.microsoftonline.com/{tenantId}/oauth2/v2.0/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Scans", "type": "folder" }, "items": [ { "info": { "name": "Microsoft Purview Get a scan", "type": "http" }, "http": { "method": "GET", "url": "https://management.azure.com/scan/datasources/:dataSourceName/scans/:scanName", "params": [ { "name": "dataSourceName", "value": "", "type": "path" }, { "name": "scanName", "value": "", "type": "path" }, { "name": "api-version", "value": "", "type": "query" } ] }, "docs": "Gets a scan information for a given data source." }, { "info": { "name": "Microsoft Purview Create or replace a scan", "type": "http" }, "http": { "method": "PUT", "url": "https://management.azure.com/scan/datasources/:dataSourceName/scans/:scanName", "params": [ { "name": "dataSourceName", "value": "", "type": "path", "description": "The name of the data source" }, { "name": "scanName", "value": "", "type": "path", "description": "The name of the scan" }, { "name": "api-version", "value": "", "type": "query" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates or replaces an instance of a scan for a given data source." }, { "info": { "name": "Microsoft Purview Delete a scan", "type": "http" }, "http": { "method": "DELETE", "url": "https://management.azure.com/scan/datasources/:dataSourceName/scans/:scanName", "params": [ { "name": "dataSourceName", "value": "", "type": "path" }, { "name": "scanName", "value": "", "type": "path" }, { "name": "api-version", "value": "", "type": "query" } ] }, "docs": "Deletes the scan associated with the data source." }, { "info": { "name": "Microsoft Purview List scans by data source", "type": "http" }, "http": { "method": "GET", "url": "https://management.azure.com/scan/datasources/:dataSourceName/scans", "params": [ { "name": "dataSourceName", "value": "", "type": "path" }, { "name": "api-version", "value": "", "type": "query" } ] }, "docs": "Lists scans in a data source." } ] } ], "bundled": true }