Get-AzPurviewScan
Gets a scan information
Syntax
Get-AzPurviewScan
-Endpoint <String>
-DataSourceName <String>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzPurviewScan
-Endpoint <String>
-DataSourceName <String>
-Name <String>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
Gets a scan information
Examples
Example 1: Get scan instance within a data source
Get-AzPurviewScan -Endpoint 'https://parv-brs-2.purview.azure.com/' -DataSourceName 'DataScanTestData-Parv' -Name 'ScanTest'
CollectionLastModifiedAt : 2/15/2022 3:49:23 PM
CollectionReferenceName : parv-brs-2
CollectionType : CollectionReference
ConnectedViaReferenceName :
CreatedAt : 2/15/2022 3:49:23 PM
CredentialReferenceName : datascantestdataparv-accountkey
CredentialType : AccountKey
Id : datasources/DataScanTestData-Parv/scans/ScanTest
Kind : AzureStorageCredential
LastModifiedAt : 2/15/2022 11:46:29 PM
Name : ScanTest
Result :
ScanRulesetName : AzureStorage
ScanRulesetType : System
Worker :
Get scan instance named 'ScanTest' within a data source
Example 2: Get all scan instances within a data source
Get-AzPurviewScan -Endpoint 'https://parv-brs-2.purview.azure.com/' -DataSourceName 'DataScanTestData-Parv'
CollectionLastModifiedAt : 2/13/2022 3:16:24 PM
CollectionReferenceName : parv-brs-2
CollectionType : CollectionReference
ConnectedViaReferenceName :
CreatedAt : 2/13/2022 3:16:24 PM
CredentialReferenceName : datascantestdataparv-accountkey
CredentialType : AccountKey
Id : datasources/DataScanTestData-Parv/scans/Scan1ForDemo
Kind : AzureStorageCredential
LastModifiedAt : 2/13/2022 3:16:24 PM
Name : Scan1ForDemo
Result :
ScanRulesetName : AzureStorage
ScanRulesetType : System
Worker :
CollectionLastModifiedAt : 2/15/2022 3:49:23 PM
CollectionReferenceName : parv-brs-2
CollectionType : CollectionReference
ConnectedViaReferenceName :
CreatedAt : 2/15/2022 3:49:23 PM
CredentialReferenceName : datascantestdataparv-accountkey
CredentialType : AccountKey
Id : datasources/DataScanTestData-Parv/scans/ScanTest
Kind : AzureStorageCredential
LastModifiedAt : 2/15/2022 11:46:29 PM
Name : ScanTest
Result :
ScanRulesetName : AzureStorage
ScanRulesetType : System
Worker :
Get all scan instances within a data source
Parameters
-DataSourceName
.
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 |
-Name
.
Type: | String |
Aliases: | ScanName |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.