Command Reference > share > getAsset
Get asset in a sentShare.
pv share getAsset --sentShareName=<val> --assetName=<val>
--sentShareName
(string)
The name of the sent share.
--assetName
(string)
The name of the asset.
None
Share Data Plane > Assets > Get
GET https://{accountName}.purview.azure.com/share/sentShares/{sentShareName}/assets/{assetName}
Get asset from a sent share.
pv share getAsset --sentShareName "NewShare" --assetName "assetName"
Sample response.
{
"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"
}