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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure PowerShell