Get-AzPurviewClassificationRuleVersion
Lists the rule versions of a classification rule
Syntax
Get-AzPurviewClassificationRuleVersion
-Endpoint <String>
-ClassificationRuleName <String>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
Lists the rule versions of a classification rule
Examples
Example 1: Get all version of a custom classification rule
Get-AzPurviewClassificationRuleVersion -Endpoint https://parv-brs-2.purview.azure.com -ClassificationRuleName 'ClassificationRule5'
ClassificationAction : Keep
ClassificationName : ClassificationRule4
ColumnPattern : {{
"kind": "Regex",
"pattern": "^col1$"
}, {
"kind": "Regex",
"pattern": "^col2$"
}}
CreatedAt : 2/8/2022 10:04:55 PM
DataPattern : {}
Description : This is a rule2
Id : classificationrules/ClassificationRule5/versions/1
Kind : Custom
LastModifiedAt : 2/8/2022 10:04:55 PM
MinimumPercentageMatch :
Name : ClassificationRule5
RuleStatus : Enabled
Version : 1
ClassificationAction : Keep
ClassificationName : ClassificationRule4
ColumnPattern : {{
"kind": "Regex",
"pattern": "^col1$"
}, {
"kind": "Regex",
"pattern": "^col2$"
}}
CreatedAt : 2/8/2022 10:04:55 PM
DataPattern : {}
Description : This is a rule2
Id : classificationrules/ClassificationRule5/versions/2
Kind : Custom
LastModifiedAt : 2/14/2022 9:00:32 AM
MinimumPercentageMatch :
Name : ClassificationRule5
RuleStatus : Enabled
Version : 2
Get all version of a custom classification rule
Parameters
-ClassificationRuleName
.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DefaultProfile
The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
Type: | PSObject |
Aliases: | AzureRMContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Endpoint
The scanning endpoint of your purview account. Example: https://{accountName}.purview.azure.com
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Azure PowerShell