你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Remove-AzPurviewTrigger
删除与扫描关联的触发器
语法
Remove-AzPurviewTrigger
-Endpoint <String>
-DataSourceName <String>
-ScanName <String>
[-DefaultProfile <PSObject>]
[-PassThru]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
说明
删除与扫描关联的触发器
示例
示例 1:删除扫描的触发器计划
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 :
删除扫描的触发器计划
参数
-Confirm
在运行 cmdlet 之前,提示你进行确认。
类型: | SwitchParameter |
别名: | cf |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-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 |
-PassThru
当命令成功时返回 true
类型: | SwitchParameter |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-ScanName
.
类型: | String |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |
-WhatIf
显示 cmdlet 运行时会发生什么情况。 cmdlet 未运行。
类型: | SwitchParameter |
别名: | wi |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |