Share via


SubscriptionSecurityAlertResource.DismissAsync(CancellationToken) Method

Definition

Update the alert's state

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}/dismiss
  • Operation Id: Alerts_UpdateSubscriptionLevelStateToDismiss
  • Default Api Version: 2022-01-01
  • Resource: SubscriptionSecurityAlertResource
public virtual System.Threading.Tasks.Task<Azure.Response> DismissAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member DismissAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.DismissAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function DismissAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to