共用方式為


ResourceGroupSecurityAlertResource.Dismiss(CancellationToken) Method

Definition

Update the alert's state

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to