Command Reference > share > listAssetMappings
List AssetMappings in a received share.
pv share listAssetMappings --receivedShareName=<val> [--skipToken=<val> --filter=<val> --orderBy=<val>]
--receivedShareName
(string)
The name of the received share.
--skipToken
(string)
The continuation token to list the next page.
--filter
(string)
Filters the results using OData syntax.
--orderBy
(string)
Sorts the results using OData syntax.
Share Data Plane > Asset Mappings > List
GET https://{accountName}.purview.azure.com/share/receivedShares/{receivedShareName}/assetMappings
Get a list of asset mappings for a particular received share.
pv share listAssetMappings --receivedShareName "MyShare"
Sample response.
{
"value":[
{
"id":"/receivedShares/MyShare/assetMappings/storagedatashare01",
"kind":"BlobAccount",
"name":"storagedatashare01",
"properties":{
"assetId":"f4a4d0f9-d3db-4c80-944e-fe692705f27f",
"assetMappingStatus":"Broken",
"containerName":"customer",
"folder":"helloWorld",
"location":"uksouth",
"mountPath":"",
"provisioningState":"Succeeded",
"storageAccountResourceId":"/subscriptions/2c334b6c-e556-40ac-a4c0-c0d1d2e08ca0/resourceGroups/pv-7643-rg/providers/Microsoft.Storage/storageAccounts/storagedatashare01"
},
"type":"receivedShares/assetMappings"
}
]
}