Command Reference > scan > readDataSource
Get a data source.
pv scan readDataSource --dataSourceName=<val>
--dataSourceName
(string)
The data source name.
None
Scanning Data Plane > Data Sources > Get
GET https://{accountName}.purview.azure.com/scan/datasources/{dataSourceName}
Get a data source.
pv scan readDataSource --dataSourceName "AzureDataLakeStorage-Gbm"
Sample response.
{
"id": "datasources/AzureDataLakeStorage-Gbm",
"kind": "AdlsGen2",
"name": "AzureDataLakeStorage-Gbm",
"properties": {
"collection": {
"lastModifiedAt": "2022-02-23T15:45:16.5674969Z",
"referenceName": "esg-26fa7f24-pv",
"type": "CollectionReference"
},
"createdAt": "2022-02-23T15:45:16.5674969Z",
"dataSourceCollectionMovingState": 0,
"dataUseGovernance": "Disabled",
"endpoint": "https://esg26fa7f24adls.dfs.core.windows.net/",
"lastModifiedAt": "2022-02-23T15:45:16.5674969Z",
"location": "westeurope",
"parentCollection": null,
"resourceGroup": "esg",
"resourceId": "/subscriptions/2c334b6c-e556-40ac-a4c0-c0d1d2e08ca0/resourceGroups/esg/providers/Microsoft.Storage/storageAccounts/esg26fa7f24adls",
"resourceName": "esg26fa7f24adls",
"subscriptionId": "2c334b6c-e556-40ac-a4c0-c0d1d2e08ca0"
}
}