共用方式為


ResourceGroupSecurityAlertResource.ResolveAsync(CancellationToken) Method

Definition

Update the alert's state

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to