Command Reference > share > listAssets
List Assets in a share.
pv share listAssets --sentShareName=<val> [--skipToken=<val> --filter=<val> --orderBy=<val>]
--sentShareName
(string)
The name of the sent 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 > Assets > List
GET https://{accountName}.purview.azure.com/share/sentShares/{sentShareName}/assets
List assets in a sent share.
pv share listAssets --sentShareName "NewShare"
Sample response.
{
"value":[
{
"id":"/sentShares/NewShare/assets/assetName",
"kind":"BlobAccount",
"name":"assetName",
"properties":{
"location":"uksouth",
"paths":[
{
"containerName":"products",
"receiverPath":"products.csv",
"senderPath":"products.csv"
}
],
"provisioningState":"Succeeded",
"receiverAssetName":"assetName",
"storageAccountResourceId":"/subscriptions/2c334b6c-e556-40ac-a4c0-c0d1d2e08ca0/resourceGroups/pv-7643-rg/providers/Microsoft.Storage/storageAccounts/storagedatashare01"
},
"type":"sentShares/assets"
}
]
}