Bearbeiten

Freigeben über


Get-AzPurviewSystemScanRuleset

Get a system scan ruleset for a data source

Syntax

Get-AzPurviewSystemScanRuleset
   -Endpoint <String>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzPurviewSystemScanRuleset
   -Endpoint <String>
   [-DataSourceType <DataSourceType>]
   -Version <Int32>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzPurviewSystemScanRuleset
   -Endpoint <String>
   -DataSourceType <DataSourceType>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]

Description

Get a system scan ruleset for a data source

Examples

Example 1: Get all system scanrulesets

Get-AzPurviewSystemScanRuleset -Endpoint https://parv-brs-2.purview.azure.com/

Id                : systemscanrulesets/AmazonMySql
Kind              : AmazonMySql
Name              : AmazonMySql
ResourceGroupName :
Status            : Enabled
Type              : System
Version           : 2

Id                : systemscanrulesets/AzureMySql
Kind              : AzureMySql
Name              : AzureMySql
ResourceGroupName :
Status            : Enabled
Type              : System
Version           : 2

Id                : systemscanrulesets/AmazonPostgreSql
Kind              : AmazonPostgreSql
Name              : AmazonPostgreSql
ResourceGroupName :
Status            : Enabled
Type              : System
Version           : 2

Id                : systemscanrulesets/Teradata
Kind              : Teradata
Name              : Teradata
ResourceGroupName :
Status            : Enabled
Type              : System
Version           : 1

Get all system scanrulesets

Example 2: Get system scanruleset for a data source type

Get-AzPurviewSystemScanRuleset -Endpoint https://parv-brs-2.purview.azure.com/  -DataSourceType 'AdlsGen2'

Id                : systemscanrulesets/AdlsGen2
Kind              : AdlsGen2
Name              : AdlsGen2
ResourceGroupName :
Status            : Enabled
Type              : System
Version           : 3

Get system scanruleset for a data source type

Example 3: Get system scanruleset for a data source type and specific version

Get-AzPurviewSystemScanRuleset -Endpoint https://parv-brs-2.purview.azure.com/  -DataSourceType 'AdlsGen2' -Version 2

Id                : systemscanrulesets/AdlsGen2
Kind              : AdlsGen2
Name              : AdlsGen2
ResourceGroupName :
Status            : Enabled
Type              : System
Version           : 2

Get system scanruleset for a data source type and specific version

Parameters

-DataSourceType

.

Type:DataSourceType
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

-Version

.

Type:Int32
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

Outputs

ISystemScanRuleset