共用方式為


Get-AzPurviewFilter

取得篩選

語法

Get-AzPurviewFilter
   -Endpoint <String>
   -DataSourceName <String>
   -ScanName <String>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]

Description

取得篩選

範例

範例 1:取得掃描的範圍篩選

Get-AzPurviewFilter -Endpoint 'https://brs-2.purview.azure.com/' -DataSourceName 'DataScanTestData' -ScanName 'Scan1ForDemo'

ExcludeUriPrefix  : {https://foo.file.core.windows.net/share1/user/temp}
Id                : datasources/DataScanTestData/scans/Scan1ForDemo/filters/custom
IncludeUriPrefix  : {https://foo.file.core.windows.net/share1/user,
                    https://foo.file.core.windows.net/share1/aggregated}
Name              : custom

取得資料來源 'DataScanTestData' 名為 'Scan1ForDemo' 掃描的範圍篩選

參數

-DataSourceName

.

類型: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

-ScanName

.

類型:String
Position:Named
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

輸出