Get-AzPurviewClassificationRuleVersion
列出分類規則的規則版本
語法
Get-AzPurviewClassificationRuleVersion
-Endpoint <String>
-ClassificationRuleName <String>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
列出分類規則的規則版本
範例
範例 1:取得自定義分類規則的所有版本
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
取得自訂分類規則的所有版本
參數
-ClassificationRuleName
.
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-DefaultProfile
DefaultProfile 參數無法運作。 如果針對不同的訂用帳戶執行 Cmdlet,請使用 SubscriptionId 參數。
類型: | PSObject |
別名: | AzureRMContext, AzureCredential |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-Endpoint
purview 帳戶的掃描端點。 範例:https://{accountName}.purview.azure.com
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |