你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AlertsOperationsExtensions.UpdateSubscriptionLevelStateToResolveAsync Method

Definition

Update the alert's state

public static System.Threading.Tasks.Task UpdateSubscriptionLevelStateToResolveAsync (this Microsoft.Azure.Management.Security.IAlertsOperations operations, string alertName, System.Threading.CancellationToken cancellationToken = default);
static member UpdateSubscriptionLevelStateToResolveAsync : Microsoft.Azure.Management.Security.IAlertsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function UpdateSubscriptionLevelStateToResolveAsync (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.

Returns

Applies to