你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
AlertsOperationsExtensions.UpdateSubscriptionLevelStateToDismissAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Update the alert's state
public static System.Threading.Tasks.Task UpdateSubscriptionLevelStateToDismissAsync (this Microsoft.Azure.Management.Security.IAlertsOperations operations, string alertName, System.Threading.CancellationToken cancellationToken = default);
static member UpdateSubscriptionLevelStateToDismissAsync : Microsoft.Azure.Management.Security.IAlertsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function UpdateSubscriptionLevelStateToDismissAsync (operations As IAlertsOperations, alertName As String, Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- operations
- IAlertsOperations
The operations group for this extension method.
- alertName
- String
Name of the alert object
- cancellationToken
- CancellationToken
The cancellation token.