Share via


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