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

AlertsOperationsExtensions.UpdateResourceGroupLevelStateToDismissAsync Method

Definition

Update the alert's state

public static System.Threading.Tasks.Task UpdateResourceGroupLevelStateToDismissAsync (this Microsoft.Azure.Management.Security.IAlertsOperations operations, string resourceGroupName, string alertName, System.Threading.CancellationToken cancellationToken = default);
static member UpdateResourceGroupLevelStateToDismissAsync : Microsoft.Azure.Management.Security.IAlertsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function UpdateResourceGroupLevelStateToDismissAsync (operations As IAlertsOperations, resourceGroupName As String, alertName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IAlertsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group within the user's subscription. The name is case insensitive.

alertName
String

Name of the alert object

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to