Skip to content

pvw policystore putDataPolicy

Command Reference > policystore > putDataPolicy

Description

Create or update policy.

Syntax

pvw policystore putDataPolicy --policyName=<val> --payloadFile=<val>

Required Arguments

  • --policyName: policyName parameter
  • --payloadFile: payloadFile parameter

Optional Arguments

  • --purviewName: Microsoft Purview account name. (string)
  • --collectionName: The technical name of the Collection (e.g. friendlyName: Sales; name: afwbxs). (string)
  • --policyId: The unique policy id. (string)

API Mapping

Policy Data Plane > Policystore > Putdatapolicy

 https://{accountName}.purview.azure.com/policystore/api/putDataPolicy

Examples

DESCRIBE_EXAMPLE.

EXAMPLE_COMMAND

Example payload.

PASTE_JSON_HERE