Skip to content

Latest commit

 

History

History
61 lines (41 loc) · 1.14 KB

createSentShare.md

File metadata and controls

61 lines (41 loc) · 1.14 KB

pv share createSentShare

Command Reference > share > createSentShare

Description

Create a sent share in the given Purview account.

Syntax

pv share createSentShare --sentShareName=<val> --payloadFile=<val>

Required Arguments

--sentShareName (string)

The name of the sent share.

--payloadFile (string)

File path to a valid JSON document.

Optional Arguments

None

API Mapping

Share Data Plane > Sent Shares > Create Or Update

PUT https://{accountName}.purview.azure.com/share/sentShares/{sentShareName}

Examples

Create a sent share.

pv share createSentShare --sentShareName "MyNewSentShare" --payloadFile "/path/to/file.json"
Example payload.

{
    "properties": {
        "description": "This is a friendly description.",
        "collection": {
            "referenceName": "pvdemo52dg4-pv",
            "type": "CollectionReference"
        }
    },
    "shareKind": "InPlace"
}