Remove-AzPurviewTrigger
Deletes the trigger associated with the scan
Syntax
Remove-AzPurviewTrigger
-Endpoint <String>
-DataSourceName <String>
-ScanName <String>
[-DefaultProfile <PSObject>]
[-PassThru]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
Deletes the trigger associated with the scan
Examples
Example 1: Remove trigger schedule for a scan
Remove-AzPurviewTrigger -Endpoint https://parv-brs-2.purview.azure.com/ -DataSourceName 'DataScanTestData-Parv' -ScanName 'Scan-6HK'
CreatedAt : 2/17/2022 1:35:12 PM
Id : datasources/DataScanTestData-Parv/scans/Scan-6HK/triggers/default
IncrementalScanStartTime :
Interval : 1
LastModifiedAt : 2/17/2022 1:46:22 PM
LastScheduled :
Name : default
RecurrenceEndTime : 7/20/2022 12:00:00 AM
RecurrenceFrequency : Month
RecurrenceInterval :
RecurrenceStartTime : 2/17/2022 1:32:00 PM
RecurrenceTimeZone :
ResourceGroupName :
ScanLevel : Full
ScheduleAdditionalProperty : {
}
ScheduleHour : {9}
ScheduleMinute : {0}
ScheduleMonthDay : {10}
ScheduleMonthlyOccurrence :
ScheduleWeekDay :
Remove trigger schedule for a scan
Parameters
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-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 |
-PassThru
Returns true when the command succeeds
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ScanName
.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Azure PowerShell