Skip to content

Latest commit

 

History

History
70 lines (50 loc) · 1.74 KB

getAcceptedShare.md

File metadata and controls

70 lines (50 loc) · 1.74 KB

pv share getAcceptedShare

Command Reference > share > getAcceptedShare

Description

Get an accepted share with acceptedSentShareName to a particular sent share.

Syntax

pv share getAcceptedShare --sentShareName=<val> --acceptedSentShareName=<val>

Required Arguments

--sentShareName (string)

The name of the sent share.

--acceptedSentShareName (string)

The name of the accepted sent share.

Optional Arguments

None

API Mapping

Share Data Plane > Accepted Sent Shares > Get

GET https://{accountName}.purview.azure.com/share/sentShares/{sentShareName}/acceptedSentShares/{acceptedSentShareName}

Examples

Get an accepted share for a particular sent share.

pv share getAcceptedShare --sentShareName "NewShare" --acceptedSentShareName "be2c3f1d-ac06-4aca-a5f8-28b44cad17ef"
Sample response.

{
   "id":"/sentShares/NewShare/acceptedSentShares/be2c3f1d-ac06-4aca-a5f8-28b44cad17ef",
   "name":"be2c3f1d-ac06-4aca-a5f8-28b44cad17ef",
   "properties":{
      "createdAt":"2022-09-02T13:28:13.1922869Z",
      "expirationDate":null,
      "receivedShareStatus":"Active",
      "receiverEmail":"[email protected]",
      "receiverName":"Taygan Rifat",
      "receiverTargetObjectId":"095354ff-cae8-44ff-8120-22ec5a941b40",
      "receiverTenantName":"Microsoft",
      "senderEmail":"[email protected]",
      "senderName":"Taygan Rifat",
      "senderTenantName":"Microsoft",
      "sharedAt":"2022-09-01T16:48:25.7585096Z"
   },
   "shareKind":"InPlace",
   "type":"sentShares/acceptedSentShares"
}