Skip to content

pvw scan putClassificationRule

Command Reference > scan > putClassificationRule

Description

Create or update data source scan.

Syntax

pvw scan putClassificationRule --classificationRuleName=<val> --payloadFile=<val>

Required Arguments

  • --classificationRuleName: classificationRuleName parameter
  • --payloadFile: payloadFile parameter

Optional Arguments

  • --purviewName: Microsoft Purview account name. (string)
  • --action: Allowed values: Delete or Keep. (string)
  • --classificationRuleVersion: Version of the classification rule. (integer)
  • --dataSourceName: Name of the data source. (string)
  • --scanName: Name of the scan. (string)
  • --scanRulesetName: Name of the scan ruleset. (string)
  • --keyVaultName: Name of the key vault. (string)
  • --runId: The unique identifier of the run. (string)
  • --dataSourceType: Type of data source. (string)
  • --scanLevel: Allowed values: Full or Incremental [default: Full]. (string)
  • --collectionName: The unique collection name. (string)
  • --credentialName: The name of the credential. (string)

API Mapping

Scanning Data Plane > Scan > Putclassificationrule

 https://{accountName}.purview.azure.com/scan/api/putClassificationRule

Examples

DESCRIBE_EXAMPLE.

EXAMPLE_COMMAND

Example payload.

PASTE_JSON_HERE